/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The VPC endpoint, subnet, and security group that an agent uses to access IP
* addresses in a VPC (Virtual Private Cloud).See Also:
AWS
* API Reference
The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline PrivateLinkConfig& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline PrivateLinkConfig& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *The ID of the VPC endpoint that is configured for an agent. An agent that is * configured with a VPC endpoint will not be accessible over the public * internet.
*/ inline PrivateLinkConfig& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline const Aws::String& GetPrivateLinkEndpoint() const{ return m_privateLinkEndpoint; } /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline bool PrivateLinkEndpointHasBeenSet() const { return m_privateLinkEndpointHasBeenSet; } /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline void SetPrivateLinkEndpoint(const Aws::String& value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint = value; } /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline void SetPrivateLinkEndpoint(Aws::String&& value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint = std::move(value); } /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline void SetPrivateLinkEndpoint(const char* value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint.assign(value); } /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline PrivateLinkConfig& WithPrivateLinkEndpoint(const Aws::String& value) { SetPrivateLinkEndpoint(value); return *this;} /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline PrivateLinkConfig& WithPrivateLinkEndpoint(Aws::String&& value) { SetPrivateLinkEndpoint(std::move(value)); return *this;} /** *The private endpoint that is configured for an agent that has access to IP * addresses in a PrivateLink. * An agent that is configured with this endpoint will not be accessible over the * public internet.
*/ inline PrivateLinkConfig& WithPrivateLinkEndpoint(const char* value) { SetPrivateLinkEndpoint(value); return *this;} /** *The Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline bool SubnetArnsHasBeenSet() const { return m_subnetArnsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline void SetSubnetArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline void SetSubnetArns(Aws::VectorThe Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline PrivateLinkConfig& WithSubnetArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline PrivateLinkConfig& WithSubnetArns(Aws::VectorThe Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline PrivateLinkConfig& AddSubnetArns(const Aws::String& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline PrivateLinkConfig& AddSubnetArns(Aws::String&& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the subnets that are configured for an * agent activated in a VPC or an agent that has access to a VPC endpoint.
*/ inline PrivateLinkConfig& AddSubnetArns(const char* value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline void SetSecurityGroupArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline void SetSecurityGroupArns(Aws::VectorThe Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline PrivateLinkConfig& WithSecurityGroupArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline PrivateLinkConfig& WithSecurityGroupArns(Aws::VectorThe Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline PrivateLinkConfig& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline PrivateLinkConfig& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the security groups that are configured * for the EC2 resource that hosts an agent activated in a VPC or an agent that has * access to a VPC endpoint.
*/ inline PrivateLinkConfig& AddSecurityGroupArns(const char* value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet; Aws::String m_privateLinkEndpoint; bool m_privateLinkEndpointHasBeenSet; Aws::Vector