7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
53 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
54 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
55 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
57 template<
typename SecurityGroupIdsT = Aws::String>
58 LambdaVpcConfig&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
67 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
68 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
69 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
71 template<
typename SubnetIdsT = Aws::String>
72 LambdaVpcConfig&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
81 template<
typename VpcIdT = Aws::String>
82 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
83 template<
typename VpcIdT = Aws::String>
89 bool m_securityGroupIdsHasBeenSet =
false;
92 bool m_subnetIdsHasBeenSet =
false;
95 bool m_vpcIdHasBeenSet =
false;
void SetVpcId(VpcIdT &&value)
bool SecurityGroupIdsHasBeenSet() const
AWS_INSPECTOR2_API LambdaVpcConfig(Aws::Utils::Json::JsonView jsonValue)
bool SubnetIdsHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API LambdaVpcConfig()=default
LambdaVpcConfig & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
LambdaVpcConfig & WithSubnetIds(SubnetIdsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
LambdaVpcConfig & WithVpcId(VpcIdT &&value)
LambdaVpcConfig & AddSubnetIds(SubnetIdsT &&value)
LambdaVpcConfig & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_INSPECTOR2_API LambdaVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcId() const
bool VpcIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() 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