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

#include <SqlInjectionMatchTuple.h>

Public Member Functions

 SqlInjectionMatchTuple ()
 
 SqlInjectionMatchTuple (Aws::Utils::Json::JsonView jsonValue)
 
SqlInjectionMatchTupleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const FieldToMatchGetFieldToMatch () const
 
bool FieldToMatchHasBeenSet () const
 
void SetFieldToMatch (const FieldToMatch &value)
 
void SetFieldToMatch (FieldToMatch &&value)
 
SqlInjectionMatchTupleWithFieldToMatch (const FieldToMatch &value)
 
SqlInjectionMatchTupleWithFieldToMatch (FieldToMatch &&value)
 
const TextTransformationGetTextTransformation () const
 
bool TextTransformationHasBeenSet () const
 
void SetTextTransformation (const TextTransformation &value)
 
void SetTextTransformation (TextTransformation &&value)
 
SqlInjectionMatchTupleWithTextTransformation (const TextTransformation &value)
 
SqlInjectionMatchTupleWithTextTransformation (TextTransformation &&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 part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.

See Also:

AWS API Reference

Definition at line 42 of file SqlInjectionMatchTuple.h.

Constructor & Destructor Documentation

◆ SqlInjectionMatchTuple() [1/2]

Aws::WAF::Model::SqlInjectionMatchTuple::SqlInjectionMatchTuple ( )

◆ SqlInjectionMatchTuple() [2/2]

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

Member Function Documentation

◆ FieldToMatchHasBeenSet()

bool Aws::WAF::Model::SqlInjectionMatchTuple::FieldToMatchHasBeenSet ( ) const
inline

Specifies where in a web request to look for snippets of malicious SQL code.

Definition at line 61 of file SqlInjectionMatchTuple.h.

◆ GetFieldToMatch()

const FieldToMatch& Aws::WAF::Model::SqlInjectionMatchTuple::GetFieldToMatch ( ) const
inline

Specifies where in a web request to look for snippets of malicious SQL code.

Definition at line 55 of file SqlInjectionMatchTuple.h.

◆ GetTextTransformation()

const TextTransformation& Aws::WAF::Model::SqlInjectionMatchTuple::GetTextTransformation ( ) const
inline

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^

  • Delete spaces before the following characters: / (

  • Replace the following characters with a space: , ;

  • Replace multiple spaces with one space

  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12

  • \t, tab, decimal 9


  • , newline, decimal 10

  • \r, carriage return, decimal 13

  • \v, vertical tab, decimal 11

  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "

  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160

  • Replaces (ampersand)lt; with a "less than" symbol

  • Replaces (ampersand)gt; with >

  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters

  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

Definition at line 123 of file SqlInjectionMatchTuple.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetFieldToMatch() [1/2]

void Aws::WAF::Model::SqlInjectionMatchTuple::SetFieldToMatch ( const FieldToMatch value)
inline

Specifies where in a web request to look for snippets of malicious SQL code.

Definition at line 67 of file SqlInjectionMatchTuple.h.

◆ SetFieldToMatch() [2/2]

void Aws::WAF::Model::SqlInjectionMatchTuple::SetFieldToMatch ( FieldToMatch &&  value)
inline

Specifies where in a web request to look for snippets of malicious SQL code.

Definition at line 73 of file SqlInjectionMatchTuple.h.

◆ SetTextTransformation() [1/2]

void Aws::WAF::Model::SqlInjectionMatchTuple::SetTextTransformation ( const TextTransformation value)
inline

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^

  • Delete spaces before the following characters: / (

  • Replace the following characters with a space: , ;

  • Replace multiple spaces with one space

  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12

  • \t, tab, decimal 9


  • , newline, decimal 10

  • \r, carriage return, decimal 13

  • \v, vertical tab, decimal 11

  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "

  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160

  • Replaces (ampersand)lt; with a "less than" symbol

  • Replaces (ampersand)gt; with >

  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters

  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

Definition at line 197 of file SqlInjectionMatchTuple.h.

◆ SetTextTransformation() [2/2]

void Aws::WAF::Model::SqlInjectionMatchTuple::SetTextTransformation ( TextTransformation &&  value)
inline

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^

  • Delete spaces before the following characters: / (

  • Replace the following characters with a space: , ;

  • Replace multiple spaces with one space

  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12

  • \t, tab, decimal 9


  • , newline, decimal 10

  • \r, carriage return, decimal 13

  • \v, vertical tab, decimal 11

  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "

  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160

  • Replaces (ampersand)lt; with a "less than" symbol

  • Replaces (ampersand)gt; with >

  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters

  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

Definition at line 234 of file SqlInjectionMatchTuple.h.

◆ TextTransformationHasBeenSet()

bool Aws::WAF::Model::SqlInjectionMatchTuple::TextTransformationHasBeenSet ( ) const
inline

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^

  • Delete spaces before the following characters: / (

  • Replace the following characters with a space: , ;

  • Replace multiple spaces with one space

  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12

  • \t, tab, decimal 9


  • , newline, decimal 10

  • \r, carriage return, decimal 13

  • \v, vertical tab, decimal 11

  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "

  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160

  • Replaces (ampersand)lt; with a "less than" symbol

  • Replaces (ampersand)gt; with >

  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters

  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

Definition at line 160 of file SqlInjectionMatchTuple.h.

◆ WithFieldToMatch() [1/2]

SqlInjectionMatchTuple& Aws::WAF::Model::SqlInjectionMatchTuple::WithFieldToMatch ( const FieldToMatch value)
inline

Specifies where in a web request to look for snippets of malicious SQL code.

Definition at line 79 of file SqlInjectionMatchTuple.h.

◆ WithFieldToMatch() [2/2]

SqlInjectionMatchTuple& Aws::WAF::Model::SqlInjectionMatchTuple::WithFieldToMatch ( FieldToMatch &&  value)
inline

Specifies where in a web request to look for snippets of malicious SQL code.

Definition at line 85 of file SqlInjectionMatchTuple.h.

◆ WithTextTransformation() [1/2]

SqlInjectionMatchTuple& Aws::WAF::Model::SqlInjectionMatchTuple::WithTextTransformation ( const TextTransformation value)
inline

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^

  • Delete spaces before the following characters: / (

  • Replace the following characters with a space: , ;

  • Replace multiple spaces with one space

  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12

  • \t, tab, decimal 9


  • , newline, decimal 10

  • \r, carriage return, decimal 13

  • \v, vertical tab, decimal 11

  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "

  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160

  • Replaces (ampersand)lt; with a "less than" symbol

  • Replaces (ampersand)gt; with >

  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters

  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

Definition at line 271 of file SqlInjectionMatchTuple.h.

◆ WithTextTransformation() [2/2]

SqlInjectionMatchTuple& Aws::WAF::Model::SqlInjectionMatchTuple::WithTextTransformation ( TextTransformation &&  value)
inline

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^

  • Delete spaces before the following characters: / (

  • Replace the following characters with a space: , ;

  • Replace multiple spaces with one space

  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12

  • \t, tab, decimal 9


  • , newline, decimal 10

  • \r, carriage return, decimal 13

  • \v, vertical tab, decimal 11

  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "

  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160

  • Replaces (ampersand)lt; with a "less than" symbol

  • Replaces (ampersand)gt; with >

  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters

  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

Definition at line 308 of file SqlInjectionMatchTuple.h.


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