7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
49 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
50 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
52 template<
typename SecurityGroupIdsT = Aws::String>
53 TestGridVpcConfig&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
62 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
63 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
64 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
66 template<
typename SubnetIdsT = Aws::String>
67 TestGridVpcConfig&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
76 template<
typename VpcIdT = Aws::String>
77 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
78 template<
typename VpcIdT = Aws::String>
84 bool m_securityGroupIdsHasBeenSet =
false;
87 bool m_subnetIdsHasBeenSet =
false;
90 bool m_vpcIdHasBeenSet =
false;
AWS_DEVICEFARM_API TestGridVpcConfig()=default
bool VpcIdHasBeenSet() const
TestGridVpcConfig & WithSubnetIds(SubnetIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
TestGridVpcConfig & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetVpcId() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
TestGridVpcConfig & AddSubnetIds(SubnetIdsT &&value)
bool SubnetIdsHasBeenSet() const
TestGridVpcConfig & WithVpcId(VpcIdT &&value)
AWS_DEVICEFARM_API TestGridVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API TestGridVpcConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(SubnetIdsT &&value)
TestGridVpcConfig & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetVpcId(VpcIdT &&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