AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Node.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Panorama
24{
25namespace Model
26{
27
34 class Node
35 {
36 public:
41
42
46 inline const NodeCategory& GetCategory() const{ return m_category; }
47
51 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
52
56 inline void SetCategory(const NodeCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
57
61 inline void SetCategory(NodeCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
62
66 inline Node& WithCategory(const NodeCategory& value) { SetCategory(value); return *this;}
67
71 inline Node& WithCategory(NodeCategory&& value) { SetCategory(std::move(value)); return *this;}
72
73
77 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
78
82 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
83
87 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
88
92 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
93
97 inline Node& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
98
102 inline Node& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
103
104
108 inline const Aws::String& GetDescription() const{ return m_description; }
109
113 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114
118 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
119
123 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
124
128 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
129
133 inline Node& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134
138 inline Node& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
139
143 inline Node& WithDescription(const char* value) { SetDescription(value); return *this;}
144
145
149 inline const Aws::String& GetName() const{ return m_name; }
150
154 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
155
159 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
160
164 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
165
169 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
170
174 inline Node& WithName(const Aws::String& value) { SetName(value); return *this;}
175
179 inline Node& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
180
184 inline Node& WithName(const char* value) { SetName(value); return *this;}
185
186
190 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
191
195 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
196
200 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
201
205 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
206
210 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
211
215 inline Node& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
216
220 inline Node& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
221
225 inline Node& WithNodeId(const char* value) { SetNodeId(value); return *this;}
226
227
231 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
232
236 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
237
241 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
242
246 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
247
251 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
252
256 inline Node& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
257
261 inline Node& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
262
266 inline Node& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
267
268
272 inline const Aws::String& GetPackageArn() const{ return m_packageArn; }
273
277 inline bool PackageArnHasBeenSet() const { return m_packageArnHasBeenSet; }
278
282 inline void SetPackageArn(const Aws::String& value) { m_packageArnHasBeenSet = true; m_packageArn = value; }
283
287 inline void SetPackageArn(Aws::String&& value) { m_packageArnHasBeenSet = true; m_packageArn = std::move(value); }
288
292 inline void SetPackageArn(const char* value) { m_packageArnHasBeenSet = true; m_packageArn.assign(value); }
293
297 inline Node& WithPackageArn(const Aws::String& value) { SetPackageArn(value); return *this;}
298
302 inline Node& WithPackageArn(Aws::String&& value) { SetPackageArn(std::move(value)); return *this;}
303
307 inline Node& WithPackageArn(const char* value) { SetPackageArn(value); return *this;}
308
309
313 inline const Aws::String& GetPackageId() const{ return m_packageId; }
314
318 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
319
323 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
324
328 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
329
333 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
334
338 inline Node& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
339
343 inline Node& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
344
348 inline Node& WithPackageId(const char* value) { SetPackageId(value); return *this;}
349
350
354 inline const Aws::String& GetPackageName() const{ return m_packageName; }
355
359 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
360
364 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
365
369 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
370
374 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
375
379 inline Node& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
380
384 inline Node& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
385
389 inline Node& WithPackageName(const char* value) { SetPackageName(value); return *this;}
390
391
395 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
396
400 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
401
405 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
406
410 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
411
415 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
416
420 inline Node& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
421
425 inline Node& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
426
430 inline Node& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
431
432
436 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
437
441 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
442
446 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
447
451 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
452
456 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
457
461 inline Node& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
462
466 inline Node& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
467
471 inline Node& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
472
473 private:
474
475 NodeCategory m_category;
476 bool m_categoryHasBeenSet = false;
477
478 Aws::Utils::DateTime m_createdTime;
479 bool m_createdTimeHasBeenSet = false;
480
481 Aws::String m_description;
482 bool m_descriptionHasBeenSet = false;
483
484 Aws::String m_name;
485 bool m_nameHasBeenSet = false;
486
487 Aws::String m_nodeId;
488 bool m_nodeIdHasBeenSet = false;
489
490 Aws::String m_ownerAccount;
491 bool m_ownerAccountHasBeenSet = false;
492
493 Aws::String m_packageArn;
494 bool m_packageArnHasBeenSet = false;
495
496 Aws::String m_packageId;
497 bool m_packageIdHasBeenSet = false;
498
499 Aws::String m_packageName;
500 bool m_packageNameHasBeenSet = false;
501
502 Aws::String m_packageVersion;
503 bool m_packageVersionHasBeenSet = false;
504
505 Aws::String m_patchVersion;
506 bool m_patchVersionHasBeenSet = false;
507 };
508
509} // namespace Model
510} // namespace Panorama
511} // namespace Aws
#define AWS_PANORAMA_API
Node & WithPackageVersion(Aws::String &&value)
Definition: Node.h:425
Node & WithNodeId(Aws::String &&value)
Definition: Node.h:220
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: Node.h:77
void SetDescription(const Aws::String &value)
Definition: Node.h:118
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PANORAMA_API Node(Aws::Utils::Json::JsonView jsonValue)
void SetNodeId(const Aws::String &value)
Definition: Node.h:200
void SetPackageId(Aws::String &&value)
Definition: Node.h:328
Node & WithPackageVersion(const Aws::String &value)
Definition: Node.h:420
bool NodeIdHasBeenSet() const
Definition: Node.h:195
const Aws::String & GetPatchVersion() const
Definition: Node.h:436
bool PackageIdHasBeenSet() const
Definition: Node.h:318
Node & WithPatchVersion(Aws::String &&value)
Definition: Node.h:466
Node & WithCategory(const NodeCategory &value)
Definition: Node.h:66
void SetPatchVersion(const char *value)
Definition: Node.h:456
Node & WithPackageName(Aws::String &&value)
Definition: Node.h:384
AWS_PANORAMA_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition: Node.h:128
bool NameHasBeenSet() const
Definition: Node.h:154
void SetPackageVersion(const Aws::String &value)
Definition: Node.h:405
Node & WithOwnerAccount(const char *value)
Definition: Node.h:266
const Aws::String & GetOwnerAccount() const
Definition: Node.h:231
Node & WithPatchVersion(const char *value)
Definition: Node.h:471
Node & WithNodeId(const char *value)
Definition: Node.h:225
Node & WithDescription(Aws::String &&value)
Definition: Node.h:138
void SetPackageArn(const Aws::String &value)
Definition: Node.h:282
void SetCategory(NodeCategory &&value)
Definition: Node.h:61
Node & WithPatchVersion(const Aws::String &value)
Definition: Node.h:461
Node & WithCategory(NodeCategory &&value)
Definition: Node.h:71
void SetCategory(const NodeCategory &value)
Definition: Node.h:56
void SetPackageName(const Aws::String &value)
Definition: Node.h:364
void SetName(const Aws::String &value)
Definition: Node.h:159
void SetPackageName(const char *value)
Definition: Node.h:374
Node & WithNodeId(const Aws::String &value)
Definition: Node.h:215
bool PackageArnHasBeenSet() const
Definition: Node.h:277
const Aws::String & GetName() const
Definition: Node.h:149
const Aws::String & GetNodeId() const
Definition: Node.h:190
void SetName(const char *value)
Definition: Node.h:169
bool CategoryHasBeenSet() const
Definition: Node.h:51
const Aws::String & GetPackageArn() const
Definition: Node.h:272
void SetPackageArn(Aws::String &&value)
Definition: Node.h:287
Node & WithPackageArn(Aws::String &&value)
Definition: Node.h:302
bool PackageNameHasBeenSet() const
Definition: Node.h:359
Node & WithPackageId(const char *value)
Definition: Node.h:348
void SetPackageVersion(Aws::String &&value)
Definition: Node.h:410
Node & WithName(Aws::String &&value)
Definition: Node.h:179
Node & WithPackageVersion(const char *value)
Definition: Node.h:430
void SetDescription(Aws::String &&value)
Definition: Node.h:123
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: Node.h:87
void SetNodeId(Aws::String &&value)
Definition: Node.h:205
const Aws::String & GetPackageId() const
Definition: Node.h:313
Node & WithDescription(const Aws::String &value)
Definition: Node.h:133
Node & WithName(const char *value)
Definition: Node.h:184
bool PackageVersionHasBeenSet() const
Definition: Node.h:400
Node & WithOwnerAccount(Aws::String &&value)
Definition: Node.h:261
void SetNodeId(const char *value)
Definition: Node.h:210
void SetPatchVersion(Aws::String &&value)
Definition: Node.h:451
Node & WithName(const Aws::String &value)
Definition: Node.h:174
bool DescriptionHasBeenSet() const
Definition: Node.h:113
void SetOwnerAccount(Aws::String &&value)
Definition: Node.h:246
const Aws::String & GetDescription() const
Definition: Node.h:108
Node & WithOwnerAccount(const Aws::String &value)
Definition: Node.h:256
Node & WithPackageName(const char *value)
Definition: Node.h:389
Node & WithPackageId(const Aws::String &value)
Definition: Node.h:338
Node & WithPackageArn(const char *value)
Definition: Node.h:307
Node & WithPackageId(Aws::String &&value)
Definition: Node.h:343
void SetPackageVersion(const char *value)
Definition: Node.h:415
void SetPackageName(Aws::String &&value)
Definition: Node.h:369
void SetPackageArn(const char *value)
Definition: Node.h:292
Node & WithDescription(const char *value)
Definition: Node.h:143
Node & WithPackageName(const Aws::String &value)
Definition: Node.h:379
void SetPackageId(const Aws::String &value)
Definition: Node.h:323
AWS_PANORAMA_API Node()
bool PatchVersionHasBeenSet() const
Definition: Node.h:441
void SetName(Aws::String &&value)
Definition: Node.h:164
const Aws::String & GetPackageVersion() const
Definition: Node.h:395
void SetPackageId(const char *value)
Definition: Node.h:333
void SetOwnerAccount(const Aws::String &value)
Definition: Node.h:241
bool OwnerAccountHasBeenSet() const
Definition: Node.h:236
const Aws::String & GetPackageName() const
Definition: Node.h:354
Node & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: Node.h:97
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: Node.h:92
Node & WithPackageArn(const Aws::String &value)
Definition: Node.h:297
bool CreatedTimeHasBeenSet() const
Definition: Node.h:82
const NodeCategory & GetCategory() const
Definition: Node.h:46
void SetPatchVersion(const Aws::String &value)
Definition: Node.h:446
Node & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: Node.h:102
void SetOwnerAccount(const char *value)
Definition: Node.h:251
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String