AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Node.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/NodeCategory.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
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:
37 AWS_PANORAMA_API Node();
38 AWS_PANORAMA_API Node(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Node& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const NodeCategory& GetCategory() const{ return m_category; }
48 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
49 inline void SetCategory(const NodeCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
50 inline void SetCategory(NodeCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
51 inline Node& WithCategory(const NodeCategory& value) { SetCategory(value); return *this;}
52 inline Node& WithCategory(NodeCategory&& value) { SetCategory(std::move(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
60 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
61 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
62 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
63 inline Node& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
64 inline Node& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline Node& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline Node& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline Node& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
89 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 inline Node& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline Node& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline Node& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
100 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
101 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
102 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
103 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
104 inline Node& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
105 inline Node& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
106 inline Node& WithNodeId(const char* value) { SetNodeId(value); return *this;}
108
110
113 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
114 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
115 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
116 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
117 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
118 inline Node& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
119 inline Node& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
120 inline Node& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
122
124
127 inline const Aws::String& GetPackageArn() const{ return m_packageArn; }
128 inline bool PackageArnHasBeenSet() const { return m_packageArnHasBeenSet; }
129 inline void SetPackageArn(const Aws::String& value) { m_packageArnHasBeenSet = true; m_packageArn = value; }
130 inline void SetPackageArn(Aws::String&& value) { m_packageArnHasBeenSet = true; m_packageArn = std::move(value); }
131 inline void SetPackageArn(const char* value) { m_packageArnHasBeenSet = true; m_packageArn.assign(value); }
132 inline Node& WithPackageArn(const Aws::String& value) { SetPackageArn(value); return *this;}
133 inline Node& WithPackageArn(Aws::String&& value) { SetPackageArn(std::move(value)); return *this;}
134 inline Node& WithPackageArn(const char* value) { SetPackageArn(value); return *this;}
136
138
141 inline const Aws::String& GetPackageId() const{ return m_packageId; }
142 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
143 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
144 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
145 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
146 inline Node& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
147 inline Node& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
148 inline Node& WithPackageId(const char* value) { SetPackageId(value); return *this;}
150
152
155 inline const Aws::String& GetPackageName() const{ return m_packageName; }
156 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
157 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
158 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
159 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
160 inline Node& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
161 inline Node& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
162 inline Node& WithPackageName(const char* value) { SetPackageName(value); return *this;}
164
166
169 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
170 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
171 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
172 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
173 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
174 inline Node& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
175 inline Node& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
176 inline Node& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
178
180
183 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
184 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
185 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
186 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
187 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
188 inline Node& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
189 inline Node& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
190 inline Node& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
192 private:
193
194 NodeCategory m_category;
195 bool m_categoryHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdTime;
198 bool m_createdTimeHasBeenSet = false;
199
200 Aws::String m_description;
201 bool m_descriptionHasBeenSet = false;
202
203 Aws::String m_name;
204 bool m_nameHasBeenSet = false;
205
206 Aws::String m_nodeId;
207 bool m_nodeIdHasBeenSet = false;
208
209 Aws::String m_ownerAccount;
210 bool m_ownerAccountHasBeenSet = false;
211
212 Aws::String m_packageArn;
213 bool m_packageArnHasBeenSet = false;
214
215 Aws::String m_packageId;
216 bool m_packageIdHasBeenSet = false;
217
218 Aws::String m_packageName;
219 bool m_packageNameHasBeenSet = false;
220
221 Aws::String m_packageVersion;
222 bool m_packageVersionHasBeenSet = false;
223
224 Aws::String m_patchVersion;
225 bool m_patchVersionHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace Panorama
230} // namespace Aws
Node & WithPackageVersion(Aws::String &&value)
Definition Node.h:175
Node & WithNodeId(Aws::String &&value)
Definition Node.h:105
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Node.h:59
void SetDescription(const Aws::String &value)
Definition Node.h:73
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:101
void SetPackageId(Aws::String &&value)
Definition Node.h:144
Node & WithPackageVersion(const Aws::String &value)
Definition Node.h:174
bool NodeIdHasBeenSet() const
Definition Node.h:100
const Aws::String & GetPatchVersion() const
Definition Node.h:183
bool PackageIdHasBeenSet() const
Definition Node.h:142
Node & WithPatchVersion(Aws::String &&value)
Definition Node.h:189
Node & WithCategory(const NodeCategory &value)
Definition Node.h:51
void SetPatchVersion(const char *value)
Definition Node.h:187
Node & WithPackageName(Aws::String &&value)
Definition Node.h:161
AWS_PANORAMA_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition Node.h:75
bool NameHasBeenSet() const
Definition Node.h:86
void SetPackageVersion(const Aws::String &value)
Definition Node.h:171
Node & WithOwnerAccount(const char *value)
Definition Node.h:120
const Aws::String & GetOwnerAccount() const
Definition Node.h:113
Node & WithPatchVersion(const char *value)
Definition Node.h:190
Node & WithNodeId(const char *value)
Definition Node.h:106
Node & WithDescription(Aws::String &&value)
Definition Node.h:77
void SetPackageArn(const Aws::String &value)
Definition Node.h:129
void SetCategory(NodeCategory &&value)
Definition Node.h:50
Node & WithPatchVersion(const Aws::String &value)
Definition Node.h:188
Node & WithCategory(NodeCategory &&value)
Definition Node.h:52
void SetCategory(const NodeCategory &value)
Definition Node.h:49
void SetPackageName(const Aws::String &value)
Definition Node.h:157
void SetName(const Aws::String &value)
Definition Node.h:87
void SetPackageName(const char *value)
Definition Node.h:159
Node & WithNodeId(const Aws::String &value)
Definition Node.h:104
bool PackageArnHasBeenSet() const
Definition Node.h:128
const Aws::String & GetName() const
Definition Node.h:85
const Aws::String & GetNodeId() const
Definition Node.h:99
void SetName(const char *value)
Definition Node.h:89
bool CategoryHasBeenSet() const
Definition Node.h:48
const Aws::String & GetPackageArn() const
Definition Node.h:127
void SetPackageArn(Aws::String &&value)
Definition Node.h:130
Node & WithPackageArn(Aws::String &&value)
Definition Node.h:133
bool PackageNameHasBeenSet() const
Definition Node.h:156
Node & WithPackageId(const char *value)
Definition Node.h:148
void SetPackageVersion(Aws::String &&value)
Definition Node.h:172
Node & WithName(Aws::String &&value)
Definition Node.h:91
Node & WithPackageVersion(const char *value)
Definition Node.h:176
void SetDescription(Aws::String &&value)
Definition Node.h:74
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Node.h:61
void SetNodeId(Aws::String &&value)
Definition Node.h:102
const Aws::String & GetPackageId() const
Definition Node.h:141
Node & WithDescription(const Aws::String &value)
Definition Node.h:76
Node & WithName(const char *value)
Definition Node.h:92
bool PackageVersionHasBeenSet() const
Definition Node.h:170
Node & WithOwnerAccount(Aws::String &&value)
Definition Node.h:119
void SetNodeId(const char *value)
Definition Node.h:103
void SetPatchVersion(Aws::String &&value)
Definition Node.h:186
Node & WithName(const Aws::String &value)
Definition Node.h:90
bool DescriptionHasBeenSet() const
Definition Node.h:72
void SetOwnerAccount(Aws::String &&value)
Definition Node.h:116
const Aws::String & GetDescription() const
Definition Node.h:71
Node & WithOwnerAccount(const Aws::String &value)
Definition Node.h:118
Node & WithPackageName(const char *value)
Definition Node.h:162
Node & WithPackageId(const Aws::String &value)
Definition Node.h:146
Node & WithPackageArn(const char *value)
Definition Node.h:134
Node & WithPackageId(Aws::String &&value)
Definition Node.h:147
void SetPackageVersion(const char *value)
Definition Node.h:173
void SetPackageName(Aws::String &&value)
Definition Node.h:158
void SetPackageArn(const char *value)
Definition Node.h:131
Node & WithDescription(const char *value)
Definition Node.h:78
Node & WithPackageName(const Aws::String &value)
Definition Node.h:160
void SetPackageId(const Aws::String &value)
Definition Node.h:143
AWS_PANORAMA_API Node()
bool PatchVersionHasBeenSet() const
Definition Node.h:184
void SetName(Aws::String &&value)
Definition Node.h:88
const Aws::String & GetPackageVersion() const
Definition Node.h:169
void SetPackageId(const char *value)
Definition Node.h:145
void SetOwnerAccount(const Aws::String &value)
Definition Node.h:115
bool OwnerAccountHasBeenSet() const
Definition Node.h:114
const Aws::String & GetPackageName() const
Definition Node.h:155
Node & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Node.h:63
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Node.h:62
Node & WithPackageArn(const Aws::String &value)
Definition Node.h:132
bool CreatedTimeHasBeenSet() const
Definition Node.h:60
const NodeCategory & GetCategory() const
Definition Node.h:47
void SetPatchVersion(const Aws::String &value)
Definition Node.h:185
Node & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Node.h:64
void SetOwnerAccount(const char *value)
Definition Node.h:117
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue