7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename VpcEndpo
intIdT = Aws::String>
51 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
52 template<
typename VpcEndpo
intIdT = Aws::String>
64 template<
typename PrivateLinkEndpo
intT = Aws::String>
65 void SetPrivateLinkEndpoint(PrivateLinkEndpointT&& value) { m_privateLinkEndpointHasBeenSet =
true; m_privateLinkEndpoint = std::forward<PrivateLinkEndpointT>(value); }
66 template<
typename PrivateLinkEndpo
intT = Aws::String>
77 template<
typename SubnetArnsT = Aws::Vector<Aws::String>>
78 void SetSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet =
true; m_subnetArns = std::forward<SubnetArnsT>(value); }
79 template<
typename SubnetArnsT = Aws::Vector<Aws::String>>
81 template<
typename SubnetArnsT = Aws::String>
82 PrivateLinkConfig&
AddSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet =
true; m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value));
return *
this; }
92 template<
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
93 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet =
true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
94 template<
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
96 template<
typename SecurityGroupArnsT = Aws::String>
97 PrivateLinkConfig&
AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet =
true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
return *
this; }
102 bool m_vpcEndpointIdHasBeenSet =
false;
105 bool m_privateLinkEndpointHasBeenSet =
false;
108 bool m_subnetArnsHasBeenSet =
false;
111 bool m_securityGroupArnsHasBeenSet =
false;
AWS_DATASYNC_API PrivateLinkConfig(Aws::Utils::Json::JsonView jsonValue)
void SetVpcEndpointId(VpcEndpointIdT &&value)
void SetSecurityGroupArns(SecurityGroupArnsT &&value)
const Aws::Vector< Aws::String > & GetSubnetArns() const
PrivateLinkConfig & WithPrivateLinkEndpoint(PrivateLinkEndpointT &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateLinkConfig & WithSubnetArns(SubnetArnsT &&value)
bool SecurityGroupArnsHasBeenSet() const
PrivateLinkConfig & AddSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API PrivateLinkConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubnetArnsHasBeenSet() const
void SetSubnetArns(SubnetArnsT &&value)
bool PrivateLinkEndpointHasBeenSet() const
bool VpcEndpointIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
AWS_DATASYNC_API PrivateLinkConfig()=default
PrivateLinkConfig & WithVpcEndpointId(VpcEndpointIdT &&value)
PrivateLinkConfig & WithSecurityGroupArns(SecurityGroupArnsT &&value)
PrivateLinkConfig & AddSubnetArns(SubnetArnsT &&value)
const Aws::String & GetPrivateLinkEndpoint() const
const Aws::String & GetVpcEndpointId() const
void SetPrivateLinkEndpoint(PrivateLinkEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue