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

#include <DefaultAction.h>

Public Member Functions

 DefaultAction ()
 
 DefaultAction (Aws::Utils::Json::JsonView jsonValue)
 
DefaultActionoperator= (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)
 
DefaultActionWithBlock (const BlockAction &value)
 
DefaultActionWithBlock (BlockAction &&value)
 
const AllowActionGetAllow () const
 
bool AllowHasBeenSet () const
 
void SetAllow (const AllowAction &value)
 
void SetAllow (AllowAction &&value)
 
DefaultActionWithAllow (const AllowAction &value)
 
DefaultActionWithAllow (AllowAction &&value)
 

Detailed Description

In a WebACL, this is the action that you want AWS WAF to perform when a web request doesn't match any of the rules in the WebACL. The default action must be a terminating action, so you can't use count.

See Also:

AWS API Reference

Definition at line 35 of file DefaultAction.h.

Constructor & Destructor Documentation

◆ DefaultAction() [1/2]

Aws::WAFV2::Model::DefaultAction::DefaultAction ( )

◆ DefaultAction() [2/2]

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

Member Function Documentation

◆ AllowHasBeenSet()

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

Specifies that AWS WAF should allow requests by default.

Definition at line 83 of file DefaultAction.h.

◆ BlockHasBeenSet()

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

Specifies that AWS WAF should block requests by default.

Definition at line 52 of file DefaultAction.h.

◆ GetAllow()

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

Specifies that AWS WAF should allow requests by default.

Definition at line 78 of file DefaultAction.h.

◆ GetBlock()

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

Specifies that AWS WAF should block requests by default.

Definition at line 47 of file DefaultAction.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetAllow() [1/2]

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

Specifies that AWS WAF should allow requests by default.

Definition at line 93 of file DefaultAction.h.

◆ SetAllow() [2/2]

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

Specifies that AWS WAF should allow requests by default.

Definition at line 88 of file DefaultAction.h.

◆ SetBlock() [1/2]

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

Specifies that AWS WAF should block requests by default.

Definition at line 62 of file DefaultAction.h.

◆ SetBlock() [2/2]

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

Specifies that AWS WAF should block requests by default.

Definition at line 57 of file DefaultAction.h.

◆ WithAllow() [1/2]

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

Specifies that AWS WAF should allow requests by default.

Definition at line 103 of file DefaultAction.h.

◆ WithAllow() [2/2]

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

Specifies that AWS WAF should allow requests by default.

Definition at line 98 of file DefaultAction.h.

◆ WithBlock() [1/2]

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

Specifies that AWS WAF should block requests by default.

Definition at line 72 of file DefaultAction.h.

◆ WithBlock() [2/2]

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

Specifies that AWS WAF should block requests by default.

Definition at line 67 of file DefaultAction.h.


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