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>
62 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
76 inline void SetAvailabilityZoneId(
const char* value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId.assign(value); }
101 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
113 inline void SetDefaultForAz(
bool value) { m_defaultForAzHasBeenSet =
true; m_defaultForAz = value; }
123 inline void SetMapPublicIpOnLaunch(
bool value) { m_mapPublicIpOnLaunchHasBeenSet =
true; m_mapPublicIpOnLaunch = value; }
135 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
150 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
164 inline void SetSubnetArn(
const char* value) { m_subnetArnHasBeenSet =
true; m_subnetArn.assign(value); }
178 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
192 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
213 bool m_assignIpv6AddressOnCreation;
214 bool m_assignIpv6AddressOnCreationHasBeenSet =
false;
217 bool m_availabilityZoneHasBeenSet =
false;
220 bool m_availabilityZoneIdHasBeenSet =
false;
222 int m_availableIpAddressCount;
223 bool m_availableIpAddressCountHasBeenSet =
false;
226 bool m_cidrBlockHasBeenSet =
false;
229 bool m_defaultForAzHasBeenSet =
false;
231 bool m_mapPublicIpOnLaunch;
232 bool m_mapPublicIpOnLaunchHasBeenSet =
false;
235 bool m_ownerIdHasBeenSet =
false;
238 bool m_stateHasBeenSet =
false;
241 bool m_subnetArnHasBeenSet =
false;
244 bool m_subnetIdHasBeenSet =
false;
247 bool m_vpcIdHasBeenSet =
false;
250 bool m_ipv6CidrBlockAssociationSetHasBeenSet =
false;
bool DefaultForAzHasBeenSet() const
AwsEc2SubnetDetails & WithSubnetArn(const Aws::String &value)
const Aws::String & GetState() const
AwsEc2SubnetDetails & WithCidrBlock(const Aws::String &value)
const Aws::String & GetSubnetArn() const
void SetAvailabilityZone(const char *value)
AwsEc2SubnetDetails & WithCidrBlock(const char *value)
bool GetAssignIpv6AddressOnCreation() const
bool SubnetArnHasBeenSet() const
bool MapPublicIpOnLaunchHasBeenSet() const
AwsEc2SubnetDetails & WithVpcId(const char *value)
AwsEc2SubnetDetails & WithSubnetId(const Aws::String &value)
void SetSubnetArn(const char *value)
AwsEc2SubnetDetails & WithState(const char *value)
void SetAssignIpv6AddressOnCreation(bool value)
void SetOwnerId(Aws::String &&value)
const Aws::String & GetSubnetId() const
void SetSubnetId(const char *value)
void SetVpcId(Aws::String &&value)
bool AvailabilityZoneIdHasBeenSet() const
void SetOwnerId(const Aws::String &value)
bool AssignIpv6AddressOnCreationHasBeenSet() const
const Aws::Vector< Ipv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
AWS_SECURITYHUB_API AwsEc2SubnetDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2SubnetDetails & WithAvailabilityZone(const Aws::String &value)
AwsEc2SubnetDetails & AddIpv6CidrBlockAssociationSet(const Ipv6CidrBlockAssociation &value)
void SetIpv6CidrBlockAssociationSet(const Aws::Vector< Ipv6CidrBlockAssociation > &value)
void SetIpv6CidrBlockAssociationSet(Aws::Vector< Ipv6CidrBlockAssociation > &&value)
AwsEc2SubnetDetails & WithSubnetArn(const char *value)
void SetSubnetArn(const Aws::String &value)
AwsEc2SubnetDetails & WithAvailabilityZone(Aws::String &&value)
void SetAvailableIpAddressCount(int value)
AwsEc2SubnetDetails & WithSubnetArn(Aws::String &&value)
void SetCidrBlock(const Aws::String &value)
void SetSubnetId(const Aws::String &value)
void SetSubnetId(Aws::String &&value)
AwsEc2SubnetDetails & WithState(const Aws::String &value)
void SetAvailabilityZoneId(const Aws::String &value)
const Aws::String & GetAvailabilityZoneId() const
void SetMapPublicIpOnLaunch(bool value)
bool CidrBlockHasBeenSet() const
AwsEc2SubnetDetails & WithVpcId(Aws::String &&value)
const Aws::String & GetVpcId() const
void SetAvailabilityZone(Aws::String &&value)
AwsEc2SubnetDetails & WithVpcId(const Aws::String &value)
AwsEc2SubnetDetails & WithDefaultForAz(bool value)
AwsEc2SubnetDetails & WithState(Aws::String &&value)
AwsEc2SubnetDetails & WithOwnerId(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetOwnerId() const
AwsEc2SubnetDetails & WithAvailabilityZoneId(Aws::String &&value)
AwsEc2SubnetDetails & WithIpv6CidrBlockAssociationSet(Aws::Vector< Ipv6CidrBlockAssociation > &&value)
void SetVpcId(const Aws::String &value)
bool SubnetIdHasBeenSet() const
bool StateHasBeenSet() const
void SetState(const char *value)
void SetState(Aws::String &&value)
bool Ipv6CidrBlockAssociationSetHasBeenSet() const
AwsEc2SubnetDetails & WithAvailableIpAddressCount(int value)
AwsEc2SubnetDetails & WithCidrBlock(Aws::String &&value)
AwsEc2SubnetDetails & WithAssignIpv6AddressOnCreation(bool value)
AWS_SECURITYHUB_API AwsEc2SubnetDetails()
int GetAvailableIpAddressCount() const
void SetOwnerId(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEc2SubnetDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2SubnetDetails & WithOwnerId(const char *value)
void SetAvailabilityZoneId(Aws::String &&value)
void SetAvailabilityZoneId(const char *value)
AwsEc2SubnetDetails & WithAvailabilityZoneId(const Aws::String &value)
bool GetDefaultForAz() const
bool VpcIdHasBeenSet() const
void SetState(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
bool GetMapPublicIpOnLaunch() const
bool OwnerIdHasBeenSet() const
AwsEc2SubnetDetails & WithAvailabilityZoneId(const char *value)
AwsEc2SubnetDetails & AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociation &&value)
AwsEc2SubnetDetails & WithSubnetId(const char *value)
void SetAvailabilityZone(const Aws::String &value)
const Aws::String & GetCidrBlock() const
void SetCidrBlock(Aws::String &&value)
AwsEc2SubnetDetails & WithSubnetId(Aws::String &&value)
AwsEc2SubnetDetails & WithOwnerId(const Aws::String &value)
void SetVpcId(const char *value)
void SetCidrBlock(const char *value)
AwsEc2SubnetDetails & WithAvailabilityZone(const char *value)
AwsEc2SubnetDetails & WithMapPublicIpOnLaunch(bool value)
void SetSubnetArn(Aws::String &&value)
bool AvailableIpAddressCountHasBeenSet() const
void SetDefaultForAz(bool value)
AwsEc2SubnetDetails & WithIpv6CidrBlockAssociationSet(const Aws::Vector< Ipv6CidrBlockAssociation > &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