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

#include <WafAction.h>

Public Member Functions

 WafAction ()
 
 WafAction (Aws::Utils::Json::JsonView jsonValue)
 
WafActionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
WafActionWithType (const Aws::String &value)
 
WafActionWithType (Aws::String &&value)
 
WafActionWithType (const char *value)
 

Detailed Description

Details about the action that CloudFront or WAF takes when a web request matches the conditions in the rule.

See Also:

AWS API Reference

Definition at line 32 of file WafAction.h.

Constructor & Destructor Documentation

◆ WafAction() [1/2]

Aws::SecurityHub::Model::WafAction::WafAction ( )

◆ WafAction() [2/2]

Aws::SecurityHub::Model::WafAction::WafAction ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetType()

const Aws::String& Aws::SecurityHub::Model::WafAction::GetType ( ) const
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 51 of file WafAction.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::WafAction::Jsonize ( ) const

◆ operator=()

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

◆ SetType() [1/3]

void Aws::SecurityHub::Model::WafAction::SetType ( Aws::String &&  value)
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 87 of file WafAction.h.

◆ SetType() [2/3]

void Aws::SecurityHub::Model::WafAction::SetType ( const Aws::String value)
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 75 of file WafAction.h.

◆ SetType() [3/3]

void Aws::SecurityHub::Model::WafAction::SetType ( const char *  value)
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 99 of file WafAction.h.

◆ TypeHasBeenSet()

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

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 63 of file WafAction.h.

◆ WithType() [1/3]

WafAction& Aws::SecurityHub::Model::WafAction::WithType ( Aws::String &&  value)
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 123 of file WafAction.h.

◆ WithType() [2/3]

WafAction& Aws::SecurityHub::Model::WafAction::WithType ( const Aws::String value)
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 111 of file WafAction.h.

◆ WithType() [3/3]

WafAction& Aws::SecurityHub::Model::WafAction::WithType ( const char *  value)
inline

Specifies how you want WAF to respond to requests that match the settings in a rule.

Valid settings include the following:

  • ALLOW - WAF allows requests

  • BLOCK - WAF blocks requests

  • COUNT - WAF increments a counter of the requests that match all of the conditions in the rule. 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 135 of file WafAction.h.


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