AWS SDK for C++  1.9.44
AWS SDK for C++
Public Member Functions | List of all members
Aws::WAF::Model::IPSet Class Reference

#include <IPSet.h>

Public Member Functions

 IPSet ()
 
 IPSet (Aws::Utils::Json::JsonView jsonValue)
 
IPSetoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetIPSetId () const
 
bool IPSetIdHasBeenSet () const
 
void SetIPSetId (const Aws::String &value)
 
void SetIPSetId (Aws::String &&value)
 
void SetIPSetId (const char *value)
 
IPSetWithIPSetId (const Aws::String &value)
 
IPSetWithIPSetId (Aws::String &&value)
 
IPSetWithIPSetId (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
IPSetWithName (const Aws::String &value)
 
IPSetWithName (Aws::String &&value)
 
IPSetWithName (const char *value)
 
const Aws::Vector< IPSetDescriptor > & GetIPSetDescriptors () const
 
bool IPSetDescriptorsHasBeenSet () const
 
void SetIPSetDescriptors (const Aws::Vector< IPSetDescriptor > &value)
 
void SetIPSetDescriptors (Aws::Vector< IPSetDescriptor > &&value)
 
IPSetWithIPSetDescriptors (const Aws::Vector< IPSetDescriptor > &value)
 
IPSetWithIPSetDescriptors (Aws::Vector< IPSetDescriptor > &&value)
 
IPSetAddIPSetDescriptors (const IPSetDescriptor &value)
 
IPSetAddIPSetDescriptors (IPSetDescriptor &&value)
 

Detailed Description

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128.

To specify an individual IP address, you specify the four-part IP address followed by a /32, for example, 192.0.2.0/32. To block a range of IP addresses, you can specify /8 or any range between /16 through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6). For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

See Also:

AWS API Reference

Definition at line 50 of file IPSet.h.

Constructor & Destructor Documentation

◆ IPSet() [1/2]

Aws::WAF::Model::IPSet::IPSet ( )

◆ IPSet() [2/2]

Aws::WAF::Model::IPSet::IPSet ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddIPSetDescriptors() [1/2]

IPSet& Aws::WAF::Model::IPSet::AddIPSetDescriptors ( const IPSetDescriptor value)
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 258 of file IPSet.h.

◆ AddIPSetDescriptors() [2/2]

IPSet& Aws::WAF::Model::IPSet::AddIPSetDescriptors ( IPSetDescriptor &&  value)
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 267 of file IPSet.h.

◆ GetIPSetDescriptors()

const Aws::Vector<IPSetDescriptor>& Aws::WAF::Model::IPSet::GetIPSetDescriptors ( ) const
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 204 of file IPSet.h.

◆ GetIPSetId()

const Aws::String& Aws::WAF::Model::IPSet::GetIPSetId ( ) const
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 68 of file IPSet.h.

◆ GetName()

const Aws::String& Aws::WAF::Model::IPSet::GetName ( ) const
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 152 of file IPSet.h.

◆ IPSetDescriptorsHasBeenSet()

bool Aws::WAF::Model::IPSet::IPSetDescriptorsHasBeenSet ( ) const
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 213 of file IPSet.h.

◆ IPSetIdHasBeenSet()

bool Aws::WAF::Model::IPSet::IPSetIdHasBeenSet ( ) const
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 79 of file IPSet.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::WAF::Model::IPSet::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::WAF::Model::IPSet::NameHasBeenSet ( ) const
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 158 of file IPSet.h.

◆ operator=()

IPSet& Aws::WAF::Model::IPSet::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetIPSetDescriptors() [1/2]

void Aws::WAF::Model::IPSet::SetIPSetDescriptors ( Aws::Vector< IPSetDescriptor > &&  value)
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 231 of file IPSet.h.

◆ SetIPSetDescriptors() [2/2]

void Aws::WAF::Model::IPSet::SetIPSetDescriptors ( const Aws::Vector< IPSetDescriptor > &  value)
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 222 of file IPSet.h.

◆ SetIPSetId() [1/3]

void Aws::WAF::Model::IPSet::SetIPSetId ( Aws::String &&  value)
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 101 of file IPSet.h.

◆ SetIPSetId() [2/3]

void Aws::WAF::Model::IPSet::SetIPSetId ( const Aws::String value)
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 90 of file IPSet.h.

◆ SetIPSetId() [3/3]

void Aws::WAF::Model::IPSet::SetIPSetId ( const char *  value)
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 112 of file IPSet.h.

◆ SetName() [1/3]

void Aws::WAF::Model::IPSet::SetName ( Aws::String &&  value)
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 170 of file IPSet.h.

◆ SetName() [2/3]

void Aws::WAF::Model::IPSet::SetName ( const Aws::String value)
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 164 of file IPSet.h.

◆ SetName() [3/3]

void Aws::WAF::Model::IPSet::SetName ( const char *  value)
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 176 of file IPSet.h.

◆ WithIPSetDescriptors() [1/2]

IPSet& Aws::WAF::Model::IPSet::WithIPSetDescriptors ( Aws::Vector< IPSetDescriptor > &&  value)
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 249 of file IPSet.h.

◆ WithIPSetDescriptors() [2/2]

IPSet& Aws::WAF::Model::IPSet::WithIPSetDescriptors ( const Aws::Vector< IPSetDescriptor > &  value)
inline

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Definition at line 240 of file IPSet.h.

◆ WithIPSetId() [1/3]

IPSet& Aws::WAF::Model::IPSet::WithIPSetId ( Aws::String &&  value)
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 134 of file IPSet.h.

◆ WithIPSetId() [2/3]

IPSet& Aws::WAF::Model::IPSet::WithIPSetId ( const Aws::String value)
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 123 of file IPSet.h.

◆ WithIPSetId() [3/3]

IPSet& Aws::WAF::Model::IPSet::WithIPSetId ( const char *  value)
inline

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

Definition at line 145 of file IPSet.h.

◆ WithName() [1/3]

IPSet& Aws::WAF::Model::IPSet::WithName ( Aws::String &&  value)
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 188 of file IPSet.h.

◆ WithName() [2/3]

IPSet& Aws::WAF::Model::IPSet::WithName ( const Aws::String value)
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 182 of file IPSet.h.

◆ WithName() [3/3]

IPSet& Aws::WAF::Model::IPSet::WithName ( const char *  value)
inline

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Definition at line 194 of file IPSet.h.


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