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

#include <UpdateIPSetRequest.h>

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

Public Member Functions

 UpdateIPSetRequest ()
 
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)
 
UpdateIPSetRequestWithName (const Aws::String &value)
 
UpdateIPSetRequestWithName (Aws::String &&value)
 
UpdateIPSetRequestWithName (const char *value)
 
const ScopeGetScope () const
 
bool ScopeHasBeenSet () const
 
void SetScope (const Scope &value)
 
void SetScope (Scope &&value)
 
UpdateIPSetRequestWithScope (const Scope &value)
 
UpdateIPSetRequestWithScope (Scope &&value)
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
UpdateIPSetRequestWithId (const Aws::String &value)
 
UpdateIPSetRequestWithId (Aws::String &&value)
 
UpdateIPSetRequestWithId (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
UpdateIPSetRequestWithDescription (const Aws::String &value)
 
UpdateIPSetRequestWithDescription (Aws::String &&value)
 
UpdateIPSetRequestWithDescription (const char *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)
 
UpdateIPSetRequestWithAddresses (const Aws::Vector< Aws::String > &value)
 
UpdateIPSetRequestWithAddresses (Aws::Vector< Aws::String > &&value)
 
UpdateIPSetRequestAddAddresses (const Aws::String &value)
 
UpdateIPSetRequestAddAddresses (Aws::String &&value)
 
UpdateIPSetRequestAddAddresses (const char *value)
 
const Aws::StringGetLockToken () const
 
bool LockTokenHasBeenSet () const
 
void SetLockToken (const Aws::String &value)
 
void SetLockToken (Aws::String &&value)
 
void SetLockToken (const char *value)
 
UpdateIPSetRequestWithLockToken (const Aws::String &value)
 
UpdateIPSetRequestWithLockToken (Aws::String &&value)
 
UpdateIPSetRequestWithLockToken (const char *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 23 of file UpdateIPSetRequest.h.

Constructor & Destructor Documentation

◆ UpdateIPSetRequest()

Aws::WAFV2::Model::UpdateIPSetRequest::UpdateIPSetRequest ( )

Member Function Documentation

◆ AddAddresses() [1/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 425 of file UpdateIPSetRequest.h.

◆ AddAddresses() [2/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 404 of file UpdateIPSetRequest.h.

◆ AddAddresses() [3/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 446 of file UpdateIPSetRequest.h.

◆ AddressesHasBeenSet()

bool Aws::WAFV2::Model::UpdateIPSetRequest::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 299 of file UpdateIPSetRequest.h.

◆ DescriptionHasBeenSet()

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

A description of the IP set that helps with identification.

Definition at line 226 of file UpdateIPSetRequest.h.

◆ GetAddresses()

const Aws::Vector<Aws::String>& Aws::WAFV2::Model::UpdateIPSetRequest::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 278 of file UpdateIPSetRequest.h.

◆ GetDescription()

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

A description of the IP set that helps with identification.

Definition at line 221 of file UpdateIPSetRequest.h.

◆ GetId()

const Aws::String& Aws::WAFV2::Model::UpdateIPSetRequest::GetId ( ) const
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 166 of file UpdateIPSetRequest.h.

◆ GetLockToken()

const Aws::String& Aws::WAFV2::Model::UpdateIPSetRequest::GetLockToken ( ) const
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 459 of file UpdateIPSetRequest.h.

◆ GetName()

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

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

Definition at line 43 of file UpdateIPSetRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::WAFV2::WAFV2Request.

◆ GetScope()

const Scope& Aws::WAFV2::Model::UpdateIPSetRequest::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 98 of file UpdateIPSetRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file UpdateIPSetRequest.h.

◆ IdHasBeenSet()

bool Aws::WAFV2::Model::UpdateIPSetRequest::IdHasBeenSet ( ) const
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 173 of file UpdateIPSetRequest.h.

◆ LockTokenHasBeenSet()

bool Aws::WAFV2::Model::UpdateIPSetRequest::LockTokenHasBeenSet ( ) const
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 471 of file UpdateIPSetRequest.h.

◆ NameHasBeenSet()

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

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

Definition at line 49 of file UpdateIPSetRequest.h.

◆ ScopeHasBeenSet()

bool Aws::WAFV2::Model::UpdateIPSetRequest::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 110 of file UpdateIPSetRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddresses() [1/2]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 341 of file UpdateIPSetRequest.h.

◆ SetAddresses() [2/2]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 320 of file UpdateIPSetRequest.h.

◆ SetDescription() [1/3]

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

A description of the IP set that helps with identification.

Definition at line 236 of file UpdateIPSetRequest.h.

◆ SetDescription() [2/3]

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

A description of the IP set that helps with identification.

Definition at line 231 of file UpdateIPSetRequest.h.

◆ SetDescription() [3/3]

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

A description of the IP set that helps with identification.

Definition at line 241 of file UpdateIPSetRequest.h.

◆ SetId() [1/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::SetId ( Aws::String &&  value)
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 187 of file UpdateIPSetRequest.h.

◆ SetId() [2/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::SetId ( const Aws::String value)
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 180 of file UpdateIPSetRequest.h.

◆ SetId() [3/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::SetId ( const char *  value)
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 194 of file UpdateIPSetRequest.h.

◆ SetLockToken() [1/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::SetLockToken ( Aws::String &&  value)
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 495 of file UpdateIPSetRequest.h.

◆ SetLockToken() [2/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::SetLockToken ( const Aws::String value)
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 483 of file UpdateIPSetRequest.h.

◆ SetLockToken() [3/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::SetLockToken ( const char *  value)
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 507 of file UpdateIPSetRequest.h.

◆ SetName() [1/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 61 of file UpdateIPSetRequest.h.

◆ SetName() [2/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 55 of file UpdateIPSetRequest.h.

◆ SetName() [3/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 67 of file UpdateIPSetRequest.h.

◆ SetScope() [1/2]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 122 of file UpdateIPSetRequest.h.

◆ SetScope() [2/2]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 134 of file UpdateIPSetRequest.h.

◆ WithAddresses() [1/2]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 383 of file UpdateIPSetRequest.h.

◆ WithAddresses() [2/2]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 362 of file UpdateIPSetRequest.h.

◆ WithDescription() [1/3]

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

A description of the IP set that helps with identification.

Definition at line 251 of file UpdateIPSetRequest.h.

◆ WithDescription() [2/3]

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

A description of the IP set that helps with identification.

Definition at line 246 of file UpdateIPSetRequest.h.

◆ WithDescription() [3/3]

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

A description of the IP set that helps with identification.

Definition at line 256 of file UpdateIPSetRequest.h.

◆ WithId() [1/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::WithId ( Aws::String &&  value)
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 208 of file UpdateIPSetRequest.h.

◆ WithId() [2/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::WithId ( const Aws::String value)
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 201 of file UpdateIPSetRequest.h.

◆ WithId() [3/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::WithId ( const char *  value)
inline

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Definition at line 215 of file UpdateIPSetRequest.h.

◆ WithLockToken() [1/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::WithLockToken ( Aws::String &&  value)
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 531 of file UpdateIPSetRequest.h.

◆ WithLockToken() [2/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::WithLockToken ( const Aws::String value)
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 519 of file UpdateIPSetRequest.h.

◆ WithLockToken() [3/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::WithLockToken ( const char *  value)
inline

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

Definition at line 543 of file UpdateIPSetRequest.h.

◆ WithName() [1/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 79 of file UpdateIPSetRequest.h.

◆ WithName() [2/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 73 of file UpdateIPSetRequest.h.

◆ WithName() [3/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 85 of file UpdateIPSetRequest.h.

◆ WithScope() [1/2]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 146 of file UpdateIPSetRequest.h.

◆ WithScope() [2/2]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 158 of file UpdateIPSetRequest.h.


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