7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/SecurityGroup.h>
50 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
51 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
52 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
54 template<
typename SubnetIdsT = Aws::String>
55 VpcConfig&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
64 template<
typename VpcIdT = Aws::String>
65 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
66 template<
typename VpcIdT = Aws::String>
76 template<
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
77 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
78 template<
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
80 template<
typename SecurityGroupsT = SecurityGroup>
81 VpcConfig&
AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
return *
this; }
86 bool m_subnetIdsHasBeenSet =
false;
89 bool m_vpcIdHasBeenSet =
false;
92 bool m_securityGroupsHasBeenSet =
false;
VpcConfig & WithSecurityGroups(SecurityGroupsT &&value)
AWS_GUARDDUTY_API VpcConfig(Aws::Utils::Json::JsonView jsonValue)
VpcConfig & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< SecurityGroup > & GetSecurityGroups() const
VpcConfig & WithVpcId(VpcIdT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetVpcId() const
VpcConfig & AddSecurityGroups(SecurityGroupsT &&value)
AWS_GUARDDUTY_API VpcConfig()=default
VpcConfig & WithSubnetIds(SubnetIdsT &&value)
AWS_GUARDDUTY_API VpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SecurityGroupsHasBeenSet() const
bool VpcIdHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubnetIds(SubnetIdsT &&value)
bool SubnetIdsHasBeenSet() 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