7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
20namespace SecurityAgent {
42 template <
typename VpcArnT = Aws::String>
44 m_vpcArnHasBeenSet =
true;
45 m_vpcArn = std::forward<VpcArnT>(value);
47 template <
typename VpcArnT = Aws::String>
60 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
62 m_securityGroupArnsHasBeenSet =
true;
63 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
65 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
70 template <
typename SecurityGroupArnsT = Aws::String>
72 m_securityGroupArnsHasBeenSet =
true;
73 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
84 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
86 m_subnetArnsHasBeenSet =
true;
87 m_subnetArns = std::forward<SubnetArnsT>(value);
89 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
94 template <
typename SubnetArnsT = Aws::String>
96 m_subnetArnsHasBeenSet =
true;
97 m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value));
107 bool m_vpcArnHasBeenSet =
false;
108 bool m_securityGroupArnsHasBeenSet =
false;
109 bool m_subnetArnsHasBeenSet =
false;
void SetVpcArn(VpcArnT &&value)
void SetSubnetArns(SubnetArnsT &&value)
VpcConfig & AddSecurityGroupArns(SecurityGroupArnsT &&value)
bool SecurityGroupArnsHasBeenSet() const
AWS_SECURITYAGENT_API VpcConfig(Aws::Utils::Json::JsonView jsonValue)
bool VpcArnHasBeenSet() const
AWS_SECURITYAGENT_API VpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfig & WithSubnetArns(SubnetArnsT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API VpcConfig()=default
VpcConfig & WithSecurityGroupArns(SecurityGroupArnsT &&value)
const Aws::Vector< Aws::String > & GetSubnetArns() const
const Aws::String & GetVpcArn() const
bool SubnetArnsHasBeenSet() const
VpcConfig & AddSubnetArns(SubnetArnsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
VpcConfig & WithVpcArn(VpcArnT &&value)
void SetSecurityGroupArns(SecurityGroupArnsT &&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