AWS SDK for C++  1.9.157
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 action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

See Also:

AWS API Reference

Definition at line 41 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 group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

Definition at line 66 of file OverrideAction.h.

◆ GetCount()

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

Override the rule group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

Definition at line 57 of file OverrideAction.h.

◆ GetNone()

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

Don't override the rule group evaluation result. This is the most common setting.

Definition at line 109 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 group evaluation result. This is the most common setting.

Definition at line 115 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 group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

Definition at line 75 of file OverrideAction.h.

◆ SetCount() [2/2]

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

Override the rule group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

Definition at line 84 of file OverrideAction.h.

◆ SetNone() [1/2]

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

Don't override the rule group evaluation result. This is the most common setting.

Definition at line 121 of file OverrideAction.h.

◆ SetNone() [2/2]

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

Don't override the rule group evaluation result. This is the most common setting.

Definition at line 127 of file OverrideAction.h.

◆ WithCount() [1/2]

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

Override the rule group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

Definition at line 93 of file OverrideAction.h.

◆ WithCount() [2/2]

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

Override the rule group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

Definition at line 102 of file OverrideAction.h.

◆ WithNone() [1/2]

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

Don't override the rule group evaluation result. This is the most common setting.

Definition at line 133 of file OverrideAction.h.

◆ WithNone() [2/2]

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

Don't override the rule group evaluation result. This is the most common setting.

Definition at line 139 of file OverrideAction.h.


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