AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetSchemaResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/Compatibility.h>
10#include <aws/glue/model/DataFormat.h>
11#include <aws/glue/model/SchemaStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
27 public:
28 AWS_GLUE_API GetSchemaResult() = default;
31
33
36 inline const Aws::String& GetRegistryName() const { return m_registryName; }
37 template <typename RegistryNameT = Aws::String>
38 void SetRegistryName(RegistryNameT&& value) {
39 m_registryNameHasBeenSet = true;
40 m_registryName = std::forward<RegistryNameT>(value);
41 }
42 template <typename RegistryNameT = Aws::String>
43 GetSchemaResult& WithRegistryName(RegistryNameT&& value) {
44 SetRegistryName(std::forward<RegistryNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
54 template <typename RegistryArnT = Aws::String>
55 void SetRegistryArn(RegistryArnT&& value) {
56 m_registryArnHasBeenSet = true;
57 m_registryArn = std::forward<RegistryArnT>(value);
58 }
59 template <typename RegistryArnT = Aws::String>
60 GetSchemaResult& WithRegistryArn(RegistryArnT&& value) {
61 SetRegistryArn(std::forward<RegistryArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
71 template <typename SchemaNameT = Aws::String>
72 void SetSchemaName(SchemaNameT&& value) {
73 m_schemaNameHasBeenSet = true;
74 m_schemaName = std::forward<SchemaNameT>(value);
75 }
76 template <typename SchemaNameT = Aws::String>
77 GetSchemaResult& WithSchemaName(SchemaNameT&& value) {
78 SetSchemaName(std::forward<SchemaNameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
88 template <typename SchemaArnT = Aws::String>
89 void SetSchemaArn(SchemaArnT&& value) {
90 m_schemaArnHasBeenSet = true;
91 m_schemaArn = std::forward<SchemaArnT>(value);
92 }
93 template <typename SchemaArnT = Aws::String>
94 GetSchemaResult& WithSchemaArn(SchemaArnT&& value) {
95 SetSchemaArn(std::forward<SchemaArnT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
111 GetSchemaResult& WithDescription(DescriptionT&& value) {
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
122 inline DataFormat GetDataFormat() const { return m_dataFormat; }
123 inline void SetDataFormat(DataFormat value) {
124 m_dataFormatHasBeenSet = true;
125 m_dataFormat = value;
126 }
128 SetDataFormat(value);
129 return *this;
130 }
132
134
137 inline Compatibility GetCompatibility() const { return m_compatibility; }
138 inline void SetCompatibility(Compatibility value) {
139 m_compatibilityHasBeenSet = true;
140 m_compatibility = value;
141 }
143 SetCompatibility(value);
144 return *this;
145 }
147
149
153 inline long long GetSchemaCheckpoint() const { return m_schemaCheckpoint; }
154 inline void SetSchemaCheckpoint(long long value) {
155 m_schemaCheckpointHasBeenSet = true;
156 m_schemaCheckpoint = value;
157 }
158 inline GetSchemaResult& WithSchemaCheckpoint(long long value) {
159 SetSchemaCheckpoint(value);
160 return *this;
161 }
163
165
169 inline long long GetLatestSchemaVersion() const { return m_latestSchemaVersion; }
170 inline void SetLatestSchemaVersion(long long value) {
171 m_latestSchemaVersionHasBeenSet = true;
172 m_latestSchemaVersion = value;
173 }
174 inline GetSchemaResult& WithLatestSchemaVersion(long long value) {
176 return *this;
177 }
179
181
185 inline long long GetNextSchemaVersion() const { return m_nextSchemaVersion; }
186 inline void SetNextSchemaVersion(long long value) {
187 m_nextSchemaVersionHasBeenSet = true;
188 m_nextSchemaVersion = value;
189 }
190 inline GetSchemaResult& WithNextSchemaVersion(long long value) {
192 return *this;
193 }
195
197
200 inline SchemaStatus GetSchemaStatus() const { return m_schemaStatus; }
201 inline void SetSchemaStatus(SchemaStatus value) {
202 m_schemaStatusHasBeenSet = true;
203 m_schemaStatus = value;
204 }
206 SetSchemaStatus(value);
207 return *this;
208 }
210
212
215 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
216 template <typename CreatedTimeT = Aws::String>
217 void SetCreatedTime(CreatedTimeT&& value) {
218 m_createdTimeHasBeenSet = true;
219 m_createdTime = std::forward<CreatedTimeT>(value);
220 }
221 template <typename CreatedTimeT = Aws::String>
222 GetSchemaResult& WithCreatedTime(CreatedTimeT&& value) {
223 SetCreatedTime(std::forward<CreatedTimeT>(value));
224 return *this;
225 }
227
229
232 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
233 template <typename UpdatedTimeT = Aws::String>
234 void SetUpdatedTime(UpdatedTimeT&& value) {
235 m_updatedTimeHasBeenSet = true;
236 m_updatedTime = std::forward<UpdatedTimeT>(value);
237 }
238 template <typename UpdatedTimeT = Aws::String>
239 GetSchemaResult& WithUpdatedTime(UpdatedTimeT&& value) {
240 SetUpdatedTime(std::forward<UpdatedTimeT>(value));
241 return *this;
242 }
244
246
247 inline const Aws::String& GetRequestId() const { return m_requestId; }
248 template <typename RequestIdT = Aws::String>
249 void SetRequestId(RequestIdT&& value) {
250 m_requestIdHasBeenSet = true;
251 m_requestId = std::forward<RequestIdT>(value);
252 }
253 template <typename RequestIdT = Aws::String>
254 GetSchemaResult& WithRequestId(RequestIdT&& value) {
255 SetRequestId(std::forward<RequestIdT>(value));
256 return *this;
257 }
259 private:
260 Aws::String m_registryName;
261
262 Aws::String m_registryArn;
263
264 Aws::String m_schemaName;
265
266 Aws::String m_schemaArn;
267
268 Aws::String m_description;
269
270 DataFormat m_dataFormat{DataFormat::NOT_SET};
271
272 Compatibility m_compatibility{Compatibility::NOT_SET};
273
274 long long m_schemaCheckpoint{0};
275
276 long long m_latestSchemaVersion{0};
277
278 long long m_nextSchemaVersion{0};
279
280 SchemaStatus m_schemaStatus{SchemaStatus::NOT_SET};
281
282 Aws::String m_createdTime;
283
284 Aws::String m_updatedTime;
285
286 Aws::String m_requestId;
287 bool m_registryNameHasBeenSet = false;
288 bool m_registryArnHasBeenSet = false;
289 bool m_schemaNameHasBeenSet = false;
290 bool m_schemaArnHasBeenSet = false;
291 bool m_descriptionHasBeenSet = false;
292 bool m_dataFormatHasBeenSet = false;
293 bool m_compatibilityHasBeenSet = false;
294 bool m_schemaCheckpointHasBeenSet = false;
295 bool m_latestSchemaVersionHasBeenSet = false;
296 bool m_nextSchemaVersionHasBeenSet = false;
297 bool m_schemaStatusHasBeenSet = false;
298 bool m_createdTimeHasBeenSet = false;
299 bool m_updatedTimeHasBeenSet = false;
300 bool m_requestIdHasBeenSet = false;
301};
302
303} // namespace Model
304} // namespace Glue
305} // namespace Aws
void SetSchemaCheckpoint(long long value)
GetSchemaResult & WithUpdatedTime(UpdatedTimeT &&value)
AWS_GLUE_API GetSchemaResult()=default
GetSchemaResult & WithLatestSchemaVersion(long long value)
const Aws::String & GetRegistryArn() const
void SetCompatibility(Compatibility value)
void SetUpdatedTime(UpdatedTimeT &&value)
void SetLatestSchemaVersion(long long value)
GetSchemaResult & WithRegistryArn(RegistryArnT &&value)
GetSchemaResult & WithDataFormat(DataFormat value)
const Aws::String & GetCreatedTime() const
void SetSchemaName(SchemaNameT &&value)
const Aws::String & GetSchemaArn() const
GetSchemaResult & WithSchemaCheckpoint(long long value)
GetSchemaResult & WithSchemaArn(SchemaArnT &&value)
void SetSchemaStatus(SchemaStatus value)
GetSchemaResult & WithNextSchemaVersion(long long value)
GetSchemaResult & WithCreatedTime(CreatedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
GetSchemaResult & WithDescription(DescriptionT &&value)
GetSchemaResult & WithSchemaStatus(SchemaStatus value)
void SetNextSchemaVersion(long long value)
void SetDataFormat(DataFormat value)
Compatibility GetCompatibility() const
const Aws::String & GetRegistryName() const
GetSchemaResult & WithRegistryName(RegistryNameT &&value)
AWS_GLUE_API GetSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegistryName(RegistryNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetSchemaArn(SchemaArnT &&value)
AWS_GLUE_API GetSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetSchemaName() const
GetSchemaResult & WithSchemaName(SchemaNameT &&value)
GetSchemaResult & WithCompatibility(Compatibility value)
const Aws::String & GetUpdatedTime() const
void SetRegistryArn(RegistryArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue