AWS SDK for C++  1.9.104
AWS SDK for C++
WebACLSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WAFV2
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
53  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 
59  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 
65  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 
71  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 
77  inline WebACLSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
78 
83  inline WebACLSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 
89  inline WebACLSummary& WithName(const char* value) { SetName(value); return *this;}
90 
91 
97  inline const Aws::String& GetId() const{ return m_id; }
98 
104  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
105 
111  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
112 
118  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
119 
125  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
126 
132  inline WebACLSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
133 
139  inline WebACLSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
140 
146  inline WebACLSummary& WithId(const char* value) { SetId(value); return *this;}
147 
148 
152  inline const Aws::String& GetDescription() const{ return m_description; }
153 
157  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
158 
162  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
163 
167  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
168 
172  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
173 
177  inline WebACLSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
178 
182  inline WebACLSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
183 
187  inline WebACLSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
188 
189 
200  inline const Aws::String& GetLockToken() const{ return m_lockToken; }
201 
212  inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
213 
224  inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
225 
236  inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
237 
248  inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
249 
260  inline WebACLSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
261 
272  inline WebACLSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
273 
284  inline WebACLSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
285 
286 
290  inline const Aws::String& GetARN() const{ return m_aRN; }
291 
295  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
296 
300  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
301 
305  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
306 
310  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
311 
315  inline WebACLSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
316 
320  inline WebACLSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
321 
325  inline WebACLSummary& WithARN(const char* value) { SetARN(value); return *this;}
326 
327  private:
328 
329  Aws::String m_name;
330  bool m_nameHasBeenSet;
331 
332  Aws::String m_id;
333  bool m_idHasBeenSet;
334 
335  Aws::String m_description;
336  bool m_descriptionHasBeenSet;
337 
338  Aws::String m_lockToken;
339  bool m_lockTokenHasBeenSet;
340 
341  Aws::String m_aRN;
342  bool m_aRNHasBeenSet;
343  };
344 
345 } // namespace Model
346 } // namespace WAFV2
347 } // namespace Aws
Aws::WAFV2::Model::WebACLSummary::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: WebACLSummary.h:295
Aws::WAFV2::Model::WebACLSummary::WithARN
WebACLSummary & WithARN(Aws::String &&value)
Definition: WebACLSummary.h:320
Aws::WAFV2::Model::WebACLSummary::GetDescription
const Aws::String & GetDescription() const
Definition: WebACLSummary.h:152
Aws::WAFV2::Model::WebACLSummary::WithName
WebACLSummary & WithName(Aws::String &&value)
Definition: WebACLSummary.h:83
Aws::WAFV2::Model::WebACLSummary::SetARN
void SetARN(Aws::String &&value)
Definition: WebACLSummary.h:305
Aws::WAFV2::Model::WebACLSummary::SetLockToken
void SetLockToken(const char *value)
Definition: WebACLSummary.h:248
Aws::WAFV2::Model::WebACLSummary::SetId
void SetId(Aws::String &&value)
Definition: WebACLSummary.h:118
Aws::WAFV2::Model::WebACLSummary::GetARN
const Aws::String & GetARN() const
Definition: WebACLSummary.h:290
Aws::WAFV2::Model::WebACLSummary::SetId
void SetId(const char *value)
Definition: WebACLSummary.h:125
Aws::WAFV2::Model::WebACLSummary::LockTokenHasBeenSet
bool LockTokenHasBeenSet() const
Definition: WebACLSummary.h:212
Aws::WAFV2::Model::WebACLSummary::WithId
WebACLSummary & WithId(const char *value)
Definition: WebACLSummary.h:146
Aws::WAFV2::Model::WebACLSummary::operator=
WebACLSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::WebACLSummary::GetLockToken
const Aws::String & GetLockToken() const
Definition: WebACLSummary.h:200
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::WebACLSummary::WithId
WebACLSummary & WithId(Aws::String &&value)
Definition: WebACLSummary.h:139
Aws::WAFV2::Model::WebACLSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: WebACLSummary.h:162
Aws::WAFV2::Model::WebACLSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: WebACLSummary.h:157
WAFV2_EXPORTS.h
Aws::WAFV2::Model::WebACLSummary::WithId
WebACLSummary & WithId(const Aws::String &value)
Definition: WebACLSummary.h:132
Aws::WAFV2::Model::WebACLSummary::WithName
WebACLSummary & WithName(const Aws::String &value)
Definition: WebACLSummary.h:77
Aws::WAFV2::Model::WebACLSummary::SetARN
void SetARN(const Aws::String &value)
Definition: WebACLSummary.h:300
Aws::WAFV2::Model::WebACLSummary::WebACLSummary
WebACLSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::WebACLSummary::SetDescription
void SetDescription(const char *value)
Definition: WebACLSummary.h:172
Aws::WAFV2::Model::WebACLSummary::WebACLSummary
WebACLSummary()
Aws::WAFV2::Model::WebACLSummary::SetLockToken
void SetLockToken(Aws::String &&value)
Definition: WebACLSummary.h:236
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::WAFV2::Model::WebACLSummary::SetARN
void SetARN(const char *value)
Definition: WebACLSummary.h:310
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::WebACLSummary::SetName
void SetName(Aws::String &&value)
Definition: WebACLSummary.h:65
Aws::WAFV2::Model::WebACLSummary::WithName
WebACLSummary & WithName(const char *value)
Definition: WebACLSummary.h:89
Aws::WAFV2::Model::WebACLSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAFV2::Model::WebACLSummary::WithLockToken
WebACLSummary & WithLockToken(const Aws::String &value)
Definition: WebACLSummary.h:260
Aws::WAFV2::Model::WebACLSummary::SetName
void SetName(const char *value)
Definition: WebACLSummary.h:71
Aws::WAFV2::Model::WebACLSummary::WithDescription
WebACLSummary & WithDescription(const char *value)
Definition: WebACLSummary.h:187
Aws::WAFV2::Model::WebACLSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: WebACLSummary.h:167
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::WebACLSummary::WithDescription
WebACLSummary & WithDescription(Aws::String &&value)
Definition: WebACLSummary.h:182
Aws::WAFV2::Model::WebACLSummary::WithARN
WebACLSummary & WithARN(const char *value)
Definition: WebACLSummary.h:325
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::WebACLSummary::GetId
const Aws::String & GetId() const
Definition: WebACLSummary.h:97
Aws::WAFV2::Model::WebACLSummary::WithARN
WebACLSummary & WithARN(const Aws::String &value)
Definition: WebACLSummary.h:315
Aws::WAFV2::Model::WebACLSummary::GetName
const Aws::String & GetName() const
Definition: WebACLSummary.h:47
Aws::WAFV2::Model::WebACLSummary::SetName
void SetName(const Aws::String &value)
Definition: WebACLSummary.h:59
Aws::WAFV2::Model::WebACLSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: WebACLSummary.h:104
Aws::WAFV2::Model::WebACLSummary::WithDescription
WebACLSummary & WithDescription(const Aws::String &value)
Definition: WebACLSummary.h:177
Aws::WAFV2::Model::WebACLSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: WebACLSummary.h:53
Aws::WAFV2::Model::WebACLSummary::SetLockToken
void SetLockToken(const Aws::String &value)
Definition: WebACLSummary.h:224
Aws::WAFV2::Model::WebACLSummary::WithLockToken
WebACLSummary & WithLockToken(const char *value)
Definition: WebACLSummary.h:284
Aws::WAFV2::Model::WebACLSummary
Definition: WebACLSummary.h:35
Aws::WAFV2::Model::WebACLSummary::WithLockToken
WebACLSummary & WithLockToken(Aws::String &&value)
Definition: WebACLSummary.h:272
Aws::WAFV2::Model::WebACLSummary::SetId
void SetId(const Aws::String &value)
Definition: WebACLSummary.h:111