AWS SDK for C++  1.9.123
AWS SDK for C++
GatewayRouteRef.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 GatewayRouteRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline GatewayRouteRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline GatewayRouteRef& 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 GatewayRouteRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 
111  inline GatewayRouteRef& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
112 
113 
117  inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
118 
122  inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
123 
127  inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
128 
132  inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
133 
137  inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
138 
142  inline GatewayRouteRef& WithGatewayRouteName(const Aws::String& value) { SetGatewayRouteName(value); return *this;}
143 
147  inline GatewayRouteRef& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
148 
152  inline GatewayRouteRef& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
153 
154 
159  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
160 
165  inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
166 
171  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
172 
177  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
178 
183  inline GatewayRouteRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
184 
189  inline GatewayRouteRef& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
190 
191 
195  inline const Aws::String& GetMeshName() const{ return m_meshName; }
196 
200  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
201 
205  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
206 
210  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
211 
215  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
216 
220  inline GatewayRouteRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
221 
225  inline GatewayRouteRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
226 
230  inline GatewayRouteRef& WithMeshName(const char* value) { SetMeshName(value); return *this;}
231 
232 
240  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
241 
249  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
250 
258  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
259 
267  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
268 
276  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
277 
285  inline GatewayRouteRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
286 
294  inline GatewayRouteRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
295 
303  inline GatewayRouteRef& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
304 
305 
313  inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
314 
322  inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
323 
331  inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
332 
340  inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
341 
349  inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
350 
358  inline GatewayRouteRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
359 
367  inline GatewayRouteRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
368 
376  inline GatewayRouteRef& WithResourceOwner(const char* value) { SetResourceOwner(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 GatewayRouteRef& WithVersion(long long value) { SetVersion(value); return *this;}
402 
403 
407  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
408 
412  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
413 
417  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
418 
422  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
423 
427  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
428 
432  inline GatewayRouteRef& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
433 
437  inline GatewayRouteRef& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
438 
442  inline GatewayRouteRef& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(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::String m_gatewayRouteName;
453  bool m_gatewayRouteNameHasBeenSet;
454 
455  Aws::Utils::DateTime m_lastUpdatedAt;
456  bool m_lastUpdatedAtHasBeenSet;
457 
458  Aws::String m_meshName;
459  bool m_meshNameHasBeenSet;
460 
461  Aws::String m_meshOwner;
462  bool m_meshOwnerHasBeenSet;
463 
464  Aws::String m_resourceOwner;
465  bool m_resourceOwnerHasBeenSet;
466 
467  long long m_version;
468  bool m_versionHasBeenSet;
469 
470  Aws::String m_virtualGatewayName;
471  bool m_virtualGatewayNameHasBeenSet;
472  };
473 
474 } // namespace Model
475 } // namespace AppMesh
476 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppMesh::Model::GatewayRouteRef::SetGatewayRouteName
void SetGatewayRouteName(const char *value)
Definition: GatewayRouteRef.h:137
Aws::AppMesh::Model::GatewayRouteRef::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: GatewayRouteRef.h:96
Aws::AppMesh::Model::GatewayRouteRef::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: GatewayRouteRef.h:177
Aws::AppMesh::Model::GatewayRouteRef::WithCreatedAt
GatewayRouteRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: GatewayRouteRef.h:106
Aws::AppMesh::Model::GatewayRouteRef::WithMeshName
GatewayRouteRef & WithMeshName(const char *value)
Definition: GatewayRouteRef.h:230
Aws::AppMesh::Model::GatewayRouteRef::WithVirtualGatewayName
GatewayRouteRef & WithVirtualGatewayName(const char *value)
Definition: GatewayRouteRef.h:442
Aws::AppMesh::Model::GatewayRouteRef::WithLastUpdatedAt
GatewayRouteRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: GatewayRouteRef.h:183
Aws::AppMesh::Model::GatewayRouteRef::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: GatewayRouteRef.h:249
Aws::AppMesh::Model::GatewayRouteRef::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: GatewayRouteRef.h:200
DateTime.h
Aws::AppMesh::Model::GatewayRouteRef::SetResourceOwner
void SetResourceOwner(const char *value)
Definition: GatewayRouteRef.h:349
Aws::AppMesh::Model::GatewayRouteRef::WithMeshName
GatewayRouteRef & WithMeshName(const Aws::String &value)
Definition: GatewayRouteRef.h:220
Aws::AppMesh::Model::GatewayRouteRef::SetVersion
void SetVersion(long long value)
Definition: GatewayRouteRef.h:395
Aws::AppMesh::Model::GatewayRouteRef::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: GatewayRouteRef.h:267
Aws::AppMesh::Model::GatewayRouteRef::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: GatewayRouteRef.h:258
Aws::AppMesh::Model::GatewayRouteRef::WithArn
GatewayRouteRef & WithArn(const char *value)
Definition: GatewayRouteRef.h:80
Aws::AppMesh::Model::GatewayRouteRef::ResourceOwnerHasBeenSet
bool ResourceOwnerHasBeenSet() const
Definition: GatewayRouteRef.h:322
Aws::AppMesh::Model::GatewayRouteRef::SetArn
void SetArn(Aws::String &&value)
Definition: GatewayRouteRef.h:60
Aws::AppMesh::Model::GatewayRouteRef::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: GatewayRouteRef.h:210
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GatewayRouteRef::WithResourceOwner
GatewayRouteRef & WithResourceOwner(Aws::String &&value)
Definition: GatewayRouteRef.h:367
Aws::AppMesh::Model::GatewayRouteRef::WithMeshOwner
GatewayRouteRef & WithMeshOwner(const Aws::String &value)
Definition: GatewayRouteRef.h:285
Aws::AppMesh::Model::GatewayRouteRef::WithResourceOwner
GatewayRouteRef & WithResourceOwner(const Aws::String &value)
Definition: GatewayRouteRef.h:358
Aws::AppMesh::Model::GatewayRouteRef::operator=
GatewayRouteRef & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteRef::GetArn
const Aws::String & GetArn() const
Definition: GatewayRouteRef.h:45
Aws::AppMesh::Model::GatewayRouteRef::SetResourceOwner
void SetResourceOwner(const Aws::String &value)
Definition: GatewayRouteRef.h:331
Aws::AppMesh::Model::GatewayRouteRef::WithCreatedAt
GatewayRouteRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: GatewayRouteRef.h:111
Aws::AppMesh::Model::GatewayRouteRef::SetMeshName
void SetMeshName(const char *value)
Definition: GatewayRouteRef.h:215
Aws::AppMesh::Model::GatewayRouteRef::SetArn
void SetArn(const char *value)
Definition: GatewayRouteRef.h:65
Aws::AppMesh::Model::GatewayRouteRef::GetResourceOwner
const Aws::String & GetResourceOwner() const
Definition: GatewayRouteRef.h:313
Aws::AppMesh::Model::GatewayRouteRef::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: GatewayRouteRef.h:417
Aws::AppMesh::Model::GatewayRouteRef::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::GatewayRouteRef::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: GatewayRouteRef.h:165
Aws::AppMesh::Model::GatewayRouteRef::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: GatewayRouteRef.h:276
Aws::AppMesh::Model::GatewayRouteRef::GatewayRouteNameHasBeenSet
bool GatewayRouteNameHasBeenSet() const
Definition: GatewayRouteRef.h:122
Aws::AppMesh::Model::GatewayRouteRef::WithLastUpdatedAt
GatewayRouteRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: GatewayRouteRef.h:189
Aws::AppMesh::Model::GatewayRouteRef::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: GatewayRouteRef.h:50
Aws::AppMesh::Model::GatewayRouteRef::WithArn
GatewayRouteRef & WithArn(const Aws::String &value)
Definition: GatewayRouteRef.h:70
Aws::AppMesh::Model::GatewayRouteRef::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: GatewayRouteRef.h:159
Aws::AppMesh::Model::GatewayRouteRef::GatewayRouteRef
GatewayRouteRef()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppMesh::Model::GatewayRouteRef::GetGatewayRouteName
const Aws::String & GetGatewayRouteName() const
Definition: GatewayRouteRef.h:117
AWSString.h
Aws::AppMesh::Model::GatewayRouteRef::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: GatewayRouteRef.h:205
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::GatewayRouteRef::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: GatewayRouteRef.h:101
Aws::AppMesh::Model::GatewayRouteRef::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: GatewayRouteRef.h:412
Aws::AppMesh::Model::GatewayRouteRef::WithGatewayRouteName
GatewayRouteRef & WithGatewayRouteName(const Aws::String &value)
Definition: GatewayRouteRef.h:142
Aws::AppMesh::Model::GatewayRouteRef::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: GatewayRouteRef.h:422
Aws::AppMesh::Model::GatewayRouteRef::SetArn
void SetArn(const Aws::String &value)
Definition: GatewayRouteRef.h:55
Aws::AppMesh::Model::GatewayRouteRef::SetGatewayRouteName
void SetGatewayRouteName(const Aws::String &value)
Definition: GatewayRouteRef.h:127
Aws::AppMesh::Model::GatewayRouteRef::WithResourceOwner
GatewayRouteRef & WithResourceOwner(const char *value)
Definition: GatewayRouteRef.h:376
Aws::AppMesh::Model::GatewayRouteRef::GetMeshName
const Aws::String & GetMeshName() const
Definition: GatewayRouteRef.h:195
Aws::AppMesh::Model::GatewayRouteRef::WithArn
GatewayRouteRef & WithArn(Aws::String &&value)
Definition: GatewayRouteRef.h:75
Aws::AppMesh::Model::GatewayRouteRef::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: GatewayRouteRef.h:427
Aws::AppMesh::Model::GatewayRouteRef::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: GatewayRouteRef.h:407
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::GatewayRouteRef::WithGatewayRouteName
GatewayRouteRef & WithGatewayRouteName(const char *value)
Definition: GatewayRouteRef.h:152
Aws::AppMesh::Model::GatewayRouteRef::WithMeshOwner
GatewayRouteRef & WithMeshOwner(const char *value)
Definition: GatewayRouteRef.h:303
Aws::AppMesh::Model::GatewayRouteRef::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: GatewayRouteRef.h:389
Aws::AppMesh::Model::GatewayRouteRef::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: GatewayRouteRef.h:86
Aws::AppMesh::Model::GatewayRouteRef::WithMeshName
GatewayRouteRef & WithMeshName(Aws::String &&value)
Definition: GatewayRouteRef.h:225
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::GatewayRouteRef::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: GatewayRouteRef.h:171
Aws::AppMesh::Model::GatewayRouteRef::WithVirtualGatewayName
GatewayRouteRef & WithVirtualGatewayName(Aws::String &&value)
Definition: GatewayRouteRef.h:437
Aws::AppMesh::Model::GatewayRouteRef::GatewayRouteRef
GatewayRouteRef(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteRef::WithVersion
GatewayRouteRef & WithVersion(long long value)
Definition: GatewayRouteRef.h:401
Aws::AppMesh::Model::GatewayRouteRef::GetVersion
long long GetVersion() const
Definition: GatewayRouteRef.h:383
Aws::AppMesh::Model::GatewayRouteRef::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: GatewayRouteRef.h:91
Aws::AppMesh::Model::GatewayRouteRef
Definition: GatewayRouteRef.h:34
Aws::AppMesh::Model::GatewayRouteRef::WithVirtualGatewayName
GatewayRouteRef & WithVirtualGatewayName(const Aws::String &value)
Definition: GatewayRouteRef.h:432
Aws::AppMesh::Model::GatewayRouteRef::WithMeshOwner
GatewayRouteRef & WithMeshOwner(Aws::String &&value)
Definition: GatewayRouteRef.h:294
Aws::AppMesh::Model::GatewayRouteRef::WithGatewayRouteName
GatewayRouteRef & WithGatewayRouteName(Aws::String &&value)
Definition: GatewayRouteRef.h:147
Aws::AppMesh::Model::GatewayRouteRef::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: GatewayRouteRef.h:240
Aws::AppMesh::Model::GatewayRouteRef::SetResourceOwner
void SetResourceOwner(Aws::String &&value)
Definition: GatewayRouteRef.h:340
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::GatewayRouteRef::SetGatewayRouteName
void SetGatewayRouteName(Aws::String &&value)
Definition: GatewayRouteRef.h:132