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

#include <VisibilityConfig.h>

Public Member Functions

 VisibilityConfig ()
 
 VisibilityConfig (Aws::Utils::Json::JsonView jsonValue)
 
VisibilityConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetSampledRequestsEnabled () const
 
bool SampledRequestsEnabledHasBeenSet () const
 
void SetSampledRequestsEnabled (bool value)
 
VisibilityConfigWithSampledRequestsEnabled (bool value)
 
bool GetCloudWatchMetricsEnabled () const
 
bool CloudWatchMetricsEnabledHasBeenSet () const
 
void SetCloudWatchMetricsEnabled (bool value)
 
VisibilityConfigWithCloudWatchMetricsEnabled (bool value)
 
const Aws::StringGetMetricName () const
 
bool MetricNameHasBeenSet () const
 
void SetMetricName (const Aws::String &value)
 
void SetMetricName (Aws::String &&value)
 
void SetMetricName (const char *value)
 
VisibilityConfigWithMetricName (const Aws::String &value)
 
VisibilityConfigWithMetricName (Aws::String &&value)
 
VisibilityConfigWithMetricName (const char *value)
 

Detailed Description

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

See Also:

AWS API Reference

Definition at line 32 of file VisibilityConfig.h.

Constructor & Destructor Documentation

◆ VisibilityConfig() [1/2]

Aws::WAFV2::Model::VisibilityConfig::VisibilityConfig ( )

◆ VisibilityConfig() [2/2]

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

Member Function Documentation

◆ CloudWatchMetricsEnabledHasBeenSet()

bool Aws::WAFV2::Model::VisibilityConfig::CloudWatchMetricsEnabledHasBeenSet ( ) const
inline

A boolean indicating whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see AWS WAF Metrics.

Definition at line 84 of file VisibilityConfig.h.

◆ GetCloudWatchMetricsEnabled()

bool Aws::WAFV2::Model::VisibilityConfig::GetCloudWatchMetricsEnabled ( ) const
inline

A boolean indicating whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see AWS WAF Metrics.

Definition at line 76 of file VisibilityConfig.h.

◆ GetMetricName()

const Aws::String& Aws::WAFV2::Model::VisibilityConfig::GetMetricName ( ) const
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 109 of file VisibilityConfig.h.

◆ GetSampledRequestsEnabled()

bool Aws::WAFV2::Model::VisibilityConfig::GetSampledRequestsEnabled ( ) const
inline

A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console.

Definition at line 46 of file VisibilityConfig.h.

◆ Jsonize()

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

◆ MetricNameHasBeenSet()

bool Aws::WAFV2::Model::VisibilityConfig::MetricNameHasBeenSet ( ) const
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 117 of file VisibilityConfig.h.

◆ operator=()

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

◆ SampledRequestsEnabledHasBeenSet()

bool Aws::WAFV2::Model::VisibilityConfig::SampledRequestsEnabledHasBeenSet ( ) const
inline

A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console.

Definition at line 53 of file VisibilityConfig.h.

◆ SetCloudWatchMetricsEnabled()

void Aws::WAFV2::Model::VisibilityConfig::SetCloudWatchMetricsEnabled ( bool  value)
inline

A boolean indicating whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see AWS WAF Metrics.

Definition at line 92 of file VisibilityConfig.h.

◆ SetMetricName() [1/3]

void Aws::WAFV2::Model::VisibilityConfig::SetMetricName ( Aws::String &&  value)
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 133 of file VisibilityConfig.h.

◆ SetMetricName() [2/3]

void Aws::WAFV2::Model::VisibilityConfig::SetMetricName ( const Aws::String value)
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 125 of file VisibilityConfig.h.

◆ SetMetricName() [3/3]

void Aws::WAFV2::Model::VisibilityConfig::SetMetricName ( const char *  value)
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 141 of file VisibilityConfig.h.

◆ SetSampledRequestsEnabled()

void Aws::WAFV2::Model::VisibilityConfig::SetSampledRequestsEnabled ( bool  value)
inline

A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console.

Definition at line 60 of file VisibilityConfig.h.

◆ WithCloudWatchMetricsEnabled()

VisibilityConfig& Aws::WAFV2::Model::VisibilityConfig::WithCloudWatchMetricsEnabled ( bool  value)
inline

A boolean indicating whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see AWS WAF Metrics.

Definition at line 100 of file VisibilityConfig.h.

◆ WithMetricName() [1/3]

VisibilityConfig& Aws::WAFV2::Model::VisibilityConfig::WithMetricName ( Aws::String &&  value)
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 157 of file VisibilityConfig.h.

◆ WithMetricName() [2/3]

VisibilityConfig& Aws::WAFV2::Model::VisibilityConfig::WithMetricName ( const Aws::String value)
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 149 of file VisibilityConfig.h.

◆ WithMetricName() [3/3]

VisibilityConfig& Aws::WAFV2::Model::VisibilityConfig::WithMetricName ( const char *  value)
inline

A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF, for example "All" and "Default_Action."

Definition at line 165 of file VisibilityConfig.h.

◆ WithSampledRequestsEnabled()

VisibilityConfig& Aws::WAFV2::Model::VisibilityConfig::WithSampledRequestsEnabled ( bool  value)
inline

A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console.

Definition at line 67 of file VisibilityConfig.h.


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