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

#include <CreateWebACLRequest.h>

+ Inheritance diagram for Aws::WAFV2::Model::CreateWebACLRequest:

Public Member Functions

 CreateWebACLRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateWebACLRequestWithName (const Aws::String &value)
 
CreateWebACLRequestWithName (Aws::String &&value)
 
CreateWebACLRequestWithName (const char *value)
 
const ScopeGetScope () const
 
bool ScopeHasBeenSet () const
 
void SetScope (const Scope &value)
 
void SetScope (Scope &&value)
 
CreateWebACLRequestWithScope (const Scope &value)
 
CreateWebACLRequestWithScope (Scope &&value)
 
const DefaultActionGetDefaultAction () const
 
bool DefaultActionHasBeenSet () const
 
void SetDefaultAction (const DefaultAction &value)
 
void SetDefaultAction (DefaultAction &&value)
 
CreateWebACLRequestWithDefaultAction (const DefaultAction &value)
 
CreateWebACLRequestWithDefaultAction (DefaultAction &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateWebACLRequestWithDescription (const Aws::String &value)
 
CreateWebACLRequestWithDescription (Aws::String &&value)
 
CreateWebACLRequestWithDescription (const char *value)
 
const Aws::Vector< Rule > & GetRules () const
 
bool RulesHasBeenSet () const
 
void SetRules (const Aws::Vector< Rule > &value)
 
void SetRules (Aws::Vector< Rule > &&value)
 
CreateWebACLRequestWithRules (const Aws::Vector< Rule > &value)
 
CreateWebACLRequestWithRules (Aws::Vector< Rule > &&value)
 
CreateWebACLRequestAddRules (const Rule &value)
 
CreateWebACLRequestAddRules (Rule &&value)
 
const VisibilityConfigGetVisibilityConfig () const
 
bool VisibilityConfigHasBeenSet () const
 
void SetVisibilityConfig (const VisibilityConfig &value)
 
void SetVisibilityConfig (VisibilityConfig &&value)
 
CreateWebACLRequestWithVisibilityConfig (const VisibilityConfig &value)
 
CreateWebACLRequestWithVisibilityConfig (VisibilityConfig &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateWebACLRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateWebACLRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateWebACLRequestAddTags (const Tag &value)
 
CreateWebACLRequestAddTags (Tag &&value)
 
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies () const
 
bool CustomResponseBodiesHasBeenSet () const
 
void SetCustomResponseBodies (const Aws::Map< Aws::String, CustomResponseBody > &value)
 
void SetCustomResponseBodies (Aws::Map< Aws::String, CustomResponseBody > &&value)
 
CreateWebACLRequestWithCustomResponseBodies (const Aws::Map< Aws::String, CustomResponseBody > &value)
 
CreateWebACLRequestWithCustomResponseBodies (Aws::Map< Aws::String, CustomResponseBody > &&value)
 
CreateWebACLRequestAddCustomResponseBodies (const Aws::String &key, const CustomResponseBody &value)
 
CreateWebACLRequestAddCustomResponseBodies (Aws::String &&key, const CustomResponseBody &value)
 
CreateWebACLRequestAddCustomResponseBodies (const Aws::String &key, CustomResponseBody &&value)
 
CreateWebACLRequestAddCustomResponseBodies (Aws::String &&key, CustomResponseBody &&value)
 
CreateWebACLRequestAddCustomResponseBodies (const char *key, CustomResponseBody &&value)
 
CreateWebACLRequestAddCustomResponseBodies (const char *key, const CustomResponseBody &value)
 
- Public Member Functions inherited from Aws::WAFV2::WAFV2Request
virtual ~WAFV2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 29 of file CreateWebACLRequest.h.

Constructor & Destructor Documentation

◆ CreateWebACLRequest()

Aws::WAFV2::Model::CreateWebACLRequest::CreateWebACLRequest ( )

Member Function Documentation

◆ AddCustomResponseBodies() [1/6]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddCustomResponseBodies ( Aws::String &&  key,
const CustomResponseBody value 
)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 530 of file CreateWebACLRequest.h.

◆ AddCustomResponseBodies() [2/6]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddCustomResponseBodies ( Aws::String &&  key,
CustomResponseBody &&  value 
)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 566 of file CreateWebACLRequest.h.

◆ AddCustomResponseBodies() [3/6]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddCustomResponseBodies ( const Aws::String key,
const CustomResponseBody value 
)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 512 of file CreateWebACLRequest.h.

◆ AddCustomResponseBodies() [4/6]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddCustomResponseBodies ( const Aws::String key,
CustomResponseBody &&  value 
)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 548 of file CreateWebACLRequest.h.

◆ AddCustomResponseBodies() [5/6]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddCustomResponseBodies ( const char *  key,
const CustomResponseBody value 
)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 602 of file CreateWebACLRequest.h.

◆ AddCustomResponseBodies() [6/6]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddCustomResponseBodies ( const char *  key,
CustomResponseBody &&  value 
)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 584 of file CreateWebACLRequest.h.

◆ AddRules() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddRules ( const Rule value)
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 299 of file CreateWebACLRequest.h.

◆ AddRules() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddRules ( Rule &&  value)
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 307 of file CreateWebACLRequest.h.

◆ AddTags() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddTags ( const Tag value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 380 of file CreateWebACLRequest.h.

◆ AddTags() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::AddTags ( Tag &&  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 385 of file CreateWebACLRequest.h.

◆ CustomResponseBodiesHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::CustomResponseBodiesHasBeenSet ( ) const
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 422 of file CreateWebACLRequest.h.

◆ DefaultActionHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::DefaultActionHasBeenSet ( ) const
inline

The action to perform if none of the Rules contained in the WebACL match.

Definition at line 177 of file CreateWebACLRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::DescriptionHasBeenSet ( ) const
inline

A description of the web ACL that helps with identification.

Definition at line 212 of file CreateWebACLRequest.h.

◆ GetCustomResponseBodies()

const Aws::Map<Aws::String, CustomResponseBody>& Aws::WAFV2::Model::CreateWebACLRequest::GetCustomResponseBodies ( ) const
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 404 of file CreateWebACLRequest.h.

◆ GetDefaultAction()

const DefaultAction& Aws::WAFV2::Model::CreateWebACLRequest::GetDefaultAction ( ) const
inline

The action to perform if none of the Rules contained in the WebACL match.

Definition at line 171 of file CreateWebACLRequest.h.

◆ GetDescription()

const Aws::String& Aws::WAFV2::Model::CreateWebACLRequest::GetDescription ( ) const
inline

A description of the web ACL that helps with identification.

Definition at line 207 of file CreateWebACLRequest.h.

◆ GetName()

const Aws::String& Aws::WAFV2::Model::CreateWebACLRequest::GetName ( ) const
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 49 of file CreateWebACLRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::WAFV2::Model::CreateWebACLRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::WAFV2::WAFV2Request.

◆ GetRules()

const Aws::Vector<Rule>& Aws::WAFV2::Model::CreateWebACLRequest::GetRules ( ) const
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 251 of file CreateWebACLRequest.h.

◆ GetScope()

const Scope& Aws::WAFV2::Model::CreateWebACLRequest::GetScope ( ) const
inline

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 104 of file CreateWebACLRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::WAFV2::Model::CreateWebACLRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 38 of file CreateWebACLRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::WAFV2::Model::CreateWebACLRequest::GetTags ( ) const
inline

An array of key:value pairs to associate with the resource.

Definition at line 350 of file CreateWebACLRequest.h.

◆ GetVisibilityConfig()

const VisibilityConfig& Aws::WAFV2::Model::CreateWebACLRequest::GetVisibilityConfig ( ) const
inline

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Definition at line 314 of file CreateWebACLRequest.h.

◆ NameHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::NameHasBeenSet ( ) const
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 55 of file CreateWebACLRequest.h.

◆ RulesHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::RulesHasBeenSet ( ) const
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 259 of file CreateWebACLRequest.h.

◆ ScopeHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::ScopeHasBeenSet ( ) const
inline

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 116 of file CreateWebACLRequest.h.

◆ SerializePayload()

Aws::String Aws::WAFV2::Model::CreateWebACLRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCustomResponseBodies() [1/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetCustomResponseBodies ( Aws::Map< Aws::String, CustomResponseBody > &&  value)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 458 of file CreateWebACLRequest.h.

◆ SetCustomResponseBodies() [2/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetCustomResponseBodies ( const Aws::Map< Aws::String, CustomResponseBody > &  value)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 440 of file CreateWebACLRequest.h.

◆ SetDefaultAction() [1/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetDefaultAction ( const DefaultAction value)
inline

The action to perform if none of the Rules contained in the WebACL match.

Definition at line 183 of file CreateWebACLRequest.h.

◆ SetDefaultAction() [2/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetDefaultAction ( DefaultAction &&  value)
inline

The action to perform if none of the Rules contained in the WebACL match.

Definition at line 189 of file CreateWebACLRequest.h.

◆ SetDescription() [1/3]

void Aws::WAFV2::Model::CreateWebACLRequest::SetDescription ( Aws::String &&  value)
inline

A description of the web ACL that helps with identification.

Definition at line 222 of file CreateWebACLRequest.h.

◆ SetDescription() [2/3]

void Aws::WAFV2::Model::CreateWebACLRequest::SetDescription ( const Aws::String value)
inline

A description of the web ACL that helps with identification.

Definition at line 217 of file CreateWebACLRequest.h.

◆ SetDescription() [3/3]

void Aws::WAFV2::Model::CreateWebACLRequest::SetDescription ( const char *  value)
inline

A description of the web ACL that helps with identification.

Definition at line 227 of file CreateWebACLRequest.h.

◆ SetName() [1/3]

void Aws::WAFV2::Model::CreateWebACLRequest::SetName ( Aws::String &&  value)
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 67 of file CreateWebACLRequest.h.

◆ SetName() [2/3]

void Aws::WAFV2::Model::CreateWebACLRequest::SetName ( const Aws::String value)
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 61 of file CreateWebACLRequest.h.

◆ SetName() [3/3]

void Aws::WAFV2::Model::CreateWebACLRequest::SetName ( const char *  value)
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 73 of file CreateWebACLRequest.h.

◆ SetRules() [1/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetRules ( Aws::Vector< Rule > &&  value)
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 275 of file CreateWebACLRequest.h.

◆ SetRules() [2/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetRules ( const Aws::Vector< Rule > &  value)
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 267 of file CreateWebACLRequest.h.

◆ SetScope() [1/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetScope ( const Scope value)
inline

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 128 of file CreateWebACLRequest.h.

◆ SetScope() [2/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetScope ( Scope &&  value)
inline

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 140 of file CreateWebACLRequest.h.

◆ SetTags() [1/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 365 of file CreateWebACLRequest.h.

◆ SetTags() [2/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 360 of file CreateWebACLRequest.h.

◆ SetVisibilityConfig() [1/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetVisibilityConfig ( const VisibilityConfig value)
inline

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Definition at line 326 of file CreateWebACLRequest.h.

◆ SetVisibilityConfig() [2/2]

void Aws::WAFV2::Model::CreateWebACLRequest::SetVisibilityConfig ( VisibilityConfig &&  value)
inline

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Definition at line 332 of file CreateWebACLRequest.h.

◆ TagsHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::TagsHasBeenSet ( ) const
inline

An array of key:value pairs to associate with the resource.

Definition at line 355 of file CreateWebACLRequest.h.

◆ VisibilityConfigHasBeenSet()

bool Aws::WAFV2::Model::CreateWebACLRequest::VisibilityConfigHasBeenSet ( ) const
inline

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Definition at line 320 of file CreateWebACLRequest.h.

◆ WithCustomResponseBodies() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithCustomResponseBodies ( Aws::Map< Aws::String, CustomResponseBody > &&  value)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 494 of file CreateWebACLRequest.h.

◆ WithCustomResponseBodies() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithCustomResponseBodies ( const Aws::Map< Aws::String, CustomResponseBody > &  value)
inline

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

Definition at line 476 of file CreateWebACLRequest.h.

◆ WithDefaultAction() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithDefaultAction ( const DefaultAction value)
inline

The action to perform if none of the Rules contained in the WebACL match.

Definition at line 195 of file CreateWebACLRequest.h.

◆ WithDefaultAction() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithDefaultAction ( DefaultAction &&  value)
inline

The action to perform if none of the Rules contained in the WebACL match.

Definition at line 201 of file CreateWebACLRequest.h.

◆ WithDescription() [1/3]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithDescription ( Aws::String &&  value)
inline

A description of the web ACL that helps with identification.

Definition at line 237 of file CreateWebACLRequest.h.

◆ WithDescription() [2/3]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithDescription ( const Aws::String value)
inline

A description of the web ACL that helps with identification.

Definition at line 232 of file CreateWebACLRequest.h.

◆ WithDescription() [3/3]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithDescription ( const char *  value)
inline

A description of the web ACL that helps with identification.

Definition at line 242 of file CreateWebACLRequest.h.

◆ WithName() [1/3]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithName ( Aws::String &&  value)
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 85 of file CreateWebACLRequest.h.

◆ WithName() [2/3]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithName ( const Aws::String value)
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 79 of file CreateWebACLRequest.h.

◆ WithName() [3/3]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithName ( const char *  value)
inline

The name of the web ACL. You cannot change the name of a web ACL after you create it.

Definition at line 91 of file CreateWebACLRequest.h.

◆ WithRules() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithRules ( Aws::Vector< Rule > &&  value)
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 291 of file CreateWebACLRequest.h.

◆ WithRules() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithRules ( const Aws::Vector< Rule > &  value)
inline

The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Definition at line 283 of file CreateWebACLRequest.h.

◆ WithScope() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithScope ( const Scope value)
inline

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 152 of file CreateWebACLRequest.h.

◆ WithScope() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithScope ( Scope &&  value)
inline

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Definition at line 164 of file CreateWebACLRequest.h.

◆ WithTags() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 375 of file CreateWebACLRequest.h.

◆ WithTags() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

An array of key:value pairs to associate with the resource.

Definition at line 370 of file CreateWebACLRequest.h.

◆ WithVisibilityConfig() [1/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithVisibilityConfig ( const VisibilityConfig value)
inline

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Definition at line 338 of file CreateWebACLRequest.h.

◆ WithVisibilityConfig() [2/2]

CreateWebACLRequest& Aws::WAFV2::Model::CreateWebACLRequest::WithVisibilityConfig ( VisibilityConfig &&  value)
inline

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Definition at line 344 of file CreateWebACLRequest.h.


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