7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/waf-regional/model/WafAction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/waf-regional/model/ActivatedRule.h>
72 inline void SetWebACLId(
const char* value) { m_webACLIdHasBeenSet =
true; m_webACLId.assign(value); }
87 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
105 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
149 inline void SetWebACLArn(
const char* value) { m_webACLArnHasBeenSet =
true; m_webACLArn.assign(value); }
157 bool m_webACLIdHasBeenSet =
false;
160 bool m_nameHasBeenSet =
false;
163 bool m_metricNameHasBeenSet =
false;
166 bool m_defaultActionHasBeenSet =
false;
169 bool m_rulesHasBeenSet =
false;
172 bool m_webACLArnHasBeenSet =
false;
bool MetricNameHasBeenSet() const
WebACL & WithName(const char *value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
WebACL & WithName(const Aws::String &value)
WebACL & WithMetricName(const char *value)
void SetWebACLId(Aws::String &&value)
void SetWebACLArn(Aws::String &&value)
void SetMetricName(const char *value)
WebACL & WithWebACLId(Aws::String &&value)
const Aws::String & GetWebACLId() const
AWS_WAFREGIONAL_API WebACL()
void SetWebACLArn(const Aws::String &value)
WebACL & WithDefaultAction(WafAction &&value)
void SetMetricName(const Aws::String &value)
WebACL & WithWebACLArn(const char *value)
WebACL & WithMetricName(const Aws::String &value)
bool NameHasBeenSet() const
WebACL & WithName(Aws::String &&value)
void SetRules(const Aws::Vector< ActivatedRule > &value)
WebACL & WithMetricName(Aws::String &&value)
const Aws::String & GetMetricName() const
const WafAction & GetDefaultAction() const
WebACL & WithWebACLId(const char *value)
void SetWebACLArn(const char *value)
AWS_WAFREGIONAL_API WebACL & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWebACLArn() const
bool RulesHasBeenSet() const
void SetWebACLId(const char *value)
WebACL & AddRules(const ActivatedRule &value)
const Aws::Vector< ActivatedRule > & GetRules() const
WebACL & WithWebACLArn(const Aws::String &value)
void SetRules(Aws::Vector< ActivatedRule > &&value)
AWS_WAFREGIONAL_API WebACL(Aws::Utils::Json::JsonView jsonValue)
void SetWebACLId(const Aws::String &value)
WebACL & WithWebACLId(const Aws::String &value)
WebACL & WithDefaultAction(const WafAction &value)
void SetName(Aws::String &&value)
void SetDefaultAction(WafAction &&value)
bool DefaultActionHasBeenSet() const
WebACL & WithWebACLArn(Aws::String &&value)
void SetName(const char *value)
void SetName(const Aws::String &value)
WebACL & WithRules(const Aws::Vector< ActivatedRule > &value)
bool WebACLIdHasBeenSet() const
bool WebACLArnHasBeenSet() const
const Aws::String & GetName() const
void SetDefaultAction(const WafAction &value)
void SetMetricName(Aws::String &&value)
WebACL & WithRules(Aws::Vector< ActivatedRule > &&value)
WebACL & AddRules(ActivatedRule &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue