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>
13#include <aws/core/utils/memory/stl/AWSAllocator.h>
68 template<
typename VendorNameT = Aws::String>
69 void SetVendorName(VendorNameT&& value) { m_vendorNameHasBeenSet =
true; m_vendorName = std::forward<VendorNameT>(value); }
70 template<
typename VendorNameT = Aws::String>
81 template<
typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
83 template<
typename NameT = Aws::String>
96 template<
typename VersionT = Aws::String>
97 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
98 template<
typename VersionT = Aws::String>
111 template<
typename ExcludedRulesT = Aws::Vector<ExcludedRule>>
112 void SetExcludedRules(ExcludedRulesT&& value) { m_excludedRulesHasBeenSet =
true; m_excludedRules = std::forward<ExcludedRulesT>(value); }
113 template<
typename ExcludedRulesT = Aws::Vector<ExcludedRule>>
115 template<
typename ExcludedRulesT = ExcludedRule>
128 return *m_scopeDownStatement;
131 template<
typename ScopeDownStatementT = Statement>
133 m_scopeDownStatementHasBeenSet =
true;
136 template<
typename ScopeDownStatementT = Statement>
165 template<
typename ManagedRuleGroupConfigsT = Aws::Vector<ManagedRuleGroupConfig>>
167 template<
typename ManagedRuleGroupConfigsT = Aws::Vector<ManagedRuleGroupConfig>>
169 template<
typename ManagedRuleGroupConfigsT = ManagedRuleGroupConfig>
190 template<
typename RuleActionOverr
idesT = Aws::Vector<RuleActionOverr
ide>>
192 template<
typename RuleActionOverr
idesT = Aws::Vector<RuleActionOverr
ide>>
194 template<
typename RuleActionOverr
idesT = RuleActionOverr
ide>
200 bool m_vendorNameHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
206 bool m_versionHasBeenSet =
false;
209 bool m_excludedRulesHasBeenSet =
false;
211 std::shared_ptr<Statement> m_scopeDownStatement;
212 bool m_scopeDownStatementHasBeenSet =
false;
215 bool m_managedRuleGroupConfigsHasBeenSet =
false;
218 bool m_ruleActionOverridesHasBeenSet =
false;
void SetScopeDownStatement(ScopeDownStatementT &&value)
void SetVersion(VersionT &&value)
const Aws::Vector< ExcludedRule > & GetExcludedRules() const
ManagedRuleGroupStatement & WithScopeDownStatement(ScopeDownStatementT &&value)
const Aws::String & GetVersion() const
ManagedRuleGroupStatement & WithVersion(VersionT &&value)
bool VersionHasBeenSet() const
void SetName(NameT &&value)
ManagedRuleGroupStatement & AddExcludedRules(ExcludedRulesT &&value)
bool RuleActionOverridesHasBeenSet() const
AWS_WAFV2_API ManagedRuleGroupStatement(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ManagedRuleGroupConfig > & GetManagedRuleGroupConfigs() const
void SetExcludedRules(ExcludedRulesT &&value)
bool NameHasBeenSet() const
bool ManagedRuleGroupConfigsHasBeenSet() const
ManagedRuleGroupStatement & WithVendorName(VendorNameT &&value)
ManagedRuleGroupStatement & WithName(NameT &&value)
ManagedRuleGroupStatement & AddRuleActionOverrides(RuleActionOverridesT &&value)
ManagedRuleGroupStatement & WithManagedRuleGroupConfigs(ManagedRuleGroupConfigsT &&value)
ManagedRuleGroupStatement & WithRuleActionOverrides(RuleActionOverridesT &&value)
bool ExcludedRulesHasBeenSet() const
const Statement & GetScopeDownStatement() const
bool ScopeDownStatementHasBeenSet() const
void SetManagedRuleGroupConfigs(ManagedRuleGroupConfigsT &&value)
void SetVendorName(VendorNameT &&value)
const Aws::String & GetVendorName() const
AWS_WAFV2_API ManagedRuleGroupStatement()=default
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool VendorNameHasBeenSet() const
ManagedRuleGroupStatement & WithExcludedRules(ExcludedRulesT &&value)
AWS_WAFV2_API ManagedRuleGroupStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleActionOverrides(RuleActionOverridesT &&value)
ManagedRuleGroupStatement & AddManagedRuleGroupConfigs(ManagedRuleGroupConfigsT &&value)
const Aws::Vector< RuleActionOverride > & GetRuleActionOverrides() const
const Aws::String & GetName() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue