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

#include <GeoMatchStatement.h>

Public Member Functions

 GeoMatchStatement ()
 
 GeoMatchStatement (Aws::Utils::Json::JsonView jsonValue)
 
GeoMatchStatementoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< CountryCode > & GetCountryCodes () const
 
bool CountryCodesHasBeenSet () const
 
void SetCountryCodes (const Aws::Vector< CountryCode > &value)
 
void SetCountryCodes (Aws::Vector< CountryCode > &&value)
 
GeoMatchStatementWithCountryCodes (const Aws::Vector< CountryCode > &value)
 
GeoMatchStatementWithCountryCodes (Aws::Vector< CountryCode > &&value)
 
GeoMatchStatementAddCountryCodes (const CountryCode &value)
 
GeoMatchStatementAddCountryCodes (CountryCode &&value)
 
const ForwardedIPConfigGetForwardedIPConfig () const
 
bool ForwardedIPConfigHasBeenSet () const
 
void SetForwardedIPConfig (const ForwardedIPConfig &value)
 
void SetForwardedIPConfig (ForwardedIPConfig &&value)
 
GeoMatchStatementWithForwardedIPConfig (const ForwardedIPConfig &value)
 
GeoMatchStatementWithForwardedIPConfig (ForwardedIPConfig &&value)
 

Detailed Description

A rule statement used to identify web requests based on country of origin.

See Also:

AWS API Reference

Definition at line 34 of file GeoMatchStatement.h.

Constructor & Destructor Documentation

◆ GeoMatchStatement() [1/2]

Aws::WAFV2::Model::GeoMatchStatement::GeoMatchStatement ( )

◆ GeoMatchStatement() [2/2]

Aws::WAFV2::Model::GeoMatchStatement::GeoMatchStatement ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddCountryCodes() [1/2]

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::AddCountryCodes ( const CountryCode value)
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 90 of file GeoMatchStatement.h.

◆ AddCountryCodes() [2/2]

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::AddCountryCodes ( CountryCode &&  value)
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 97 of file GeoMatchStatement.h.

◆ CountryCodesHasBeenSet()

bool Aws::WAFV2::Model::GeoMatchStatement::CountryCodesHasBeenSet ( ) const
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 55 of file GeoMatchStatement.h.

◆ ForwardedIPConfigHasBeenSet()

bool Aws::WAFV2::Model::GeoMatchStatement::ForwardedIPConfigHasBeenSet ( ) const
inline

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.

Definition at line 116 of file GeoMatchStatement.h.

◆ GetCountryCodes()

const Aws::Vector<CountryCode>& Aws::WAFV2::Model::GeoMatchStatement::GetCountryCodes ( ) const
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 48 of file GeoMatchStatement.h.

◆ GetForwardedIPConfig()

const ForwardedIPConfig& Aws::WAFV2::Model::GeoMatchStatement::GetForwardedIPConfig ( ) const
inline

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.

Definition at line 107 of file GeoMatchStatement.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::WAFV2::Model::GeoMatchStatement::Jsonize ( ) const

◆ operator=()

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetCountryCodes() [1/2]

void Aws::WAFV2::Model::GeoMatchStatement::SetCountryCodes ( Aws::Vector< CountryCode > &&  value)
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 69 of file GeoMatchStatement.h.

◆ SetCountryCodes() [2/2]

void Aws::WAFV2::Model::GeoMatchStatement::SetCountryCodes ( const Aws::Vector< CountryCode > &  value)
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 62 of file GeoMatchStatement.h.

◆ SetForwardedIPConfig() [1/2]

void Aws::WAFV2::Model::GeoMatchStatement::SetForwardedIPConfig ( const ForwardedIPConfig value)
inline

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.

Definition at line 125 of file GeoMatchStatement.h.

◆ SetForwardedIPConfig() [2/2]

void Aws::WAFV2::Model::GeoMatchStatement::SetForwardedIPConfig ( ForwardedIPConfig &&  value)
inline

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.

Definition at line 134 of file GeoMatchStatement.h.

◆ WithCountryCodes() [1/2]

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::WithCountryCodes ( Aws::Vector< CountryCode > &&  value)
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 83 of file GeoMatchStatement.h.

◆ WithCountryCodes() [2/2]

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::WithCountryCodes ( const Aws::Vector< CountryCode > &  value)
inline

An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.

Definition at line 76 of file GeoMatchStatement.h.

◆ WithForwardedIPConfig() [1/2]

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::WithForwardedIPConfig ( const ForwardedIPConfig value)
inline

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.

Definition at line 143 of file GeoMatchStatement.h.

◆ WithForwardedIPConfig() [2/2]

GeoMatchStatement& Aws::WAFV2::Model::GeoMatchStatement::WithForwardedIPConfig ( ForwardedIPConfig &&  value)
inline

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.

Definition at line 152 of file GeoMatchStatement.h.


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