7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/DefaultAction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wafv2/model/VisibilityConfig.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/wafv2/model/CaptchaConfig.h>
14#include <aws/wafv2/model/ChallengeConfig.h>
15#include <aws/wafv2/model/AssociationConfig.h>
16#include <aws/wafv2/model/Rule.h>
17#include <aws/wafv2/model/FirewallManagerRuleGroup.h>
18#include <aws/wafv2/model/CustomResponseBody.h>
69 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
84 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
85 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
99 inline void SetARN(
Aws::String&& value) { m_aRNHasBeenSet =
true; m_aRN = std::move(value); }
100 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
127 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
145 inline WebACL&
AddRules(
const Rule& value) { m_rulesHasBeenSet =
true; m_rules.push_back(value);
return *
this; }
146 inline WebACL&
AddRules(
Rule&& value) { m_rulesHasBeenSet =
true; m_rules.push_back(std::move(value));
return *
this; }
177 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
254 inline void SetLabelNamespace(
const char* value) { m_labelNamespaceHasBeenSet =
true; m_labelNamespace.assign(value); }
334 inline WebACL&
AddTokenDomains(
const char* value) { m_tokenDomainsHasBeenSet =
true; m_tokenDomains.push_back(value);
return *
this; }
376 bool m_nameHasBeenSet =
false;
379 bool m_idHasBeenSet =
false;
382 bool m_aRNHasBeenSet =
false;
385 bool m_defaultActionHasBeenSet =
false;
388 bool m_descriptionHasBeenSet =
false;
391 bool m_rulesHasBeenSet =
false;
394 bool m_visibilityConfigHasBeenSet =
false;
396 long long m_capacity;
397 bool m_capacityHasBeenSet =
false;
400 bool m_preProcessFirewallManagerRuleGroupsHasBeenSet =
false;
403 bool m_postProcessFirewallManagerRuleGroupsHasBeenSet =
false;
405 bool m_managedByFirewallManager;
406 bool m_managedByFirewallManagerHasBeenSet =
false;
409 bool m_labelNamespaceHasBeenSet =
false;
412 bool m_customResponseBodiesHasBeenSet =
false;
415 bool m_captchaConfigHasBeenSet =
false;
418 bool m_challengeConfigHasBeenSet =
false;
421 bool m_tokenDomainsHasBeenSet =
false;
424 bool m_associationConfigHasBeenSet =
false;
426 bool m_retrofittedByFirewallManager;
427 bool m_retrofittedByFirewallManagerHasBeenSet =
false;
bool DefaultActionHasBeenSet() const
void SetAssociationConfig(AssociationConfig &&value)
WebACL & WithPostProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
WebACL & WithTokenDomains(const Aws::Vector< Aws::String > &value)
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetRules(const Aws::Vector< Rule > &value)
WebACL & WithManagedByFirewallManager(bool value)
void SetName(const Aws::String &value)
WebACL & AddTokenDomains(const Aws::String &value)
const CaptchaConfig & GetCaptchaConfig() const
bool IdHasBeenSet() const
WebACL & WithId(Aws::String &&value)
void SetVisibilityConfig(const VisibilityConfig &value)
bool CaptchaConfigHasBeenSet() const
WebACL & WithId(const Aws::String &value)
WebACL & AddTokenDomains(const char *value)
bool AssociationConfigHasBeenSet() const
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
void SetDefaultAction(DefaultAction &&value)
AWS_WAFV2_API WebACL(Aws::Utils::Json::JsonView jsonValue)
void SetARN(const Aws::String &value)
void SetPreProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
bool NameHasBeenSet() const
bool VisibilityConfigHasBeenSet() const
void SetName(const char *value)
const Aws::String & GetName() const
bool ARNHasBeenSet() const
WebACL & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
WebACL & WithLabelNamespace(const Aws::String &value)
WebACL & AddTokenDomains(Aws::String &&value)
const Aws::Vector< Rule > & GetRules() const
WebACL & AddPreProcessFirewallManagerRuleGroups(FirewallManagerRuleGroup &&value)
WebACL & WithDescription(const char *value)
void SetTokenDomains(Aws::Vector< Aws::String > &&value)
const Aws::String & GetLabelNamespace() const
WebACL & WithChallengeConfig(const ChallengeConfig &value)
void SetARN(Aws::String &&value)
const Aws::Vector< FirewallManagerRuleGroup > & GetPostProcessFirewallManagerRuleGroups() const
bool PreProcessFirewallManagerRuleGroupsHasBeenSet() const
void SetId(const Aws::String &value)
WebACL & WithName(Aws::String &&value)
void SetChallengeConfig(ChallengeConfig &&value)
AWS_WAFV2_API WebACL & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedByFirewallManager(bool value)
const Aws::Vector< FirewallManagerRuleGroup > & GetPreProcessFirewallManagerRuleGroups() const
const Aws::String & GetDescription() const
long long GetCapacity() const
WebACL & WithAssociationConfig(AssociationConfig &&value)
bool RetrofittedByFirewallManagerHasBeenSet() const
WebACL & WithRules(const Aws::Vector< Rule > &value)
void SetName(Aws::String &&value)
void SetDescription(const char *value)
WebACL & WithChallengeConfig(ChallengeConfig &&value)
void SetDescription(Aws::String &&value)
WebACL & WithPreProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
WebACL & WithARN(const Aws::String &value)
WebACL & WithDefaultAction(const DefaultAction &value)
void SetId(const char *value)
WebACL & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
void SetDescription(const Aws::String &value)
void SetPreProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
void SetAssociationConfig(const AssociationConfig &value)
WebACL & WithCapacity(long long value)
WebACL & WithName(const char *value)
WebACL & WithVisibilityConfig(VisibilityConfig &&value)
WebACL & WithARN(Aws::String &&value)
WebACL & WithRetrofittedByFirewallManager(bool value)
void SetPostProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultAction(const DefaultAction &value)
const Aws::Vector< Aws::String > & GetTokenDomains() const
WebACL & WithPreProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
WebACL & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
void SetRetrofittedByFirewallManager(bool value)
WebACL & WithLabelNamespace(Aws::String &&value)
WebACL & WithCaptchaConfig(const CaptchaConfig &value)
const VisibilityConfig & GetVisibilityConfig() const
WebACL & WithName(const Aws::String &value)
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
bool DescriptionHasBeenSet() const
WebACL & WithCaptchaConfig(CaptchaConfig &&value)
bool TokenDomainsHasBeenSet() const
bool GetManagedByFirewallManager() const
void SetCaptchaConfig(const CaptchaConfig &value)
void SetCapacity(long long value)
void SetId(Aws::String &&value)
void SetVisibilityConfig(VisibilityConfig &&value)
WebACL & WithRules(Aws::Vector< Rule > &&value)
WebACL & WithLabelNamespace(const char *value)
WebACL & AddRules(Rule &&value)
bool PostProcessFirewallManagerRuleGroupsHasBeenSet() const
bool RulesHasBeenSet() const
void SetLabelNamespace(const Aws::String &value)
void SetLabelNamespace(Aws::String &&value)
bool LabelNamespaceHasBeenSet() const
WebACL & WithDescription(Aws::String &&value)
WebACL & WithDescription(const Aws::String &value)
void SetTokenDomains(const Aws::Vector< Aws::String > &value)
const Aws::String & GetId() const
WebACL & AddRules(const Rule &value)
void SetRules(Aws::Vector< Rule > &&value)
void SetLabelNamespace(const char *value)
bool CapacityHasBeenSet() const
WebACL & WithPostProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
WebACL & WithDefaultAction(DefaultAction &&value)
bool GetRetrofittedByFirewallManager() const
WebACL & WithId(const char *value)
WebACL & AddPostProcessFirewallManagerRuleGroups(FirewallManagerRuleGroup &&value)
bool ManagedByFirewallManagerHasBeenSet() const
const Aws::String & GetARN() const
WebACL & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
WebACL & AddPostProcessFirewallManagerRuleGroups(const FirewallManagerRuleGroup &value)
WebACL & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
WebACL & WithARN(const char *value)
WebACL & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
WebACL & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
const AssociationConfig & GetAssociationConfig() const
void SetARN(const char *value)
void SetChallengeConfig(const ChallengeConfig &value)
void SetPostProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
bool CustomResponseBodiesHasBeenSet() const
WebACL & WithVisibilityConfig(const VisibilityConfig &value)
WebACL & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
const DefaultAction & GetDefaultAction() const
WebACL & WithAssociationConfig(const AssociationConfig &value)
const ChallengeConfig & GetChallengeConfig() const
WebACL & WithTokenDomains(Aws::Vector< Aws::String > &&value)
void SetCaptchaConfig(CaptchaConfig &&value)
WebACL & AddPreProcessFirewallManagerRuleGroups(const FirewallManagerRuleGroup &value)
bool ChallengeConfigHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue