AWS SDK for C++  1.8.55
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::CreateSubnetRequest Class Reference

#include <CreateSubnetRequest.h>

+ Inheritance diagram for Aws::EC2::Model::CreateSubnetRequest:

Public Member Functions

 CreateSubnetRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateSubnetRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateSubnetRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateSubnetRequestAddTagSpecifications (const TagSpecification &value)
 
CreateSubnetRequestAddTagSpecifications (TagSpecification &&value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
CreateSubnetRequestWithAvailabilityZone (const Aws::String &value)
 
CreateSubnetRequestWithAvailabilityZone (Aws::String &&value)
 
CreateSubnetRequestWithAvailabilityZone (const char *value)
 
const Aws::StringGetAvailabilityZoneId () const
 
bool AvailabilityZoneIdHasBeenSet () const
 
void SetAvailabilityZoneId (const Aws::String &value)
 
void SetAvailabilityZoneId (Aws::String &&value)
 
void SetAvailabilityZoneId (const char *value)
 
CreateSubnetRequestWithAvailabilityZoneId (const Aws::String &value)
 
CreateSubnetRequestWithAvailabilityZoneId (Aws::String &&value)
 
CreateSubnetRequestWithAvailabilityZoneId (const char *value)
 
const Aws::StringGetCidrBlock () const
 
bool CidrBlockHasBeenSet () const
 
void SetCidrBlock (const Aws::String &value)
 
void SetCidrBlock (Aws::String &&value)
 
void SetCidrBlock (const char *value)
 
CreateSubnetRequestWithCidrBlock (const Aws::String &value)
 
CreateSubnetRequestWithCidrBlock (Aws::String &&value)
 
CreateSubnetRequestWithCidrBlock (const char *value)
 
const Aws::StringGetIpv6CidrBlock () const
 
bool Ipv6CidrBlockHasBeenSet () const
 
void SetIpv6CidrBlock (const Aws::String &value)
 
void SetIpv6CidrBlock (Aws::String &&value)
 
void SetIpv6CidrBlock (const char *value)
 
CreateSubnetRequestWithIpv6CidrBlock (const Aws::String &value)
 
CreateSubnetRequestWithIpv6CidrBlock (Aws::String &&value)
 
CreateSubnetRequestWithIpv6CidrBlock (const char *value)
 
const Aws::StringGetOutpostArn () const
 
bool OutpostArnHasBeenSet () const
 
void SetOutpostArn (const Aws::String &value)
 
void SetOutpostArn (Aws::String &&value)
 
void SetOutpostArn (const char *value)
 
CreateSubnetRequestWithOutpostArn (const Aws::String &value)
 
CreateSubnetRequestWithOutpostArn (Aws::String &&value)
 
CreateSubnetRequestWithOutpostArn (const char *value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
CreateSubnetRequestWithVpcId (const Aws::String &value)
 
CreateSubnetRequestWithVpcId (Aws::String &&value)
 
CreateSubnetRequestWithVpcId (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateSubnetRequestWithDryRun (bool value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 23 of file CreateSubnetRequest.h.

Constructor & Destructor Documentation

◆ CreateSubnetRequest()

Aws::EC2::Model::CreateSubnetRequest::CreateSubnetRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::AddTagSpecifications ( const TagSpecification value)
inline

The tags to assign to the subnet.

Definition at line 74 of file CreateSubnetRequest.h.

◆ AddTagSpecifications() [2/2]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::AddTagSpecifications ( TagSpecification &&  value)
inline

The tags to assign to the subnet.

Definition at line 79 of file CreateSubnetRequest.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 108 of file CreateSubnetRequest.h.

◆ AvailabilityZoneIdHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::AvailabilityZoneIdHasBeenSet ( ) const
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 203 of file CreateSubnetRequest.h.

◆ CidrBlockHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::CidrBlockHasBeenSet ( ) const
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 250 of file CreateSubnetRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 454 of file CreateSubnetRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateSubnetRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::CreateSubnetRequest::GetAvailabilityZone ( ) const
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 94 of file CreateSubnetRequest.h.

◆ GetAvailabilityZoneId()

const Aws::String& Aws::EC2::Model::CreateSubnetRequest::GetAvailabilityZoneId ( ) const
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 198 of file CreateSubnetRequest.h.

◆ GetCidrBlock()

const Aws::String& Aws::EC2::Model::CreateSubnetRequest::GetCidrBlock ( ) const
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 242 of file CreateSubnetRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::CreateSubnetRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 446 of file CreateSubnetRequest.h.

◆ GetIpv6CidrBlock()

const Aws::String& Aws::EC2::Model::CreateSubnetRequest::GetIpv6CidrBlock ( ) const
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 305 of file CreateSubnetRequest.h.

◆ GetOutpostArn()

const Aws::String& Aws::EC2::Model::CreateSubnetRequest::GetOutpostArn ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 354 of file CreateSubnetRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::EC2::Model::CreateSubnetRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateSubnetRequest.h.

◆ GetTagSpecifications()

const Aws::Vector<TagSpecification>& Aws::EC2::Model::CreateSubnetRequest::GetTagSpecifications ( ) const
inline

The tags to assign to the subnet.

Definition at line 44 of file CreateSubnetRequest.h.

◆ GetVpcId()

const Aws::String& Aws::EC2::Model::CreateSubnetRequest::GetVpcId ( ) const
inline

The ID of the VPC.

Definition at line 402 of file CreateSubnetRequest.h.

◆ Ipv6CidrBlockHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::Ipv6CidrBlockHasBeenSet ( ) const
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 311 of file CreateSubnetRequest.h.

◆ OutpostArnHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::OutpostArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 360 of file CreateSubnetRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::CreateSubnetRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::CreateSubnetRequest::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 122 of file CreateSubnetRequest.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::CreateSubnetRequest::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 136 of file CreateSubnetRequest.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::CreateSubnetRequest::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 150 of file CreateSubnetRequest.h.

◆ SetAvailabilityZoneId() [1/3]

void Aws::EC2::Model::CreateSubnetRequest::SetAvailabilityZoneId ( const Aws::String value)
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 208 of file CreateSubnetRequest.h.

◆ SetAvailabilityZoneId() [2/3]

void Aws::EC2::Model::CreateSubnetRequest::SetAvailabilityZoneId ( Aws::String &&  value)
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 213 of file CreateSubnetRequest.h.

◆ SetAvailabilityZoneId() [3/3]

void Aws::EC2::Model::CreateSubnetRequest::SetAvailabilityZoneId ( const char *  value)
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 218 of file CreateSubnetRequest.h.

◆ SetCidrBlock() [1/3]

void Aws::EC2::Model::CreateSubnetRequest::SetCidrBlock ( const Aws::String value)
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 258 of file CreateSubnetRequest.h.

◆ SetCidrBlock() [2/3]

void Aws::EC2::Model::CreateSubnetRequest::SetCidrBlock ( Aws::String &&  value)
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 266 of file CreateSubnetRequest.h.

◆ SetCidrBlock() [3/3]

void Aws::EC2::Model::CreateSubnetRequest::SetCidrBlock ( const char *  value)
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 274 of file CreateSubnetRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::CreateSubnetRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 462 of file CreateSubnetRequest.h.

◆ SetIpv6CidrBlock() [1/3]

void Aws::EC2::Model::CreateSubnetRequest::SetIpv6CidrBlock ( const Aws::String value)
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 317 of file CreateSubnetRequest.h.

◆ SetIpv6CidrBlock() [2/3]

void Aws::EC2::Model::CreateSubnetRequest::SetIpv6CidrBlock ( Aws::String &&  value)
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 323 of file CreateSubnetRequest.h.

◆ SetIpv6CidrBlock() [3/3]

void Aws::EC2::Model::CreateSubnetRequest::SetIpv6CidrBlock ( const char *  value)
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 329 of file CreateSubnetRequest.h.

◆ SetOutpostArn() [1/3]

void Aws::EC2::Model::CreateSubnetRequest::SetOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 366 of file CreateSubnetRequest.h.

◆ SetOutpostArn() [2/3]

void Aws::EC2::Model::CreateSubnetRequest::SetOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 372 of file CreateSubnetRequest.h.

◆ SetOutpostArn() [3/3]

void Aws::EC2::Model::CreateSubnetRequest::SetOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 378 of file CreateSubnetRequest.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::CreateSubnetRequest::SetTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to assign to the subnet.

Definition at line 54 of file CreateSubnetRequest.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::CreateSubnetRequest::SetTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to assign to the subnet.

Definition at line 59 of file CreateSubnetRequest.h.

◆ SetVpcId() [1/3]

void Aws::EC2::Model::CreateSubnetRequest::SetVpcId ( const Aws::String value)
inline

The ID of the VPC.

Definition at line 412 of file CreateSubnetRequest.h.

◆ SetVpcId() [2/3]

void Aws::EC2::Model::CreateSubnetRequest::SetVpcId ( Aws::String &&  value)
inline

The ID of the VPC.

Definition at line 417 of file CreateSubnetRequest.h.

◆ SetVpcId() [3/3]

void Aws::EC2::Model::CreateSubnetRequest::SetVpcId ( const char *  value)
inline

The ID of the VPC.

Definition at line 422 of file CreateSubnetRequest.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::TagSpecificationsHasBeenSet ( ) const
inline

The tags to assign to the subnet.

Definition at line 49 of file CreateSubnetRequest.h.

◆ VpcIdHasBeenSet()

bool Aws::EC2::Model::CreateSubnetRequest::VpcIdHasBeenSet ( ) const
inline

The ID of the VPC.

Definition at line 407 of file CreateSubnetRequest.h.

◆ WithAvailabilityZone() [1/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 164 of file CreateSubnetRequest.h.

◆ WithAvailabilityZone() [2/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 178 of file CreateSubnetRequest.h.

◆ WithAvailabilityZone() [3/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

Definition at line 192 of file CreateSubnetRequest.h.

◆ WithAvailabilityZoneId() [1/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithAvailabilityZoneId ( const Aws::String value)
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 223 of file CreateSubnetRequest.h.

◆ WithAvailabilityZoneId() [2/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithAvailabilityZoneId ( Aws::String &&  value)
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 228 of file CreateSubnetRequest.h.

◆ WithAvailabilityZoneId() [3/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithAvailabilityZoneId ( const char *  value)
inline

The AZ ID or the Local Zone ID of the subnet.

Definition at line 233 of file CreateSubnetRequest.h.

◆ WithCidrBlock() [1/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithCidrBlock ( const Aws::String value)
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 282 of file CreateSubnetRequest.h.

◆ WithCidrBlock() [2/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithCidrBlock ( Aws::String &&  value)
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 290 of file CreateSubnetRequest.h.

◆ WithCidrBlock() [3/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithCidrBlock ( const char *  value)
inline

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Definition at line 298 of file CreateSubnetRequest.h.

◆ WithDryRun()

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 470 of file CreateSubnetRequest.h.

◆ WithIpv6CidrBlock() [1/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithIpv6CidrBlock ( const Aws::String value)
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 335 of file CreateSubnetRequest.h.

◆ WithIpv6CidrBlock() [2/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithIpv6CidrBlock ( Aws::String &&  value)
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 341 of file CreateSubnetRequest.h.

◆ WithIpv6CidrBlock() [3/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithIpv6CidrBlock ( const char *  value)
inline

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

Definition at line 347 of file CreateSubnetRequest.h.

◆ WithOutpostArn() [1/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 384 of file CreateSubnetRequest.h.

◆ WithOutpostArn() [2/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 390 of file CreateSubnetRequest.h.

◆ WithOutpostArn() [3/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

Definition at line 396 of file CreateSubnetRequest.h.

◆ WithTagSpecifications() [1/2]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to assign to the subnet.

Definition at line 64 of file CreateSubnetRequest.h.

◆ WithTagSpecifications() [2/2]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to assign to the subnet.

Definition at line 69 of file CreateSubnetRequest.h.

◆ WithVpcId() [1/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithVpcId ( const Aws::String value)
inline

The ID of the VPC.

Definition at line 427 of file CreateSubnetRequest.h.

◆ WithVpcId() [2/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithVpcId ( Aws::String &&  value)
inline

The ID of the VPC.

Definition at line 432 of file CreateSubnetRequest.h.

◆ WithVpcId() [3/3]

CreateSubnetRequest& Aws::EC2::Model::CreateSubnetRequest::WithVpcId ( const char *  value)
inline

The ID of the VPC.

Definition at line 437 of file CreateSubnetRequest.h.


The documentation for this class was generated from the following file: