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/waf-regional/model/WafOverrideAction.h>
11#include <aws/waf-regional/model/WafRuleType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/waf-regional/model/ExcludedRule.h>
70 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
88 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
206 bool m_priorityHasBeenSet =
false;
209 bool m_ruleIdHasBeenSet =
false;
212 bool m_actionHasBeenSet =
false;
215 bool m_overrideActionHasBeenSet =
false;
218 bool m_typeHasBeenSet =
false;
221 bool m_excludedRulesHasBeenSet =
false;
ActivatedRule & WithExcludedRules(const Aws::Vector< ExcludedRule > &value)
void SetAction(const WafAction &value)
const WafOverrideAction & GetOverrideAction() const
bool ActionHasBeenSet() const
ActivatedRule & WithOverrideAction(const WafOverrideAction &value)
ActivatedRule & WithAction(const WafAction &value)
AWS_WAFREGIONAL_API ActivatedRule(Aws::Utils::Json::JsonView jsonValue)
const WafRuleType & GetType() const
bool TypeHasBeenSet() const
void SetExcludedRules(Aws::Vector< ExcludedRule > &&value)
const Aws::Vector< ExcludedRule > & GetExcludedRules() const
ActivatedRule & WithRuleId(const Aws::String &value)
ActivatedRule & WithType(const WafRuleType &value)
ActivatedRule & WithRuleId(const char *value)
void SetType(const WafRuleType &value)
ActivatedRule & WithRuleId(Aws::String &&value)
void SetAction(WafAction &&value)
AWS_WAFREGIONAL_API ActivatedRule()
ActivatedRule & AddExcludedRules(const ExcludedRule &value)
bool OverrideActionHasBeenSet() const
void SetRuleId(const Aws::String &value)
ActivatedRule & WithOverrideAction(WafOverrideAction &&value)
void SetRuleId(Aws::String &&value)
const WafAction & GetAction() const
bool ExcludedRulesHasBeenSet() const
ActivatedRule & WithExcludedRules(Aws::Vector< ExcludedRule > &&value)
ActivatedRule & WithType(WafRuleType &&value)
void SetOverrideAction(const WafOverrideAction &value)
bool RuleIdHasBeenSet() const
void SetPriority(int value)
void SetType(WafRuleType &&value)
ActivatedRule & WithAction(WafAction &&value)
AWS_WAFREGIONAL_API ActivatedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivatedRule & AddExcludedRules(ExcludedRule &&value)
void SetRuleId(const char *value)
bool PriorityHasBeenSet() const
void SetExcludedRules(const Aws::Vector< ExcludedRule > &value)
ActivatedRule & WithPriority(int value)
void SetOverrideAction(WafOverrideAction &&value)
const Aws::String & GetRuleId() const
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue