7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/Ipv6CidrBlockAssociation.h>
45 m_assignIpv6AddressOnCreationHasBeenSet =
true;
46 m_assignIpv6AddressOnCreation = value;
60 template <
typename AvailabilityZoneT = Aws::String>
62 m_availabilityZoneHasBeenSet =
true;
63 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
65 template <
typename AvailabilityZoneT = Aws::String>
78 template <
typename AvailabilityZoneIdT = Aws::String>
80 m_availabilityZoneIdHasBeenSet =
true;
81 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
83 template <
typename AvailabilityZoneIdT = Aws::String>
98 m_availableIpAddressCountHasBeenSet =
true;
99 m_availableIpAddressCount = value;
113 template <
typename C
idrBlockT = Aws::String>
115 m_cidrBlockHasBeenSet =
true;
116 m_cidrBlock = std::forward<CidrBlockT>(value);
118 template <
typename C
idrBlockT = Aws::String>
132 m_defaultForAzHasBeenSet =
true;
133 m_defaultForAz = value;
148 m_mapPublicIpOnLaunchHasBeenSet =
true;
149 m_mapPublicIpOnLaunch = value;
163 template <
typename OwnerIdT = Aws::String>
165 m_ownerIdHasBeenSet =
true;
166 m_ownerId = std::forward<OwnerIdT>(value);
168 template <
typename OwnerIdT = Aws::String>
182 template <
typename StateT = Aws::String>
184 m_stateHasBeenSet =
true;
185 m_state = std::forward<StateT>(value);
187 template <
typename StateT = Aws::String>
189 SetState(std::forward<StateT>(value));
200 template <
typename SubnetArnT = Aws::String>
202 m_subnetArnHasBeenSet =
true;
203 m_subnetArn = std::forward<SubnetArnT>(value);
205 template <
typename SubnetArnT = Aws::String>
218 template <
typename SubnetIdT = Aws::String>
220 m_subnetIdHasBeenSet =
true;
221 m_subnetId = std::forward<SubnetIdT>(value);
223 template <
typename SubnetIdT = Aws::String>
236 template <
typename VpcIdT = Aws::String>
238 m_vpcIdHasBeenSet =
true;
239 m_vpcId = std::forward<VpcIdT>(value);
241 template <
typename VpcIdT = Aws::String>
243 SetVpcId(std::forward<VpcIdT>(value));
254 template <
typename Ipv6C
idrBlockAssociationSetT = Aws::Vector<Ipv6C
idrBlockAssociation>>
256 m_ipv6CidrBlockAssociationSetHasBeenSet =
true;
257 m_ipv6CidrBlockAssociationSet = std::forward<Ipv6CidrBlockAssociationSetT>(value);
259 template <
typename Ipv6C
idrBlockAssociationSetT = Aws::Vector<Ipv6C
idrBlockAssociation>>
264 template <
typename Ipv6C
idrBlockAssociationSetT = Ipv6C
idrBlockAssociation>
266 m_ipv6CidrBlockAssociationSetHasBeenSet =
true;
267 m_ipv6CidrBlockAssociationSet.emplace_back(std::forward<Ipv6CidrBlockAssociationSetT>(value));
272 bool m_assignIpv6AddressOnCreation{
false};
278 int m_availableIpAddressCount{0};
282 bool m_defaultForAz{
false};
284 bool m_mapPublicIpOnLaunch{
false};
297 bool m_assignIpv6AddressOnCreationHasBeenSet =
false;
298 bool m_availabilityZoneHasBeenSet =
false;
299 bool m_availabilityZoneIdHasBeenSet =
false;
300 bool m_availableIpAddressCountHasBeenSet =
false;
301 bool m_cidrBlockHasBeenSet =
false;
302 bool m_defaultForAzHasBeenSet =
false;
303 bool m_mapPublicIpOnLaunchHasBeenSet =
false;
304 bool m_ownerIdHasBeenSet =
false;
305 bool m_stateHasBeenSet =
false;
306 bool m_subnetArnHasBeenSet =
false;
307 bool m_subnetIdHasBeenSet =
false;
308 bool m_vpcIdHasBeenSet =
false;
309 bool m_ipv6CidrBlockAssociationSetHasBeenSet =
false;
bool DefaultForAzHasBeenSet() const
const Aws::String & GetState() const
AwsEc2SubnetDetails & AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
AwsEc2SubnetDetails & WithSubnetArn(SubnetArnT &&value)
AwsEc2SubnetDetails & WithOwnerId(OwnerIdT &&value)
const Aws::String & GetSubnetArn() const
AwsEc2SubnetDetails & WithSubnetId(SubnetIdT &&value)
bool GetAssignIpv6AddressOnCreation() const
void SetIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
bool SubnetArnHasBeenSet() const
bool MapPublicIpOnLaunchHasBeenSet() const
void SetAssignIpv6AddressOnCreation(bool value)
const Aws::String & GetSubnetId() const
AwsEc2SubnetDetails & WithVpcId(VpcIdT &&value)
bool AvailabilityZoneIdHasBeenSet() const
bool AssignIpv6AddressOnCreationHasBeenSet() const
void SetVpcId(VpcIdT &&value)
const Aws::Vector< Ipv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
AWS_SECURITYHUB_API AwsEc2SubnetDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailableIpAddressCount(int value)
const Aws::String & GetAvailabilityZoneId() const
void SetMapPublicIpOnLaunch(bool value)
bool CidrBlockHasBeenSet() const
void SetState(StateT &&value)
const Aws::String & GetVpcId() const
AwsEc2SubnetDetails & WithDefaultForAz(bool value)
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetOwnerId() const
bool SubnetIdHasBeenSet() const
bool StateHasBeenSet() const
bool Ipv6CidrBlockAssociationSetHasBeenSet() const
AwsEc2SubnetDetails & WithAvailableIpAddressCount(int value)
AwsEc2SubnetDetails & WithAssignIpv6AddressOnCreation(bool value)
void SetSubnetId(SubnetIdT &&value)
int GetAvailableIpAddressCount() const
AwsEc2SubnetDetails & WithState(StateT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEc2SubnetDetails(Aws::Utils::Json::JsonView jsonValue)
bool GetDefaultForAz() const
bool VpcIdHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
bool GetMapPublicIpOnLaunch() const
AWS_SECURITYHUB_API AwsEc2SubnetDetails()=default
bool OwnerIdHasBeenSet() const
void SetCidrBlock(CidrBlockT &&value)
void SetOwnerId(OwnerIdT &&value)
AwsEc2SubnetDetails & WithCidrBlock(CidrBlockT &&value)
AwsEc2SubnetDetails & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetSubnetArn(SubnetArnT &&value)
AwsEc2SubnetDetails & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetCidrBlock() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
AwsEc2SubnetDetails & WithIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT &&value)
AwsEc2SubnetDetails & WithMapPublicIpOnLaunch(bool value)
bool AvailableIpAddressCountHasBeenSet() const
void SetDefaultForAz(bool 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