AWS SDK for C++  1.9.107
AWS SDK for C++
IPSetSummary.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 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetName() const{ return m_name; }
49 
54  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 
60  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 
66  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 
72  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 
78  inline IPSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 
84  inline IPSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 
90  inline IPSetSummary& WithName(const char* value) { SetName(value); return *this;}
91 
92 
98  inline const Aws::String& GetId() const{ return m_id; }
99 
105  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
106 
112  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
113 
119  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
120 
126  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
127 
133  inline IPSetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
134 
140  inline IPSetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
141 
147  inline IPSetSummary& WithId(const char* value) { SetId(value); return *this;}
148 
149 
153  inline const Aws::String& GetDescription() const{ return m_description; }
154 
158  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
159 
163  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
164 
168  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
169 
173  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
174 
178  inline IPSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
179 
183  inline IPSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
184 
188  inline IPSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
189 
190 
201  inline const Aws::String& GetLockToken() const{ return m_lockToken; }
202 
213  inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
214 
225  inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
226 
237  inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
238 
249  inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
250 
261  inline IPSetSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
262 
273  inline IPSetSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
274 
285  inline IPSetSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
286 
287 
291  inline const Aws::String& GetARN() const{ return m_aRN; }
292 
296  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
297 
301  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
302 
306  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
307 
311  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
312 
316  inline IPSetSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
317 
321  inline IPSetSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
322 
326  inline IPSetSummary& WithARN(const char* value) { SetARN(value); return *this;}
327 
328  private:
329 
330  Aws::String m_name;
331  bool m_nameHasBeenSet;
332 
333  Aws::String m_id;
334  bool m_idHasBeenSet;
335 
336  Aws::String m_description;
337  bool m_descriptionHasBeenSet;
338 
339  Aws::String m_lockToken;
340  bool m_lockTokenHasBeenSet;
341 
342  Aws::String m_aRN;
343  bool m_aRNHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace WAFV2
348 } // namespace Aws
Aws::WAFV2::Model::IPSetSummary::WithId
IPSetSummary & WithId(const Aws::String &value)
Definition: IPSetSummary.h:133
Aws::WAFV2::Model::IPSetSummary::SetName
void SetName(const char *value)
Definition: IPSetSummary.h:72
Aws::WAFV2::Model::IPSetSummary::WithDescription
IPSetSummary & WithDescription(const Aws::String &value)
Definition: IPSetSummary.h:178
Aws::WAFV2::Model::IPSetSummary::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: IPSetSummary.h:296
Aws::WAFV2::Model::IPSetSummary::SetLockToken
void SetLockToken(const char *value)
Definition: IPSetSummary.h:249
Aws::WAFV2::Model::IPSetSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: IPSetSummary.h:54
Aws::WAFV2::Model::IPSetSummary::SetDescription
void SetDescription(const char *value)
Definition: IPSetSummary.h:173
Aws::WAFV2::Model::IPSetSummary::SetId
void SetId(Aws::String &&value)
Definition: IPSetSummary.h:119
Aws::WAFV2::Model::IPSetSummary::WithARN
IPSetSummary & WithARN(const char *value)
Definition: IPSetSummary.h:326
Aws::WAFV2::Model::IPSetSummary::WithName
IPSetSummary & WithName(Aws::String &&value)
Definition: IPSetSummary.h:84
Aws::WAFV2::Model::IPSetSummary::SetName
void SetName(Aws::String &&value)
Definition: IPSetSummary.h:66
Aws::WAFV2::Model::IPSetSummary::LockTokenHasBeenSet
bool LockTokenHasBeenSet() const
Definition: IPSetSummary.h:213
Aws::WAFV2::Model::IPSetSummary::GetLockToken
const Aws::String & GetLockToken() const
Definition: IPSetSummary.h:201
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::IPSetSummary::WithLockToken
IPSetSummary & WithLockToken(Aws::String &&value)
Definition: IPSetSummary.h:273
Aws::WAFV2::Model::IPSetSummary::WithARN
IPSetSummary & WithARN(Aws::String &&value)
Definition: IPSetSummary.h:321
Aws::WAFV2::Model::IPSetSummary::GetId
const Aws::String & GetId() const
Definition: IPSetSummary.h:98
WAFV2_EXPORTS.h
Aws::WAFV2::Model::IPSetSummary::WithLockToken
IPSetSummary & WithLockToken(const Aws::String &value)
Definition: IPSetSummary.h:261
Aws::WAFV2::Model::IPSetSummary::GetName
const Aws::String & GetName() const
Definition: IPSetSummary.h:48
Aws::WAFV2::Model::IPSetSummary::IPSetSummary
IPSetSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::IPSetSummary::WithId
IPSetSummary & WithId(Aws::String &&value)
Definition: IPSetSummary.h:140
Aws::WAFV2::Model::IPSetSummary::WithLockToken
IPSetSummary & WithLockToken(const char *value)
Definition: IPSetSummary.h:285
Aws::WAFV2::Model::IPSetSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: IPSetSummary.h:158
Aws::WAFV2::Model::IPSetSummary::GetARN
const Aws::String & GetARN() const
Definition: IPSetSummary.h:291
Aws::WAFV2::Model::IPSetSummary::SetARN
void SetARN(Aws::String &&value)
Definition: IPSetSummary.h:306
Aws::WAFV2::Model::IPSetSummary::SetARN
void SetARN(const char *value)
Definition: IPSetSummary.h:311
Aws::WAFV2::Model::IPSetSummary::IPSetSummary
IPSetSummary()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::IPSetSummary::GetDescription
const Aws::String & GetDescription() const
Definition: IPSetSummary.h:153
Aws::WAFV2::Model::IPSetSummary::SetName
void SetName(const Aws::String &value)
Definition: IPSetSummary.h:60
Aws::WAFV2::Model::IPSetSummary::WithDescription
IPSetSummary & WithDescription(Aws::String &&value)
Definition: IPSetSummary.h:183
Aws::WAFV2::Model::IPSetSummary::WithName
IPSetSummary & WithName(const char *value)
Definition: IPSetSummary.h:90
Aws::WAFV2::Model::IPSetSummary::SetLockToken
void SetLockToken(const Aws::String &value)
Definition: IPSetSummary.h:225
Aws::WAFV2::Model::IPSetSummary
Definition: IPSetSummary.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::IPSetSummary::SetId
void SetId(const Aws::String &value)
Definition: IPSetSummary.h:112
Aws::WAFV2::Model::IPSetSummary::WithARN
IPSetSummary & WithARN(const Aws::String &value)
Definition: IPSetSummary.h:316
Aws::WAFV2::Model::IPSetSummary::operator=
IPSetSummary & 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::IPSetSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: IPSetSummary.h:163
Aws::WAFV2::Model::IPSetSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAFV2::Model::IPSetSummary::WithId
IPSetSummary & WithId(const char *value)
Definition: IPSetSummary.h:147
Aws::WAFV2::Model::IPSetSummary::SetARN
void SetARN(const Aws::String &value)
Definition: IPSetSummary.h:301
Aws::WAFV2::Model::IPSetSummary::SetId
void SetId(const char *value)
Definition: IPSetSummary.h:126
Aws::WAFV2::Model::IPSetSummary::WithName
IPSetSummary & WithName(const Aws::String &value)
Definition: IPSetSummary.h:78
Aws::WAFV2::Model::IPSetSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: IPSetSummary.h:168
Aws::WAFV2::Model::IPSetSummary::SetLockToken
void SetLockToken(Aws::String &&value)
Definition: IPSetSummary.h:237
Aws::WAFV2::Model::IPSetSummary::WithDescription
IPSetSummary & WithDescription(const char *value)
Definition: IPSetSummary.h:188
Aws::WAFV2::Model::IPSetSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: IPSetSummary.h:105