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/waf/model/WafOverrideAction.h>
11#include <aws/waf/model/WafRuleType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/waf/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 & WithAction(WafAction &&value)
ActivatedRule & AddExcludedRules(const ExcludedRule &value)
const WafOverrideAction & GetOverrideAction() const
void SetType(const WafRuleType &value)
ActivatedRule & WithPriority(int value)
const Aws::Vector< ExcludedRule > & GetExcludedRules() const
bool RuleIdHasBeenSet() const
void SetOverrideAction(const WafOverrideAction &value)
ActivatedRule & WithType(WafRuleType &&value)
ActivatedRule & WithOverrideAction(WafOverrideAction &&value)
void SetType(WafRuleType &&value)
void SetAction(WafAction &&value)
void SetOverrideAction(WafOverrideAction &&value)
AWS_WAF_API ActivatedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OverrideActionHasBeenSet() const
void SetExcludedRules(const Aws::Vector< ExcludedRule > &value)
const Aws::String & GetRuleId() const
const WafAction & GetAction() const
AWS_WAF_API ActivatedRule(Aws::Utils::Json::JsonView jsonValue)
ActivatedRule & WithRuleId(const char *value)
void SetPriority(int value)
ActivatedRule & WithExcludedRules(Aws::Vector< ExcludedRule > &&value)
AWS_WAF_API ActivatedRule()
void SetRuleId(Aws::String &&value)
bool PriorityHasBeenSet() const
void SetRuleId(const char *value)
bool ActionHasBeenSet() const
ActivatedRule & WithRuleId(Aws::String &&value)
void SetAction(const WafAction &value)
bool ExcludedRulesHasBeenSet() const
ActivatedRule & WithRuleId(const Aws::String &value)
bool TypeHasBeenSet() const
void SetRuleId(const Aws::String &value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
ActivatedRule & WithType(const WafRuleType &value)
const WafRuleType & GetType() const
ActivatedRule & WithOverrideAction(const WafOverrideAction &value)
ActivatedRule & WithExcludedRules(const Aws::Vector< ExcludedRule > &value)
ActivatedRule & WithAction(const WafAction &value)
ActivatedRule & AddExcludedRules(ExcludedRule &&value)
void SetExcludedRules(Aws::Vector< ExcludedRule > &&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