7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
51 template <
typename SubnetArnT = Aws::String>
53 m_subnetArnHasBeenSet =
true;
54 m_subnetArn = std::forward<SubnetArnT>(value);
56 template <
typename SubnetArnT = Aws::String>
70 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
72 m_securityGroupArnsHasBeenSet =
true;
73 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
75 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
80 template <
typename SecurityGroupArnsT = Aws::String>
82 m_securityGroupArnsHasBeenSet =
true;
83 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
91 bool m_subnetArnHasBeenSet =
false;
92 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