7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
86 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
93 bool m_sampledRequestsEnabled;
94 bool m_sampledRequestsEnabledHasBeenSet =
false;
96 bool m_cloudWatchMetricsEnabled;
97 bool m_cloudWatchMetricsEnabledHasBeenSet =
false;
100 bool m_metricNameHasBeenSet =
false;
void SetCloudWatchMetricsEnabled(bool value)
AWS_WAFV2_API VisibilityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMetricName() const
AWS_WAFV2_API VisibilityConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetSampledRequestsEnabled() const
bool MetricNameHasBeenSet() const
VisibilityConfig & WithMetricName(const char *value)
AWS_WAFV2_API VisibilityConfig()
void SetSampledRequestsEnabled(bool value)
bool GetCloudWatchMetricsEnabled() const
VisibilityConfig & WithSampledRequestsEnabled(bool value)
bool CloudWatchMetricsEnabledHasBeenSet() const
VisibilityConfig & WithMetricName(const Aws::String &value)
bool SampledRequestsEnabledHasBeenSet() const
void SetMetricName(Aws::String &&value)
VisibilityConfig & WithMetricName(Aws::String &&value)
void SetMetricName(const Aws::String &value)
VisibilityConfig & WithCloudWatchMetricsEnabled(bool value)
void SetMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue