AWS SDK for C++  1.9.108
AWS SDK for C++
RuleGroup.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <aws/wafv2/model/Rule.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace WAFV2
28 {
29 namespace Model
30 {
31 
42  {
43  public:
48 
49 
54  inline const Aws::String& GetName() const{ return m_name; }
55 
60  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 
66  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 
72  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 
78  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 
84  inline RuleGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
85 
90  inline RuleGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 
96  inline RuleGroup& WithName(const char* value) { SetName(value); return *this;}
97 
98 
104  inline const Aws::String& GetId() const{ return m_id; }
105 
111  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
112 
118  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
119 
125  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
126 
132  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
133 
139  inline RuleGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
140 
146  inline RuleGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
147 
153  inline RuleGroup& WithId(const char* value) { SetId(value); return *this;}
154 
155 
169  inline long long GetCapacity() const{ return m_capacity; }
170 
184  inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
185 
199  inline void SetCapacity(long long value) { m_capacityHasBeenSet = true; m_capacity = value; }
200 
214  inline RuleGroup& WithCapacity(long long value) { SetCapacity(value); return *this;}
215 
216 
220  inline const Aws::String& GetARN() const{ return m_aRN; }
221 
225  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
226 
230  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
231 
235  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
236 
240  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
241 
245  inline RuleGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;}
246 
250  inline RuleGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
251 
255  inline RuleGroup& WithARN(const char* value) { SetARN(value); return *this;}
256 
257 
261  inline const Aws::String& GetDescription() const{ return m_description; }
262 
266  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
267 
271  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
272 
276  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
277 
281  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
282 
286  inline RuleGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
287 
291  inline RuleGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
292 
296  inline RuleGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
297 
298 
305  inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
306 
313  inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
314 
321  inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
322 
329  inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
330 
337  inline RuleGroup& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
338 
345  inline RuleGroup& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
346 
353  inline RuleGroup& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
354 
361  inline RuleGroup& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
362 
363 
368  inline const VisibilityConfig& GetVisibilityConfig() const{ return m_visibilityConfig; }
369 
374  inline bool VisibilityConfigHasBeenSet() const { return m_visibilityConfigHasBeenSet; }
375 
380  inline void SetVisibilityConfig(const VisibilityConfig& value) { m_visibilityConfigHasBeenSet = true; m_visibilityConfig = value; }
381 
386  inline void SetVisibilityConfig(VisibilityConfig&& value) { m_visibilityConfigHasBeenSet = true; m_visibilityConfig = std::move(value); }
387 
392  inline RuleGroup& WithVisibilityConfig(const VisibilityConfig& value) { SetVisibilityConfig(value); return *this;}
393 
398  inline RuleGroup& WithVisibilityConfig(VisibilityConfig&& value) { SetVisibilityConfig(std::move(value)); return *this;}
399 
400 
412  inline const Aws::String& GetLabelNamespace() const{ return m_labelNamespace; }
413 
425  inline bool LabelNamespaceHasBeenSet() const { return m_labelNamespaceHasBeenSet; }
426 
438  inline void SetLabelNamespace(const Aws::String& value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace = value; }
439 
451  inline void SetLabelNamespace(Aws::String&& value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace = std::move(value); }
452 
464  inline void SetLabelNamespace(const char* value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace.assign(value); }
465 
477  inline RuleGroup& WithLabelNamespace(const Aws::String& value) { SetLabelNamespace(value); return *this;}
478 
490  inline RuleGroup& WithLabelNamespace(Aws::String&& value) { SetLabelNamespace(std::move(value)); return *this;}
491 
503  inline RuleGroup& WithLabelNamespace(const char* value) { SetLabelNamespace(value); return *this;}
504 
505 
522  inline const Aws::Map<Aws::String, CustomResponseBody>& GetCustomResponseBodies() const{ return m_customResponseBodies; }
523 
540  inline bool CustomResponseBodiesHasBeenSet() const { return m_customResponseBodiesHasBeenSet; }
541 
558  inline void SetCustomResponseBodies(const Aws::Map<Aws::String, CustomResponseBody>& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies = value; }
559 
576  inline void SetCustomResponseBodies(Aws::Map<Aws::String, CustomResponseBody>&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies = std::move(value); }
577 
594  inline RuleGroup& WithCustomResponseBodies(const Aws::Map<Aws::String, CustomResponseBody>& value) { SetCustomResponseBodies(value); return *this;}
595 
612  inline RuleGroup& WithCustomResponseBodies(Aws::Map<Aws::String, CustomResponseBody>&& value) { SetCustomResponseBodies(std::move(value)); return *this;}
613 
630  inline RuleGroup& AddCustomResponseBodies(const Aws::String& key, const CustomResponseBody& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, value); return *this; }
631 
648  inline RuleGroup& AddCustomResponseBodies(Aws::String&& key, const CustomResponseBody& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(std::move(key), value); return *this; }
649 
666  inline RuleGroup& AddCustomResponseBodies(const Aws::String& key, CustomResponseBody&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, std::move(value)); return *this; }
667 
684  inline RuleGroup& AddCustomResponseBodies(Aws::String&& key, CustomResponseBody&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(std::move(key), std::move(value)); return *this; }
685 
702  inline RuleGroup& AddCustomResponseBodies(const char* key, CustomResponseBody&& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, std::move(value)); return *this; }
703 
720  inline RuleGroup& AddCustomResponseBodies(const char* key, const CustomResponseBody& value) { m_customResponseBodiesHasBeenSet = true; m_customResponseBodies.emplace(key, value); return *this; }
721 
722 
728  inline const Aws::Vector<LabelSummary>& GetAvailableLabels() const{ return m_availableLabels; }
729 
735  inline bool AvailableLabelsHasBeenSet() const { return m_availableLabelsHasBeenSet; }
736 
742  inline void SetAvailableLabels(const Aws::Vector<LabelSummary>& value) { m_availableLabelsHasBeenSet = true; m_availableLabels = value; }
743 
749  inline void SetAvailableLabels(Aws::Vector<LabelSummary>&& value) { m_availableLabelsHasBeenSet = true; m_availableLabels = std::move(value); }
750 
756  inline RuleGroup& WithAvailableLabels(const Aws::Vector<LabelSummary>& value) { SetAvailableLabels(value); return *this;}
757 
763  inline RuleGroup& WithAvailableLabels(Aws::Vector<LabelSummary>&& value) { SetAvailableLabels(std::move(value)); return *this;}
764 
770  inline RuleGroup& AddAvailableLabels(const LabelSummary& value) { m_availableLabelsHasBeenSet = true; m_availableLabels.push_back(value); return *this; }
771 
777  inline RuleGroup& AddAvailableLabels(LabelSummary&& value) { m_availableLabelsHasBeenSet = true; m_availableLabels.push_back(std::move(value)); return *this; }
778 
779 
785  inline const Aws::Vector<LabelSummary>& GetConsumedLabels() const{ return m_consumedLabels; }
786 
792  inline bool ConsumedLabelsHasBeenSet() const { return m_consumedLabelsHasBeenSet; }
793 
799  inline void SetConsumedLabels(const Aws::Vector<LabelSummary>& value) { m_consumedLabelsHasBeenSet = true; m_consumedLabels = value; }
800 
806  inline void SetConsumedLabels(Aws::Vector<LabelSummary>&& value) { m_consumedLabelsHasBeenSet = true; m_consumedLabels = std::move(value); }
807 
813  inline RuleGroup& WithConsumedLabels(const Aws::Vector<LabelSummary>& value) { SetConsumedLabels(value); return *this;}
814 
820  inline RuleGroup& WithConsumedLabels(Aws::Vector<LabelSummary>&& value) { SetConsumedLabels(std::move(value)); return *this;}
821 
827  inline RuleGroup& AddConsumedLabels(const LabelSummary& value) { m_consumedLabelsHasBeenSet = true; m_consumedLabels.push_back(value); return *this; }
828 
834  inline RuleGroup& AddConsumedLabels(LabelSummary&& value) { m_consumedLabelsHasBeenSet = true; m_consumedLabels.push_back(std::move(value)); return *this; }
835 
836  private:
837 
838  Aws::String m_name;
839  bool m_nameHasBeenSet;
840 
841  Aws::String m_id;
842  bool m_idHasBeenSet;
843 
844  long long m_capacity;
845  bool m_capacityHasBeenSet;
846 
847  Aws::String m_aRN;
848  bool m_aRNHasBeenSet;
849 
850  Aws::String m_description;
851  bool m_descriptionHasBeenSet;
852 
853  Aws::Vector<Rule> m_rules;
854  bool m_rulesHasBeenSet;
855 
856  VisibilityConfig m_visibilityConfig;
857  bool m_visibilityConfigHasBeenSet;
858 
859  Aws::String m_labelNamespace;
860  bool m_labelNamespaceHasBeenSet;
861 
862  Aws::Map<Aws::String, CustomResponseBody> m_customResponseBodies;
863  bool m_customResponseBodiesHasBeenSet;
864 
865  Aws::Vector<LabelSummary> m_availableLabels;
866  bool m_availableLabelsHasBeenSet;
867 
868  Aws::Vector<LabelSummary> m_consumedLabels;
869  bool m_consumedLabelsHasBeenSet;
870  };
871 
872 } // namespace Model
873 } // namespace WAFV2
874 } // namespace Aws
Aws::WAFV2::Model::Rule
Definition: Rule.h:42
Aws::WAFV2::Model::RuleGroup::AddCustomResponseBodies
RuleGroup & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
Definition: RuleGroup.h:720
Aws::WAFV2::Model::RuleGroup::SetName
void SetName(const Aws::String &value)
Definition: RuleGroup.h:66
Aws::WAFV2::Model::RuleGroup::SetLabelNamespace
void SetLabelNamespace(const Aws::String &value)
Definition: RuleGroup.h:438
Aws::WAFV2::Model::RuleGroup::LabelNamespaceHasBeenSet
bool LabelNamespaceHasBeenSet() const
Definition: RuleGroup.h:425
Aws::WAFV2::Model::RuleGroup::WithConsumedLabels
RuleGroup & WithConsumedLabels(const Aws::Vector< LabelSummary > &value)
Definition: RuleGroup.h:813
Aws::WAFV2::Model::RuleGroup::SetARN
void SetARN(const Aws::String &value)
Definition: RuleGroup.h:230
Aws::WAFV2::Model::RuleGroup::CustomResponseBodiesHasBeenSet
bool CustomResponseBodiesHasBeenSet() const
Definition: RuleGroup.h:540
Aws::WAFV2::Model::RuleGroup::SetAvailableLabels
void SetAvailableLabels(const Aws::Vector< LabelSummary > &value)
Definition: RuleGroup.h:742
Aws::WAFV2::Model::RuleGroup::AddAvailableLabels
RuleGroup & AddAvailableLabels(const LabelSummary &value)
Definition: RuleGroup.h:770
Aws::WAFV2::Model::RuleGroup::GetLabelNamespace
const Aws::String & GetLabelNamespace() const
Definition: RuleGroup.h:412
Aws::WAFV2::Model::RuleGroup::WithARN
RuleGroup & WithARN(const char *value)
Definition: RuleGroup.h:255
Aws::WAFV2::Model::RuleGroup::SetRules
void SetRules(const Aws::Vector< Rule > &value)
Definition: RuleGroup.h:321
Aws::WAFV2::Model::RuleGroup::WithId
RuleGroup & WithId(const char *value)
Definition: RuleGroup.h:153
Aws::WAFV2::Model::RuleGroup::IdHasBeenSet
bool IdHasBeenSet() const
Definition: RuleGroup.h:111
Aws::WAFV2::Model::RuleGroup::WithCapacity
RuleGroup & WithCapacity(long long value)
Definition: RuleGroup.h:214
Aws::WAFV2::Model::RuleGroup::SetLabelNamespace
void SetLabelNamespace(const char *value)
Definition: RuleGroup.h:464
Aws::WAFV2::Model::RuleGroup::GetVisibilityConfig
const VisibilityConfig & GetVisibilityConfig() const
Definition: RuleGroup.h:368
Aws::WAFV2::Model::RuleGroup::WithCustomResponseBodies
RuleGroup & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
Definition: RuleGroup.h:612
Aws::WAFV2::Model::RuleGroup
Definition: RuleGroup.h:42
Aws::WAFV2::Model::RuleGroup::SetCustomResponseBodies
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
Definition: RuleGroup.h:576
Aws::WAFV2::Model::RuleGroup::GetName
const Aws::String & GetName() const
Definition: RuleGroup.h:54
LabelSummary.h
Aws::WAFV2::Model::RuleGroup::AddCustomResponseBodies
RuleGroup & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
Definition: RuleGroup.h:666
Aws::WAFV2::Model::RuleGroup::AddConsumedLabels
RuleGroup & AddConsumedLabels(LabelSummary &&value)
Definition: RuleGroup.h:834
Aws::WAFV2::Model::RuleGroup::NameHasBeenSet
bool NameHasBeenSet() const
Definition: RuleGroup.h:60
Aws::WAFV2::Model::RuleGroup::SetConsumedLabels
void SetConsumedLabels(const Aws::Vector< LabelSummary > &value)
Definition: RuleGroup.h:799
Aws::WAFV2::Model::RuleGroup::WithName
RuleGroup & WithName(Aws::String &&value)
Definition: RuleGroup.h:90
Aws::WAFV2::Model::VisibilityConfig
Definition: VisibilityConfig.h:33
Aws::WAFV2::Model::RuleGroup::WithLabelNamespace
RuleGroup & WithLabelNamespace(const Aws::String &value)
Definition: RuleGroup.h:477
Aws::WAFV2::Model::RuleGroup::SetRules
void SetRules(Aws::Vector< Rule > &&value)
Definition: RuleGroup.h:329
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WAFV2::Model::RuleGroup::GetCapacity
long long GetCapacity() const
Definition: RuleGroup.h:169
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::RuleGroup::WithLabelNamespace
RuleGroup & WithLabelNamespace(const char *value)
Definition: RuleGroup.h:503
AWSVector.h
Aws::WAFV2::Model::RuleGroup::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: RuleGroup.h:225
Aws::WAFV2::Model::RuleGroup::RulesHasBeenSet
bool RulesHasBeenSet() const
Definition: RuleGroup.h:313
Aws::WAFV2::Model::RuleGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
CustomResponseBody.h
Aws::WAFV2::Model::RuleGroup::WithDescription
RuleGroup & WithDescription(const Aws::String &value)
Definition: RuleGroup.h:286
Rule.h
Aws::WAFV2::Model::RuleGroup::SetDescription
void SetDescription(const char *value)
Definition: RuleGroup.h:281
WAFV2_EXPORTS.h
Aws::WAFV2::Model::RuleGroup::WithRules
RuleGroup & WithRules(Aws::Vector< Rule > &&value)
Definition: RuleGroup.h:345
Aws::WAFV2::Model::RuleGroup::WithName
RuleGroup & WithName(const char *value)
Definition: RuleGroup.h:96
Aws::WAFV2::Model::RuleGroup::SetId
void SetId(const Aws::String &value)
Definition: RuleGroup.h:118
Aws::WAFV2::Model::RuleGroup::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: RuleGroup.h:266
Aws::WAFV2::Model::RuleGroup::WithVisibilityConfig
RuleGroup & WithVisibilityConfig(VisibilityConfig &&value)
Definition: RuleGroup.h:398
Aws::WAFV2::Model::RuleGroup::WithCustomResponseBodies
RuleGroup & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
Definition: RuleGroup.h:594
Aws::WAFV2::Model::RuleGroup::RuleGroup
RuleGroup()
Aws::WAFV2::Model::RuleGroup::RuleGroup
RuleGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::RuleGroup::SetVisibilityConfig
void SetVisibilityConfig(VisibilityConfig &&value)
Definition: RuleGroup.h:386
Aws::WAFV2::Model::RuleGroup::AddCustomResponseBodies
RuleGroup & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
Definition: RuleGroup.h:702
Aws::WAFV2::Model::RuleGroup::WithRules
RuleGroup & WithRules(const Aws::Vector< Rule > &value)
Definition: RuleGroup.h:337
Aws::WAFV2::Model::RuleGroup::WithDescription
RuleGroup & WithDescription(Aws::String &&value)
Definition: RuleGroup.h:291
Aws::WAFV2::Model::CustomResponseBody
Definition: CustomResponseBody.h:35
Aws::WAFV2::Model::RuleGroup::WithConsumedLabels
RuleGroup & WithConsumedLabels(Aws::Vector< LabelSummary > &&value)
Definition: RuleGroup.h:820
Aws::WAFV2::Model::RuleGroup::GetRules
const Aws::Vector< Rule > & GetRules() const
Definition: RuleGroup.h:305
Aws::WAFV2::Model::RuleGroup::SetVisibilityConfig
void SetVisibilityConfig(const VisibilityConfig &value)
Definition: RuleGroup.h:380
Aws::WAFV2::Model::RuleGroup::SetARN
void SetARN(const char *value)
Definition: RuleGroup.h:240
Aws::WAFV2::Model::RuleGroup::GetConsumedLabels
const Aws::Vector< LabelSummary > & GetConsumedLabels() const
Definition: RuleGroup.h:785
Aws::WAFV2::Model::RuleGroup::WithId
RuleGroup & WithId(const Aws::String &value)
Definition: RuleGroup.h:139
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::WAFV2::Model::RuleGroup::WithDescription
RuleGroup & WithDescription(const char *value)
Definition: RuleGroup.h:296
Aws::WAFV2::Model::RuleGroup::SetId
void SetId(Aws::String &&value)
Definition: RuleGroup.h:125
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::RuleGroup::SetDescription
void SetDescription(Aws::String &&value)
Definition: RuleGroup.h:276
Aws::WAFV2::Model::RuleGroup::AddCustomResponseBodies
RuleGroup & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
Definition: RuleGroup.h:648
Aws::WAFV2::Model::LabelSummary
Definition: LabelSummary.h:39
Aws::WAFV2::Model::RuleGroup::AddRules
RuleGroup & AddRules(Rule &&value)
Definition: RuleGroup.h:361
Aws::WAFV2::Model::RuleGroup::GetAvailableLabels
const Aws::Vector< LabelSummary > & GetAvailableLabels() const
Definition: RuleGroup.h:728
Aws::WAFV2::Model::RuleGroup::WithAvailableLabels
RuleGroup & WithAvailableLabels(const Aws::Vector< LabelSummary > &value)
Definition: RuleGroup.h:756
Aws::WAFV2::Model::RuleGroup::GetId
const Aws::String & GetId() const
Definition: RuleGroup.h:104
Aws::WAFV2::Model::RuleGroup::SetARN
void SetARN(Aws::String &&value)
Definition: RuleGroup.h:235
Aws::WAFV2::Model::RuleGroup::ConsumedLabelsHasBeenSet
bool ConsumedLabelsHasBeenSet() const
Definition: RuleGroup.h:792
Aws::WAFV2::Model::RuleGroup::SetName
void SetName(const char *value)
Definition: RuleGroup.h:78
Aws::WAFV2::Model::RuleGroup::WithARN
RuleGroup & WithARN(Aws::String &&value)
Definition: RuleGroup.h:250
Aws::WAFV2::Model::RuleGroup::WithAvailableLabels
RuleGroup & WithAvailableLabels(Aws::Vector< LabelSummary > &&value)
Definition: RuleGroup.h:763
Aws::WAFV2::Model::RuleGroup::VisibilityConfigHasBeenSet
bool VisibilityConfigHasBeenSet() const
Definition: RuleGroup.h:374
Aws::WAFV2::Model::RuleGroup::WithId
RuleGroup & WithId(Aws::String &&value)
Definition: RuleGroup.h:146
Aws::WAFV2::Model::RuleGroup::GetARN
const Aws::String & GetARN() const
Definition: RuleGroup.h:220
Aws::WAFV2::Model::RuleGroup::SetName
void SetName(Aws::String &&value)
Definition: RuleGroup.h:72
Aws::WAFV2::Model::RuleGroup::SetId
void SetId(const char *value)
Definition: RuleGroup.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::RuleGroup::operator=
RuleGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::RuleGroup::SetConsumedLabels
void SetConsumedLabels(Aws::Vector< LabelSummary > &&value)
Definition: RuleGroup.h:806
Aws::WAFV2::Model::RuleGroup::AddCustomResponseBodies
RuleGroup & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
Definition: RuleGroup.h:684
Aws::WAFV2::Model::RuleGroup::CapacityHasBeenSet
bool CapacityHasBeenSet() const
Definition: RuleGroup.h:184
Aws::WAFV2::Model::RuleGroup::GetCustomResponseBodies
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
Definition: RuleGroup.h:522
Aws::WAFV2::Model::RuleGroup::AddAvailableLabels
RuleGroup & AddAvailableLabels(LabelSummary &&value)
Definition: RuleGroup.h:777
Aws::WAFV2::Model::RuleGroup::WithName
RuleGroup & WithName(const Aws::String &value)
Definition: RuleGroup.h:84
Aws::WAFV2::Model::RuleGroup::AvailableLabelsHasBeenSet
bool AvailableLabelsHasBeenSet() const
Definition: RuleGroup.h:735
Aws::WAFV2::Model::RuleGroup::SetLabelNamespace
void SetLabelNamespace(Aws::String &&value)
Definition: RuleGroup.h:451
VisibilityConfig.h
Aws::WAFV2::Model::RuleGroup::AddCustomResponseBodies
RuleGroup & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
Definition: RuleGroup.h:630
Aws::WAFV2::Model::RuleGroup::GetDescription
const Aws::String & GetDescription() const
Definition: RuleGroup.h:261
AWSMap.h
Aws::WAFV2::Model::RuleGroup::AddRules
RuleGroup & AddRules(const Rule &value)
Definition: RuleGroup.h:353
Aws::WAFV2::Model::RuleGroup::SetDescription
void SetDescription(const Aws::String &value)
Definition: RuleGroup.h:271
Aws::WAFV2::Model::RuleGroup::SetAvailableLabels
void SetAvailableLabels(Aws::Vector< LabelSummary > &&value)
Definition: RuleGroup.h:749
Aws::WAFV2::Model::RuleGroup::WithLabelNamespace
RuleGroup & WithLabelNamespace(Aws::String &&value)
Definition: RuleGroup.h:490
Aws::WAFV2::Model::RuleGroup::AddConsumedLabels
RuleGroup & AddConsumedLabels(const LabelSummary &value)
Definition: RuleGroup.h:827
Aws::WAFV2::Model::RuleGroup::SetCapacity
void SetCapacity(long long value)
Definition: RuleGroup.h:199
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::WAFV2::Model::RuleGroup::WithARN
RuleGroup & WithARN(const Aws::String &value)
Definition: RuleGroup.h:245
Aws::WAFV2::Model::RuleGroup::SetCustomResponseBodies
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
Definition: RuleGroup.h:558
Aws::WAFV2::Model::RuleGroup::WithVisibilityConfig
RuleGroup & WithVisibilityConfig(const VisibilityConfig &value)
Definition: RuleGroup.h:392