AWS SDK for C++  1.9.129
AWS SDK for C++
VirtualNodeRef.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline VirtualNodeRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline VirtualNodeRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline VirtualNodeRef& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
86  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
87 
91  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
92 
96  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
97 
101  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
102 
106  inline VirtualNodeRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 
111  inline VirtualNodeRef& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
112 
113 
118  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
119 
124  inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
125 
130  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
131 
136  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
137 
142  inline VirtualNodeRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
143 
148  inline VirtualNodeRef& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
149 
150 
154  inline const Aws::String& GetMeshName() const{ return m_meshName; }
155 
159  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
160 
164  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
165 
169  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
170 
174  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
175 
179  inline VirtualNodeRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
180 
184  inline VirtualNodeRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
185 
189  inline VirtualNodeRef& WithMeshName(const char* value) { SetMeshName(value); return *this;}
190 
191 
199  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
200 
208  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
209 
217  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
218 
226  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
227 
235  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
236 
244  inline VirtualNodeRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
245 
253  inline VirtualNodeRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
254 
262  inline VirtualNodeRef& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
263 
264 
272  inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
273 
281  inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
282 
290  inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
291 
299  inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
300 
308  inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
309 
317  inline VirtualNodeRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
318 
326  inline VirtualNodeRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
327 
335  inline VirtualNodeRef& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
336 
337 
342  inline long long GetVersion() const{ return m_version; }
343 
348  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
349 
354  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
355 
360  inline VirtualNodeRef& WithVersion(long long value) { SetVersion(value); return *this;}
361 
362 
366  inline const Aws::String& GetVirtualNodeName() const{ return m_virtualNodeName; }
367 
371  inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; }
372 
376  inline void SetVirtualNodeName(const Aws::String& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = value; }
377 
381  inline void SetVirtualNodeName(Aws::String&& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = std::move(value); }
382 
386  inline void SetVirtualNodeName(const char* value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName.assign(value); }
387 
391  inline VirtualNodeRef& WithVirtualNodeName(const Aws::String& value) { SetVirtualNodeName(value); return *this;}
392 
396  inline VirtualNodeRef& WithVirtualNodeName(Aws::String&& value) { SetVirtualNodeName(std::move(value)); return *this;}
397 
401  inline VirtualNodeRef& WithVirtualNodeName(const char* value) { SetVirtualNodeName(value); return *this;}
402 
403  private:
404 
405  Aws::String m_arn;
406  bool m_arnHasBeenSet;
407 
408  Aws::Utils::DateTime m_createdAt;
409  bool m_createdAtHasBeenSet;
410 
411  Aws::Utils::DateTime m_lastUpdatedAt;
412  bool m_lastUpdatedAtHasBeenSet;
413 
414  Aws::String m_meshName;
415  bool m_meshNameHasBeenSet;
416 
417  Aws::String m_meshOwner;
418  bool m_meshOwnerHasBeenSet;
419 
420  Aws::String m_resourceOwner;
421  bool m_resourceOwnerHasBeenSet;
422 
423  long long m_version;
424  bool m_versionHasBeenSet;
425 
426  Aws::String m_virtualNodeName;
427  bool m_virtualNodeNameHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace AppMesh
432 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppMesh::Model::VirtualNodeRef::WithArn
VirtualNodeRef & WithArn(const Aws::String &value)
Definition: VirtualNodeRef.h:70
Aws::AppMesh::Model::VirtualNodeRef::GetMeshName
const Aws::String & GetMeshName() const
Definition: VirtualNodeRef.h:154
Aws::AppMesh::Model::VirtualNodeRef::WithLastUpdatedAt
VirtualNodeRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualNodeRef.h:148
Aws::AppMesh::Model::VirtualNodeRef::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: VirtualNodeRef.h:124
Aws::AppMesh::Model::VirtualNodeRef::SetVersion
void SetVersion(long long value)
Definition: VirtualNodeRef.h:354
Aws::AppMesh::Model::VirtualNodeRef::SetArn
void SetArn(const Aws::String &value)
Definition: VirtualNodeRef.h:55
Aws::AppMesh::Model::VirtualNodeRef::WithArn
VirtualNodeRef & WithArn(const char *value)
Definition: VirtualNodeRef.h:80
DateTime.h
Aws::AppMesh::Model::VirtualNodeRef::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: VirtualNodeRef.h:208
Aws::AppMesh::Model::VirtualNodeRef::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: VirtualNodeRef.h:169
Aws::AppMesh::Model::VirtualNodeRef::VirtualNodeNameHasBeenSet
bool VirtualNodeNameHasBeenSet() const
Definition: VirtualNodeRef.h:371
Aws::AppMesh::Model::VirtualNodeRef::WithResourceOwner
VirtualNodeRef & WithResourceOwner(const char *value)
Definition: VirtualNodeRef.h:335
Aws::AppMesh::Model::VirtualNodeRef::SetVirtualNodeName
void SetVirtualNodeName(const Aws::String &value)
Definition: VirtualNodeRef.h:376
Aws::AppMesh::Model::VirtualNodeRef::VirtualNodeRef
VirtualNodeRef(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualNodeRef::SetVirtualNodeName
void SetVirtualNodeName(Aws::String &&value)
Definition: VirtualNodeRef.h:381
Aws::AppMesh::Model::VirtualNodeRef::WithCreatedAt
VirtualNodeRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualNodeRef.h:106
Aws::AppMesh::Model::VirtualNodeRef::WithMeshOwner
VirtualNodeRef & WithMeshOwner(const Aws::String &value)
Definition: VirtualNodeRef.h:244
Aws::AppMesh::Model::VirtualNodeRef::WithCreatedAt
VirtualNodeRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualNodeRef.h:111
Aws::AppMesh::Model::VirtualNodeRef::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: VirtualNodeRef.h:235
Aws::AppMesh::Model::VirtualNodeRef::WithResourceOwner
VirtualNodeRef & WithResourceOwner(Aws::String &&value)
Definition: VirtualNodeRef.h:326
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualNodeRef::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: VirtualNodeRef.h:226
Aws::AppMesh::Model::VirtualNodeRef::SetResourceOwner
void SetResourceOwner(const char *value)
Definition: VirtualNodeRef.h:308
Aws::AppMesh::Model::VirtualNodeRef
Definition: VirtualNodeRef.h:34
Aws::AppMesh::Model::VirtualNodeRef::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: VirtualNodeRef.h:86
Aws::AppMesh::Model::VirtualNodeRef::ResourceOwnerHasBeenSet
bool ResourceOwnerHasBeenSet() const
Definition: VirtualNodeRef.h:281
Aws::AppMesh::Model::VirtualNodeRef::WithMeshName
VirtualNodeRef & WithMeshName(Aws::String &&value)
Definition: VirtualNodeRef.h:184
Aws::AppMesh::Model::VirtualNodeRef::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualNodeRef.h:101
Aws::AppMesh::Model::VirtualNodeRef::WithVirtualNodeName
VirtualNodeRef & WithVirtualNodeName(Aws::String &&value)
Definition: VirtualNodeRef.h:396
Aws::AppMesh::Model::VirtualNodeRef::WithVirtualNodeName
VirtualNodeRef & WithVirtualNodeName(const Aws::String &value)
Definition: VirtualNodeRef.h:391
Aws::AppMesh::Model::VirtualNodeRef::WithVersion
VirtualNodeRef & WithVersion(long long value)
Definition: VirtualNodeRef.h:360
Aws::AppMesh::Model::VirtualNodeRef::WithMeshName
VirtualNodeRef & WithMeshName(const Aws::String &value)
Definition: VirtualNodeRef.h:179
Aws::AppMesh::Model::VirtualNodeRef::SetVirtualNodeName
void SetVirtualNodeName(const char *value)
Definition: VirtualNodeRef.h:386
Aws::AppMesh::Model::VirtualNodeRef::operator=
VirtualNodeRef & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualNodeRef::WithMeshName
VirtualNodeRef & WithMeshName(const char *value)
Definition: VirtualNodeRef.h:189
Aws::AppMesh::Model::VirtualNodeRef::GetResourceOwner
const Aws::String & GetResourceOwner() const
Definition: VirtualNodeRef.h:272
Aws::AppMesh::Model::VirtualNodeRef::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: VirtualNodeRef.h:118
Aws::AppMesh::Model::VirtualNodeRef::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: VirtualNodeRef.h:348
Aws::AppMesh::Model::VirtualNodeRef::WithVirtualNodeName
VirtualNodeRef & WithVirtualNodeName(const char *value)
Definition: VirtualNodeRef.h:401
Aws::AppMesh::Model::VirtualNodeRef::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualNodeRef.h:96
Aws::AppMesh::Model::VirtualNodeRef::WithResourceOwner
VirtualNodeRef & WithResourceOwner(const Aws::String &value)
Definition: VirtualNodeRef.h:317
Aws::AppMesh::Model::VirtualNodeRef::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualNodeRef.h:136
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualNodeRef::WithLastUpdatedAt
VirtualNodeRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualNodeRef.h:142
Aws::AppMesh::Model::VirtualNodeRef::WithMeshOwner
VirtualNodeRef & WithMeshOwner(const char *value)
Definition: VirtualNodeRef.h:262
Aws::AppMesh::Model::VirtualNodeRef::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: VirtualNodeRef.h:164
Aws::AppMesh::Model::VirtualNodeRef::SetMeshName
void SetMeshName(const char *value)
Definition: VirtualNodeRef.h:174
Aws::AppMesh::Model::VirtualNodeRef::VirtualNodeRef
VirtualNodeRef()
Aws::AppMesh::Model::VirtualNodeRef::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: VirtualNodeRef.h:199
Aws::AppMesh::Model::VirtualNodeRef::SetArn
void SetArn(Aws::String &&value)
Definition: VirtualNodeRef.h:60
Aws::AppMesh::Model::VirtualNodeRef::SetArn
void SetArn(const char *value)
Definition: VirtualNodeRef.h:65
Aws::AppMesh::Model::VirtualNodeRef::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualNodeRef::SetResourceOwner
void SetResourceOwner(Aws::String &&value)
Definition: VirtualNodeRef.h:299
Aws::AppMesh::Model::VirtualNodeRef::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: VirtualNodeRef.h:50
Aws::AppMesh::Model::VirtualNodeRef::GetVersion
long long GetVersion() const
Definition: VirtualNodeRef.h:342
Aws::AppMesh::Model::VirtualNodeRef::WithArn
VirtualNodeRef & WithArn(Aws::String &&value)
Definition: VirtualNodeRef.h:75
Aws::AppMesh::Model::VirtualNodeRef::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: VirtualNodeRef.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualNodeRef::GetVirtualNodeName
const Aws::String & GetVirtualNodeName() const
Definition: VirtualNodeRef.h:366
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualNodeRef::GetArn
const Aws::String & GetArn() const
Definition: VirtualNodeRef.h:45
Aws::AppMesh::Model::VirtualNodeRef::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: VirtualNodeRef.h:217
Aws::AppMesh::Model::VirtualNodeRef::SetResourceOwner
void SetResourceOwner(const Aws::String &value)
Definition: VirtualNodeRef.h:290
Aws::AppMesh::Model::VirtualNodeRef::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: VirtualNodeRef.h:159
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualNodeRef::WithMeshOwner
VirtualNodeRef & WithMeshOwner(Aws::String &&value)
Definition: VirtualNodeRef.h:253
Aws::AppMesh::Model::VirtualNodeRef::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualNodeRef.h:130