7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/WafAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/WafOverrideAction.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/securityhub/model/WafExcludedRule.h>
52 inline void SetAction(
WafAction&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
106 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
118 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
134 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
142 bool m_actionHasBeenSet =
false;
145 bool m_excludedRulesHasBeenSet =
false;
148 bool m_overrideActionHasBeenSet =
false;
151 bool m_priorityHasBeenSet =
false;
154 bool m_ruleIdHasBeenSet =
false;
157 bool m_typeHasBeenSet =
false;
AWS_SECURITYHUB_API AwsWafWebAclRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafWebAclRule & AddExcludedRules(WafExcludedRule &&value)
AwsWafWebAclRule & WithType(Aws::String &&value)
const Aws::Vector< WafExcludedRule > & GetExcludedRules() const
AwsWafWebAclRule & WithExcludedRules(const Aws::Vector< WafExcludedRule > &value)
void SetType(const char *value)
bool ExcludedRulesHasBeenSet() const
const Aws::String & GetRuleId() const
void SetType(Aws::String &&value)
void SetPriority(int value)
AWS_SECURITYHUB_API AwsWafWebAclRule()
AwsWafWebAclRule & WithType(const char *value)
bool TypeHasBeenSet() const
AwsWafWebAclRule & AddExcludedRules(const WafExcludedRule &value)
bool RuleIdHasBeenSet() const
bool PriorityHasBeenSet() const
void SetExcludedRules(const Aws::Vector< WafExcludedRule > &value)
AWS_SECURITYHUB_API AwsWafWebAclRule(Aws::Utils::Json::JsonView jsonValue)
void SetExcludedRules(Aws::Vector< WafExcludedRule > &&value)
void SetType(const Aws::String &value)
const WafAction & GetAction() const
bool ActionHasBeenSet() const
const WafOverrideAction & GetOverrideAction() const
AwsWafWebAclRule & WithRuleId(const Aws::String &value)
void SetOverrideAction(WafOverrideAction &&value)
bool OverrideActionHasBeenSet() const
AwsWafWebAclRule & WithOverrideAction(const WafOverrideAction &value)
AwsWafWebAclRule & WithOverrideAction(WafOverrideAction &&value)
AwsWafWebAclRule & WithRuleId(Aws::String &&value)
void SetAction(const WafAction &value)
void SetRuleId(const Aws::String &value)
AwsWafWebAclRule & WithPriority(int value)
AwsWafWebAclRule & WithRuleId(const char *value)
AwsWafWebAclRule & WithAction(WafAction &&value)
void SetRuleId(Aws::String &&value)
void SetRuleId(const char *value)
void SetAction(WafAction &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafWebAclRule & WithAction(const WafAction &value)
AwsWafWebAclRule & WithExcludedRules(Aws::Vector< WafExcludedRule > &&value)
void SetOverrideAction(const WafOverrideAction &value)
const Aws::String & GetType() const
AwsWafWebAclRule & WithType(const Aws::String &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