7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
62 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
81 bool m_cloudWatchMetricsEnabled;
82 bool m_cloudWatchMetricsEnabledHasBeenSet =
false;
85 bool m_metricNameHasBeenSet =
false;
87 bool m_sampledRequestsEnabled;
88 bool m_sampledRequestsEnabledHasBeenSet =
false;
AWS_SECURITYHUB_API AwsWafv2VisibilityConfigDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2VisibilityConfigDetails & WithSampledRequestsEnabled(bool value)
bool CloudWatchMetricsEnabledHasBeenSet() const
const Aws::String & GetMetricName() const
AWS_SECURITYHUB_API AwsWafv2VisibilityConfigDetails(Aws::Utils::Json::JsonView jsonValue)
bool SampledRequestsEnabledHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSampledRequestsEnabled(bool value)
AwsWafv2VisibilityConfigDetails & WithMetricName(const char *value)
AwsWafv2VisibilityConfigDetails & WithMetricName(const Aws::String &value)
void SetMetricName(Aws::String &&value)
bool GetCloudWatchMetricsEnabled() const
AWS_SECURITYHUB_API AwsWafv2VisibilityConfigDetails()
AwsWafv2VisibilityConfigDetails & WithCloudWatchMetricsEnabled(bool value)
bool MetricNameHasBeenSet() const
AwsWafv2VisibilityConfigDetails & WithMetricName(Aws::String &&value)
void SetMetricName(const Aws::String &value)
void SetCloudWatchMetricsEnabled(bool value)
bool GetSampledRequestsEnabled() const
void SetMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue