7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <aws/wafv2/model/DefaultAction.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/wafv2/model/VisibilityConfig.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/wafv2/model/CaptchaConfig.h>
16#include <aws/wafv2/model/ChallengeConfig.h>
17#include <aws/wafv2/model/AssociationConfig.h>
18#include <aws/wafv2/model/Rule.h>
19#include <aws/wafv2/model/Tag.h>
20#include <aws/wafv2/model/CustomResponseBody.h>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
77 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
78 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
104 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
256 bool m_nameHasBeenSet =
false;
259 bool m_scopeHasBeenSet =
false;
262 bool m_defaultActionHasBeenSet =
false;
265 bool m_descriptionHasBeenSet =
false;
268 bool m_rulesHasBeenSet =
false;
271 bool m_visibilityConfigHasBeenSet =
false;
274 bool m_tagsHasBeenSet =
false;
277 bool m_customResponseBodiesHasBeenSet =
false;
280 bool m_captchaConfigHasBeenSet =
false;
283 bool m_challengeConfigHasBeenSet =
false;
286 bool m_tokenDomainsHasBeenSet =
false;
289 bool m_associationConfigHasBeenSet =
false;
void SetDefaultAction(DefaultAction &&value)
CreateWebACLRequest & WithTokenDomains(Aws::Vector< Aws::String > &&value)
CreateWebACLRequest & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetVisibilityConfig(const VisibilityConfig &value)
CreateWebACLRequest & WithDefaultAction(DefaultAction &&value)
void SetTokenDomains(Aws::Vector< Aws::String > &&value)
const Scope & GetScope() const
void SetName(Aws::String &&value)
CreateWebACLRequest & WithAssociationConfig(AssociationConfig &&value)
CreateWebACLRequest & AddTags(const Tag &value)
const Aws::String & GetDescription() const
CreateWebACLRequest & WithChallengeConfig(const ChallengeConfig &value)
CreateWebACLRequest & WithName(const char *value)
const VisibilityConfig & GetVisibilityConfig() const
bool AssociationConfigHasBeenSet() const
const Aws::Vector< Rule > & GetRules() const
CreateWebACLRequest & WithTags(Aws::Vector< Tag > &&value)
CreateWebACLRequest & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
CreateWebACLRequest & WithName(Aws::String &&value)
CreateWebACLRequest & WithChallengeConfig(ChallengeConfig &&value)
bool CaptchaConfigHasBeenSet() const
void SetName(const char *value)
void SetAssociationConfig(AssociationConfig &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool ChallengeConfigHasBeenSet() const
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetDefaultAction(const DefaultAction &value)
bool NameHasBeenSet() const
void SetTokenDomains(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
const ChallengeConfig & GetChallengeConfig() const
CreateWebACLRequest & AddRules(const Rule &value)
bool DescriptionHasBeenSet() const
CreateWebACLRequest & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
bool VisibilityConfigHasBeenSet() const
CreateWebACLRequest & WithTokenDomains(const Aws::Vector< Aws::String > &value)
void SetRules(Aws::Vector< Rule > &&value)
CreateWebACLRequest & WithDefaultAction(const DefaultAction &value)
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
CreateWebACLRequest & AddTags(Tag &&value)
CreateWebACLRequest & WithDescription(Aws::String &&value)
CreateWebACLRequest & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
AWS_WAFV2_API Aws::String SerializePayload() const override
CreateWebACLRequest & WithAssociationConfig(const AssociationConfig &value)
CreateWebACLRequest & WithDescription(const char *value)
void SetAssociationConfig(const AssociationConfig &value)
CreateWebACLRequest & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
void SetRules(const Aws::Vector< Rule > &value)
const Aws::String & GetName() const
void SetCaptchaConfig(const CaptchaConfig &value)
CreateWebACLRequest & WithTags(const Aws::Vector< Tag > &value)
bool ScopeHasBeenSet() const
CreateWebACLRequest & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
bool TagsHasBeenSet() const
void SetCaptchaConfig(CaptchaConfig &&value)
void SetChallengeConfig(ChallengeConfig &&value)
CreateWebACLRequest & AddTokenDomains(const Aws::String &value)
bool DefaultActionHasBeenSet() const
CreateWebACLRequest & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateWebACLRequest & WithRules(const Aws::Vector< Rule > &value)
CreateWebACLRequest & AddTokenDomains(const char *value)
CreateWebACLRequest & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
const AssociationConfig & GetAssociationConfig() const
const CaptchaConfig & GetCaptchaConfig() const
CreateWebACLRequest & AddTokenDomains(Aws::String &&value)
CreateWebACLRequest & WithVisibilityConfig(VisibilityConfig &&value)
CreateWebACLRequest & WithCaptchaConfig(const CaptchaConfig &value)
CreateWebACLRequest & AddRules(Rule &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateWebACLRequest & WithScope(const Scope &value)
CreateWebACLRequest & WithRules(Aws::Vector< Rule > &&value)
CreateWebACLRequest & WithCaptchaConfig(CaptchaConfig &&value)
CreateWebACLRequest & WithScope(Scope &&value)
void SetVisibilityConfig(VisibilityConfig &&value)
void SetName(const Aws::String &value)
void SetDescription(const char *value)
const Aws::Vector< Tag > & GetTags() const
AWS_WAFV2_API CreateWebACLRequest()
bool RulesHasBeenSet() const
void SetChallengeConfig(const ChallengeConfig &value)
const DefaultAction & GetDefaultAction() const
const Aws::Vector< Aws::String > & GetTokenDomains() const
bool CustomResponseBodiesHasBeenSet() const
bool TokenDomainsHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetScope(Scope &&value)
void SetScope(const Scope &value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateWebACLRequest & WithVisibilityConfig(const VisibilityConfig &value)
CreateWebACLRequest & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
CreateWebACLRequest & WithName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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