7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/ExcludedRule.h>
11#include <aws/wafv2/model/ManagedRuleGroupConfig.h>
12#include <aws/wafv2/model/RuleActionOverride.h>
70 inline void SetVendorName(
const char* value) { m_vendorNameHasBeenSet =
true; m_vendorName.assign(value); }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
102 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
191 bool m_vendorNameHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
197 bool m_versionHasBeenSet =
false;
200 bool m_excludedRulesHasBeenSet =
false;
202 std::shared_ptr<Statement> m_scopeDownStatement;
203 bool m_scopeDownStatementHasBeenSet =
false;
206 bool m_managedRuleGroupConfigsHasBeenSet =
false;
209 bool m_ruleActionOverridesHasBeenSet =
false;
ManagedRuleGroupStatement & AddManagedRuleGroupConfigs(const ManagedRuleGroupConfig &value)
const Aws::Vector< ExcludedRule > & GetExcludedRules() const
ManagedRuleGroupStatement & WithVendorName(Aws::String &&value)
void SetRuleActionOverrides(Aws::Vector< RuleActionOverride > &&value)
const Aws::String & GetVersion() const
AWS_WAFV2_API void SetScopeDownStatement(const Statement &value)
bool VersionHasBeenSet() const
ManagedRuleGroupStatement & WithRuleActionOverrides(Aws::Vector< RuleActionOverride > &&value)
ManagedRuleGroupStatement & WithManagedRuleGroupConfigs(const Aws::Vector< ManagedRuleGroupConfig > &value)
void SetVersion(Aws::String &&value)
bool RuleActionOverridesHasBeenSet() const
AWS_WAFV2_API bool ScopeDownStatementHasBeenSet() const
AWS_WAFV2_API ManagedRuleGroupStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ManagedRuleGroupStatement()
ManagedRuleGroupStatement & AddManagedRuleGroupConfigs(ManagedRuleGroupConfig &&value)
const Aws::Vector< ManagedRuleGroupConfig > & GetManagedRuleGroupConfigs() const
ManagedRuleGroupStatement & WithVendorName(const Aws::String &value)
void SetName(Aws::String &&value)
ManagedRuleGroupStatement & WithVersion(const char *value)
ManagedRuleGroupStatement & WithManagedRuleGroupConfigs(Aws::Vector< ManagedRuleGroupConfig > &&value)
void SetVendorName(const char *value)
void SetVersion(const char *value)
void SetRuleActionOverrides(const Aws::Vector< RuleActionOverride > &value)
ManagedRuleGroupStatement & WithVersion(const Aws::String &value)
void SetVendorName(Aws::String &&value)
bool NameHasBeenSet() const
ManagedRuleGroupStatement & AddExcludedRules(const ExcludedRule &value)
bool ManagedRuleGroupConfigsHasBeenSet() const
void SetName(const char *value)
void SetManagedRuleGroupConfigs(const Aws::Vector< ManagedRuleGroupConfig > &value)
void SetExcludedRules(Aws::Vector< ExcludedRule > &&value)
void SetExcludedRules(const Aws::Vector< ExcludedRule > &value)
bool ExcludedRulesHasBeenSet() const
AWS_WAFV2_API ManagedRuleGroupStatement & WithScopeDownStatement(Statement &&value)
ManagedRuleGroupStatement & WithExcludedRules(Aws::Vector< ExcludedRule > &&value)
ManagedRuleGroupStatement & WithName(Aws::String &&value)
AWS_WAFV2_API ManagedRuleGroupStatement & WithScopeDownStatement(const Statement &value)
void SetName(const Aws::String &value)
void SetManagedRuleGroupConfigs(Aws::Vector< ManagedRuleGroupConfig > &&value)
const Aws::String & GetVendorName() const
ManagedRuleGroupStatement & WithExcludedRules(const Aws::Vector< ExcludedRule > &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedRuleGroupStatement & WithVersion(Aws::String &&value)
bool VendorNameHasBeenSet() const
ManagedRuleGroupStatement & WithName(const char *value)
AWS_WAFV2_API ManagedRuleGroupStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleGroupStatement & WithVendorName(const char *value)
void SetVersion(const Aws::String &value)
ManagedRuleGroupStatement & AddRuleActionOverrides(const RuleActionOverride &value)
ManagedRuleGroupStatement & AddExcludedRules(ExcludedRule &&value)
AWS_WAFV2_API void SetScopeDownStatement(Statement &&value)
void SetVendorName(const Aws::String &value)
ManagedRuleGroupStatement & WithRuleActionOverrides(const Aws::Vector< RuleActionOverride > &value)
ManagedRuleGroupStatement & AddRuleActionOverrides(RuleActionOverride &&value)
const Aws::Vector< RuleActionOverride > & GetRuleActionOverrides() const
AWS_WAFV2_API const Statement & GetScopeDownStatement() const
ManagedRuleGroupStatement & WithName(const Aws::String &value)
const Aws::String & GetName() 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