AWS SDK for C++  1.9.132
AWS SDK for C++
RouteRef.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 RouteRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline RouteRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline RouteRef& 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 RouteRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 
111  inline RouteRef& 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 RouteRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
143 
148  inline RouteRef& 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 RouteRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
180 
184  inline RouteRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
185 
189  inline RouteRef& 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 RouteRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
245 
253  inline RouteRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
254 
262  inline RouteRef& 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 RouteRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
318 
326  inline RouteRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
327 
335  inline RouteRef& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
336 
337 
341  inline const Aws::String& GetRouteName() const{ return m_routeName; }
342 
346  inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
347 
351  inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
352 
356  inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
357 
361  inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
362 
366  inline RouteRef& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
367 
371  inline RouteRef& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
372 
376  inline RouteRef& WithRouteName(const char* value) { SetRouteName(value); return *this;}
377 
378 
383  inline long long GetVersion() const{ return m_version; }
384 
389  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
390 
395  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
396 
401  inline RouteRef& WithVersion(long long value) { SetVersion(value); return *this;}
402 
403 
407  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
408 
412  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
413 
417  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
418 
422  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
423 
427  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
428 
432  inline RouteRef& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
433 
437  inline RouteRef& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
438 
442  inline RouteRef& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
443 
444  private:
445 
446  Aws::String m_arn;
447  bool m_arnHasBeenSet;
448 
449  Aws::Utils::DateTime m_createdAt;
450  bool m_createdAtHasBeenSet;
451 
452  Aws::Utils::DateTime m_lastUpdatedAt;
453  bool m_lastUpdatedAtHasBeenSet;
454 
455  Aws::String m_meshName;
456  bool m_meshNameHasBeenSet;
457 
458  Aws::String m_meshOwner;
459  bool m_meshOwnerHasBeenSet;
460 
461  Aws::String m_resourceOwner;
462  bool m_resourceOwnerHasBeenSet;
463 
464  Aws::String m_routeName;
465  bool m_routeNameHasBeenSet;
466 
467  long long m_version;
468  bool m_versionHasBeenSet;
469 
470  Aws::String m_virtualRouterName;
471  bool m_virtualRouterNameHasBeenSet;
472  };
473 
474 } // namespace Model
475 } // namespace AppMesh
476 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppMesh::Model::RouteRef::SetVirtualRouterName
void SetVirtualRouterName(const Aws::String &value)
Definition: RouteRef.h:417
Aws::AppMesh::Model::RouteRef::SetRouteName
void SetRouteName(Aws::String &&value)
Definition: RouteRef.h:356
Aws::AppMesh::Model::RouteRef::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: RouteRef.h:235
Aws::AppMesh::Model::RouteRef::GetRouteName
const Aws::String & GetRouteName() const
Definition: RouteRef.h:341
Aws::AppMesh::Model::RouteRef::SetMeshName
void SetMeshName(const char *value)
Definition: RouteRef.h:174
Aws::AppMesh::Model::RouteRef::WithRouteName
RouteRef & WithRouteName(const char *value)
Definition: RouteRef.h:376
Aws::AppMesh::Model::RouteRef::WithVirtualRouterName
RouteRef & WithVirtualRouterName(Aws::String &&value)
Definition: RouteRef.h:437
Aws::AppMesh::Model::RouteRef::WithMeshName
RouteRef & WithMeshName(Aws::String &&value)
Definition: RouteRef.h:184
Aws::AppMesh::Model::RouteRef::WithVersion
RouteRef & WithVersion(long long value)
Definition: RouteRef.h:401
Aws::AppMesh::Model::RouteRef::SetResourceOwner
void SetResourceOwner(Aws::String &&value)
Definition: RouteRef.h:299
Aws::AppMesh::Model::RouteRef::GetArn
const Aws::String & GetArn() const
Definition: RouteRef.h:45
Aws::AppMesh::Model::RouteRef::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: RouteRef.h:169
DateTime.h
Aws::AppMesh::Model::RouteRef::WithVirtualRouterName
RouteRef & WithVirtualRouterName(const Aws::String &value)
Definition: RouteRef.h:432
Aws::AppMesh::Model::RouteRef::SetVirtualRouterName
void SetVirtualRouterName(Aws::String &&value)
Definition: RouteRef.h:422
Aws::AppMesh::Model::RouteRef::GetVersion
long long GetVersion() const
Definition: RouteRef.h:383
Aws::AppMesh::Model::RouteRef::WithArn
RouteRef & WithArn(const char *value)
Definition: RouteRef.h:80
Aws::AppMesh::Model::RouteRef::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: RouteRef.h:159
Aws::AppMesh::Model::RouteRef
Definition: RouteRef.h:34
Aws::AppMesh::Model::RouteRef::WithArn
RouteRef & WithArn(const Aws::String &value)
Definition: RouteRef.h:70
Aws::AppMesh::Model::RouteRef::RouteRef
RouteRef(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::RouteRef::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: RouteRef.h:91
Aws::AppMesh::Model::RouteRef::WithLastUpdatedAt
RouteRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: RouteRef.h:148
Aws::AppMesh::Model::RouteRef::WithResourceOwner
RouteRef & WithResourceOwner(const Aws::String &value)
Definition: RouteRef.h:317
AppMesh_EXPORTS.h
Aws::AppMesh::Model::RouteRef::WithMeshOwner
RouteRef & WithMeshOwner(const char *value)
Definition: RouteRef.h:262
Aws::AppMesh::Model::RouteRef::SetVirtualRouterName
void SetVirtualRouterName(const char *value)
Definition: RouteRef.h:427
Aws::AppMesh::Model::RouteRef::WithMeshName
RouteRef & WithMeshName(const Aws::String &value)
Definition: RouteRef.h:179
Aws::AppMesh::Model::RouteRef::RouteNameHasBeenSet
bool RouteNameHasBeenSet() const
Definition: RouteRef.h:346
Aws::AppMesh::Model::RouteRef::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: RouteRef.h:86
Aws::AppMesh::Model::RouteRef::WithMeshOwner
RouteRef & WithMeshOwner(const Aws::String &value)
Definition: RouteRef.h:244
Aws::AppMesh::Model::RouteRef::SetArn
void SetArn(const char *value)
Definition: RouteRef.h:65
Aws::AppMesh::Model::RouteRef::SetResourceOwner
void SetResourceOwner(const char *value)
Definition: RouteRef.h:308
Aws::AppMesh::Model::RouteRef::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: RouteRef.h:130
Aws::AppMesh::Model::RouteRef::WithArn
RouteRef & WithArn(Aws::String &&value)
Definition: RouteRef.h:75
Aws::AppMesh::Model::RouteRef::WithMeshOwner
RouteRef & WithMeshOwner(Aws::String &&value)
Definition: RouteRef.h:253
Aws::AppMesh::Model::RouteRef::SetVersion
void SetVersion(long long value)
Definition: RouteRef.h:395
Aws::AppMesh::Model::RouteRef::WithCreatedAt
RouteRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: RouteRef.h:111
Aws::AppMesh::Model::RouteRef::WithVirtualRouterName
RouteRef & WithVirtualRouterName(const char *value)
Definition: RouteRef.h:442
Aws::AppMesh::Model::RouteRef::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: RouteRef.h:226
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppMesh::Model::RouteRef::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: RouteRef.h:199
Aws::AppMesh::Model::RouteRef::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: RouteRef.h:136
AWSString.h
Aws::AppMesh::Model::RouteRef::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: RouteRef.h:389
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::RouteRef::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: RouteRef.h:164
Aws::AppMesh::Model::RouteRef::operator=
RouteRef & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::RouteRef::RouteRef
RouteRef()
Aws::AppMesh::Model::RouteRef::GetResourceOwner
const Aws::String & GetResourceOwner() const
Definition: RouteRef.h:272
Aws::AppMesh::Model::RouteRef::WithMeshName
RouteRef & WithMeshName(const char *value)
Definition: RouteRef.h:189
Aws::AppMesh::Model::RouteRef::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::RouteRef::WithCreatedAt
RouteRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: RouteRef.h:106
Aws::AppMesh::Model::RouteRef::SetArn
void SetArn(Aws::String &&value)
Definition: RouteRef.h:60
Aws::AppMesh::Model::RouteRef::WithRouteName
RouteRef & WithRouteName(Aws::String &&value)
Definition: RouteRef.h:371
Aws::AppMesh::Model::RouteRef::GetVirtualRouterName
const Aws::String & GetVirtualRouterName() const
Definition: RouteRef.h:407
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::RouteRef::GetMeshName
const Aws::String & GetMeshName() const
Definition: RouteRef.h:154
Aws::AppMesh::Model::RouteRef::SetArn
void SetArn(const Aws::String &value)
Definition: RouteRef.h:55
Aws::AppMesh::Model::RouteRef::SetRouteName
void SetRouteName(const char *value)
Definition: RouteRef.h:361
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::RouteRef::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: RouteRef.h:217
Aws::AppMesh::Model::RouteRef::VirtualRouterNameHasBeenSet
bool VirtualRouterNameHasBeenSet() const
Definition: RouteRef.h:412
Aws::AppMesh::Model::RouteRef::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: RouteRef.h:124
Aws::AppMesh::Model::RouteRef::WithRouteName
RouteRef & WithRouteName(const Aws::String &value)
Definition: RouteRef.h:366
Aws::AppMesh::Model::RouteRef::ResourceOwnerHasBeenSet
bool ResourceOwnerHasBeenSet() const
Definition: RouteRef.h:281
Aws::AppMesh::Model::RouteRef::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: RouteRef.h:208
Aws::AppMesh::Model::RouteRef::SetRouteName
void SetRouteName(const Aws::String &value)
Definition: RouteRef.h:351
Aws::AppMesh::Model::RouteRef::SetResourceOwner
void SetResourceOwner(const Aws::String &value)
Definition: RouteRef.h:290
Aws::AppMesh::Model::RouteRef::WithResourceOwner
RouteRef & WithResourceOwner(const char *value)
Definition: RouteRef.h:335
Aws::AppMesh::Model::RouteRef::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: RouteRef.h:101
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::RouteRef::WithResourceOwner
RouteRef & WithResourceOwner(Aws::String &&value)
Definition: RouteRef.h:326
Aws::AppMesh::Model::RouteRef::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: RouteRef.h:50
Aws::AppMesh::Model::RouteRef::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: RouteRef.h:96
Aws::AppMesh::Model::RouteRef::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: RouteRef.h:118
Aws::AppMesh::Model::RouteRef::WithLastUpdatedAt
RouteRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: RouteRef.h:142