7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/waf/model/WafAction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/waf/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;
void SetWebACLArn(Aws::String &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
WebACL & WithWebACLArn(const Aws::String &value)
AWS_WAF_API WebACL & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
WebACL & WithName(const char *value)
WebACL & WithDefaultAction(WafAction &&value)
void SetWebACLId(Aws::String &&value)
WebACL & WithName(const Aws::String &value)
WebACL & WithWebACLArn(Aws::String &&value)
bool WebACLIdHasBeenSet() const
WebACL & WithWebACLId(Aws::String &&value)
void SetName(const char *value)
const WafAction & GetDefaultAction() const
void SetWebACLId(const char *value)
const Aws::String & GetWebACLArn() const
WebACL & WithRules(Aws::Vector< ActivatedRule > &&value)
WebACL & WithMetricName(const char *value)
WebACL & WithMetricName(Aws::String &&value)
WebACL & WithWebACLId(const char *value)
bool RulesHasBeenSet() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
WebACL & WithDefaultAction(const WafAction &value)
void SetWebACLArn(const char *value)
void SetDefaultAction(WafAction &&value)
void SetRules(const Aws::Vector< ActivatedRule > &value)
void SetRules(Aws::Vector< ActivatedRule > &&value)
bool WebACLArnHasBeenSet() const
void SetName(const Aws::String &value)
bool DefaultActionHasBeenSet() const
const Aws::String & GetMetricName() const
void SetMetricName(const Aws::String &value)
bool MetricNameHasBeenSet() const
WebACL & WithMetricName(const Aws::String &value)
void SetWebACLId(const Aws::String &value)
WebACL & WithName(Aws::String &&value)
WebACL & WithWebACLId(const Aws::String &value)
WebACL & WithWebACLArn(const char *value)
const Aws::String & GetWebACLId() const
WebACL & AddRules(ActivatedRule &&value)
void SetWebACLArn(const Aws::String &value)
const Aws::Vector< ActivatedRule > & GetRules() const
void SetDefaultAction(const WafAction &value)
void SetMetricName(Aws::String &&value)
void SetMetricName(const char *value)
WebACL & WithRules(const Aws::Vector< ActivatedRule > &value)
AWS_WAF_API WebACL(Aws::Utils::Json::JsonView jsonValue)
WebACL & AddRules(const 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