7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/Ipv6CidrBlockAssociation.h>
60 template<
typename AvailabilityZoneT = Aws::String>
61 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
62 template<
typename AvailabilityZoneT = Aws::String>
72 template<
typename AvailabilityZoneIdT = Aws::String>
73 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
74 template<
typename AvailabilityZoneIdT = Aws::String>
95 template<
typename C
idrBlockT = Aws::String>
96 void SetCidrBlock(CidrBlockT&& value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock = std::forward<CidrBlockT>(value); }
97 template<
typename C
idrBlockT = Aws::String>
107 inline void SetDefaultForAz(
bool value) { m_defaultForAzHasBeenSet =
true; m_defaultForAz = value; }
117 inline void SetMapPublicIpOnLaunch(
bool value) { m_mapPublicIpOnLaunchHasBeenSet =
true; m_mapPublicIpOnLaunch = value; }
127 template<
typename OwnerIdT = Aws::String>
128 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
129 template<
typename OwnerIdT = Aws::String>
140 template<
typename StateT = Aws::String>
141 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
142 template<
typename StateT = Aws::String>
152 template<
typename SubnetArnT = Aws::String>
153 void SetSubnetArn(SubnetArnT&& value) { m_subnetArnHasBeenSet =
true; m_subnetArn = std::forward<SubnetArnT>(value); }
154 template<
typename SubnetArnT = Aws::String>
164 template<
typename SubnetIdT = Aws::String>
165 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
166 template<
typename SubnetIdT = Aws::String>
176 template<
typename VpcIdT = Aws::String>
177 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
178 template<
typename VpcIdT = Aws::String>
188 template<
typename Ipv6C
idrBlockAssociationSetT = Aws::Vector<Ipv6C
idrBlockAssociation>>
189 void SetIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociationSetT&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet =
true; m_ipv6CidrBlockAssociationSet = std::forward<Ipv6CidrBlockAssociationSetT>(value); }
190 template<
typename Ipv6C
idrBlockAssociationSetT = Aws::Vector<Ipv6C
idrBlockAssociation>>
192 template<
typename Ipv6C
idrBlockAssociationSetT = Ipv6C
idrBlockAssociation>
197 bool m_assignIpv6AddressOnCreation{
false};
198 bool m_assignIpv6AddressOnCreationHasBeenSet =
false;
201 bool m_availabilityZoneHasBeenSet =
false;
204 bool m_availabilityZoneIdHasBeenSet =
false;
206 int m_availableIpAddressCount{0};
207 bool m_availableIpAddressCountHasBeenSet =
false;
210 bool m_cidrBlockHasBeenSet =
false;
212 bool m_defaultForAz{
false};
213 bool m_defaultForAzHasBeenSet =
false;
215 bool m_mapPublicIpOnLaunch{
false};
216 bool m_mapPublicIpOnLaunchHasBeenSet =
false;
219 bool m_ownerIdHasBeenSet =
false;
222 bool m_stateHasBeenSet =
false;
225 bool m_subnetArnHasBeenSet =
false;
228 bool m_subnetIdHasBeenSet =
false;
231 bool m_vpcIdHasBeenSet =
false;
234 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