AWS SDK for C++  1.9.129
AWS SDK for C++
MeshRef.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 MeshRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline MeshRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline MeshRef& 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 MeshRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 
111  inline MeshRef& 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 MeshRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
143 
148  inline MeshRef& 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 MeshRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
180 
184  inline MeshRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
185 
189  inline MeshRef& 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 MeshRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
245 
253  inline MeshRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
254 
262  inline MeshRef& 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 MeshRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
318 
326  inline MeshRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
327 
335  inline MeshRef& 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 MeshRef& WithVersion(long long value) { SetVersion(value); return *this;}
361 
362  private:
363 
364  Aws::String m_arn;
365  bool m_arnHasBeenSet;
366 
367  Aws::Utils::DateTime m_createdAt;
368  bool m_createdAtHasBeenSet;
369 
370  Aws::Utils::DateTime m_lastUpdatedAt;
371  bool m_lastUpdatedAtHasBeenSet;
372 
373  Aws::String m_meshName;
374  bool m_meshNameHasBeenSet;
375 
376  Aws::String m_meshOwner;
377  bool m_meshOwnerHasBeenSet;
378 
379  Aws::String m_resourceOwner;
380  bool m_resourceOwnerHasBeenSet;
381 
382  long long m_version;
383  bool m_versionHasBeenSet;
384  };
385 
386 } // namespace Model
387 } // namespace AppMesh
388 } // namespace Aws
Aws::AppMesh::Model::MeshRef::WithResourceOwner
MeshRef & WithResourceOwner(const char *value)
Definition: MeshRef.h:335
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppMesh::Model::MeshRef::WithMeshName
MeshRef & WithMeshName(Aws::String &&value)
Definition: MeshRef.h:184
Aws::AppMesh::Model::MeshRef::operator=
MeshRef & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::MeshRef::SetArn
void SetArn(const char *value)
Definition: MeshRef.h:65
Aws::AppMesh::Model::MeshRef::SetArn
void SetArn(Aws::String &&value)
Definition: MeshRef.h:60
DateTime.h
Aws::AppMesh::Model::MeshRef::WithArn
MeshRef & WithArn(const Aws::String &value)
Definition: MeshRef.h:70
Aws::AppMesh::Model::MeshRef::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: MeshRef.h:226
Aws::AppMesh::Model::MeshRef::WithArn
MeshRef & WithArn(const char *value)
Definition: MeshRef.h:80
Aws::AppMesh::Model::MeshRef::GetArn
const Aws::String & GetArn() const
Definition: MeshRef.h:45
Aws::AppMesh::Model::MeshRef::WithCreatedAt
MeshRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: MeshRef.h:111
Aws::AppMesh::Model::MeshRef::WithResourceOwner
MeshRef & WithResourceOwner(const Aws::String &value)
Definition: MeshRef.h:317
Aws::AppMesh::Model::MeshRef::SetVersion
void SetVersion(long long value)
Definition: MeshRef.h:354
AppMesh_EXPORTS.h
Aws::AppMesh::Model::MeshRef::WithMeshName
MeshRef & WithMeshName(const Aws::String &value)
Definition: MeshRef.h:179
Aws::AppMesh::Model::MeshRef::MeshRef
MeshRef(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::MeshRef::GetMeshName
const Aws::String & GetMeshName() const
Definition: MeshRef.h:154
Aws::AppMesh::Model::MeshRef::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: MeshRef.h:208
Aws::AppMesh::Model::MeshRef::WithMeshOwner
MeshRef & WithMeshOwner(const Aws::String &value)
Definition: MeshRef.h:244
Aws::AppMesh::Model::MeshRef::WithVersion
MeshRef & WithVersion(long long value)
Definition: MeshRef.h:360
Aws::AppMesh::Model::MeshRef::SetMeshName
void SetMeshName(const char *value)
Definition: MeshRef.h:174
Aws::AppMesh::Model::MeshRef::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: MeshRef.h:91
Aws::AppMesh::Model::MeshRef::WithArn
MeshRef & WithArn(Aws::String &&value)
Definition: MeshRef.h:75
Aws::AppMesh::Model::MeshRef
Definition: MeshRef.h:34
Aws::AppMesh::Model::MeshRef::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: MeshRef.h:199
Aws::AppMesh::Model::MeshRef::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: MeshRef.h:235
Aws::AppMesh::Model::MeshRef::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: MeshRef.h:118
Aws::AppMesh::Model::MeshRef::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: MeshRef.h:96
Aws::AppMesh::Model::MeshRef::WithMeshOwner
MeshRef & WithMeshOwner(const char *value)
Definition: MeshRef.h:262
Aws::AppMesh::Model::MeshRef::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: MeshRef.h:130
Aws::AppMesh::Model::MeshRef::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: MeshRef.h:164
Aws::AppMesh::Model::MeshRef::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: MeshRef.h:50
Aws::AppMesh::Model::MeshRef::SetResourceOwner
void SetResourceOwner(const Aws::String &value)
Definition: MeshRef.h:290
Aws::AppMesh::Model::MeshRef::WithMeshOwner
MeshRef & WithMeshOwner(Aws::String &&value)
Definition: MeshRef.h:253
Aws::AppMesh::Model::MeshRef::GetVersion
long long GetVersion() const
Definition: MeshRef.h:342
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppMesh::Model::MeshRef::WithLastUpdatedAt
MeshRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: MeshRef.h:148
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::MeshRef::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: MeshRef.h:169
Aws::AppMesh::Model::MeshRef::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: MeshRef.h:217
Aws::AppMesh::Model::MeshRef::ResourceOwnerHasBeenSet
bool ResourceOwnerHasBeenSet() const
Definition: MeshRef.h:281
Aws::AppMesh::Model::MeshRef::SetArn
void SetArn(const Aws::String &value)
Definition: MeshRef.h:55
Aws::AppMesh::Model::MeshRef::MeshRef
MeshRef()
Aws::AppMesh::Model::MeshRef::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: MeshRef.h:124
Aws::AppMesh::Model::MeshRef::WithResourceOwner
MeshRef & WithResourceOwner(Aws::String &&value)
Definition: MeshRef.h:326
Aws::AppMesh::Model::MeshRef::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: MeshRef.h:348
Aws::AppMesh::Model::MeshRef::WithCreatedAt
MeshRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: MeshRef.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::MeshRef::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: MeshRef.h:136
Aws::AppMesh::Model::MeshRef::WithMeshName
MeshRef & WithMeshName(const char *value)
Definition: MeshRef.h:189
Aws::AppMesh::Model::MeshRef::GetResourceOwner
const Aws::String & GetResourceOwner() const
Definition: MeshRef.h:272
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::MeshRef::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: MeshRef.h:86
Aws::AppMesh::Model::MeshRef::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: MeshRef.h:159
Aws::AppMesh::Model::MeshRef::SetResourceOwner
void SetResourceOwner(Aws::String &&value)
Definition: MeshRef.h:299
Aws::AppMesh::Model::MeshRef::WithLastUpdatedAt
MeshRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: MeshRef.h:142
Aws::AppMesh::Model::MeshRef::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: MeshRef.h:101
Aws::AppMesh::Model::MeshRef::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::MeshRef::SetResourceOwner
void SetResourceOwner(const char *value)
Definition: MeshRef.h:308