AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MeshRef.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
33 class MeshRef
34 {
35 public:
36 AWS_APPMESH_API MeshRef();
37 AWS_APPMESH_API MeshRef(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPMESH_API MeshRef& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline MeshRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline MeshRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline MeshRef& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline MeshRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline MeshRef& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
74 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
75 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
76 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
77 inline MeshRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
78 inline MeshRef& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetMeshName() const{ return m_meshName; }
86 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
87 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
88 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
89 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
90 inline MeshRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
91 inline MeshRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
92 inline MeshRef& WithMeshName(const char* value) { SetMeshName(value); return *this;}
94
96
103 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
104 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
105 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
106 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
107 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
108 inline MeshRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
109 inline MeshRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
110 inline MeshRef& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
112
114
121 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
122 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
123 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
124 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
125 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
126 inline MeshRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
127 inline MeshRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
128 inline MeshRef& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
130
132
136 inline long long GetVersion() const{ return m_version; }
137 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
138 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
139 inline MeshRef& WithVersion(long long value) { SetVersion(value); return *this;}
141 private:
142
143 Aws::String m_arn;
144 bool m_arnHasBeenSet = false;
145
146 Aws::Utils::DateTime m_createdAt;
147 bool m_createdAtHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdatedAt;
150 bool m_lastUpdatedAtHasBeenSet = false;
151
152 Aws::String m_meshName;
153 bool m_meshNameHasBeenSet = false;
154
155 Aws::String m_meshOwner;
156 bool m_meshOwnerHasBeenSet = false;
157
158 Aws::String m_resourceOwner;
159 bool m_resourceOwnerHasBeenSet = false;
160
161 long long m_version;
162 bool m_versionHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace AppMesh
167} // namespace Aws
const Aws::String & GetArn() const
Definition MeshRef.h:46
void SetArn(Aws::String &&value)
Definition MeshRef.h:49
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition MeshRef.h:76
MeshRef & WithResourceOwner(const Aws::String &value)
Definition MeshRef.h:126
AWS_APPMESH_API MeshRef()
void SetArn(const Aws::String &value)
Definition MeshRef.h:48
MeshRef & WithArn(Aws::String &&value)
Definition MeshRef.h:52
MeshRef & WithVersion(long long value)
Definition MeshRef.h:139
void SetMeshOwner(const Aws::String &value)
Definition MeshRef.h:105
const Aws::String & GetMeshName() const
Definition MeshRef.h:85
MeshRef & WithMeshOwner(const Aws::String &value)
Definition MeshRef.h:108
long long GetVersion() const
Definition MeshRef.h:136
void SetResourceOwner(const Aws::String &value)
Definition MeshRef.h:123
void SetArn(const char *value)
Definition MeshRef.h:50
AWS_APPMESH_API MeshRef(Aws::Utils::Json::JsonView jsonValue)
MeshRef & WithMeshOwner(Aws::String &&value)
Definition MeshRef.h:109
MeshRef & WithMeshName(Aws::String &&value)
Definition MeshRef.h:91
MeshRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition MeshRef.h:78
MeshRef & WithMeshOwner(const char *value)
Definition MeshRef.h:110
void SetMeshName(const char *value)
Definition MeshRef.h:89
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition MeshRef.h:62
MeshRef & WithArn(const Aws::String &value)
Definition MeshRef.h:51
bool LastUpdatedAtHasBeenSet() const
Definition MeshRef.h:74
MeshRef & WithArn(const char *value)
Definition MeshRef.h:53
void SetMeshOwner(Aws::String &&value)
Definition MeshRef.h:106
void SetResourceOwner(Aws::String &&value)
Definition MeshRef.h:124
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition MeshRef.h:63
const Aws::Utils::DateTime & GetCreatedAt() const
Definition MeshRef.h:60
void SetMeshName(Aws::String &&value)
Definition MeshRef.h:88
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
MeshRef & WithMeshName(const char *value)
Definition MeshRef.h:92
bool CreatedAtHasBeenSet() const
Definition MeshRef.h:61
AWS_APPMESH_API MeshRef & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition MeshRef.h:75
void SetMeshName(const Aws::String &value)
Definition MeshRef.h:87
MeshRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition MeshRef.h:64
bool MeshNameHasBeenSet() const
Definition MeshRef.h:86
void SetVersion(long long value)
Definition MeshRef.h:138
bool ArnHasBeenSet() const
Definition MeshRef.h:47
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition MeshRef.h:73
const Aws::String & GetMeshOwner() const
Definition MeshRef.h:103
bool ResourceOwnerHasBeenSet() const
Definition MeshRef.h:122
void SetMeshOwner(const char *value)
Definition MeshRef.h:107
bool MeshOwnerHasBeenSet() const
Definition MeshRef.h:104
MeshRef & WithResourceOwner(Aws::String &&value)
Definition MeshRef.h:127
MeshRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition MeshRef.h:77
bool VersionHasBeenSet() const
Definition MeshRef.h:137
MeshRef & WithResourceOwner(const char *value)
Definition MeshRef.h:128
MeshRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition MeshRef.h:65
const Aws::String & GetResourceOwner() const
Definition MeshRef.h:121
MeshRef & WithMeshName(const Aws::String &value)
Definition MeshRef.h:90
void SetResourceOwner(const char *value)
Definition MeshRef.h:125
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue