AWS SDK for C++  1.8.99
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 ( 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 413 of file UpdateIPSetRequest.h.

◆ AddAddresses() [2/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. 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 435 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. 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 457 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. 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 303 of file UpdateIPSetRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::WAFV2::Model::UpdateIPSetRequest::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 222 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. 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 281 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. You cannot change the description of an IP set after you create it.

Definition at line 216 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 160 of file UpdateIPSetRequest.h.

◆ GetLockToken()

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

A token used for optimistic locking. AWS 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. AWS 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 470 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 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 97 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 167 of file UpdateIPSetRequest.h.

◆ LockTokenHasBeenSet()

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

A token used for optimistic locking. AWS 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. AWS 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 482 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 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 108 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 ( 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 325 of file UpdateIPSetRequest.h.

◆ SetAddresses() [2/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. 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 347 of file UpdateIPSetRequest.h.

◆ SetDescription() [1/3]

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

◆ SetDescription() [2/3]

void Aws::WAFV2::Model::UpdateIPSetRequest::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 234 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. You cannot change the description of an IP set after you create it.

Definition at line 240 of file UpdateIPSetRequest.h.

◆ SetId() [1/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 174 of file UpdateIPSetRequest.h.

◆ SetId() [2/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 181 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 188 of file UpdateIPSetRequest.h.

◆ SetLockToken() [1/3]

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

A token used for optimistic locking. AWS 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. AWS 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 494 of file UpdateIPSetRequest.h.

◆ SetLockToken() [2/3]

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

A token used for optimistic locking. AWS 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. AWS 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 506 of file UpdateIPSetRequest.h.

◆ SetLockToken() [3/3]

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

A token used for optimistic locking. AWS 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. AWS 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 518 of file UpdateIPSetRequest.h.

◆ SetName() [1/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() [2/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() [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 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 119 of file UpdateIPSetRequest.h.

◆ SetScope() [2/2]

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

◆ WithAddresses() [1/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. 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 369 of file UpdateIPSetRequest.h.

◆ WithAddresses() [2/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. 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 391 of file UpdateIPSetRequest.h.

◆ WithDescription() [1/3]

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

◆ WithDescription() [2/3]

UpdateIPSetRequest& Aws::WAFV2::Model::UpdateIPSetRequest::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 252 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. You cannot change the description of an IP set after you create it.

Definition at line 258 of file UpdateIPSetRequest.h.

◆ WithId() [1/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 195 of file UpdateIPSetRequest.h.

◆ WithId() [2/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 202 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 209 of file UpdateIPSetRequest.h.

◆ WithLockToken() [1/3]

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

A token used for optimistic locking. AWS 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. AWS 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 530 of file UpdateIPSetRequest.h.

◆ WithLockToken() [2/3]

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

A token used for optimistic locking. AWS 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. AWS 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 542 of file UpdateIPSetRequest.h.

◆ WithLockToken() [3/3]

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

A token used for optimistic locking. AWS 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. AWS 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 554 of file UpdateIPSetRequest.h.

◆ WithName() [1/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() [2/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() [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 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 141 of file UpdateIPSetRequest.h.

◆ WithScope() [2/2]

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


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