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/wafv2/model/DataProtectionConfig.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/wafv2/model/CaptchaConfig.h>
17#include <aws/wafv2/model/ChallengeConfig.h>
18#include <aws/wafv2/model/AssociationConfig.h>
19#include <aws/wafv2/model/OnSourceDDoSProtectionConfig.h>
20#include <aws/wafv2/model/Rule.h>
21#include <aws/wafv2/model/CustomResponseBody.h>
56 template<
typename NameT = Aws::String>
57 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
74 inline void SetScope(
Scope value) { m_scopeHasBeenSet =
true; m_scope = value; }
86 template<
typename IdT = Aws::String>
87 void SetId(
IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
88 template<
typename IdT = Aws::String>
99 template<
typename DefaultActionT = DefaultAction>
101 template<
typename DefaultActionT = DefaultAction>
111 template<
typename DescriptionT = Aws::String>
113 template<
typename DescriptionT = Aws::String>
125 template<
typename RulesT = Aws::Vector<Rule>>
126 void SetRules(
RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
127 template<
typename RulesT = Aws::Vector<Rule>>
129 template<
typename RulesT = Rule>
140 template<
typename VisibilityConfigT = VisibilityConfig>
142 template<
typename VisibilityConfigT = VisibilityConfig>
158 template<
typename DataProtectionConfigT = DataProtectionConfig>
160 template<
typename DataProtectionConfigT = DataProtectionConfig>
177 template<
typename LockTokenT = Aws::String>
179 template<
typename LockTokenT = Aws::String>
199 template<
typename CustomResponseBodiesT = Aws::Map<Aws::String, CustomResponseBody>>
201 template<
typename CustomResponseBodiesT = Aws::Map<Aws::String, CustomResponseBody>>
203 template<
typename CustomResponseBodiesKeyT = Aws::String,
typename CustomResponseBodiesValueT = CustomResponseBody>
205 m_customResponseBodiesHasBeenSet =
true; m_customResponseBodies.emplace(std::forward<CustomResponseBodiesKeyT>(
key), std::forward<CustomResponseBodiesValueT>(value));
return *
this;
217 template<
typename CaptchaConfigT = CaptchaConfig>
219 template<
typename CaptchaConfigT = CaptchaConfig>
231 template<
typename ChallengeConfigT = ChallengeConfig>
233 template<
typename ChallengeConfigT = ChallengeConfig>
252 template<
typename TokenDomainsT = Aws::Vector<Aws::String>>
254 template<
typename TokenDomainsT = Aws::Vector<Aws::String>>
256 template<
typename TokenDomainsT = Aws::String>
275 template<
typename AssociationConfigT = AssociationConfig>
277 template<
typename AssociationConfigT = AssociationConfig>
291 template<
typename OnSourceDDoSProtectionConfigT = OnSourceDDoSProtectionConfig>
293 template<
typename OnSourceDDoSProtectionConfigT = OnSourceDDoSProtectionConfig>
299 bool m_nameHasBeenSet =
false;
302 bool m_scopeHasBeenSet =
false;
305 bool m_idHasBeenSet =
false;
307 DefaultAction m_defaultAction;
308 bool m_defaultActionHasBeenSet =
false;
311 bool m_descriptionHasBeenSet =
false;
314 bool m_rulesHasBeenSet =
false;
316 VisibilityConfig m_visibilityConfig;
317 bool m_visibilityConfigHasBeenSet =
false;
319 DataProtectionConfig m_dataProtectionConfig;
320 bool m_dataProtectionConfigHasBeenSet =
false;
323 bool m_lockTokenHasBeenSet =
false;
326 bool m_customResponseBodiesHasBeenSet =
false;
328 CaptchaConfig m_captchaConfig;
329 bool m_captchaConfigHasBeenSet =
false;
331 ChallengeConfig m_challengeConfig;
332 bool m_challengeConfigHasBeenSet =
false;
335 bool m_tokenDomainsHasBeenSet =
false;
337 AssociationConfig m_associationConfig;
338 bool m_associationConfigHasBeenSet =
false;
340 OnSourceDDoSProtectionConfig m_onSourceDDoSProtectionConfig;
341 bool m_onSourceDDoSProtectionConfigHasBeenSet =
false;
void SetDefaultAction(DefaultActionT &&value)
void SetAssociationConfig(AssociationConfigT &&value)
UpdateWebACLRequest & AddCustomResponseBodies(CustomResponseBodiesKeyT &&key, CustomResponseBodiesValueT &&value)
const Aws::Vector< Aws::String > & GetTokenDomains() const
bool CustomResponseBodiesHasBeenSet() const
UpdateWebACLRequest & WithLockToken(LockTokenT &&value)
UpdateWebACLRequest & WithCaptchaConfig(CaptchaConfigT &&value)
UpdateWebACLRequest & WithDescription(DescriptionT &&value)
UpdateWebACLRequest & WithOnSourceDDoSProtectionConfig(OnSourceDDoSProtectionConfigT &&value)
bool RulesHasBeenSet() const
UpdateWebACLRequest & WithName(NameT &&value)
UpdateWebACLRequest & AddRules(RulesT &&value)
void SetVisibilityConfig(VisibilityConfigT &&value)
bool DefaultActionHasBeenSet() const
bool DataProtectionConfigHasBeenSet() const
bool CaptchaConfigHasBeenSet() const
const ChallengeConfig & GetChallengeConfig() const
bool ChallengeConfigHasBeenSet() const
void SetDataProtectionConfig(DataProtectionConfigT &&value)
const DataProtectionConfig & GetDataProtectionConfig() const
const DefaultAction & GetDefaultAction() const
AWS_WAFV2_API Aws::String SerializePayload() const override
void SetLockToken(LockTokenT &&value)
void SetCaptchaConfig(CaptchaConfigT &&value)
void SetChallengeConfig(ChallengeConfigT &&value)
UpdateWebACLRequest & AddTokenDomains(TokenDomainsT &&value)
void SetScope(Scope value)
void SetCustomResponseBodies(CustomResponseBodiesT &&value)
const VisibilityConfig & GetVisibilityConfig() const
AWS_WAFV2_API UpdateWebACLRequest()=default
bool LockTokenHasBeenSet() const
UpdateWebACLRequest & WithDefaultAction(DefaultActionT &&value)
const Aws::String & GetId() const
virtual const char * GetServiceRequestName() const override
UpdateWebACLRequest & WithScope(Scope value)
UpdateWebACLRequest & WithTokenDomains(TokenDomainsT &&value)
UpdateWebACLRequest & WithAssociationConfig(AssociationConfigT &&value)
const Aws::Vector< Rule > & GetRules() const
void SetRules(RulesT &&value)
const Aws::String & GetName() const
void SetTokenDomains(TokenDomainsT &&value)
const OnSourceDDoSProtectionConfig & GetOnSourceDDoSProtectionConfig() const
bool OnSourceDDoSProtectionConfigHasBeenSet() const
const CaptchaConfig & GetCaptchaConfig() const
bool VisibilityConfigHasBeenSet() const
UpdateWebACLRequest & WithChallengeConfig(ChallengeConfigT &&value)
bool AssociationConfigHasBeenSet() const
void SetOnSourceDDoSProtectionConfig(OnSourceDDoSProtectionConfigT &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(NameT &&value)
UpdateWebACLRequest & WithDataProtectionConfig(DataProtectionConfigT &&value)
const Aws::String & GetLockToken() const
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
bool TokenDomainsHasBeenSet() const
UpdateWebACLRequest & WithVisibilityConfig(VisibilityConfigT &&value)
void SetDescription(DescriptionT &&value)
UpdateWebACLRequest & WithCustomResponseBodies(CustomResponseBodiesT &&value)
UpdateWebACLRequest & WithId(IdT &&value)
UpdateWebACLRequest & WithRules(RulesT &&value)
const AssociationConfig & GetAssociationConfig() const
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
bool IdHasBeenSet() const
bool ScopeHasBeenSet() const
bool DescriptionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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