AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::WAFV2::Model::CreateIPSetRequest Class Reference

#include <CreateIPSetRequest.h>

+ Inheritance diagram for Aws::WAFV2::Model::CreateIPSetRequest:

Public Member Functions

 CreateIPSetRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateIPSetRequestWithName (const Aws::String &value)
 
CreateIPSetRequestWithName (Aws::String &&value)
 
CreateIPSetRequestWithName (const char *value)
 
const ScopeGetScope () const
 
bool ScopeHasBeenSet () const
 
void SetScope (const Scope &value)
 
void SetScope (Scope &&value)
 
CreateIPSetRequestWithScope (const Scope &value)
 
CreateIPSetRequestWithScope (Scope &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateIPSetRequestWithDescription (const Aws::String &value)
 
CreateIPSetRequestWithDescription (Aws::String &&value)
 
CreateIPSetRequestWithDescription (const char *value)
 
const IPAddressVersionGetIPAddressVersion () const
 
bool IPAddressVersionHasBeenSet () const
 
void SetIPAddressVersion (const IPAddressVersion &value)
 
void SetIPAddressVersion (IPAddressVersion &&value)
 
CreateIPSetRequestWithIPAddressVersion (const IPAddressVersion &value)
 
CreateIPSetRequestWithIPAddressVersion (IPAddressVersion &&value)
 
const Aws::Vector< Aws::String > & GetAddresses () const
 
bool AddressesHasBeenSet () const
 
void SetAddresses (const Aws::Vector< Aws::String > &value)
 
void SetAddresses (Aws::Vector< Aws::String > &&value)
 
CreateIPSetRequestWithAddresses (const Aws::Vector< Aws::String > &value)
 
CreateIPSetRequestWithAddresses (Aws::Vector< Aws::String > &&value)
 
CreateIPSetRequestAddAddresses (const Aws::String &value)
 
CreateIPSetRequestAddAddresses (Aws::String &&value)
 
CreateIPSetRequestAddAddresses (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateIPSetRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateIPSetRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateIPSetRequestAddTags (const Tag &value)
 
CreateIPSetRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::WAFV2::WAFV2Request
virtual ~WAFV2Request ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file CreateIPSetRequest.h.

Constructor & Destructor Documentation

◆ CreateIPSetRequest()

Aws::WAFV2::Model::CreateIPSetRequest::CreateIPSetRequest ( )

Member Function Documentation

◆ AddAddresses() [1/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::AddAddresses ( const Aws::String value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 389 of file CreateIPSetRequest.h.

◆ AddAddresses() [2/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::AddAddresses ( Aws::String &&  value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 411 of file CreateIPSetRequest.h.

◆ AddAddresses() [3/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::AddAddresses ( const char *  value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 433 of file CreateIPSetRequest.h.

◆ AddressesHasBeenSet()

bool Aws::WAFV2::Model::CreateIPSetRequest::AddressesHasBeenSet ( ) const
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 279 of file CreateIPSetRequest.h.

◆ AddTags() [1/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::AddTags ( const Tag value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 469 of file CreateIPSetRequest.h.

◆ AddTags() [2/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::AddTags ( Tag &&  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 474 of file CreateIPSetRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::WAFV2::Model::CreateIPSetRequest::DescriptionHasBeenSet ( ) const
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 167 of file CreateIPSetRequest.h.

◆ GetAddresses()

const Aws::Vector<Aws::String>& Aws::WAFV2::Model::CreateIPSetRequest::GetAddresses ( ) const
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 257 of file CreateIPSetRequest.h.

◆ GetDescription()

const Aws::String& Aws::WAFV2::Model::CreateIPSetRequest::GetDescription ( ) const
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 161 of file CreateIPSetRequest.h.

◆ GetIPAddressVersion()

const IPAddressVersion& Aws::WAFV2::Model::CreateIPSetRequest::GetIPAddressVersion ( ) const
inline

Specify IPV4 or IPV6.

Definition at line 209 of file CreateIPSetRequest.h.

◆ GetName()

const Aws::String& Aws::WAFV2::Model::CreateIPSetRequest::GetName ( ) const
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 45 of file CreateIPSetRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::WAFV2::Model::CreateIPSetRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::WAFV2::WAFV2Request.

◆ GetScope()

const Scope& Aws::WAFV2::Model::CreateIPSetRequest::GetScope ( ) const
inline

Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 99 of file CreateIPSetRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::WAFV2::Model::CreateIPSetRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file CreateIPSetRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::WAFV2::Model::CreateIPSetRequest::GetTags ( ) const
inline

An array of key:value pairs to associate with the resource.

Definition at line 439 of file CreateIPSetRequest.h.

◆ IPAddressVersionHasBeenSet()

bool Aws::WAFV2::Model::CreateIPSetRequest::IPAddressVersionHasBeenSet ( ) const
inline

Specify IPV4 or IPV6.

Definition at line 214 of file CreateIPSetRequest.h.

◆ NameHasBeenSet()

bool Aws::WAFV2::Model::CreateIPSetRequest::NameHasBeenSet ( ) const
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 51 of file CreateIPSetRequest.h.

◆ ScopeHasBeenSet()

bool Aws::WAFV2::Model::CreateIPSetRequest::ScopeHasBeenSet ( ) const
inline

Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 110 of file CreateIPSetRequest.h.

◆ SerializePayload()

Aws::String Aws::WAFV2::Model::CreateIPSetRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddresses() [1/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetAddresses ( const Aws::Vector< Aws::String > &  value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 301 of file CreateIPSetRequest.h.

◆ SetAddresses() [2/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetAddresses ( Aws::Vector< Aws::String > &&  value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 323 of file CreateIPSetRequest.h.

◆ SetDescription() [1/3]

void Aws::WAFV2::Model::CreateIPSetRequest::SetDescription ( const Aws::String value)
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 173 of file CreateIPSetRequest.h.

◆ SetDescription() [2/3]

void Aws::WAFV2::Model::CreateIPSetRequest::SetDescription ( Aws::String &&  value)
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 179 of file CreateIPSetRequest.h.

◆ SetDescription() [3/3]

void Aws::WAFV2::Model::CreateIPSetRequest::SetDescription ( const char *  value)
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 185 of file CreateIPSetRequest.h.

◆ SetIPAddressVersion() [1/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetIPAddressVersion ( const IPAddressVersion value)
inline

Specify IPV4 or IPV6.

Definition at line 219 of file CreateIPSetRequest.h.

◆ SetIPAddressVersion() [2/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetIPAddressVersion ( IPAddressVersion &&  value)
inline

Specify IPV4 or IPV6.

Definition at line 224 of file CreateIPSetRequest.h.

◆ SetName() [1/3]

void Aws::WAFV2::Model::CreateIPSetRequest::SetName ( const Aws::String value)
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 57 of file CreateIPSetRequest.h.

◆ SetName() [2/3]

void Aws::WAFV2::Model::CreateIPSetRequest::SetName ( Aws::String &&  value)
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 63 of file CreateIPSetRequest.h.

◆ SetName() [3/3]

void Aws::WAFV2::Model::CreateIPSetRequest::SetName ( const char *  value)
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 69 of file CreateIPSetRequest.h.

◆ SetScope() [1/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetScope ( const Scope value)
inline

Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 121 of file CreateIPSetRequest.h.

◆ SetScope() [2/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetScope ( Scope &&  value)
inline

Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 132 of file CreateIPSetRequest.h.

◆ SetTags() [1/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 449 of file CreateIPSetRequest.h.

◆ SetTags() [2/2]

void Aws::WAFV2::Model::CreateIPSetRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 454 of file CreateIPSetRequest.h.

◆ TagsHasBeenSet()

bool Aws::WAFV2::Model::CreateIPSetRequest::TagsHasBeenSet ( ) const
inline

An array of key:value pairs to associate with the resource.

Definition at line 444 of file CreateIPSetRequest.h.

◆ WithAddresses() [1/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithAddresses ( const Aws::Vector< Aws::String > &  value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 345 of file CreateIPSetRequest.h.

◆ WithAddresses() [2/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithAddresses ( Aws::Vector< Aws::String > &&  value)
inline

Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.

Examples:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.

  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 367 of file CreateIPSetRequest.h.

◆ WithDescription() [1/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithDescription ( const Aws::String value)
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 191 of file CreateIPSetRequest.h.

◆ WithDescription() [2/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithDescription ( Aws::String &&  value)
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 197 of file CreateIPSetRequest.h.

◆ WithDescription() [3/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithDescription ( const char *  value)
inline

A description of the IP set that helps with identification. You cannot change the description of an IP set after you create it.

Definition at line 203 of file CreateIPSetRequest.h.

◆ WithIPAddressVersion() [1/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithIPAddressVersion ( const IPAddressVersion value)
inline

Specify IPV4 or IPV6.

Definition at line 229 of file CreateIPSetRequest.h.

◆ WithIPAddressVersion() [2/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithIPAddressVersion ( IPAddressVersion &&  value)
inline

Specify IPV4 or IPV6.

Definition at line 234 of file CreateIPSetRequest.h.

◆ WithName() [1/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithName ( const Aws::String value)
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 75 of file CreateIPSetRequest.h.

◆ WithName() [2/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithName ( Aws::String &&  value)
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 81 of file CreateIPSetRequest.h.

◆ WithName() [3/3]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithName ( const char *  value)
inline

The name of the IP set. You cannot change the name of an IPSet after you create it.

Definition at line 87 of file CreateIPSetRequest.h.

◆ WithScope() [1/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithScope ( const Scope value)
inline

Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 143 of file CreateIPSetRequest.h.

◆ WithScope() [2/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithScope ( Scope &&  value)
inline

Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 154 of file CreateIPSetRequest.h.

◆ WithTags() [1/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 459 of file CreateIPSetRequest.h.

◆ WithTags() [2/2]

CreateIPSetRequest& Aws::WAFV2::Model::CreateIPSetRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 464 of file CreateIPSetRequest.h.


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