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/CustomResponseBody.h>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
77 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
91 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
92 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
119 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
169 inline void SetLockToken(
const char* value) { m_lockTokenHasBeenSet =
true; m_lockToken.assign(value); }
278 bool m_nameHasBeenSet =
false;
281 bool m_scopeHasBeenSet =
false;
284 bool m_idHasBeenSet =
false;
287 bool m_defaultActionHasBeenSet =
false;
290 bool m_descriptionHasBeenSet =
false;
293 bool m_rulesHasBeenSet =
false;
296 bool m_visibilityConfigHasBeenSet =
false;
299 bool m_lockTokenHasBeenSet =
false;
302 bool m_customResponseBodiesHasBeenSet =
false;
305 bool m_captchaConfigHasBeenSet =
false;
308 bool m_challengeConfigHasBeenSet =
false;
311 bool m_tokenDomainsHasBeenSet =
false;
314 bool m_associationConfigHasBeenSet =
false;
UpdateWebACLRequest & WithAssociationConfig(const AssociationConfig &value)
UpdateWebACLRequest & WithDescription(const Aws::String &value)
const Scope & GetScope() const
void SetDescription(const char *value)
void SetDefaultAction(const DefaultAction &value)
const Aws::Vector< Aws::String > & GetTokenDomains() const
void SetDescription(Aws::String &&value)
bool CustomResponseBodiesHasBeenSet() const
UpdateWebACLRequest & WithDescription(const char *value)
UpdateWebACLRequest & WithCaptchaConfig(const CaptchaConfig &value)
UpdateWebACLRequest & WithChallengeConfig(ChallengeConfig &&value)
bool RulesHasBeenSet() const
UpdateWebACLRequest & WithRules(const Aws::Vector< Rule > &value)
UpdateWebACLRequest & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
bool DefaultActionHasBeenSet() const
void SetVisibilityConfig(VisibilityConfig &&value)
void SetAssociationConfig(const AssociationConfig &value)
UpdateWebACLRequest & WithName(const char *value)
void SetChallengeConfig(ChallengeConfig &&value)
UpdateWebACLRequest & WithLockToken(const char *value)
bool CaptchaConfigHasBeenSet() const
const ChallengeConfig & GetChallengeConfig() const
bool ChallengeConfigHasBeenSet() const
UpdateWebACLRequest & WithName(const Aws::String &value)
UpdateWebACLRequest & WithRules(Aws::Vector< Rule > &&value)
UpdateWebACLRequest & WithTokenDomains(const Aws::Vector< Aws::String > &value)
const DefaultAction & GetDefaultAction() const
void SetId(const Aws::String &value)
UpdateWebACLRequest & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
UpdateWebACLRequest & WithLockToken(const Aws::String &value)
AWS_WAFV2_API Aws::String SerializePayload() const override
UpdateWebACLRequest & WithDescription(Aws::String &&value)
void SetTokenDomains(Aws::Vector< Aws::String > &&value)
void SetScope(Scope &&value)
UpdateWebACLRequest & WithChallengeConfig(const ChallengeConfig &value)
void SetAssociationConfig(AssociationConfig &&value)
UpdateWebACLRequest & WithAssociationConfig(AssociationConfig &&value)
UpdateWebACLRequest & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
UpdateWebACLRequest & AddTokenDomains(const char *value)
const VisibilityConfig & GetVisibilityConfig() const
void SetId(Aws::String &&value)
UpdateWebACLRequest & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
void SetDefaultAction(DefaultAction &&value)
UpdateWebACLRequest & WithId(Aws::String &&value)
bool LockTokenHasBeenSet() const
UpdateWebACLRequest & WithTokenDomains(Aws::Vector< Aws::String > &&value)
const Aws::String & GetId() const
virtual const char * GetServiceRequestName() const override
UpdateWebACLRequest & AddRules(const Rule &value)
void SetName(const char *value)
UpdateWebACLRequest & WithCaptchaConfig(CaptchaConfig &&value)
const Aws::Vector< Rule > & GetRules() const
const Aws::String & GetName() const
void SetLockToken(Aws::String &&value)
const CaptchaConfig & GetCaptchaConfig() const
void SetTokenDomains(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
UpdateWebACLRequest & AddTokenDomains(const Aws::String &value)
void SetChallengeConfig(const ChallengeConfig &value)
bool VisibilityConfigHasBeenSet() const
bool AssociationConfigHasBeenSet() const
void SetName(Aws::String &&value)
void SetCaptchaConfig(const CaptchaConfig &value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWebACLRequest & AddTokenDomains(Aws::String &&value)
UpdateWebACLRequest & WithScope(Scope &&value)
const Aws::String & GetLockToken() const
bool NameHasBeenSet() const
UpdateWebACLRequest & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
void SetVisibilityConfig(const VisibilityConfig &value)
const Aws::String & GetDescription() const
UpdateWebACLRequest & WithName(Aws::String &&value)
UpdateWebACLRequest & WithScope(const Scope &value)
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetRules(const Aws::Vector< Rule > &value)
bool TokenDomainsHasBeenSet() const
UpdateWebACLRequest & WithDefaultAction(const DefaultAction &value)
UpdateWebACLRequest & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
UpdateWebACLRequest & WithId(const char *value)
UpdateWebACLRequest & WithLockToken(Aws::String &&value)
UpdateWebACLRequest & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
void SetCaptchaConfig(CaptchaConfig &&value)
AWS_WAFV2_API UpdateWebACLRequest()
void SetScope(const Scope &value)
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
UpdateWebACLRequest & WithId(const Aws::String &value)
void SetRules(Aws::Vector< Rule > &&value)
const AssociationConfig & GetAssociationConfig() const
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
void SetLockToken(const char *value)
void SetId(const char *value)
UpdateWebACLRequest & WithVisibilityConfig(const VisibilityConfig &value)
UpdateWebACLRequest & WithVisibilityConfig(VisibilityConfig &&value)
bool IdHasBeenSet() const
bool ScopeHasBeenSet() const
void SetLockToken(const Aws::String &value)
UpdateWebACLRequest & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
UpdateWebACLRequest & WithDefaultAction(DefaultAction &&value)
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
UpdateWebACLRequest & AddRules(Rule &&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