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

#include <SingleHeader.h>

Public Member Functions

 SingleHeader ()
 
 SingleHeader (Aws::Utils::Json::JsonView jsonValue)
 
SingleHeaderoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
SingleHeaderWithName (const Aws::String &value)
 
SingleHeaderWithName (Aws::String &&value)
 
SingleHeaderWithName (const char *value)
 

Detailed Description

One of the headers in a web request, identified by name, for example, User-Agent or Referer. This setting isn't case sensitive.

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

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

See Also:


AWS API Reference

Definition at line 36 of file SingleHeader.h.

Constructor & Destructor Documentation

◆ SingleHeader() [1/2]

Aws::WAFV2::Model::SingleHeader::SingleHeader ( )

◆ SingleHeader() [2/2]

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

Member Function Documentation

◆ GetName()

const Aws::String& Aws::WAFV2::Model::SingleHeader::GetName ( ) const
inline

The name of the query header to inspect.

Definition at line 48 of file SingleHeader.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

bool Aws::WAFV2::Model::SingleHeader::NameHasBeenSet ( ) const
inline

The name of the query header to inspect.

Definition at line 53 of file SingleHeader.h.

◆ operator=()

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

◆ SetName() [1/3]

void Aws::WAFV2::Model::SingleHeader::SetName ( Aws::String &&  value)
inline

The name of the query header to inspect.

Definition at line 63 of file SingleHeader.h.

◆ SetName() [2/3]

void Aws::WAFV2::Model::SingleHeader::SetName ( const Aws::String value)
inline

The name of the query header to inspect.

Definition at line 58 of file SingleHeader.h.

◆ SetName() [3/3]

void Aws::WAFV2::Model::SingleHeader::SetName ( const char *  value)
inline

The name of the query header to inspect.

Definition at line 68 of file SingleHeader.h.

◆ WithName() [1/3]

SingleHeader& Aws::WAFV2::Model::SingleHeader::WithName ( Aws::String &&  value)
inline

The name of the query header to inspect.

Definition at line 78 of file SingleHeader.h.

◆ WithName() [2/3]

SingleHeader& Aws::WAFV2::Model::SingleHeader::WithName ( const Aws::String value)
inline

The name of the query header to inspect.

Definition at line 73 of file SingleHeader.h.

◆ WithName() [3/3]

SingleHeader& Aws::WAFV2::Model::SingleHeader::WithName ( const char *  value)
inline

The name of the query header to inspect.

Definition at line 83 of file SingleHeader.h.


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