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

#include <RuleAction.h>

Public Member Functions

 RuleAction ()
 
 RuleAction (Aws::Utils::Json::JsonView jsonValue)
 
RuleActionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const BlockActionGetBlock () const
 
bool BlockHasBeenSet () const
 
void SetBlock (const BlockAction &value)
 
void SetBlock (BlockAction &&value)
 
RuleActionWithBlock (const BlockAction &value)
 
RuleActionWithBlock (BlockAction &&value)
 
const AllowActionGetAllow () const
 
bool AllowHasBeenSet () const
 
void SetAllow (const AllowAction &value)
 
void SetAllow (AllowAction &&value)
 
RuleActionWithAllow (const AllowAction &value)
 
RuleActionWithAllow (AllowAction &&value)
 
const CountActionGetCount () const
 
bool CountHasBeenSet () const
 
void SetCount (const CountAction &value)
 
void SetCount (CountAction &&value)
 
RuleActionWithCount (const CountAction &value)
 
RuleActionWithCount (CountAction &&value)
 

Detailed Description

The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

See Also:

AWS API Reference

Definition at line 35 of file RuleAction.h.

Constructor & Destructor Documentation

◆ RuleAction() [1/2]

Aws::WAFV2::Model::RuleAction::RuleAction ( )

◆ RuleAction() [2/2]

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

Member Function Documentation

◆ AllowHasBeenSet()

bool Aws::WAFV2::Model::RuleAction::AllowHasBeenSet ( ) const
inline

Instructs WAF to allow the web request.

Definition at line 83 of file RuleAction.h.

◆ BlockHasBeenSet()

bool Aws::WAFV2::Model::RuleAction::BlockHasBeenSet ( ) const
inline

Instructs WAF to block the web request.

Definition at line 52 of file RuleAction.h.

◆ CountHasBeenSet()

bool Aws::WAFV2::Model::RuleAction::CountHasBeenSet ( ) const
inline

Instructs WAF to count the web request and allow it.

Definition at line 114 of file RuleAction.h.

◆ GetAllow()

const AllowAction& Aws::WAFV2::Model::RuleAction::GetAllow ( ) const
inline

Instructs WAF to allow the web request.

Definition at line 78 of file RuleAction.h.

◆ GetBlock()

const BlockAction& Aws::WAFV2::Model::RuleAction::GetBlock ( ) const
inline

Instructs WAF to block the web request.

Definition at line 47 of file RuleAction.h.

◆ GetCount()

const CountAction& Aws::WAFV2::Model::RuleAction::GetCount ( ) const
inline

Instructs WAF to count the web request and allow it.

Definition at line 109 of file RuleAction.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetAllow() [1/2]

void Aws::WAFV2::Model::RuleAction::SetAllow ( AllowAction &&  value)
inline

Instructs WAF to allow the web request.

Definition at line 93 of file RuleAction.h.

◆ SetAllow() [2/2]

void Aws::WAFV2::Model::RuleAction::SetAllow ( const AllowAction value)
inline

Instructs WAF to allow the web request.

Definition at line 88 of file RuleAction.h.

◆ SetBlock() [1/2]

void Aws::WAFV2::Model::RuleAction::SetBlock ( BlockAction &&  value)
inline

Instructs WAF to block the web request.

Definition at line 62 of file RuleAction.h.

◆ SetBlock() [2/2]

void Aws::WAFV2::Model::RuleAction::SetBlock ( const BlockAction value)
inline

Instructs WAF to block the web request.

Definition at line 57 of file RuleAction.h.

◆ SetCount() [1/2]

void Aws::WAFV2::Model::RuleAction::SetCount ( const CountAction value)
inline

Instructs WAF to count the web request and allow it.

Definition at line 119 of file RuleAction.h.

◆ SetCount() [2/2]

void Aws::WAFV2::Model::RuleAction::SetCount ( CountAction &&  value)
inline

Instructs WAF to count the web request and allow it.

Definition at line 124 of file RuleAction.h.

◆ WithAllow() [1/2]

RuleAction& Aws::WAFV2::Model::RuleAction::WithAllow ( AllowAction &&  value)
inline

Instructs WAF to allow the web request.

Definition at line 103 of file RuleAction.h.

◆ WithAllow() [2/2]

RuleAction& Aws::WAFV2::Model::RuleAction::WithAllow ( const AllowAction value)
inline

Instructs WAF to allow the web request.

Definition at line 98 of file RuleAction.h.

◆ WithBlock() [1/2]

RuleAction& Aws::WAFV2::Model::RuleAction::WithBlock ( BlockAction &&  value)
inline

Instructs WAF to block the web request.

Definition at line 72 of file RuleAction.h.

◆ WithBlock() [2/2]

RuleAction& Aws::WAFV2::Model::RuleAction::WithBlock ( const BlockAction value)
inline

Instructs WAF to block the web request.

Definition at line 67 of file RuleAction.h.

◆ WithCount() [1/2]

RuleAction& Aws::WAFV2::Model::RuleAction::WithCount ( const CountAction value)
inline

Instructs WAF to count the web request and allow it.

Definition at line 129 of file RuleAction.h.

◆ WithCount() [2/2]

RuleAction& Aws::WAFV2::Model::RuleAction::WithCount ( CountAction &&  value)
inline

Instructs WAF to count the web request and allow it.

Definition at line 134 of file RuleAction.h.


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