AWS SDK for C++

AWS SDK for C++ Version 1.11.488

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::WAF::Model::WafAction Class Reference

#include <WafAction.h>

Public Member Functions

AWS_WAF_API WafAction ()
 
AWS_WAF_API WafAction (Aws::Utils::Json::JsonView jsonValue)
 
 
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize () const
 
const WafActionTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const WafActionType &value)
 
void SetType (WafActionType &&value)
 
WafActionWithType (const WafActionType &value)
 
 

Detailed Description

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

For the action that is associated with a rule in a WebACL, specifies the action that you want AWS WAF to perform when a web request matches all of the conditions in a rule. For the default action in a WebACL, specifies the action that you want AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a WebACL.

See Also:

AWS API Reference

Definition at line 43 of file WafAction.h.

Constructor & Destructor Documentation

◆ WafAction() [1/2]

AWS_WAF_API Aws::WAF::Model::WafAction::WafAction ( )

◆ WafAction() [2/2]

AWS_WAF_API Aws::WAF::Model::WafAction::WafAction ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetType()

const WafActionType & Aws::WAF::Model::WafAction::GetType ( ) const
inline

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests

  • BLOCK: AWS WAF blocks requests

  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Definition at line 64 of file WafAction.h.

◆ Jsonize()

AWS_WAF_API Aws::Utils::Json::JsonValue Aws::WAF::Model::WafAction::Jsonize ( ) const

◆ operator=()

AWS_WAF_API WafAction & Aws::WAF::Model::WafAction::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetType() [1/2]

void Aws::WAF::Model::WafAction::SetType ( const WafActionType value)
inline

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests

  • BLOCK: AWS WAF blocks requests

  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Definition at line 66 of file WafAction.h.

◆ SetType() [2/2]

void Aws::WAF::Model::WafAction::SetType ( WafActionType &&  value)
inline

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests

  • BLOCK: AWS WAF blocks requests

  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Definition at line 67 of file WafAction.h.

◆ TypeHasBeenSet()

bool Aws::WAF::Model::WafAction::TypeHasBeenSet ( ) const
inline

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests

  • BLOCK: AWS WAF blocks requests

  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Definition at line 65 of file WafAction.h.

◆ WithType() [1/2]

WafAction & Aws::WAF::Model::WafAction::WithType ( const WafActionType value)
inline

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests

  • BLOCK: AWS WAF blocks requests

  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Definition at line 68 of file WafAction.h.

◆ WithType() [2/2]

WafAction & Aws::WAF::Model::WafAction::WithType ( WafActionType &&  value)
inline

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests

  • BLOCK: AWS WAF blocks requests

  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Definition at line 69 of file WafAction.h.


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