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

#include <JsonMatchPattern.h>

Public Member Functions

 JsonMatchPattern ()
 
 JsonMatchPattern (Aws::Utils::Json::JsonView jsonValue)
 
JsonMatchPatternoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const AllGetAll () const
 
bool AllHasBeenSet () const
 
void SetAll (const All &value)
 
void SetAll (All &&value)
 
JsonMatchPatternWithAll (const All &value)
 
JsonMatchPatternWithAll (All &&value)
 
const Aws::Vector< Aws::String > & GetIncludedPaths () const
 
bool IncludedPathsHasBeenSet () const
 
void SetIncludedPaths (const Aws::Vector< Aws::String > &value)
 
void SetIncludedPaths (Aws::Vector< Aws::String > &&value)
 
JsonMatchPatternWithIncludedPaths (const Aws::Vector< Aws::String > &value)
 
JsonMatchPatternWithIncludedPaths (Aws::Vector< Aws::String > &&value)
 
JsonMatchPatternAddIncludedPaths (const Aws::String &value)
 
JsonMatchPatternAddIncludedPaths (Aws::String &&value)
 
JsonMatchPatternAddIncludedPaths (const char *value)
 

Detailed Description

The patterns to look for in the JSON body. WAF inspects the results of these pattern matches against the rule inspection criteria. This is used with the FieldToMatch option JsonBody.

See Also:

AWS API Reference

Definition at line 35 of file JsonMatchPattern.h.

Constructor & Destructor Documentation

◆ JsonMatchPattern() [1/2]

Aws::WAFV2::Model::JsonMatchPattern::JsonMatchPattern ( )

◆ JsonMatchPattern() [2/2]

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

Member Function Documentation

◆ AddIncludedPaths() [1/3]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::AddIncludedPaths ( Aws::String &&  value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 181 of file JsonMatchPattern.h.

◆ AddIncludedPaths() [2/3]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::AddIncludedPaths ( const Aws::String value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 169 of file JsonMatchPattern.h.

◆ AddIncludedPaths() [3/3]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::AddIncludedPaths ( const char *  value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 193 of file JsonMatchPattern.h.

◆ AllHasBeenSet()

bool Aws::WAFV2::Model::JsonMatchPattern::AllHasBeenSet ( ) const
inline

Match all of the elements. See also MatchScope in JsonBody.

You must specify either this setting or the IncludedPaths setting, but not both.

Definition at line 56 of file JsonMatchPattern.h.

◆ GetAll()

const All& Aws::WAFV2::Model::JsonMatchPattern::GetAll ( ) const
inline

Match all of the elements. See also MatchScope in JsonBody.

You must specify either this setting or the IncludedPaths setting, but not both.

Definition at line 49 of file JsonMatchPattern.h.

◆ GetIncludedPaths()

const Aws::Vector<Aws::String>& Aws::WAFV2::Model::JsonMatchPattern::GetIncludedPaths ( ) const
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 97 of file JsonMatchPattern.h.

◆ IncludedPathsHasBeenSet()

bool Aws::WAFV2::Model::JsonMatchPattern::IncludedPathsHasBeenSet ( ) const
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 109 of file JsonMatchPattern.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetAll() [1/2]

void Aws::WAFV2::Model::JsonMatchPattern::SetAll ( All &&  value)
inline

Match all of the elements. See also MatchScope in JsonBody.

You must specify either this setting or the IncludedPaths setting, but not both.

Definition at line 70 of file JsonMatchPattern.h.

◆ SetAll() [2/2]

void Aws::WAFV2::Model::JsonMatchPattern::SetAll ( const All value)
inline

Match all of the elements. See also MatchScope in JsonBody.

You must specify either this setting or the IncludedPaths setting, but not both.

Definition at line 63 of file JsonMatchPattern.h.

◆ SetIncludedPaths() [1/2]

void Aws::WAFV2::Model::JsonMatchPattern::SetIncludedPaths ( Aws::Vector< Aws::String > &&  value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 133 of file JsonMatchPattern.h.

◆ SetIncludedPaths() [2/2]

void Aws::WAFV2::Model::JsonMatchPattern::SetIncludedPaths ( const Aws::Vector< Aws::String > &  value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 121 of file JsonMatchPattern.h.

◆ WithAll() [1/2]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::WithAll ( All &&  value)
inline

Match all of the elements. See also MatchScope in JsonBody.

You must specify either this setting or the IncludedPaths setting, but not both.

Definition at line 84 of file JsonMatchPattern.h.

◆ WithAll() [2/2]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::WithAll ( const All value)
inline

Match all of the elements. See also MatchScope in JsonBody.

You must specify either this setting or the IncludedPaths setting, but not both.

Definition at line 77 of file JsonMatchPattern.h.

◆ WithIncludedPaths() [1/2]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::WithIncludedPaths ( Aws::Vector< Aws::String > &&  value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 157 of file JsonMatchPattern.h.

◆ WithIncludedPaths() [2/2]

JsonMatchPattern& Aws::WAFV2::Model::JsonMatchPattern::WithIncludedPaths ( const Aws::Vector< Aws::String > &  value)
inline

Match only the specified include paths. See also MatchScope in JsonBody.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Don't use this option to include all paths. Instead, use the All setting.

Definition at line 145 of file JsonMatchPattern.h.


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