/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies how your DataSync agent connects to Amazon Web Services using a
* virtual private cloud (VPC) service endpoint. An agent that uses a VPC endpoint
* isn't accessible over the public internet.See Also:
AWS
* API Reference
Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline PrivateLinkConfig& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline PrivateLinkConfig& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *Specifies the ID of the VPC endpoint that your agent connects to.
*/ inline PrivateLinkConfig& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline const Aws::String& GetPrivateLinkEndpoint() const{ return m_privateLinkEndpoint; } /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline bool PrivateLinkEndpointHasBeenSet() const { return m_privateLinkEndpointHasBeenSet; } /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline void SetPrivateLinkEndpoint(const Aws::String& value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint = value; } /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline void SetPrivateLinkEndpoint(Aws::String&& value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint = std::move(value); } /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline void SetPrivateLinkEndpoint(const char* value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint.assign(value); } /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline PrivateLinkConfig& WithPrivateLinkEndpoint(const Aws::String& value) { SetPrivateLinkEndpoint(value); return *this;} /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline PrivateLinkConfig& WithPrivateLinkEndpoint(Aws::String&& value) { SetPrivateLinkEndpoint(std::move(value)); return *this;} /** *Specifies the VPC endpoint provided by Amazon * Web Services PrivateLink that your agent connects to.
*/ inline PrivateLinkConfig& WithPrivateLinkEndpoint(const char* value) { SetPrivateLinkEndpoint(value); return *this;} /** *Specifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline const Aws::VectorSpecifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline bool SubnetArnsHasBeenSet() const { return m_subnetArnsHasBeenSet; } /** *Specifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline void SetSubnetArns(const Aws::VectorSpecifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline void SetSubnetArns(Aws::VectorSpecifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline PrivateLinkConfig& WithSubnetArns(const Aws::VectorSpecifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline PrivateLinkConfig& WithSubnetArns(Aws::VectorSpecifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline PrivateLinkConfig& AddSubnetArns(const Aws::String& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(value); return *this; } /** *Specifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline PrivateLinkConfig& AddSubnetArns(Aws::String&& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(std::move(value)); return *this; } /** *Specifies the ARN of the subnet where your VPC endpoint is located. You can * only specify one ARN.
*/ inline PrivateLinkConfig& AddSubnetArns(const char* value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(value); return *this; } /** *Specifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline const Aws::VectorSpecifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; } /** *Specifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline void SetSecurityGroupArns(const Aws::VectorSpecifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline void SetSecurityGroupArns(Aws::VectorSpecifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline PrivateLinkConfig& WithSecurityGroupArns(const Aws::VectorSpecifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline PrivateLinkConfig& WithSecurityGroupArns(Aws::VectorSpecifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline PrivateLinkConfig& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } /** *Specifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline PrivateLinkConfig& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(std::move(value)); return *this; } /** *Specifies the Amazon Resource Names (ARN) of the security group that provides * DataSync access to your VPC endpoint. You can only specify one ARN.
*/ inline PrivateLinkConfig& AddSecurityGroupArns(const char* value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; Aws::String m_privateLinkEndpoint; bool m_privateLinkEndpointHasBeenSet = false; Aws::Vector