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

#include <OverrideAction.h>

Public Member Functions

 OverrideAction ()
 
 OverrideAction (Aws::Utils::Json::JsonView jsonValue)
 
OverrideActionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const CountActionGetCount () const
 
bool CountHasBeenSet () const
 
void SetCount (const CountAction &value)
 
void SetCount (CountAction &&value)
 
OverrideActionWithCount (const CountAction &value)
 
OverrideActionWithCount (CountAction &&value)
 
const NoneActionGetNone () const
 
bool NoneHasBeenSet () const
 
void SetNone (const NoneAction &value)
 
void SetNone (NoneAction &&value)
 
OverrideActionWithNone (const NoneAction &value)
 
OverrideActionWithNone (NoneAction &&value)
 

Detailed Description

The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

See Also:

AWS API Reference

Definition at line 43 of file OverrideAction.h.

Constructor & Destructor Documentation

◆ OverrideAction() [1/2]

Aws::WAFV2::Model::OverrideAction::OverrideAction ( )

◆ OverrideAction() [2/2]

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

Member Function Documentation

◆ CountHasBeenSet()

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

Override the rule action setting to count.

Definition at line 60 of file OverrideAction.h.

◆ GetCount()

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

Override the rule action setting to count.

Definition at line 55 of file OverrideAction.h.

◆ GetNone()

const NoneAction& Aws::WAFV2::Model::OverrideAction::GetNone ( ) const
inline

Don't override the rule action setting.

Definition at line 86 of file OverrideAction.h.

◆ Jsonize()

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

◆ NoneHasBeenSet()

bool Aws::WAFV2::Model::OverrideAction::NoneHasBeenSet ( ) const
inline

Don't override the rule action setting.

Definition at line 91 of file OverrideAction.h.

◆ operator=()

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

◆ SetCount() [1/2]

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

Override the rule action setting to count.

Definition at line 65 of file OverrideAction.h.

◆ SetCount() [2/2]

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

Override the rule action setting to count.

Definition at line 70 of file OverrideAction.h.

◆ SetNone() [1/2]

void Aws::WAFV2::Model::OverrideAction::SetNone ( const NoneAction value)
inline

Don't override the rule action setting.

Definition at line 96 of file OverrideAction.h.

◆ SetNone() [2/2]

void Aws::WAFV2::Model::OverrideAction::SetNone ( NoneAction &&  value)
inline

Don't override the rule action setting.

Definition at line 101 of file OverrideAction.h.

◆ WithCount() [1/2]

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

Override the rule action setting to count.

Definition at line 75 of file OverrideAction.h.

◆ WithCount() [2/2]

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

Override the rule action setting to count.

Definition at line 80 of file OverrideAction.h.

◆ WithNone() [1/2]

OverrideAction& Aws::WAFV2::Model::OverrideAction::WithNone ( const NoneAction value)
inline

Don't override the rule action setting.

Definition at line 106 of file OverrideAction.h.

◆ WithNone() [2/2]

OverrideAction& Aws::WAFV2::Model::OverrideAction::WithNone ( NoneAction &&  value)
inline

Don't override the rule action setting.

Definition at line 111 of file OverrideAction.h.


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