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

#include <IPSetDescriptor.h>

Public Member Functions

 IPSetDescriptor ()
 
 IPSetDescriptor (Aws::Utils::Json::JsonView jsonValue)
 
IPSetDescriptoroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const IPSetDescriptorTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const IPSetDescriptorType &value)
 
void SetType (IPSetDescriptorType &&value)
 
IPSetDescriptorWithType (const IPSetDescriptorType &value)
 
IPSetDescriptorWithType (IPSetDescriptorType &&value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
IPSetDescriptorWithValue (const Aws::String &value)
 
IPSetDescriptorWithValue (Aws::String &&value)
 
IPSetDescriptorWithValue (const char *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.

Specifies the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) that web requests originate from.

See Also:

AWS API Reference

Definition at line 41 of file IPSetDescriptor.h.

Constructor & Destructor Documentation

◆ IPSetDescriptor() [1/2]

Aws::WAF::Model::IPSetDescriptor::IPSetDescriptor ( )

◆ IPSetDescriptor() [2/2]

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

Member Function Documentation

◆ GetType()

const IPSetDescriptorType& Aws::WAF::Model::IPSetDescriptor::GetType ( ) const
inline

Specify IPV4 or IPV6.

Definition at line 53 of file IPSetDescriptor.h.

◆ GetValue()

const Aws::String& Aws::WAF::Model::IPSetDescriptor::GetValue ( ) const
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 100 of file IPSetDescriptor.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetType() [1/2]

void Aws::WAF::Model::IPSetDescriptor::SetType ( const IPSetDescriptorType value)
inline

Specify IPV4 or IPV6.

Definition at line 63 of file IPSetDescriptor.h.

◆ SetType() [2/2]

void Aws::WAF::Model::IPSetDescriptor::SetType ( IPSetDescriptorType &&  value)
inline

Specify IPV4 or IPV6.

Definition at line 68 of file IPSetDescriptor.h.

◆ SetValue() [1/3]

void Aws::WAF::Model::IPSetDescriptor::SetValue ( Aws::String &&  value)
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 163 of file IPSetDescriptor.h.

◆ SetValue() [2/3]

void Aws::WAF::Model::IPSetDescriptor::SetValue ( const Aws::String value)
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 142 of file IPSetDescriptor.h.

◆ SetValue() [3/3]

void Aws::WAF::Model::IPSetDescriptor::SetValue ( const char *  value)
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 184 of file IPSetDescriptor.h.

◆ TypeHasBeenSet()

bool Aws::WAF::Model::IPSetDescriptor::TypeHasBeenSet ( ) const
inline

Specify IPV4 or IPV6.

Definition at line 58 of file IPSetDescriptor.h.

◆ ValueHasBeenSet()

bool Aws::WAF::Model::IPSetDescriptor::ValueHasBeenSet ( ) const
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 121 of file IPSetDescriptor.h.

◆ WithType() [1/2]

IPSetDescriptor& Aws::WAF::Model::IPSetDescriptor::WithType ( const IPSetDescriptorType value)
inline

Specify IPV4 or IPV6.

Definition at line 73 of file IPSetDescriptor.h.

◆ WithType() [2/2]

IPSetDescriptor& Aws::WAF::Model::IPSetDescriptor::WithType ( IPSetDescriptorType &&  value)
inline

Specify IPV4 or IPV6.

Definition at line 78 of file IPSetDescriptor.h.

◆ WithValue() [1/3]

IPSetDescriptor& Aws::WAF::Model::IPSetDescriptor::WithValue ( Aws::String &&  value)
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 226 of file IPSetDescriptor.h.

◆ WithValue() [2/3]

IPSetDescriptor& Aws::WAF::Model::IPSetDescriptor::WithValue ( const Aws::String value)
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 205 of file IPSetDescriptor.h.

◆ WithValue() [3/3]

IPSetDescriptor& Aws::WAF::Model::IPSetDescriptor::WithValue ( const char *  value)
inline

Specify an IPv4 address by using CIDR notation. For example:

  • 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.

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

Specify an IPv6 address by using CIDR notation. For example:

  • 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.

Definition at line 247 of file IPSetDescriptor.h.


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