7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
49 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
50 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
52 template<
typename SubnetIdsT = Aws::String>
53 VpcConfigResponse&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
62 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
63 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
64 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
66 template<
typename SecurityGroupIdsT = Aws::String>
67 VpcConfigResponse&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(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>
95 bool m_subnetIdsHasBeenSet =
false;
98 bool m_securityGroupIdsHasBeenSet =
false;
101 bool m_vpcIdHasBeenSet =
false;
103 bool m_ipv6AllowedForDualStack{
false};
104 bool m_ipv6AllowedForDualStackHasBeenSet =
false;
VpcConfigResponse & WithSubnetIds(SubnetIdsT &&value)
bool Ipv6AllowedForDualStackHasBeenSet() const
VpcConfigResponse & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
AWS_LAMBDA_API VpcConfigResponse()=default
void SetIpv6AllowedForDualStack(bool value)
VpcConfigResponse & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool SubnetIdsHasBeenSet() const
const Aws::String & GetVpcId() const
void SetVpcId(VpcIdT &&value)
AWS_LAMBDA_API VpcConfigResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API VpcConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(SubnetIdsT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
VpcConfigResponse & WithVpcId(VpcIdT &&value)
VpcConfigResponse & AddSubnetIds(SubnetIdsT &&value)
VpcConfigResponse & WithIpv6AllowedForDualStack(bool value)
bool VpcIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool GetIpv6AllowedForDualStack() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() 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