AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WebACL.h
1
6#pragma once
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>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace WAFV2
32{
33namespace Model
34{
35
51 class WebACL
52 {
53 public:
54 AWS_WAFV2_API WebACL();
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
59
61
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline WebACL& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline WebACL& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline WebACL& WithName(const char* value) { SetName(value); return *this;}
74
76
81 inline const Aws::String& GetId() const{ return m_id; }
82 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
83 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = 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); }
86 inline WebACL& WithId(const Aws::String& value) { SetId(value); return *this;}
87 inline WebACL& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
88 inline WebACL& WithId(const char* value) { SetId(value); return *this;}
90
92
96 inline const Aws::String& GetARN() const{ return m_aRN; }
97 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
98 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = 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); }
101 inline WebACL& WithARN(const Aws::String& value) { SetARN(value); return *this;}
102 inline WebACL& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
103 inline WebACL& WithARN(const char* value) { SetARN(value); return *this;}
105
107
111 inline const DefaultAction& GetDefaultAction() const{ return m_defaultAction; }
112 inline bool DefaultActionHasBeenSet() const { return m_defaultActionHasBeenSet; }
113 inline void SetDefaultAction(const DefaultAction& value) { m_defaultActionHasBeenSet = true; m_defaultAction = value; }
114 inline void SetDefaultAction(DefaultAction&& value) { m_defaultActionHasBeenSet = true; m_defaultAction = std::move(value); }
115 inline WebACL& WithDefaultAction(const DefaultAction& value) { SetDefaultAction(value); return *this;}
116 inline WebACL& WithDefaultAction(DefaultAction&& value) { SetDefaultAction(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetDescription() const{ return m_description; }
124 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
125 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
126 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
127 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
128 inline WebACL& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
129 inline WebACL& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
130 inline WebACL& WithDescription(const char* value) { SetDescription(value); return *this;}
132
134
139 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
140 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
141 inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
142 inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
143 inline WebACL& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
144 inline WebACL& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
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; }
148
150
154 inline const VisibilityConfig& GetVisibilityConfig() const{ return m_visibilityConfig; }
155 inline bool VisibilityConfigHasBeenSet() const { return m_visibilityConfigHasBeenSet; }
156 inline void SetVisibilityConfig(const VisibilityConfig& value) { m_visibilityConfigHasBeenSet = true; m_visibilityConfig = value; }
157 inline void SetVisibilityConfig(VisibilityConfig&& value) { m_visibilityConfigHasBeenSet = true; m_visibilityConfig = std::move(value); }
158 inline WebACL& WithVisibilityConfig(const VisibilityConfig& value) { SetVisibilityConfig(value); return *this;}
159 inline WebACL& WithVisibilityConfig(VisibilityConfig&& value) { SetVisibilityConfig(std::move(value)); return *this;}
161
163
175 inline long long GetCapacity() const{ return m_capacity; }
176 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
177 inline void SetCapacity(long long value) { m_capacityHasBeenSet = true; m_capacity = value; }
178 inline WebACL& WithCapacity(long long value) { SetCapacity(value); return *this;}
180
182
192 inline const Aws::Vector<FirewallManagerRuleGroup>& GetPreProcessFirewallManagerRuleGroups() const{ return m_preProcessFirewallManagerRuleGroups; }
193 inline bool PreProcessFirewallManagerRuleGroupsHasBeenSet() const { return m_preProcessFirewallManagerRuleGroupsHasBeenSet; }
194 inline void SetPreProcessFirewallManagerRuleGroups(const Aws::Vector<FirewallManagerRuleGroup>& value) { m_preProcessFirewallManagerRuleGroupsHasBeenSet = true; m_preProcessFirewallManagerRuleGroups = value; }
195 inline void SetPreProcessFirewallManagerRuleGroups(Aws::Vector<FirewallManagerRuleGroup>&& value) { m_preProcessFirewallManagerRuleGroupsHasBeenSet = true; m_preProcessFirewallManagerRuleGroups = std::move(value); }
198 inline WebACL& AddPreProcessFirewallManagerRuleGroups(const FirewallManagerRuleGroup& value) { m_preProcessFirewallManagerRuleGroupsHasBeenSet = true; m_preProcessFirewallManagerRuleGroups.push_back(value); return *this; }
199 inline WebACL& AddPreProcessFirewallManagerRuleGroups(FirewallManagerRuleGroup&& value) { m_preProcessFirewallManagerRuleGroupsHasBeenSet = true; m_preProcessFirewallManagerRuleGroups.push_back(std::move(value)); return *this; }
201
203
213 inline const Aws::Vector<FirewallManagerRuleGroup>& GetPostProcessFirewallManagerRuleGroups() const{ return m_postProcessFirewallManagerRuleGroups; }
214 inline bool PostProcessFirewallManagerRuleGroupsHasBeenSet() const { return m_postProcessFirewallManagerRuleGroupsHasBeenSet; }
215 inline void SetPostProcessFirewallManagerRuleGroups(const Aws::Vector<FirewallManagerRuleGroup>& value) { m_postProcessFirewallManagerRuleGroupsHasBeenSet = true; m_postProcessFirewallManagerRuleGroups = value; }
216 inline void SetPostProcessFirewallManagerRuleGroups(Aws::Vector<FirewallManagerRuleGroup>&& value) { m_postProcessFirewallManagerRuleGroupsHasBeenSet = true; m_postProcessFirewallManagerRuleGroups = std::move(value); }
219 inline WebACL& AddPostProcessFirewallManagerRuleGroups(const FirewallManagerRuleGroup& value) { m_postProcessFirewallManagerRuleGroupsHasBeenSet = true; m_postProcessFirewallManagerRuleGroups.push_back(value); return *this; }
220 inline WebACL& AddPostProcessFirewallManagerRuleGroups(FirewallManagerRuleGroup&& value) { m_postProcessFirewallManagerRuleGroupsHasBeenSet = true; m_postProcessFirewallManagerRuleGroups.push_back(std::move(value)); return *this; }
222
224
232 inline bool GetManagedByFirewallManager() const{ return m_managedByFirewallManager; }
233 inline bool ManagedByFirewallManagerHasBeenSet() const { return m_managedByFirewallManagerHasBeenSet; }
234 inline void SetManagedByFirewallManager(bool value) { m_managedByFirewallManagerHasBeenSet = true; m_managedByFirewallManager = value; }
235 inline WebACL& WithManagedByFirewallManager(bool value) { SetManagedByFirewallManager(value); return *this;}
237
239
250 inline const Aws::String& GetLabelNamespace() const{ return m_labelNamespace; }
251 inline bool LabelNamespaceHasBeenSet() const { return m_labelNamespaceHasBeenSet; }
252 inline void SetLabelNamespace(const Aws::String& value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace = value; }
253 inline void SetLabelNamespace(Aws::String&& value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace = std::move(value); }
254 inline void SetLabelNamespace(const char* value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace.assign(value); }
255 inline WebACL& WithLabelNamespace(const Aws::String& value) { SetLabelNamespace(value); return *this;}
256 inline WebACL& WithLabelNamespace(Aws::String&& value) { SetLabelNamespace(std::move(value)); return *this;}
257 inline WebACL& WithLabelNamespace(const char* value) { SetLabelNamespace(value); return *this;}
259
261
274 inline const Aws::Map<Aws::String, CustomResponseBody>& GetCustomResponseBodies() const{ return m_customResponseBodies; }
275 inline bool CustomResponseBodiesHasBeenSet() const { return m_customResponseBodiesHasBeenSet; }
276 inline void SetCustomResponseBodies(const Aws::Map<Aws::String, CustomResponseBody>& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies = value; }
277 inline void SetCustomResponseBodies(Aws::Map<Aws::String, CustomResponseBody>&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies = std::move(value); }
280 inline WebACL& AddCustomResponseBodies(const Aws::String& key, const CustomResponseBody& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, value); return *this; }
281 inline WebACL& AddCustomResponseBodies(Aws::String&& key, const CustomResponseBody& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(std::move(key), value); return *this; }
282 inline WebACL& AddCustomResponseBodies(const Aws::String& key, CustomResponseBody&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, std::move(value)); return *this; }
283 inline WebACL& AddCustomResponseBodies(Aws::String&& key, CustomResponseBody&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(std::move(key), std::move(value)); return *this; }
284 inline WebACL& AddCustomResponseBodies(const char* key, CustomResponseBody&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, std::move(value)); return *this; }
285 inline WebACL& AddCustomResponseBodies(const char* key, const CustomResponseBody& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, value); return *this; }
287
289
294 inline const CaptchaConfig& GetCaptchaConfig() const{ return m_captchaConfig; }
295 inline bool CaptchaConfigHasBeenSet() const { return m_captchaConfigHasBeenSet; }
296 inline void SetCaptchaConfig(const CaptchaConfig& value) { m_captchaConfigHasBeenSet = true; m_captchaConfig = value; }
297 inline void SetCaptchaConfig(CaptchaConfig&& value) { m_captchaConfigHasBeenSet = true; m_captchaConfig = std::move(value); }
298 inline WebACL& WithCaptchaConfig(const CaptchaConfig& value) { SetCaptchaConfig(value); return *this;}
299 inline WebACL& WithCaptchaConfig(CaptchaConfig&& value) { SetCaptchaConfig(std::move(value)); return *this;}
301
303
308 inline const ChallengeConfig& GetChallengeConfig() const{ return m_challengeConfig; }
309 inline bool ChallengeConfigHasBeenSet() const { return m_challengeConfigHasBeenSet; }
310 inline void SetChallengeConfig(const ChallengeConfig& value) { m_challengeConfigHasBeenSet = true; m_challengeConfig = value; }
311 inline void SetChallengeConfig(ChallengeConfig&& value) { m_challengeConfigHasBeenSet = true; m_challengeConfig = std::move(value); }
312 inline WebACL& WithChallengeConfig(const ChallengeConfig& value) { SetChallengeConfig(value); return *this;}
313 inline WebACL& WithChallengeConfig(ChallengeConfig&& value) { SetChallengeConfig(std::move(value)); return *this;}
315
317
326 inline const Aws::Vector<Aws::String>& GetTokenDomains() const{ return m_tokenDomains; }
327 inline bool TokenDomainsHasBeenSet() const { return m_tokenDomainsHasBeenSet; }
328 inline void SetTokenDomains(const Aws::Vector<Aws::String>& value) { m_tokenDomainsHasBeenSet = true; m_tokenDomains = value; }
329 inline void SetTokenDomains(Aws::Vector<Aws::String>&& value) { m_tokenDomainsHasBeenSet = true; m_tokenDomains = std::move(value); }
330 inline WebACL& WithTokenDomains(const Aws::Vector<Aws::String>& value) { SetTokenDomains(value); return *this;}
331 inline WebACL& WithTokenDomains(Aws::Vector<Aws::String>&& value) { SetTokenDomains(std::move(value)); return *this;}
332 inline WebACL& AddTokenDomains(const Aws::String& value) { m_tokenDomainsHasBeenSet = true; m_tokenDomains.push_back(value); return *this; }
333 inline WebACL& AddTokenDomains(Aws::String&& value) { m_tokenDomainsHasBeenSet = true; m_tokenDomains.push_back(std::move(value)); return *this; }
334 inline WebACL& AddTokenDomains(const char* value) { m_tokenDomainsHasBeenSet = true; m_tokenDomains.push_back(value); return *this; }
336
338
350 inline const AssociationConfig& GetAssociationConfig() const{ return m_associationConfig; }
351 inline bool AssociationConfigHasBeenSet() const { return m_associationConfigHasBeenSet; }
352 inline void SetAssociationConfig(const AssociationConfig& value) { m_associationConfigHasBeenSet = true; m_associationConfig = value; }
353 inline void SetAssociationConfig(AssociationConfig&& value) { m_associationConfigHasBeenSet = true; m_associationConfig = std::move(value); }
354 inline WebACL& WithAssociationConfig(const AssociationConfig& value) { SetAssociationConfig(value); return *this;}
355 inline WebACL& WithAssociationConfig(AssociationConfig&& value) { SetAssociationConfig(std::move(value)); return *this;}
357
359
368 inline bool GetRetrofittedByFirewallManager() const{ return m_retrofittedByFirewallManager; }
369 inline bool RetrofittedByFirewallManagerHasBeenSet() const { return m_retrofittedByFirewallManagerHasBeenSet; }
370 inline void SetRetrofittedByFirewallManager(bool value) { m_retrofittedByFirewallManagerHasBeenSet = true; m_retrofittedByFirewallManager = value; }
373 private:
374
375 Aws::String m_name;
376 bool m_nameHasBeenSet = false;
377
378 Aws::String m_id;
379 bool m_idHasBeenSet = false;
380
381 Aws::String m_aRN;
382 bool m_aRNHasBeenSet = false;
383
384 DefaultAction m_defaultAction;
385 bool m_defaultActionHasBeenSet = false;
386
387 Aws::String m_description;
388 bool m_descriptionHasBeenSet = false;
389
390 Aws::Vector<Rule> m_rules;
391 bool m_rulesHasBeenSet = false;
392
393 VisibilityConfig m_visibilityConfig;
394 bool m_visibilityConfigHasBeenSet = false;
395
396 long long m_capacity;
397 bool m_capacityHasBeenSet = false;
398
399 Aws::Vector<FirewallManagerRuleGroup> m_preProcessFirewallManagerRuleGroups;
400 bool m_preProcessFirewallManagerRuleGroupsHasBeenSet = false;
401
402 Aws::Vector<FirewallManagerRuleGroup> m_postProcessFirewallManagerRuleGroups;
403 bool m_postProcessFirewallManagerRuleGroupsHasBeenSet = false;
404
405 bool m_managedByFirewallManager;
406 bool m_managedByFirewallManagerHasBeenSet = false;
407
408 Aws::String m_labelNamespace;
409 bool m_labelNamespaceHasBeenSet = false;
410
411 Aws::Map<Aws::String, CustomResponseBody> m_customResponseBodies;
412 bool m_customResponseBodiesHasBeenSet = false;
413
414 CaptchaConfig m_captchaConfig;
415 bool m_captchaConfigHasBeenSet = false;
416
417 ChallengeConfig m_challengeConfig;
418 bool m_challengeConfigHasBeenSet = false;
419
420 Aws::Vector<Aws::String> m_tokenDomains;
421 bool m_tokenDomainsHasBeenSet = false;
422
423 AssociationConfig m_associationConfig;
424 bool m_associationConfigHasBeenSet = false;
425
426 bool m_retrofittedByFirewallManager;
427 bool m_retrofittedByFirewallManagerHasBeenSet = false;
428 };
429
430} // namespace Model
431} // namespace WAFV2
432} // namespace Aws
bool DefaultActionHasBeenSet() const
Definition WebACL.h:112
void SetAssociationConfig(AssociationConfig &&value)
Definition WebACL.h:353
WebACL & WithPostProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
Definition WebACL.h:218
WebACL & WithTokenDomains(const Aws::Vector< Aws::String > &value)
Definition WebACL.h:330
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
Definition WebACL.h:277
void SetRules(const Aws::Vector< Rule > &value)
Definition WebACL.h:141
WebACL & WithManagedByFirewallManager(bool value)
Definition WebACL.h:235
void SetName(const Aws::String &value)
Definition WebACL.h:67
WebACL & AddTokenDomains(const Aws::String &value)
Definition WebACL.h:332
const CaptchaConfig & GetCaptchaConfig() const
Definition WebACL.h:294
bool IdHasBeenSet() const
Definition WebACL.h:82
WebACL & WithId(Aws::String &&value)
Definition WebACL.h:87
void SetVisibilityConfig(const VisibilityConfig &value)
Definition WebACL.h:156
bool CaptchaConfigHasBeenSet() const
Definition WebACL.h:295
WebACL & WithId(const Aws::String &value)
Definition WebACL.h:86
WebACL & AddTokenDomains(const char *value)
Definition WebACL.h:334
bool AssociationConfigHasBeenSet() const
Definition WebACL.h:351
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
Definition WebACL.h:274
void SetDefaultAction(DefaultAction &&value)
Definition WebACL.h:114
AWS_WAFV2_API WebACL(Aws::Utils::Json::JsonView jsonValue)
void SetARN(const Aws::String &value)
Definition WebACL.h:98
void SetPreProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
Definition WebACL.h:194
bool NameHasBeenSet() const
Definition WebACL.h:66
bool VisibilityConfigHasBeenSet() const
Definition WebACL.h:155
void SetName(const char *value)
Definition WebACL.h:69
const Aws::String & GetName() const
Definition WebACL.h:65
bool ARNHasBeenSet() const
Definition WebACL.h:97
WebACL & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
Definition WebACL.h:279
WebACL & WithLabelNamespace(const Aws::String &value)
Definition WebACL.h:255
WebACL & AddTokenDomains(Aws::String &&value)
Definition WebACL.h:333
const Aws::Vector< Rule > & GetRules() const
Definition WebACL.h:139
WebACL & AddPreProcessFirewallManagerRuleGroups(FirewallManagerRuleGroup &&value)
Definition WebACL.h:199
WebACL & WithDescription(const char *value)
Definition WebACL.h:130
void SetTokenDomains(Aws::Vector< Aws::String > &&value)
Definition WebACL.h:329
const Aws::String & GetLabelNamespace() const
Definition WebACL.h:250
WebACL & WithChallengeConfig(const ChallengeConfig &value)
Definition WebACL.h:312
void SetARN(Aws::String &&value)
Definition WebACL.h:99
const Aws::Vector< FirewallManagerRuleGroup > & GetPostProcessFirewallManagerRuleGroups() const
Definition WebACL.h:213
bool PreProcessFirewallManagerRuleGroupsHasBeenSet() const
Definition WebACL.h:193
void SetId(const Aws::String &value)
Definition WebACL.h:83
WebACL & WithName(Aws::String &&value)
Definition WebACL.h:71
void SetChallengeConfig(ChallengeConfig &&value)
Definition WebACL.h:311
AWS_WAFV2_API WebACL & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedByFirewallManager(bool value)
Definition WebACL.h:234
const Aws::Vector< FirewallManagerRuleGroup > & GetPreProcessFirewallManagerRuleGroups() const
Definition WebACL.h:192
const Aws::String & GetDescription() const
Definition WebACL.h:123
long long GetCapacity() const
Definition WebACL.h:175
WebACL & WithAssociationConfig(AssociationConfig &&value)
Definition WebACL.h:355
bool RetrofittedByFirewallManagerHasBeenSet() const
Definition WebACL.h:369
WebACL & WithRules(const Aws::Vector< Rule > &value)
Definition WebACL.h:143
void SetName(Aws::String &&value)
Definition WebACL.h:68
void SetDescription(const char *value)
Definition WebACL.h:127
WebACL & WithChallengeConfig(ChallengeConfig &&value)
Definition WebACL.h:313
void SetDescription(Aws::String &&value)
Definition WebACL.h:126
WebACL & WithPreProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
Definition WebACL.h:196
WebACL & WithARN(const Aws::String &value)
Definition WebACL.h:101
WebACL & WithDefaultAction(const DefaultAction &value)
Definition WebACL.h:115
void SetId(const char *value)
Definition WebACL.h:85
WebACL & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
Definition WebACL.h:284
void SetDescription(const Aws::String &value)
Definition WebACL.h:125
void SetPreProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
Definition WebACL.h:195
void SetAssociationConfig(const AssociationConfig &value)
Definition WebACL.h:352
WebACL & WithCapacity(long long value)
Definition WebACL.h:178
WebACL & WithName(const char *value)
Definition WebACL.h:72
WebACL & WithVisibilityConfig(VisibilityConfig &&value)
Definition WebACL.h:159
WebACL & WithARN(Aws::String &&value)
Definition WebACL.h:102
WebACL & WithRetrofittedByFirewallManager(bool value)
Definition WebACL.h:371
void SetPostProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
Definition WebACL.h:215
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultAction(const DefaultAction &value)
Definition WebACL.h:113
const Aws::Vector< Aws::String > & GetTokenDomains() const
Definition WebACL.h:326
WebACL & WithPreProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
Definition WebACL.h:197
WebACL & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
Definition WebACL.h:285
void SetRetrofittedByFirewallManager(bool value)
Definition WebACL.h:370
WebACL & WithLabelNamespace(Aws::String &&value)
Definition WebACL.h:256
WebACL & WithCaptchaConfig(const CaptchaConfig &value)
Definition WebACL.h:298
const VisibilityConfig & GetVisibilityConfig() const
Definition WebACL.h:154
WebACL & WithName(const Aws::String &value)
Definition WebACL.h:70
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
Definition WebACL.h:276
bool DescriptionHasBeenSet() const
Definition WebACL.h:124
WebACL & WithCaptchaConfig(CaptchaConfig &&value)
Definition WebACL.h:299
bool TokenDomainsHasBeenSet() const
Definition WebACL.h:327
bool GetManagedByFirewallManager() const
Definition WebACL.h:232
void SetCaptchaConfig(const CaptchaConfig &value)
Definition WebACL.h:296
void SetCapacity(long long value)
Definition WebACL.h:177
void SetId(Aws::String &&value)
Definition WebACL.h:84
void SetVisibilityConfig(VisibilityConfig &&value)
Definition WebACL.h:157
WebACL & WithRules(Aws::Vector< Rule > &&value)
Definition WebACL.h:144
WebACL & WithLabelNamespace(const char *value)
Definition WebACL.h:257
WebACL & AddRules(Rule &&value)
Definition WebACL.h:146
bool PostProcessFirewallManagerRuleGroupsHasBeenSet() const
Definition WebACL.h:214
AWS_WAFV2_API WebACL()
bool RulesHasBeenSet() const
Definition WebACL.h:140
void SetLabelNamespace(const Aws::String &value)
Definition WebACL.h:252
void SetLabelNamespace(Aws::String &&value)
Definition WebACL.h:253
bool LabelNamespaceHasBeenSet() const
Definition WebACL.h:251
WebACL & WithDescription(Aws::String &&value)
Definition WebACL.h:129
WebACL & WithDescription(const Aws::String &value)
Definition WebACL.h:128
void SetTokenDomains(const Aws::Vector< Aws::String > &value)
Definition WebACL.h:328
const Aws::String & GetId() const
Definition WebACL.h:81
WebACL & AddRules(const Rule &value)
Definition WebACL.h:145
void SetRules(Aws::Vector< Rule > &&value)
Definition WebACL.h:142
void SetLabelNamespace(const char *value)
Definition WebACL.h:254
bool CapacityHasBeenSet() const
Definition WebACL.h:176
WebACL & WithPostProcessFirewallManagerRuleGroups(const Aws::Vector< FirewallManagerRuleGroup > &value)
Definition WebACL.h:217
WebACL & WithDefaultAction(DefaultAction &&value)
Definition WebACL.h:116
bool GetRetrofittedByFirewallManager() const
Definition WebACL.h:368
WebACL & WithId(const char *value)
Definition WebACL.h:88
WebACL & AddPostProcessFirewallManagerRuleGroups(FirewallManagerRuleGroup &&value)
Definition WebACL.h:220
bool ManagedByFirewallManagerHasBeenSet() const
Definition WebACL.h:233
const Aws::String & GetARN() const
Definition WebACL.h:96
WebACL & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
Definition WebACL.h:283
WebACL & AddPostProcessFirewallManagerRuleGroups(const FirewallManagerRuleGroup &value)
Definition WebACL.h:219
WebACL & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
Definition WebACL.h:278
WebACL & WithARN(const char *value)
Definition WebACL.h:103
WebACL & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
Definition WebACL.h:282
WebACL & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
Definition WebACL.h:281
const AssociationConfig & GetAssociationConfig() const
Definition WebACL.h:350
void SetARN(const char *value)
Definition WebACL.h:100
void SetChallengeConfig(const ChallengeConfig &value)
Definition WebACL.h:310
void SetPostProcessFirewallManagerRuleGroups(Aws::Vector< FirewallManagerRuleGroup > &&value)
Definition WebACL.h:216
bool CustomResponseBodiesHasBeenSet() const
Definition WebACL.h:275
WebACL & WithVisibilityConfig(const VisibilityConfig &value)
Definition WebACL.h:158
WebACL & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
Definition WebACL.h:280
const DefaultAction & GetDefaultAction() const
Definition WebACL.h:111
WebACL & WithAssociationConfig(const AssociationConfig &value)
Definition WebACL.h:354
const ChallengeConfig & GetChallengeConfig() const
Definition WebACL.h:308
WebACL & WithTokenDomains(Aws::Vector< Aws::String > &&value)
Definition WebACL.h:331
void SetCaptchaConfig(CaptchaConfig &&value)
Definition WebACL.h:297
WebACL & AddPreProcessFirewallManagerRuleGroups(const FirewallManagerRuleGroup &value)
Definition WebACL.h:198
bool ChallengeConfigHasBeenSet() const
Definition WebACL.h:309
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