AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualServiceRef.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
34 {
35 public:
36 AWS_APPMESH_API VirtualServiceRef();
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 VirtualServiceRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline VirtualServiceRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline VirtualServiceRef& 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 VirtualServiceRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline VirtualServiceRef& 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 VirtualServiceRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
78 inline VirtualServiceRef& 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 VirtualServiceRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
91 inline VirtualServiceRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
92 inline VirtualServiceRef& 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 VirtualServiceRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
109 inline VirtualServiceRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
110 inline VirtualServiceRef& 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 VirtualServiceRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
127 inline VirtualServiceRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
128 inline VirtualServiceRef& 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 VirtualServiceRef& WithVersion(long long value) { SetVersion(value); return *this;}
141
143
146 inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
147 inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
148 inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
149 inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
150 inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
151 inline VirtualServiceRef& WithVirtualServiceName(const Aws::String& value) { SetVirtualServiceName(value); return *this;}
152 inline VirtualServiceRef& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
153 inline VirtualServiceRef& WithVirtualServiceName(const char* value) { SetVirtualServiceName(value); return *this;}
155 private:
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt;
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedAt;
164 bool m_lastUpdatedAtHasBeenSet = false;
165
166 Aws::String m_meshName;
167 bool m_meshNameHasBeenSet = false;
168
169 Aws::String m_meshOwner;
170 bool m_meshOwnerHasBeenSet = false;
171
172 Aws::String m_resourceOwner;
173 bool m_resourceOwnerHasBeenSet = false;
174
175 long long m_version;
176 bool m_versionHasBeenSet = false;
177
178 Aws::String m_virtualServiceName;
179 bool m_virtualServiceNameHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace AppMesh
184} // namespace Aws
VirtualServiceRef & WithVirtualServiceName(const char *value)
VirtualServiceRef & WithMeshName(Aws::String &&value)
const Aws::String & GetMeshName() const
AWS_APPMESH_API VirtualServiceRef(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(Aws::Utils::DateTime &&value)
VirtualServiceRef & WithMeshName(const Aws::String &value)
VirtualServiceRef & WithArn(const Aws::String &value)
void SetVirtualServiceName(Aws::String &&value)
VirtualServiceRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
VirtualServiceRef & WithResourceOwner(const char *value)
VirtualServiceRef & WithMeshOwner(Aws::String &&value)
void SetResourceOwner(Aws::String &&value)
const Aws::String & GetMeshOwner() const
void SetResourceOwner(const Aws::String &value)
AWS_APPMESH_API VirtualServiceRef & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualServiceRef & WithMeshName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
VirtualServiceRef & WithMeshOwner(const char *value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualServiceName(const Aws::String &value)
VirtualServiceRef & WithVersion(long long value)
VirtualServiceRef & WithCreatedAt(const Aws::Utils::DateTime &value)
VirtualServiceRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetResourceOwner() const
VirtualServiceRef & WithMeshOwner(const Aws::String &value)
VirtualServiceRef & WithVirtualServiceName(const Aws::String &value)
VirtualServiceRef & WithResourceOwner(Aws::String &&value)
void SetMeshName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetVirtualServiceName() const
VirtualServiceRef & WithArn(const char *value)
VirtualServiceRef & WithVirtualServiceName(Aws::String &&value)
VirtualServiceRef & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetMeshOwner(const Aws::String &value)
void SetVirtualServiceName(const char *value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
VirtualServiceRef & WithCreatedAt(Aws::Utils::DateTime &&value)
VirtualServiceRef & WithResourceOwner(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue