AWS SDK for C++  1.9.14
AWS SDK for C++
VirtualServiceRef.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 VirtualServiceRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline VirtualServiceRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline VirtualServiceRef& 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 VirtualServiceRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 
111  inline VirtualServiceRef& 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 VirtualServiceRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
143 
148  inline VirtualServiceRef& 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 VirtualServiceRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
180 
184  inline VirtualServiceRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
185 
189  inline VirtualServiceRef& 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 VirtualServiceRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
245 
253  inline VirtualServiceRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
254 
262  inline VirtualServiceRef& 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 VirtualServiceRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
318 
326  inline VirtualServiceRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
327 
335  inline VirtualServiceRef& 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 VirtualServiceRef& WithVersion(long long value) { SetVersion(value); return *this;}
361 
362 
366  inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
367 
371  inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
372 
376  inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
377 
381  inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
382 
386  inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
387 
391  inline VirtualServiceRef& WithVirtualServiceName(const Aws::String& value) { SetVirtualServiceName(value); return *this;}
392 
396  inline VirtualServiceRef& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
397 
401  inline VirtualServiceRef& WithVirtualServiceName(const char* value) { SetVirtualServiceName(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_virtualServiceName;
427  bool m_virtualServiceNameHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace AppMesh
432 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppMesh::Model::VirtualServiceRef::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: VirtualServiceRef.h:217
Aws::AppMesh::Model::VirtualServiceRef::GetArn
const Aws::String & GetArn() const
Definition: VirtualServiceRef.h:45
Aws::AppMesh::Model::VirtualServiceRef::WithResourceOwner
VirtualServiceRef & WithResourceOwner(const Aws::String &value)
Definition: VirtualServiceRef.h:317
Aws::AppMesh::Model::VirtualServiceRef::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualServiceRef.h:130
Aws::AppMesh::Model::VirtualServiceRef::WithLastUpdatedAt
VirtualServiceRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualServiceRef.h:148
Aws::AppMesh::Model::VirtualServiceRef::WithResourceOwner
VirtualServiceRef & WithResourceOwner(const char *value)
Definition: VirtualServiceRef.h:335
Aws::AppMesh::Model::VirtualServiceRef::WithMeshName
VirtualServiceRef & WithMeshName(const Aws::String &value)
Definition: VirtualServiceRef.h:179
Aws::AppMesh::Model::VirtualServiceRef::WithLastUpdatedAt
VirtualServiceRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualServiceRef.h:142
Aws::AppMesh::Model::VirtualServiceRef::SetVersion
void SetVersion(long long value)
Definition: VirtualServiceRef.h:354
Aws::AppMesh::Model::VirtualServiceRef::WithMeshOwner
VirtualServiceRef & WithMeshOwner(const Aws::String &value)
Definition: VirtualServiceRef.h:244
Aws::AppMesh::Model::VirtualServiceRef::WithMeshName
VirtualServiceRef & WithMeshName(Aws::String &&value)
Definition: VirtualServiceRef.h:184
DateTime.h
Aws::AppMesh::Model::VirtualServiceRef::WithCreatedAt
VirtualServiceRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualServiceRef.h:111
Aws::AppMesh::Model::VirtualServiceRef::WithVersion
VirtualServiceRef & WithVersion(long long value)
Definition: VirtualServiceRef.h:360
Aws::AppMesh::Model::VirtualServiceRef::SetMeshName
void SetMeshName(const char *value)
Definition: VirtualServiceRef.h:174
Aws::AppMesh::Model::VirtualServiceRef::SetArn
void SetArn(const Aws::String &value)
Definition: VirtualServiceRef.h:55
Aws::AppMesh::Model::VirtualServiceRef::WithVirtualServiceName
VirtualServiceRef & WithVirtualServiceName(const char *value)
Definition: VirtualServiceRef.h:401
Aws::AppMesh::Model::VirtualServiceRef::SetResourceOwner
void SetResourceOwner(const Aws::String &value)
Definition: VirtualServiceRef.h:290
Aws::AppMesh::Model::VirtualServiceRef::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualServiceRef.h:136
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualServiceRef::WithCreatedAt
VirtualServiceRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualServiceRef.h:106
Aws::AppMesh::Model::VirtualServiceRef::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: VirtualServiceRef.h:101
Aws::AppMesh::Model::VirtualServiceRef::SetArn
void SetArn(const char *value)
Definition: VirtualServiceRef.h:65
Aws::AppMesh::Model::VirtualServiceRef::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: VirtualServiceRef.h:169
Aws::AppMesh::Model::VirtualServiceRef::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: VirtualServiceRef.h:50
Aws::AppMesh::Model::VirtualServiceRef::WithMeshOwner
VirtualServiceRef & WithMeshOwner(const char *value)
Definition: VirtualServiceRef.h:262
Aws::AppMesh::Model::VirtualServiceRef::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: VirtualServiceRef.h:91
Aws::AppMesh::Model::VirtualServiceRef::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: VirtualServiceRef.h:235
Aws::AppMesh::Model::VirtualServiceRef::WithMeshOwner
VirtualServiceRef & WithMeshOwner(Aws::String &&value)
Definition: VirtualServiceRef.h:253
Aws::AppMesh::Model::VirtualServiceRef::GetResourceOwner
const Aws::String & GetResourceOwner() const
Definition: VirtualServiceRef.h:272
Aws::AppMesh::Model::VirtualServiceRef
Definition: VirtualServiceRef.h:34
Aws::AppMesh::Model::VirtualServiceRef::SetResourceOwner
void SetResourceOwner(Aws::String &&value)
Definition: VirtualServiceRef.h:299
Aws::AppMesh::Model::VirtualServiceRef::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: VirtualServiceRef.h:124
Aws::AppMesh::Model::VirtualServiceRef::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: VirtualServiceRef.h:199
Aws::AppMesh::Model::VirtualServiceRef::SetResourceOwner
void SetResourceOwner(const char *value)
Definition: VirtualServiceRef.h:308
Aws::AppMesh::Model::VirtualServiceRef::WithArn
VirtualServiceRef & WithArn(Aws::String &&value)
Definition: VirtualServiceRef.h:75
Aws::AppMesh::Model::VirtualServiceRef::WithVirtualServiceName
VirtualServiceRef & WithVirtualServiceName(const Aws::String &value)
Definition: VirtualServiceRef.h:391
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::AppMesh::Model::VirtualServiceRef::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: VirtualServiceRef.h:208
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualServiceRef::SetVirtualServiceName
void SetVirtualServiceName(const char *value)
Definition: VirtualServiceRef.h:386
Aws::AppMesh::Model::VirtualServiceRef::GetVirtualServiceName
const Aws::String & GetVirtualServiceName() const
Definition: VirtualServiceRef.h:366
Aws::AppMesh::Model::VirtualServiceRef::SetVirtualServiceName
void SetVirtualServiceName(Aws::String &&value)
Definition: VirtualServiceRef.h:381
Aws::AppMesh::Model::VirtualServiceRef::ResourceOwnerHasBeenSet
bool ResourceOwnerHasBeenSet() const
Definition: VirtualServiceRef.h:281
Aws::AppMesh::Model::VirtualServiceRef::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: VirtualServiceRef.h:348
Aws::AppMesh::Model::VirtualServiceRef::VirtualServiceRef
VirtualServiceRef(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceRef::VirtualServiceNameHasBeenSet
bool VirtualServiceNameHasBeenSet() const
Definition: VirtualServiceRef.h:371
Aws::AppMesh::Model::VirtualServiceRef::operator=
VirtualServiceRef & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceRef::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: VirtualServiceRef.h:164
Aws::AppMesh::Model::VirtualServiceRef::WithMeshName
VirtualServiceRef & WithMeshName(const char *value)
Definition: VirtualServiceRef.h:189
Aws::AppMesh::Model::VirtualServiceRef::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: VirtualServiceRef.h:226
Aws::AppMesh::Model::VirtualServiceRef::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: VirtualServiceRef.h:118
Aws::AppMesh::Model::VirtualServiceRef::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: VirtualServiceRef.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualServiceRef::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: VirtualServiceRef.h:86
Aws::AppMesh::Model::VirtualServiceRef::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: VirtualServiceRef.h:159
Aws::AppMesh::Model::VirtualServiceRef::SetVirtualServiceName
void SetVirtualServiceName(const Aws::String &value)
Definition: VirtualServiceRef.h:376
Aws::AppMesh::Model::VirtualServiceRef::GetMeshName
const Aws::String & GetMeshName() const
Definition: VirtualServiceRef.h:154
Aws::AppMesh::Model::VirtualServiceRef::WithVirtualServiceName
VirtualServiceRef & WithVirtualServiceName(Aws::String &&value)
Definition: VirtualServiceRef.h:396
Aws::AppMesh::Model::VirtualServiceRef::SetArn
void SetArn(Aws::String &&value)
Definition: VirtualServiceRef.h:60
Aws::AppMesh::Model::VirtualServiceRef::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualServiceRef::WithArn
VirtualServiceRef & WithArn(const Aws::String &value)
Definition: VirtualServiceRef.h:70
Aws::AppMesh::Model::VirtualServiceRef::WithArn
VirtualServiceRef & WithArn(const char *value)
Definition: VirtualServiceRef.h:80
Aws::AppMesh::Model::VirtualServiceRef::VirtualServiceRef
VirtualServiceRef()
Aws::AppMesh::Model::VirtualServiceRef::WithResourceOwner
VirtualServiceRef & WithResourceOwner(Aws::String &&value)
Definition: VirtualServiceRef.h:326
Aws::AppMesh::Model::VirtualServiceRef::GetVersion
long long GetVersion() const
Definition: VirtualServiceRef.h:342
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28