7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/SecurityGroup.h>
44 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
46 m_subnetIdsHasBeenSet =
true;
47 m_subnetIds = std::forward<SubnetIdsT>(value);
49 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
54 template <
typename SubnetIdsT = Aws::String>
56 m_subnetIdsHasBeenSet =
true;
57 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
68 template <
typename VpcIdT = Aws::String>
70 m_vpcIdHasBeenSet =
true;
71 m_vpcId = std::forward<VpcIdT>(value);
73 template <
typename VpcIdT = Aws::String>
75 SetVpcId(std::forward<VpcIdT>(value));
86 template <
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
88 m_securityGroupsHasBeenSet =
true;
89 m_securityGroups = std::forward<SecurityGroupsT>(value);
91 template <
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
96 template <
typename SecurityGroupsT = SecurityGroup>
98 m_securityGroupsHasBeenSet =
true;
99 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
109 bool m_subnetIdsHasBeenSet =
false;
110 bool m_vpcIdHasBeenSet =
false;
111 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