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

#include <DescribeSubnetsRequest.h>

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

Public Member Functions

 DescribeSubnetsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::Vector< Filter > & GetFilters () const
 
bool FiltersHasBeenSet () const
 
void SetFilters (const Aws::Vector< Filter > &value)
 
void SetFilters (Aws::Vector< Filter > &&value)
 
DescribeSubnetsRequestWithFilters (const Aws::Vector< Filter > &value)
 
DescribeSubnetsRequestWithFilters (Aws::Vector< Filter > &&value)
 
DescribeSubnetsRequestAddFilters (const Filter &value)
 
DescribeSubnetsRequestAddFilters (Filter &&value)
 
const Aws::Vector< Aws::String > & GetSubnetIds () const
 
bool SubnetIdsHasBeenSet () const
 
void SetSubnetIds (const Aws::Vector< Aws::String > &value)
 
void SetSubnetIds (Aws::Vector< Aws::String > &&value)
 
DescribeSubnetsRequestWithSubnetIds (const Aws::Vector< Aws::String > &value)
 
DescribeSubnetsRequestWithSubnetIds (Aws::Vector< Aws::String > &&value)
 
DescribeSubnetsRequestAddSubnetIds (const Aws::String &value)
 
DescribeSubnetsRequestAddSubnetIds (Aws::String &&value)
 
DescribeSubnetsRequestAddSubnetIds (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
DescribeSubnetsRequestWithDryRun (bool value)
 
const Aws::StringGetNextToken () const
 
bool NextTokenHasBeenSet () const
 
void SetNextToken (const Aws::String &value)
 
void SetNextToken (Aws::String &&value)
 
void SetNextToken (const char *value)
 
DescribeSubnetsRequestWithNextToken (const Aws::String &value)
 
DescribeSubnetsRequestWithNextToken (Aws::String &&value)
 
DescribeSubnetsRequestWithNextToken (const char *value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
DescribeSubnetsRequestWithMaxResults (int 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 33 of file DescribeSubnetsRequest.h.

Constructor & Destructor Documentation

◆ DescribeSubnetsRequest()

Aws::EC2::Model::DescribeSubnetsRequest::DescribeSubnetsRequest ( )

Member Function Documentation

◆ AddFilters() [1/2]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::AddFilters ( const Filter value)
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 301 of file DescribeSubnetsRequest.h.

◆ AddFilters() [2/2]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::AddFilters ( Filter &&  value)
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 337 of file DescribeSubnetsRequest.h.

◆ AddSubnetIds() [1/3]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::AddSubnetIds ( const Aws::String value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 373 of file DescribeSubnetsRequest.h.

◆ AddSubnetIds() [2/3]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::AddSubnetIds ( Aws::String &&  value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 378 of file DescribeSubnetsRequest.h.

◆ AddSubnetIds() [3/3]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::AddSubnetIds ( const char *  value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 383 of file DescribeSubnetsRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::DescribeSubnetsRequest::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 400 of file DescribeSubnetsRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::DescribeSubnetsRequest::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.

◆ FiltersHasBeenSet()

bool Aws::EC2::Model::DescribeSubnetsRequest::FiltersHasBeenSet ( ) const
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 121 of file DescribeSubnetsRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::DescribeSubnetsRequest::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 392 of file DescribeSubnetsRequest.h.

◆ GetFilters()

const Aws::Vector<Filter>& Aws::EC2::Model::DescribeSubnetsRequest::GetFilters ( ) const
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 85 of file DescribeSubnetsRequest.h.

◆ GetMaxResults()

int Aws::EC2::Model::DescribeSubnetsRequest::GetMaxResults ( ) const
inline

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Definition at line 465 of file DescribeSubnetsRequest.h.

◆ GetNextToken()

const Aws::String& Aws::EC2::Model::DescribeSubnetsRequest::GetNextToken ( ) const
inline

The token for the next page of results.

Definition at line 422 of file DescribeSubnetsRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file DescribeSubnetsRequest.h.

◆ GetSubnetIds()

const Aws::Vector<Aws::String>& Aws::EC2::Model::DescribeSubnetsRequest::GetSubnetIds ( ) const
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 343 of file DescribeSubnetsRequest.h.

◆ MaxResultsHasBeenSet()

bool Aws::EC2::Model::DescribeSubnetsRequest::MaxResultsHasBeenSet ( ) const
inline

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Definition at line 472 of file DescribeSubnetsRequest.h.

◆ NextTokenHasBeenSet()

bool Aws::EC2::Model::DescribeSubnetsRequest::NextTokenHasBeenSet ( ) const
inline

The token for the next page of results.

Definition at line 427 of file DescribeSubnetsRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

void Aws::EC2::Model::DescribeSubnetsRequest::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 408 of file DescribeSubnetsRequest.h.

◆ SetFilters() [1/2]

void Aws::EC2::Model::DescribeSubnetsRequest::SetFilters ( const Aws::Vector< Filter > &  value)
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 157 of file DescribeSubnetsRequest.h.

◆ SetFilters() [2/2]

void Aws::EC2::Model::DescribeSubnetsRequest::SetFilters ( Aws::Vector< Filter > &&  value)
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 193 of file DescribeSubnetsRequest.h.

◆ SetMaxResults()

void Aws::EC2::Model::DescribeSubnetsRequest::SetMaxResults ( int  value)
inline

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Definition at line 479 of file DescribeSubnetsRequest.h.

◆ SetNextToken() [1/3]

void Aws::EC2::Model::DescribeSubnetsRequest::SetNextToken ( const Aws::String value)
inline

The token for the next page of results.

Definition at line 432 of file DescribeSubnetsRequest.h.

◆ SetNextToken() [2/3]

void Aws::EC2::Model::DescribeSubnetsRequest::SetNextToken ( Aws::String &&  value)
inline

The token for the next page of results.

Definition at line 437 of file DescribeSubnetsRequest.h.

◆ SetNextToken() [3/3]

void Aws::EC2::Model::DescribeSubnetsRequest::SetNextToken ( const char *  value)
inline

The token for the next page of results.

Definition at line 442 of file DescribeSubnetsRequest.h.

◆ SetSubnetIds() [1/2]

void Aws::EC2::Model::DescribeSubnetsRequest::SetSubnetIds ( const Aws::Vector< Aws::String > &  value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 353 of file DescribeSubnetsRequest.h.

◆ SetSubnetIds() [2/2]

void Aws::EC2::Model::DescribeSubnetsRequest::SetSubnetIds ( Aws::Vector< Aws::String > &&  value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 358 of file DescribeSubnetsRequest.h.

◆ SubnetIdsHasBeenSet()

bool Aws::EC2::Model::DescribeSubnetsRequest::SubnetIdsHasBeenSet ( ) const
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 348 of file DescribeSubnetsRequest.h.

◆ WithDryRun()

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::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 416 of file DescribeSubnetsRequest.h.

◆ WithFilters() [1/2]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithFilters ( const Aws::Vector< Filter > &  value)
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 229 of file DescribeSubnetsRequest.h.

◆ WithFilters() [2/2]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithFilters ( Aws::Vector< Filter > &&  value)
inline

One or more filters.

  • availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name.

  • availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name.

  • available-ip-address-count - The number of IPv4 addresses in the subnet that are available.

  • cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names.

  • default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name.

  • ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet.

  • ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet.

  • owner-id - The ID of the AWS account that owns the subnet.

  • state - The state of the subnet (pending | available).

  • subnet-arn - The Amazon Resource Name (ARN) of the subnet.

  • subnet-id - The ID of the subnet.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the subnet.

Definition at line 265 of file DescribeSubnetsRequest.h.

◆ WithMaxResults()

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithMaxResults ( int  value)
inline

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Definition at line 486 of file DescribeSubnetsRequest.h.

◆ WithNextToken() [1/3]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithNextToken ( const Aws::String value)
inline

The token for the next page of results.

Definition at line 447 of file DescribeSubnetsRequest.h.

◆ WithNextToken() [2/3]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithNextToken ( Aws::String &&  value)
inline

The token for the next page of results.

Definition at line 452 of file DescribeSubnetsRequest.h.

◆ WithNextToken() [3/3]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithNextToken ( const char *  value)
inline

The token for the next page of results.

Definition at line 457 of file DescribeSubnetsRequest.h.

◆ WithSubnetIds() [1/2]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithSubnetIds ( const Aws::Vector< Aws::String > &  value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 363 of file DescribeSubnetsRequest.h.

◆ WithSubnetIds() [2/2]

DescribeSubnetsRequest& Aws::EC2::Model::DescribeSubnetsRequest::WithSubnetIds ( Aws::Vector< Aws::String > &&  value)
inline

One or more subnet IDs.

Default: Describes all your subnets.

Definition at line 368 of file DescribeSubnetsRequest.h.


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