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

#include <FieldToMatch.h>

Public Member Functions

 FieldToMatch ()
 
 FieldToMatch (Aws::Utils::Json::JsonView jsonValue)
 
FieldToMatchoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const SingleHeaderGetSingleHeader () const
 
bool SingleHeaderHasBeenSet () const
 
void SetSingleHeader (const SingleHeader &value)
 
void SetSingleHeader (SingleHeader &&value)
 
FieldToMatchWithSingleHeader (const SingleHeader &value)
 
FieldToMatchWithSingleHeader (SingleHeader &&value)
 
const SingleQueryArgumentGetSingleQueryArgument () const
 
bool SingleQueryArgumentHasBeenSet () const
 
void SetSingleQueryArgument (const SingleQueryArgument &value)
 
void SetSingleQueryArgument (SingleQueryArgument &&value)
 
FieldToMatchWithSingleQueryArgument (const SingleQueryArgument &value)
 
FieldToMatchWithSingleQueryArgument (SingleQueryArgument &&value)
 
const AllQueryArgumentsGetAllQueryArguments () const
 
bool AllQueryArgumentsHasBeenSet () const
 
void SetAllQueryArguments (const AllQueryArguments &value)
 
void SetAllQueryArguments (AllQueryArguments &&value)
 
FieldToMatchWithAllQueryArguments (const AllQueryArguments &value)
 
FieldToMatchWithAllQueryArguments (AllQueryArguments &&value)
 
const UriPathGetUriPath () const
 
bool UriPathHasBeenSet () const
 
void SetUriPath (const UriPath &value)
 
void SetUriPath (UriPath &&value)
 
FieldToMatchWithUriPath (const UriPath &value)
 
FieldToMatchWithUriPath (UriPath &&value)
 
const QueryStringGetQueryString () const
 
bool QueryStringHasBeenSet () const
 
void SetQueryString (const QueryString &value)
 
void SetQueryString (QueryString &&value)
 
FieldToMatchWithQueryString (const QueryString &value)
 
FieldToMatchWithQueryString (QueryString &&value)
 
const BodyGetBody () const
 
bool BodyHasBeenSet () const
 
void SetBody (const Body &value)
 
void SetBody (Body &&value)
 
FieldToMatchWithBody (const Body &value)
 
FieldToMatchWithBody (Body &&value)
 
const MethodGetMethod () const
 
bool MethodHasBeenSet () const
 
void SetMethod (const Method &value)
 
void SetMethod (Method &&value)
 
FieldToMatchWithMethod (const Method &value)
 
FieldToMatchWithMethod (Method &&value)
 
const JsonBodyGetJsonBody () const
 
bool JsonBodyHasBeenSet () const
 
void SetJsonBody (const JsonBody &value)
 
void SetJsonBody (JsonBody &&value)
 
FieldToMatchWithJsonBody (const JsonBody &value)
 
FieldToMatchWithJsonBody (JsonBody &&value)
 

Detailed Description

The part of a web request that you want WAF to inspect. Include the single FieldToMatch type that you want to inspect, with additional specifications as needed, according to the type. You specify a single request component in FieldToMatch for each rule statement that requires it. To inspect more than one component of a web request, create a separate rule statement for each component.

JSON specification for a QueryString field to match:

"FieldToMatch": { "QueryString": {} }

Example JSON for a Method field to match specification:

"FieldToMatch": { "Method": { "Name": "DELETE" } }

See Also:

AWS API Reference

Definition at line 47 of file FieldToMatch.h.

Constructor & Destructor Documentation

◆ FieldToMatch() [1/2]

Aws::WAFV2::Model::FieldToMatch::FieldToMatch ( )

◆ FieldToMatch() [2/2]

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

Member Function Documentation

◆ AllQueryArgumentsHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::AllQueryArgumentsHasBeenSet ( ) const
inline

Inspect all query arguments.

Definition at line 174 of file FieldToMatch.h.

◆ BodyHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::BodyHasBeenSet ( ) const
inline

Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 301 of file FieldToMatch.h.

◆ GetAllQueryArguments()

const AllQueryArguments& Aws::WAFV2::Model::FieldToMatch::GetAllQueryArguments ( ) const
inline

Inspect all query arguments.

Definition at line 169 of file FieldToMatch.h.

◆ GetBody()

const Body& Aws::WAFV2::Model::FieldToMatch::GetBody ( ) const
inline

Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 285 of file FieldToMatch.h.

◆ GetJsonBody()

const JsonBody& Aws::WAFV2::Model::FieldToMatch::GetJsonBody ( ) const
inline

Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 419 of file FieldToMatch.h.

◆ GetMethod()

const Method& Aws::WAFV2::Model::FieldToMatch::GetMethod ( ) const
inline

Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.

Definition at line 372 of file FieldToMatch.h.

◆ GetQueryString()

const QueryString& Aws::WAFV2::Model::FieldToMatch::GetQueryString ( ) const
inline

Inspect the query string. This is the part of a URL that appears after a ? character, if any.

Definition at line 238 of file FieldToMatch.h.

◆ GetSingleHeader()

const SingleHeader& Aws::WAFV2::Model::FieldToMatch::GetSingleHeader ( ) const
inline

Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.

Example JSON: "SingleHeader": { "Name": "haystack" }

Definition at line 62 of file FieldToMatch.h.

◆ GetSingleQueryArgument()

const SingleQueryArgument& Aws::WAFV2::Model::FieldToMatch::GetSingleQueryArgument ( ) const
inline

Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.

This is used only to indicate the web request component for WAF to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

Definition at line 113 of file FieldToMatch.h.

◆ GetUriPath()

const UriPath& Aws::WAFV2::Model::FieldToMatch::GetUriPath ( ) const
inline

Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.

Definition at line 201 of file FieldToMatch.h.

◆ JsonBodyHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::JsonBodyHasBeenSet ( ) const
inline

Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 435 of file FieldToMatch.h.

◆ Jsonize()

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

◆ MethodHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::MethodHasBeenSet ( ) const
inline

Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.

Definition at line 378 of file FieldToMatch.h.

◆ operator=()

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

◆ QueryStringHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::QueryStringHasBeenSet ( ) const
inline

Inspect the query string. This is the part of a URL that appears after a ? character, if any.

Definition at line 244 of file FieldToMatch.h.

◆ SetAllQueryArguments() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetAllQueryArguments ( AllQueryArguments &&  value)
inline

Inspect all query arguments.

Definition at line 184 of file FieldToMatch.h.

◆ SetAllQueryArguments() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetAllQueryArguments ( const AllQueryArguments value)
inline

Inspect all query arguments.

Definition at line 179 of file FieldToMatch.h.

◆ SetBody() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetBody ( Body &&  value)
inline

Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 333 of file FieldToMatch.h.

◆ SetBody() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetBody ( const Body value)
inline

Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 317 of file FieldToMatch.h.

◆ SetJsonBody() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetJsonBody ( const JsonBody value)
inline

Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 451 of file FieldToMatch.h.

◆ SetJsonBody() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetJsonBody ( JsonBody &&  value)
inline

Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 467 of file FieldToMatch.h.

◆ SetMethod() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetMethod ( const Method value)
inline

Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.

Definition at line 384 of file FieldToMatch.h.

◆ SetMethod() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetMethod ( Method &&  value)
inline

Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.

Definition at line 390 of file FieldToMatch.h.

◆ SetQueryString() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetQueryString ( const QueryString value)
inline

Inspect the query string. This is the part of a URL that appears after a ? character, if any.

Definition at line 250 of file FieldToMatch.h.

◆ SetQueryString() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetQueryString ( QueryString &&  value)
inline

Inspect the query string. This is the part of a URL that appears after a ? character, if any.

Definition at line 256 of file FieldToMatch.h.

◆ SetSingleHeader() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetSingleHeader ( const SingleHeader value)
inline

Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.

Example JSON: "SingleHeader": { "Name": "haystack" }

Definition at line 78 of file FieldToMatch.h.

◆ SetSingleHeader() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetSingleHeader ( SingleHeader &&  value)
inline

Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.

Example JSON: "SingleHeader": { "Name": "haystack" }

Definition at line 86 of file FieldToMatch.h.

◆ SetSingleQueryArgument() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetSingleQueryArgument ( const SingleQueryArgument value)
inline

Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.

This is used only to indicate the web request component for WAF to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

Definition at line 133 of file FieldToMatch.h.

◆ SetSingleQueryArgument() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetSingleQueryArgument ( SingleQueryArgument &&  value)
inline

Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.

This is used only to indicate the web request component for WAF to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

Definition at line 143 of file FieldToMatch.h.

◆ SetUriPath() [1/2]

void Aws::WAFV2::Model::FieldToMatch::SetUriPath ( const UriPath value)
inline

Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.

Definition at line 213 of file FieldToMatch.h.

◆ SetUriPath() [2/2]

void Aws::WAFV2::Model::FieldToMatch::SetUriPath ( UriPath &&  value)
inline

Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.

Definition at line 219 of file FieldToMatch.h.

◆ SingleHeaderHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::SingleHeaderHasBeenSet ( ) const
inline

Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.

Example JSON: "SingleHeader": { "Name": "haystack" }

Definition at line 70 of file FieldToMatch.h.

◆ SingleQueryArgumentHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::SingleQueryArgumentHasBeenSet ( ) const
inline

Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.

This is used only to indicate the web request component for WAF to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

Definition at line 123 of file FieldToMatch.h.

◆ UriPathHasBeenSet()

bool Aws::WAFV2::Model::FieldToMatch::UriPathHasBeenSet ( ) const
inline

Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.

Definition at line 207 of file FieldToMatch.h.

◆ WithAllQueryArguments() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithAllQueryArguments ( AllQueryArguments &&  value)
inline

Inspect all query arguments.

Definition at line 194 of file FieldToMatch.h.

◆ WithAllQueryArguments() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithAllQueryArguments ( const AllQueryArguments value)
inline

Inspect all query arguments.

Definition at line 189 of file FieldToMatch.h.

◆ WithBody() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithBody ( Body &&  value)
inline

Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 365 of file FieldToMatch.h.

◆ WithBody() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithBody ( const Body value)
inline

Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 349 of file FieldToMatch.h.

◆ WithJsonBody() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithJsonBody ( const JsonBody value)
inline

Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 483 of file FieldToMatch.h.

◆ WithJsonBody() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithJsonBody ( JsonBody &&  value)
inline

Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.

Note that only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as ByteMatchStatement or RegexPatternSetReferenceStatement, with a SizeConstraintStatement that enforces an 8 KB size limit on the body of the request. WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.

Definition at line 499 of file FieldToMatch.h.

◆ WithMethod() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithMethod ( const Method value)
inline

Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.

Definition at line 396 of file FieldToMatch.h.

◆ WithMethod() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithMethod ( Method &&  value)
inline

Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.

Definition at line 402 of file FieldToMatch.h.

◆ WithQueryString() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithQueryString ( const QueryString value)
inline

Inspect the query string. This is the part of a URL that appears after a ? character, if any.

Definition at line 262 of file FieldToMatch.h.

◆ WithQueryString() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithQueryString ( QueryString &&  value)
inline

Inspect the query string. This is the part of a URL that appears after a ? character, if any.

Definition at line 268 of file FieldToMatch.h.

◆ WithSingleHeader() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithSingleHeader ( const SingleHeader value)
inline

Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.

Example JSON: "SingleHeader": { "Name": "haystack" }

Definition at line 94 of file FieldToMatch.h.

◆ WithSingleHeader() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithSingleHeader ( SingleHeader &&  value)
inline

Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.

Example JSON: "SingleHeader": { "Name": "haystack" }

Definition at line 102 of file FieldToMatch.h.

◆ WithSingleQueryArgument() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithSingleQueryArgument ( const SingleQueryArgument value)
inline

Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.

This is used only to indicate the web request component for WAF to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

Definition at line 153 of file FieldToMatch.h.

◆ WithSingleQueryArgument() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithSingleQueryArgument ( SingleQueryArgument &&  value)
inline

Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.

This is used only to indicate the web request component for WAF to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

Definition at line 163 of file FieldToMatch.h.

◆ WithUriPath() [1/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithUriPath ( const UriPath value)
inline

Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.

Definition at line 225 of file FieldToMatch.h.

◆ WithUriPath() [2/2]

FieldToMatch& Aws::WAFV2::Model::FieldToMatch::WithUriPath ( UriPath &&  value)
inline

Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.

Definition at line 231 of file FieldToMatch.h.


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