AWS SDK for C++  1.9.70
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 ( 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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 401 of file CreateIPSetRequest.h.

◆ AddAddresses() [2/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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 380 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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 422 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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 275 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 458 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 463 of file CreateIPSetRequest.h.

◆ DescriptionHasBeenSet()

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

A description of the IP set that helps with identification.

Definition at line 171 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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 254 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.

Definition at line 166 of file CreateIPSetRequest.h.

◆ GetIPAddressVersion()

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

Specify IPV4 or IPV6.

Definition at line 207 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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon 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 100 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 428 of file CreateIPSetRequest.h.

◆ IPAddressVersionHasBeenSet()

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

Specify IPV4 or IPV6.

Definition at line 212 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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon 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 112 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 ( 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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 317 of file CreateIPSetRequest.h.

◆ SetAddresses() [2/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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 296 of file CreateIPSetRequest.h.

◆ SetDescription() [1/3]

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

A description of the IP set that helps with identification.

Definition at line 181 of file CreateIPSetRequest.h.

◆ SetDescription() [2/3]

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

A description of the IP set that helps with identification.

Definition at line 176 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.

Definition at line 186 of file CreateIPSetRequest.h.

◆ SetIPAddressVersion() [1/2]

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

Specify IPV4 or IPV6.

Definition at line 217 of file CreateIPSetRequest.h.

◆ SetIPAddressVersion() [2/2]

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

Specify IPV4 or IPV6.

Definition at line 222 of file CreateIPSetRequest.h.

◆ SetName() [1/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() [2/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() [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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon 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 124 of file CreateIPSetRequest.h.

◆ SetScope() [2/2]

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

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon 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 136 of file CreateIPSetRequest.h.

◆ SetTags() [1/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 443 of file CreateIPSetRequest.h.

◆ SetTags() [2/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 438 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 433 of file CreateIPSetRequest.h.

◆ WithAddresses() [1/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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 359 of file CreateIPSetRequest.h.

◆ WithAddresses() [2/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. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Examples:

  • To configure 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 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 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 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 338 of file CreateIPSetRequest.h.

◆ WithDescription() [1/3]

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

A description of the IP set that helps with identification.

Definition at line 196 of file CreateIPSetRequest.h.

◆ WithDescription() [2/3]

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

A description of the IP set that helps with identification.

Definition at line 191 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.

Definition at line 201 of file CreateIPSetRequest.h.

◆ WithIPAddressVersion() [1/2]

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

Specify IPV4 or IPV6.

Definition at line 227 of file CreateIPSetRequest.h.

◆ WithIPAddressVersion() [2/2]

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

Specify IPV4 or IPV6.

Definition at line 232 of file CreateIPSetRequest.h.

◆ WithName() [1/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() [2/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() [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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon 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 148 of file CreateIPSetRequest.h.

◆ WithScope() [2/2]

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

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon 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 160 of file CreateIPSetRequest.h.

◆ WithTags() [1/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 453 of file CreateIPSetRequest.h.

◆ WithTags() [2/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 448 of file CreateIPSetRequest.h.


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