AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedRuleSetSummary.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_WAFV2_API ManagedRuleSetSummary();
45 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline ManagedRuleSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline ManagedRuleSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline ManagedRuleSetSummary& WithName(const char* value) { SetName(value); return *this;}
63
65
70 inline const Aws::String& GetId() const{ return m_id; }
71 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
72 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
73 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
74 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
75 inline ManagedRuleSetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
76 inline ManagedRuleSetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 inline ManagedRuleSetSummary& WithId(const char* value) { SetId(value); return *this;}
79
81
84 inline const Aws::String& GetDescription() const{ return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
89 inline ManagedRuleSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline ManagedRuleSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline ManagedRuleSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
105 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
106 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
107 inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
108 inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
109 inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
110 inline ManagedRuleSetSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
111 inline ManagedRuleSetSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
112 inline ManagedRuleSetSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
114
116
119 inline const Aws::String& GetARN() const{ return m_aRN; }
120 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
121 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
122 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
123 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
124 inline ManagedRuleSetSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
125 inline ManagedRuleSetSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
126 inline ManagedRuleSetSummary& WithARN(const char* value) { SetARN(value); return *this;}
128
130
142 inline const Aws::String& GetLabelNamespace() const{ return m_labelNamespace; }
143 inline bool LabelNamespaceHasBeenSet() const { return m_labelNamespaceHasBeenSet; }
144 inline void SetLabelNamespace(const Aws::String& value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace = value; }
145 inline void SetLabelNamespace(Aws::String&& value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace = std::move(value); }
146 inline void SetLabelNamespace(const char* value) { m_labelNamespaceHasBeenSet = true; m_labelNamespace.assign(value); }
147 inline ManagedRuleSetSummary& WithLabelNamespace(const Aws::String& value) { SetLabelNamespace(value); return *this;}
148 inline ManagedRuleSetSummary& WithLabelNamespace(Aws::String&& value) { SetLabelNamespace(std::move(value)); return *this;}
149 inline ManagedRuleSetSummary& WithLabelNamespace(const char* value) { SetLabelNamespace(value); return *this;}
151 private:
152
153 Aws::String m_name;
154 bool m_nameHasBeenSet = false;
155
156 Aws::String m_id;
157 bool m_idHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_lockToken;
163 bool m_lockTokenHasBeenSet = false;
164
165 Aws::String m_aRN;
166 bool m_aRNHasBeenSet = false;
167
168 Aws::String m_labelNamespace;
169 bool m_labelNamespaceHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace WAFV2
174} // namespace Aws
ManagedRuleSetSummary & WithLockToken(const Aws::String &value)
ManagedRuleSetSummary & WithId(Aws::String &&value)
ManagedRuleSetSummary & WithLockToken(const char *value)
AWS_WAFV2_API ManagedRuleSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleSetSummary & WithLabelNamespace(const char *value)
ManagedRuleSetSummary & WithARN(Aws::String &&value)
AWS_WAFV2_API ManagedRuleSetSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleSetSummary & WithLabelNamespace(const Aws::String &value)
void SetDescription(const Aws::String &value)
ManagedRuleSetSummary & WithName(const char *value)
ManagedRuleSetSummary & WithARN(const Aws::String &value)
ManagedRuleSetSummary & WithLockToken(Aws::String &&value)
void SetLabelNamespace(const Aws::String &value)
ManagedRuleSetSummary & WithDescription(const Aws::String &value)
void SetLockToken(const Aws::String &value)
ManagedRuleSetSummary & WithName(const Aws::String &value)
ManagedRuleSetSummary & WithLabelNamespace(Aws::String &&value)
ManagedRuleSetSummary & WithId(const char *value)
ManagedRuleSetSummary & WithDescription(const char *value)
ManagedRuleSetSummary & WithId(const Aws::String &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedRuleSetSummary & WithName(Aws::String &&value)
ManagedRuleSetSummary & WithARN(const char *value)
ManagedRuleSetSummary & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue