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>
57 template<
typename SubnetArnT = Aws::String>
58 void SetSubnetArn(SubnetArnT&& value) { m_subnetArnHasBeenSet =
true; m_subnetArn = std::forward<SubnetArnT>(value); }
59 template<
typename SubnetArnT = Aws::String>
70 template<
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
71 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet =
true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
72 template<
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
74 template<
typename SecurityGroupArnsT = Aws::String>
75 Ec2Config&
AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet =
true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
return *
this; }
80 bool m_subnetArnHasBeenSet =
false;
83 bool m_securityGroupArnsHasBeenSet =
false;
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Ec2Config & AddSecurityGroupArns(SecurityGroupArnsT &&value)
void SetSubnetArn(SubnetArnT &&value)
AWS_DATASYNC_API Ec2Config(Aws::Utils::Json::JsonView jsonValue)
bool SecurityGroupArnsHasBeenSet() const
const Aws::String & GetSubnetArn() const
Ec2Config & WithSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API Ec2Config & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubnetArnHasBeenSet() const
void SetSecurityGroupArns(SecurityGroupArnsT &&value)
Ec2Config & WithSubnetArn(SubnetArnT &&value)
AWS_DATASYNC_API Ec2Config()=default
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue