AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
WebACL.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/WAFV2_EXPORTS.h>
11#include <aws/wafv2/model/AnalyticsConfig.h>
12#include <aws/wafv2/model/ApplicationConfig.h>
13#include <aws/wafv2/model/AssociationConfig.h>
14#include <aws/wafv2/model/CaptchaConfig.h>
15#include <aws/wafv2/model/ChallengeConfig.h>
16#include <aws/wafv2/model/CustomResponseBody.h>
17#include <aws/wafv2/model/DataProtectionConfig.h>
18#include <aws/wafv2/model/DefaultAction.h>
19#include <aws/wafv2/model/FirewallManagerRuleGroup.h>
20#include <aws/wafv2/model/MonetizationConfig.h>
21#include <aws/wafv2/model/OnSourceDDoSProtectionConfig.h>
22#include <aws/wafv2/model/Rule.h>
23#include <aws/wafv2/model/VisibilityConfig.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace WAFV2 {
35namespace Model {
36
52class WebACL {
53 public:
54 AWS_WAFV2_API WebACL() = default;
55 AWS_WAFV2_API WebACL(Aws::Utils::Json::JsonView jsonValue);
56 AWS_WAFV2_API WebACL& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
58
60
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template <typename NameT = Aws::String>
67 void SetName(NameT&& value) {
68 m_nameHasBeenSet = true;
69 m_name = std::forward<NameT>(value);
70 }
71 template <typename NameT = Aws::String>
72 WebACL& WithName(NameT&& value) {
73 SetName(std::forward<NameT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetId() const { return m_id; }
85 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
86 template <typename IdT = Aws::String>
87 void SetId(IdT&& value) {
88 m_idHasBeenSet = true;
89 m_id = std::forward<IdT>(value);
90 }
91 template <typename IdT = Aws::String>
92 WebACL& WithId(IdT&& value) {
93 SetId(std::forward<IdT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetARN() const { return m_aRN; }
104 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
105 template <typename ARNT = Aws::String>
106 void SetARN(ARNT&& value) {
107 m_aRNHasBeenSet = true;
108 m_aRN = std::forward<ARNT>(value);
109 }
110 template <typename ARNT = Aws::String>
111 WebACL& WithARN(ARNT&& value) {
112 SetARN(std::forward<ARNT>(value));
113 return *this;
114 }
116
118
122 inline const DefaultAction& GetDefaultAction() const { return m_defaultAction; }
123 inline bool DefaultActionHasBeenSet() const { return m_defaultActionHasBeenSet; }
124 template <typename DefaultActionT = DefaultAction>
125 void SetDefaultAction(DefaultActionT&& value) {
126 m_defaultActionHasBeenSet = true;
127 m_defaultAction = std::forward<DefaultActionT>(value);
128 }
129 template <typename DefaultActionT = DefaultAction>
130 WebACL& WithDefaultAction(DefaultActionT&& value) {
131 SetDefaultAction(std::forward<DefaultActionT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetDescription() const { return m_description; }
141 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
142 template <typename DescriptionT = Aws::String>
143 void SetDescription(DescriptionT&& value) {
144 m_descriptionHasBeenSet = true;
145 m_description = std::forward<DescriptionT>(value);
146 }
147 template <typename DescriptionT = Aws::String>
148 WebACL& WithDescription(DescriptionT&& value) {
149 SetDescription(std::forward<DescriptionT>(value));
150 return *this;
151 }
153
155
160 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
161 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
162 template <typename RulesT = Aws::Vector<Rule>>
163 void SetRules(RulesT&& value) {
164 m_rulesHasBeenSet = true;
165 m_rules = std::forward<RulesT>(value);
166 }
167 template <typename RulesT = Aws::Vector<Rule>>
168 WebACL& WithRules(RulesT&& value) {
169 SetRules(std::forward<RulesT>(value));
170 return *this;
171 }
172 template <typename RulesT = Rule>
173 WebACL& AddRules(RulesT&& value) {
174 m_rulesHasBeenSet = true;
175 m_rules.emplace_back(std::forward<RulesT>(value));
176 return *this;
177 }
179
181
185 inline const VisibilityConfig& GetVisibilityConfig() const { return m_visibilityConfig; }
186 inline bool VisibilityConfigHasBeenSet() const { return m_visibilityConfigHasBeenSet; }
187 template <typename VisibilityConfigT = VisibilityConfig>
188 void SetVisibilityConfig(VisibilityConfigT&& value) {
189 m_visibilityConfigHasBeenSet = true;
190 m_visibilityConfig = std::forward<VisibilityConfigT>(value);
191 }
192 template <typename VisibilityConfigT = VisibilityConfig>
193 WebACL& WithVisibilityConfig(VisibilityConfigT&& value) {
194 SetVisibilityConfig(std::forward<VisibilityConfigT>(value));
195 return *this;
196 }
198
200
209 inline const DataProtectionConfig& GetDataProtectionConfig() const { return m_dataProtectionConfig; }
210 inline bool DataProtectionConfigHasBeenSet() const { return m_dataProtectionConfigHasBeenSet; }
211 template <typename DataProtectionConfigT = DataProtectionConfig>
212 void SetDataProtectionConfig(DataProtectionConfigT&& value) {
213 m_dataProtectionConfigHasBeenSet = true;
214 m_dataProtectionConfig = std::forward<DataProtectionConfigT>(value);
215 }
216 template <typename DataProtectionConfigT = DataProtectionConfig>
217 WebACL& WithDataProtectionConfig(DataProtectionConfigT&& value) {
218 SetDataProtectionConfig(std::forward<DataProtectionConfigT>(value));
219 return *this;
220 }
222
224
236 inline long long GetCapacity() const { return m_capacity; }
237 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
238 inline void SetCapacity(long long value) {
239 m_capacityHasBeenSet = true;
240 m_capacity = value;
241 }
242 inline WebACL& WithCapacity(long long value) {
243 SetCapacity(value);
244 return *this;
245 }
247
249
260 return m_preProcessFirewallManagerRuleGroups;
261 }
262 inline bool PreProcessFirewallManagerRuleGroupsHasBeenSet() const { return m_preProcessFirewallManagerRuleGroupsHasBeenSet; }
263 template <typename PreProcessFirewallManagerRuleGroupsT = Aws::Vector<FirewallManagerRuleGroup>>
264 void SetPreProcessFirewallManagerRuleGroups(PreProcessFirewallManagerRuleGroupsT&& value) {
265 m_preProcessFirewallManagerRuleGroupsHasBeenSet = true;
266 m_preProcessFirewallManagerRuleGroups = std::forward<PreProcessFirewallManagerRuleGroupsT>(value);
267 }
268 template <typename PreProcessFirewallManagerRuleGroupsT = Aws::Vector<FirewallManagerRuleGroup>>
269 WebACL& WithPreProcessFirewallManagerRuleGroups(PreProcessFirewallManagerRuleGroupsT&& value) {
270 SetPreProcessFirewallManagerRuleGroups(std::forward<PreProcessFirewallManagerRuleGroupsT>(value));
271 return *this;
272 }
273 template <typename PreProcessFirewallManagerRuleGroupsT = FirewallManagerRuleGroup>
274 WebACL& AddPreProcessFirewallManagerRuleGroups(PreProcessFirewallManagerRuleGroupsT&& value) {
275 m_preProcessFirewallManagerRuleGroupsHasBeenSet = true;
276 m_preProcessFirewallManagerRuleGroups.emplace_back(std::forward<PreProcessFirewallManagerRuleGroupsT>(value));
277 return *this;
278 }
280
282
293 return m_postProcessFirewallManagerRuleGroups;
294 }
295 inline bool PostProcessFirewallManagerRuleGroupsHasBeenSet() const { return m_postProcessFirewallManagerRuleGroupsHasBeenSet; }
296 template <typename PostProcessFirewallManagerRuleGroupsT = Aws::Vector<FirewallManagerRuleGroup>>
297 void SetPostProcessFirewallManagerRuleGroups(PostProcessFirewallManagerRuleGroupsT&& value) {
298 m_postProcessFirewallManagerRuleGroupsHasBeenSet = true;
299 m_postProcessFirewallManagerRuleGroups = std::forward<PostProcessFirewallManagerRuleGroupsT>(value);
300 }
301 template <typename PostProcessFirewallManagerRuleGroupsT = Aws::Vector<FirewallManagerRuleGroup>>
302 WebACL& WithPostProcessFirewallManagerRuleGroups(PostProcessFirewallManagerRuleGroupsT&& value) {
303 SetPostProcessFirewallManagerRuleGroups(std::forward<PostProcessFirewallManagerRuleGroupsT>(value));
304 return *this;
305 }
306 template <typename PostProcessFirewallManagerRuleGroupsT = FirewallManagerRuleGroup>
307 WebACL& AddPostProcessFirewallManagerRuleGroups(PostProcessFirewallManagerRuleGroupsT&& value) {
308 m_postProcessFirewallManagerRuleGroupsHasBeenSet = true;
309 m_postProcessFirewallManagerRuleGroups.emplace_back(std::forward<PostProcessFirewallManagerRuleGroupsT>(value));
310 return *this;
311 }
313
315
323 inline bool GetManagedByFirewallManager() const { return m_managedByFirewallManager; }
324 inline bool ManagedByFirewallManagerHasBeenSet() const { return m_managedByFirewallManagerHasBeenSet; }
325 inline void SetManagedByFirewallManager(bool value) {
326 m_managedByFirewallManagerHasBeenSet = true;
327 m_managedByFirewallManager = value;
328 }
331 return *this;
332 }
334
336
347 inline const Aws::String& GetLabelNamespace() const { return m_labelNamespace; }
348 inline bool LabelNamespaceHasBeenSet() const { return m_labelNamespaceHasBeenSet; }
349 template <typename LabelNamespaceT = Aws::String>
350 void SetLabelNamespace(LabelNamespaceT&& value) {
351 m_labelNamespaceHasBeenSet = true;
352 m_labelNamespace = std::forward<LabelNamespaceT>(value);
353 }
354 template <typename LabelNamespaceT = Aws::String>
355 WebACL& WithLabelNamespace(LabelNamespaceT&& value) {
356 SetLabelNamespace(std::forward<LabelNamespaceT>(value));
357 return *this;
358 }
360
362
375 inline const Aws::Map<Aws::String, CustomResponseBody>& GetCustomResponseBodies() const { return m_customResponseBodies; }
376 inline bool CustomResponseBodiesHasBeenSet() const { return m_customResponseBodiesHasBeenSet; }
377 template <typename CustomResponseBodiesT = Aws::Map<Aws::String, CustomResponseBody>>
378 void SetCustomResponseBodies(CustomResponseBodiesT&& value) {
379 m_customResponseBodiesHasBeenSet = true;
380 m_customResponseBodies = std::forward<CustomResponseBodiesT>(value);
381 }
382 template <typename CustomResponseBodiesT = Aws::Map<Aws::String, CustomResponseBody>>
383 WebACL& WithCustomResponseBodies(CustomResponseBodiesT&& value) {
384 SetCustomResponseBodies(std::forward<CustomResponseBodiesT>(value));
385 return *this;
386 }
387 template <typename CustomResponseBodiesKeyT = Aws::String, typename CustomResponseBodiesValueT = CustomResponseBody>
388 WebACL& AddCustomResponseBodies(CustomResponseBodiesKeyT&& key, CustomResponseBodiesValueT&& value) {
389 m_customResponseBodiesHasBeenSet = true;
390 m_customResponseBodies.emplace(std::forward<CustomResponseBodiesKeyT>(key), std::forward<CustomResponseBodiesValueT>(value));
391 return *this;
392 }
394
396
401 inline const CaptchaConfig& GetCaptchaConfig() const { return m_captchaConfig; }
402 inline bool CaptchaConfigHasBeenSet() const { return m_captchaConfigHasBeenSet; }
403 template <typename CaptchaConfigT = CaptchaConfig>
404 void SetCaptchaConfig(CaptchaConfigT&& value) {
405 m_captchaConfigHasBeenSet = true;
406 m_captchaConfig = std::forward<CaptchaConfigT>(value);
407 }
408 template <typename CaptchaConfigT = CaptchaConfig>
409 WebACL& WithCaptchaConfig(CaptchaConfigT&& value) {
410 SetCaptchaConfig(std::forward<CaptchaConfigT>(value));
411 return *this;
412 }
414
416
421 inline const ChallengeConfig& GetChallengeConfig() const { return m_challengeConfig; }
422 inline bool ChallengeConfigHasBeenSet() const { return m_challengeConfigHasBeenSet; }
423 template <typename ChallengeConfigT = ChallengeConfig>
424 void SetChallengeConfig(ChallengeConfigT&& value) {
425 m_challengeConfigHasBeenSet = true;
426 m_challengeConfig = std::forward<ChallengeConfigT>(value);
427 }
428 template <typename ChallengeConfigT = ChallengeConfig>
429 WebACL& WithChallengeConfig(ChallengeConfigT&& value) {
430 SetChallengeConfig(std::forward<ChallengeConfigT>(value));
431 return *this;
432 }
434
436
445 inline const Aws::Vector<Aws::String>& GetTokenDomains() const { return m_tokenDomains; }
446 inline bool TokenDomainsHasBeenSet() const { return m_tokenDomainsHasBeenSet; }
447 template <typename TokenDomainsT = Aws::Vector<Aws::String>>
448 void SetTokenDomains(TokenDomainsT&& value) {
449 m_tokenDomainsHasBeenSet = true;
450 m_tokenDomains = std::forward<TokenDomainsT>(value);
451 }
452 template <typename TokenDomainsT = Aws::Vector<Aws::String>>
453 WebACL& WithTokenDomains(TokenDomainsT&& value) {
454 SetTokenDomains(std::forward<TokenDomainsT>(value));
455 return *this;
456 }
457 template <typename TokenDomainsT = Aws::String>
458 WebACL& AddTokenDomains(TokenDomainsT&& value) {
459 m_tokenDomainsHasBeenSet = true;
460 m_tokenDomains.emplace_back(std::forward<TokenDomainsT>(value));
461 return *this;
462 }
464
466
481 inline const AssociationConfig& GetAssociationConfig() const { return m_associationConfig; }
482 inline bool AssociationConfigHasBeenSet() const { return m_associationConfigHasBeenSet; }
483 template <typename AssociationConfigT = AssociationConfig>
484 void SetAssociationConfig(AssociationConfigT&& value) {
485 m_associationConfigHasBeenSet = true;
486 m_associationConfig = std::forward<AssociationConfigT>(value);
487 }
488 template <typename AssociationConfigT = AssociationConfig>
489 WebACL& WithAssociationConfig(AssociationConfigT&& value) {
490 SetAssociationConfig(std::forward<AssociationConfigT>(value));
491 return *this;
492 }
494
496
505 inline bool GetRetrofittedByFirewallManager() const { return m_retrofittedByFirewallManager; }
506 inline bool RetrofittedByFirewallManagerHasBeenSet() const { return m_retrofittedByFirewallManagerHasBeenSet; }
507 inline void SetRetrofittedByFirewallManager(bool value) {
508 m_retrofittedByFirewallManagerHasBeenSet = true;
509 m_retrofittedByFirewallManager = value;
510 }
513 return *this;
514 }
516
518
522 inline const OnSourceDDoSProtectionConfig& GetOnSourceDDoSProtectionConfig() const { return m_onSourceDDoSProtectionConfig; }
523 inline bool OnSourceDDoSProtectionConfigHasBeenSet() const { return m_onSourceDDoSProtectionConfigHasBeenSet; }
524 template <typename OnSourceDDoSProtectionConfigT = OnSourceDDoSProtectionConfig>
525 void SetOnSourceDDoSProtectionConfig(OnSourceDDoSProtectionConfigT&& value) {
526 m_onSourceDDoSProtectionConfigHasBeenSet = true;
527 m_onSourceDDoSProtectionConfig = std::forward<OnSourceDDoSProtectionConfigT>(value);
528 }
529 template <typename OnSourceDDoSProtectionConfigT = OnSourceDDoSProtectionConfig>
530 WebACL& WithOnSourceDDoSProtectionConfig(OnSourceDDoSProtectionConfigT&& value) {
531 SetOnSourceDDoSProtectionConfig(std::forward<OnSourceDDoSProtectionConfigT>(value));
532 return *this;
533 }
535
537
540 inline const ApplicationConfig& GetApplicationConfig() const { return m_applicationConfig; }
541 inline bool ApplicationConfigHasBeenSet() const { return m_applicationConfigHasBeenSet; }
542 template <typename ApplicationConfigT = ApplicationConfig>
543 void SetApplicationConfig(ApplicationConfigT&& value) {
544 m_applicationConfigHasBeenSet = true;
545 m_applicationConfig = std::forward<ApplicationConfigT>(value);
546 }
547 template <typename ApplicationConfigT = ApplicationConfig>
548 WebACL& WithApplicationConfig(ApplicationConfigT&& value) {
549 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
550 return *this;
551 }
553
555
560 inline const MonetizationConfig& GetMonetizationConfig() const { return m_monetizationConfig; }
561 inline bool MonetizationConfigHasBeenSet() const { return m_monetizationConfigHasBeenSet; }
562 template <typename MonetizationConfigT = MonetizationConfig>
563 void SetMonetizationConfig(MonetizationConfigT&& value) {
564 m_monetizationConfigHasBeenSet = true;
565 m_monetizationConfig = std::forward<MonetizationConfigT>(value);
566 }
567 template <typename MonetizationConfigT = MonetizationConfig>
568 WebACL& WithMonetizationConfig(MonetizationConfigT&& value) {
569 SetMonetizationConfig(std::forward<MonetizationConfigT>(value));
570 return *this;
571 }
573
575
579 inline const AnalyticsConfig& GetAnalyticsConfig() const { return m_analyticsConfig; }
580 inline bool AnalyticsConfigHasBeenSet() const { return m_analyticsConfigHasBeenSet; }
581 template <typename AnalyticsConfigT = AnalyticsConfig>
582 void SetAnalyticsConfig(AnalyticsConfigT&& value) {
583 m_analyticsConfigHasBeenSet = true;
584 m_analyticsConfig = std::forward<AnalyticsConfigT>(value);
585 }
586 template <typename AnalyticsConfigT = AnalyticsConfig>
587 WebACL& WithAnalyticsConfig(AnalyticsConfigT&& value) {
588 SetAnalyticsConfig(std::forward<AnalyticsConfigT>(value));
589 return *this;
590 }
592 private:
593 Aws::String m_name;
594
595 Aws::String m_id;
596
597 Aws::String m_aRN;
598
599 DefaultAction m_defaultAction;
600
601 Aws::String m_description;
602
603 Aws::Vector<Rule> m_rules;
604
605 VisibilityConfig m_visibilityConfig;
606
607 DataProtectionConfig m_dataProtectionConfig;
608
609 long long m_capacity{0};
610
611 Aws::Vector<FirewallManagerRuleGroup> m_preProcessFirewallManagerRuleGroups;
612
613 Aws::Vector<FirewallManagerRuleGroup> m_postProcessFirewallManagerRuleGroups;
614
615 bool m_managedByFirewallManager{false};
616
617 Aws::String m_labelNamespace;
618
619 Aws::Map<Aws::String, CustomResponseBody> m_customResponseBodies;
620
621 CaptchaConfig m_captchaConfig;
622
623 ChallengeConfig m_challengeConfig;
624
625 Aws::Vector<Aws::String> m_tokenDomains;
626
627 AssociationConfig m_associationConfig;
628
629 bool m_retrofittedByFirewallManager{false};
630
631 OnSourceDDoSProtectionConfig m_onSourceDDoSProtectionConfig;
632
633 ApplicationConfig m_applicationConfig;
634
635 MonetizationConfig m_monetizationConfig;
636
637 AnalyticsConfig m_analyticsConfig;
638 bool m_nameHasBeenSet = false;
639 bool m_idHasBeenSet = false;
640 bool m_aRNHasBeenSet = false;
641 bool m_defaultActionHasBeenSet = false;
642 bool m_descriptionHasBeenSet = false;
643 bool m_rulesHasBeenSet = false;
644 bool m_visibilityConfigHasBeenSet = false;
645 bool m_dataProtectionConfigHasBeenSet = false;
646 bool m_capacityHasBeenSet = false;
647 bool m_preProcessFirewallManagerRuleGroupsHasBeenSet = false;
648 bool m_postProcessFirewallManagerRuleGroupsHasBeenSet = false;
649 bool m_managedByFirewallManagerHasBeenSet = false;
650 bool m_labelNamespaceHasBeenSet = false;
651 bool m_customResponseBodiesHasBeenSet = false;
652 bool m_captchaConfigHasBeenSet = false;
653 bool m_challengeConfigHasBeenSet = false;
654 bool m_tokenDomainsHasBeenSet = false;
655 bool m_associationConfigHasBeenSet = false;
656 bool m_retrofittedByFirewallManagerHasBeenSet = false;
657 bool m_onSourceDDoSProtectionConfigHasBeenSet = false;
658 bool m_applicationConfigHasBeenSet = false;
659 bool m_monetizationConfigHasBeenSet = false;
660 bool m_analyticsConfigHasBeenSet = false;
661};
662
663} // namespace Model
664} // namespace WAFV2
665} // namespace Aws
bool DefaultActionHasBeenSet() const
Definition WebACL.h:123
WebACL & WithManagedByFirewallManager(bool value)
Definition WebACL.h:329
WebACL & WithLabelNamespace(LabelNamespaceT &&value)
Definition WebACL.h:355
const CaptchaConfig & GetCaptchaConfig() const
Definition WebACL.h:401
bool IdHasBeenSet() const
Definition WebACL.h:85
AWS_WAFV2_API WebACL()=default
WebACL & WithName(NameT &&value)
Definition WebACL.h:72
bool CaptchaConfigHasBeenSet() const
Definition WebACL.h:402
void SetAnalyticsConfig(AnalyticsConfigT &&value)
Definition WebACL.h:582
const OnSourceDDoSProtectionConfig & GetOnSourceDDoSProtectionConfig() const
Definition WebACL.h:522
bool AssociationConfigHasBeenSet() const
Definition WebACL.h:482
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
Definition WebACL.h:375
AWS_WAFV2_API WebACL(Aws::Utils::Json::JsonView jsonValue)
void SetVisibilityConfig(VisibilityConfigT &&value)
Definition WebACL.h:188
void SetLabelNamespace(LabelNamespaceT &&value)
Definition WebACL.h:350
bool NameHasBeenSet() const
Definition WebACL.h:65
bool VisibilityConfigHasBeenSet() const
Definition WebACL.h:186
WebACL & WithVisibilityConfig(VisibilityConfigT &&value)
Definition WebACL.h:193
const Aws::String & GetName() const
Definition WebACL.h:64
WebACL & WithOnSourceDDoSProtectionConfig(OnSourceDDoSProtectionConfigT &&value)
Definition WebACL.h:530
bool ARNHasBeenSet() const
Definition WebACL.h:104
WebACL & AddPreProcessFirewallManagerRuleGroups(PreProcessFirewallManagerRuleGroupsT &&value)
Definition WebACL.h:274
bool OnSourceDDoSProtectionConfigHasBeenSet() const
Definition WebACL.h:523
void SetPreProcessFirewallManagerRuleGroups(PreProcessFirewallManagerRuleGroupsT &&value)
Definition WebACL.h:264
WebACL & WithChallengeConfig(ChallengeConfigT &&value)
Definition WebACL.h:429
const Aws::Vector< Rule > & GetRules() const
Definition WebACL.h:160
WebACL & AddPostProcessFirewallManagerRuleGroups(PostProcessFirewallManagerRuleGroupsT &&value)
Definition WebACL.h:307
void SetOnSourceDDoSProtectionConfig(OnSourceDDoSProtectionConfigT &&value)
Definition WebACL.h:525
WebACL & WithPreProcessFirewallManagerRuleGroups(PreProcessFirewallManagerRuleGroupsT &&value)
Definition WebACL.h:269
void SetDataProtectionConfig(DataProtectionConfigT &&value)
Definition WebACL.h:212
const MonetizationConfig & GetMonetizationConfig() const
Definition WebACL.h:560
const Aws::String & GetLabelNamespace() const
Definition WebACL.h:347
const Aws::Vector< FirewallManagerRuleGroup > & GetPostProcessFirewallManagerRuleGroups() const
Definition WebACL.h:292
bool PreProcessFirewallManagerRuleGroupsHasBeenSet() const
Definition WebACL.h:262
AWS_WAFV2_API WebACL & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedByFirewallManager(bool value)
Definition WebACL.h:325
const Aws::Vector< FirewallManagerRuleGroup > & GetPreProcessFirewallManagerRuleGroups() const
Definition WebACL.h:259
const Aws::String & GetDescription() const
Definition WebACL.h:140
bool MonetizationConfigHasBeenSet() const
Definition WebACL.h:561
long long GetCapacity() const
Definition WebACL.h:236
void SetTokenDomains(TokenDomainsT &&value)
Definition WebACL.h:448
bool RetrofittedByFirewallManagerHasBeenSet() const
Definition WebACL.h:506
WebACL & WithRules(RulesT &&value)
Definition WebACL.h:168
void SetAssociationConfig(AssociationConfigT &&value)
Definition WebACL.h:484
void SetDescription(DescriptionT &&value)
Definition WebACL.h:143
WebACL & WithCaptchaConfig(CaptchaConfigT &&value)
Definition WebACL.h:409
void SetId(IdT &&value)
Definition WebACL.h:87
WebACL & WithMonetizationConfig(MonetizationConfigT &&value)
Definition WebACL.h:568
WebACL & AddRules(RulesT &&value)
Definition WebACL.h:173
WebACL & WithCapacity(long long value)
Definition WebACL.h:242
WebACL & AddCustomResponseBodies(CustomResponseBodiesKeyT &&key, CustomResponseBodiesValueT &&value)
Definition WebACL.h:388
WebACL & WithDefaultAction(DefaultActionT &&value)
Definition WebACL.h:130
WebACL & WithRetrofittedByFirewallManager(bool value)
Definition WebACL.h:511
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetARN(ARNT &&value)
Definition WebACL.h:106
WebACL & WithId(IdT &&value)
Definition WebACL.h:92
const Aws::Vector< Aws::String > & GetTokenDomains() const
Definition WebACL.h:445
bool AnalyticsConfigHasBeenSet() const
Definition WebACL.h:580
WebACL & WithApplicationConfig(ApplicationConfigT &&value)
Definition WebACL.h:548
WebACL & WithARN(ARNT &&value)
Definition WebACL.h:111
void SetCaptchaConfig(CaptchaConfigT &&value)
Definition WebACL.h:404
void SetRetrofittedByFirewallManager(bool value)
Definition WebACL.h:507
void SetApplicationConfig(ApplicationConfigT &&value)
Definition WebACL.h:543
const DataProtectionConfig & GetDataProtectionConfig() const
Definition WebACL.h:209
const VisibilityConfig & GetVisibilityConfig() const
Definition WebACL.h:185
void SetPostProcessFirewallManagerRuleGroups(PostProcessFirewallManagerRuleGroupsT &&value)
Definition WebACL.h:297
void SetMonetizationConfig(MonetizationConfigT &&value)
Definition WebACL.h:563
bool DescriptionHasBeenSet() const
Definition WebACL.h:141
bool TokenDomainsHasBeenSet() const
Definition WebACL.h:446
WebACL & WithAnalyticsConfig(AnalyticsConfigT &&value)
Definition WebACL.h:587
bool GetManagedByFirewallManager() const
Definition WebACL.h:323
WebACL & AddTokenDomains(TokenDomainsT &&value)
Definition WebACL.h:458
WebACL & WithTokenDomains(TokenDomainsT &&value)
Definition WebACL.h:453
void SetCapacity(long long value)
Definition WebACL.h:238
WebACL & WithDataProtectionConfig(DataProtectionConfigT &&value)
Definition WebACL.h:217
bool PostProcessFirewallManagerRuleGroupsHasBeenSet() const
Definition WebACL.h:295
bool RulesHasBeenSet() const
Definition WebACL.h:161
bool LabelNamespaceHasBeenSet() const
Definition WebACL.h:348
WebACL & WithAssociationConfig(AssociationConfigT &&value)
Definition WebACL.h:489
bool ApplicationConfigHasBeenSet() const
Definition WebACL.h:541
const Aws::String & GetId() const
Definition WebACL.h:84
void SetName(NameT &&value)
Definition WebACL.h:67
bool CapacityHasBeenSet() const
Definition WebACL.h:237
bool GetRetrofittedByFirewallManager() const
Definition WebACL.h:505
WebACL & WithDescription(DescriptionT &&value)
Definition WebACL.h:148
void SetRules(RulesT &&value)
Definition WebACL.h:163
const AnalyticsConfig & GetAnalyticsConfig() const
Definition WebACL.h:579
void SetCustomResponseBodies(CustomResponseBodiesT &&value)
Definition WebACL.h:378
bool ManagedByFirewallManagerHasBeenSet() const
Definition WebACL.h:324
const Aws::String & GetARN() const
Definition WebACL.h:103
WebACL & WithPostProcessFirewallManagerRuleGroups(PostProcessFirewallManagerRuleGroupsT &&value)
Definition WebACL.h:302
const AssociationConfig & GetAssociationConfig() const
Definition WebACL.h:481
void SetChallengeConfig(ChallengeConfigT &&value)
Definition WebACL.h:424
bool CustomResponseBodiesHasBeenSet() const
Definition WebACL.h:376
void SetDefaultAction(DefaultActionT &&value)
Definition WebACL.h:125
const ApplicationConfig & GetApplicationConfig() const
Definition WebACL.h:540
bool DataProtectionConfigHasBeenSet() const
Definition WebACL.h:210
const DefaultAction & GetDefaultAction() const
Definition WebACL.h:122
const ChallengeConfig & GetChallengeConfig() const
Definition WebACL.h:421
bool ChallengeConfigHasBeenSet() const
Definition WebACL.h:422
WebACL & WithCustomResponseBodies(CustomResponseBodiesT &&value)
Definition WebACL.h:383
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