AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSchemaResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/DataFormat.h>
10#include <aws/glue/model/Compatibility.h>
11#include <aws/glue/model/SchemaStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GLUE_API GetSchemaResult();
36
37
39
42 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
43 inline void SetRegistryName(const Aws::String& value) { m_registryName = value; }
44 inline void SetRegistryName(Aws::String&& value) { m_registryName = std::move(value); }
45 inline void SetRegistryName(const char* value) { m_registryName.assign(value); }
46 inline GetSchemaResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
47 inline GetSchemaResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
48 inline GetSchemaResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
50
52
55 inline const Aws::String& GetRegistryArn() const{ return m_registryArn; }
56 inline void SetRegistryArn(const Aws::String& value) { m_registryArn = value; }
57 inline void SetRegistryArn(Aws::String&& value) { m_registryArn = std::move(value); }
58 inline void SetRegistryArn(const char* value) { m_registryArn.assign(value); }
59 inline GetSchemaResult& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;}
60 inline GetSchemaResult& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;}
61 inline GetSchemaResult& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;}
63
65
68 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
69 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
70 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
71 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
72 inline GetSchemaResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
73 inline GetSchemaResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
74 inline GetSchemaResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
76
78
81 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
82 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
83 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
84 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
85 inline GetSchemaResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
86 inline GetSchemaResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
87 inline GetSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline void SetDescription(const Aws::String& value) { m_description = value; }
96 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
97 inline void SetDescription(const char* value) { m_description.assign(value); }
98 inline GetSchemaResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
99 inline GetSchemaResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
100 inline GetSchemaResult& WithDescription(const char* value) { SetDescription(value); return *this;}
102
104
108 inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
109 inline void SetDataFormat(const DataFormat& value) { m_dataFormat = value; }
110 inline void SetDataFormat(DataFormat&& value) { m_dataFormat = std::move(value); }
111 inline GetSchemaResult& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
112 inline GetSchemaResult& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
114
116
119 inline const Compatibility& GetCompatibility() const{ return m_compatibility; }
120 inline void SetCompatibility(const Compatibility& value) { m_compatibility = value; }
121 inline void SetCompatibility(Compatibility&& value) { m_compatibility = std::move(value); }
122 inline GetSchemaResult& WithCompatibility(const Compatibility& value) { SetCompatibility(value); return *this;}
123 inline GetSchemaResult& WithCompatibility(Compatibility&& value) { SetCompatibility(std::move(value)); return *this;}
125
127
131 inline long long GetSchemaCheckpoint() const{ return m_schemaCheckpoint; }
132 inline void SetSchemaCheckpoint(long long value) { m_schemaCheckpoint = value; }
133 inline GetSchemaResult& WithSchemaCheckpoint(long long value) { SetSchemaCheckpoint(value); return *this;}
135
137
141 inline long long GetLatestSchemaVersion() const{ return m_latestSchemaVersion; }
142 inline void SetLatestSchemaVersion(long long value) { m_latestSchemaVersion = value; }
143 inline GetSchemaResult& WithLatestSchemaVersion(long long value) { SetLatestSchemaVersion(value); return *this;}
145
147
151 inline long long GetNextSchemaVersion() const{ return m_nextSchemaVersion; }
152 inline void SetNextSchemaVersion(long long value) { m_nextSchemaVersion = value; }
153 inline GetSchemaResult& WithNextSchemaVersion(long long value) { SetNextSchemaVersion(value); return *this;}
155
157
160 inline const SchemaStatus& GetSchemaStatus() const{ return m_schemaStatus; }
161 inline void SetSchemaStatus(const SchemaStatus& value) { m_schemaStatus = value; }
162 inline void SetSchemaStatus(SchemaStatus&& value) { m_schemaStatus = std::move(value); }
163 inline GetSchemaResult& WithSchemaStatus(const SchemaStatus& value) { SetSchemaStatus(value); return *this;}
164 inline GetSchemaResult& WithSchemaStatus(SchemaStatus&& value) { SetSchemaStatus(std::move(value)); return *this;}
166
168
171 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
172 inline void SetCreatedTime(const Aws::String& value) { m_createdTime = value; }
173 inline void SetCreatedTime(Aws::String&& value) { m_createdTime = std::move(value); }
174 inline void SetCreatedTime(const char* value) { m_createdTime.assign(value); }
175 inline GetSchemaResult& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
176 inline GetSchemaResult& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
177 inline GetSchemaResult& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
179
181
184 inline const Aws::String& GetUpdatedTime() const{ return m_updatedTime; }
185 inline void SetUpdatedTime(const Aws::String& value) { m_updatedTime = value; }
186 inline void SetUpdatedTime(Aws::String&& value) { m_updatedTime = std::move(value); }
187 inline void SetUpdatedTime(const char* value) { m_updatedTime.assign(value); }
188 inline GetSchemaResult& WithUpdatedTime(const Aws::String& value) { SetUpdatedTime(value); return *this;}
189 inline GetSchemaResult& WithUpdatedTime(Aws::String&& value) { SetUpdatedTime(std::move(value)); return *this;}
190 inline GetSchemaResult& WithUpdatedTime(const char* value) { SetUpdatedTime(value); return *this;}
192
194
195 inline const Aws::String& GetRequestId() const{ return m_requestId; }
196 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
197 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
198 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
199 inline GetSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
200 inline GetSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
201 inline GetSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
203 private:
204
205 Aws::String m_registryName;
206
207 Aws::String m_registryArn;
208
209 Aws::String m_schemaName;
210
211 Aws::String m_schemaArn;
212
213 Aws::String m_description;
214
215 DataFormat m_dataFormat;
216
217 Compatibility m_compatibility;
218
219 long long m_schemaCheckpoint;
220
221 long long m_latestSchemaVersion;
222
223 long long m_nextSchemaVersion;
224
225 SchemaStatus m_schemaStatus;
226
227 Aws::String m_createdTime;
228
229 Aws::String m_updatedTime;
230
231 Aws::String m_requestId;
232 };
233
234} // namespace Model
235} // namespace Glue
236} // namespace Aws
void SetSchemaCheckpoint(long long value)
void SetRegistryArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetDataFormat(DataFormat &&value)
GetSchemaResult & WithRegistryName(Aws::String &&value)
void SetSchemaArn(const Aws::String &value)
GetSchemaResult & WithDescription(Aws::String &&value)
GetSchemaResult & WithLatestSchemaVersion(long long value)
const Aws::String & GetRegistryArn() const
GetSchemaResult & WithCompatibility(const Compatibility &value)
void SetDataFormat(const DataFormat &value)
GetSchemaResult & WithUpdatedTime(const char *value)
void SetDescription(Aws::String &&value)
void SetCompatibility(Compatibility &&value)
void SetCompatibility(const Compatibility &value)
void SetLatestSchemaVersion(long long value)
GetSchemaResult & WithRegistryName(const char *value)
GetSchemaResult & WithUpdatedTime(Aws::String &&value)
const Aws::String & GetCreatedTime() const
GetSchemaResult & WithSchemaName(const Aws::String &value)
void SetSchemaArn(const char *value)
const DataFormat & GetDataFormat() const
const Aws::String & GetSchemaArn() const
GetSchemaResult & WithSchemaCheckpoint(long long value)
void SetRequestId(const char *value)
GetSchemaResult & WithNextSchemaVersion(long long value)
GetSchemaResult & WithSchemaArn(const Aws::String &value)
GetSchemaResult & WithRequestId(const Aws::String &value)
GetSchemaResult & WithRegistryName(const Aws::String &value)
void SetSchemaArn(Aws::String &&value)
void SetSchemaStatus(const SchemaStatus &value)
void SetUpdatedTime(Aws::String &&value)
const SchemaStatus & GetSchemaStatus() const
GetSchemaResult & WithDescription(const Aws::String &value)
GetSchemaResult & WithDescription(const char *value)
GetSchemaResult & WithSchemaStatus(SchemaStatus &&value)
const Compatibility & GetCompatibility() const
void SetRegistryName(const Aws::String &value)
void SetNextSchemaVersion(long long value)
void SetSchemaName(const Aws::String &value)
void SetCreatedTime(Aws::String &&value)
void SetDescription(const char *value)
const Aws::String & GetRegistryName() const
void SetUpdatedTime(const Aws::String &value)
void SetSchemaName(Aws::String &&value)
void SetRegistryArn(const char *value)
GetSchemaResult & WithCreatedTime(const Aws::String &value)
AWS_GLUE_API GetSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTime(const char *value)
GetSchemaResult & WithRegistryArn(const Aws::String &value)
GetSchemaResult & WithCompatibility(Compatibility &&value)
GetSchemaResult & WithRegistryArn(Aws::String &&value)
GetSchemaResult & WithRequestId(Aws::String &&value)
const Aws::String & GetDescription() const
AWS_GLUE_API GetSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaResult & WithSchemaName(const char *value)
void SetRequestId(Aws::String &&value)
void SetUpdatedTime(const char *value)
GetSchemaResult & WithRegistryArn(const char *value)
GetSchemaResult & WithSchemaArn(Aws::String &&value)
void SetCreatedTime(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetSchemaName(const char *value)
void SetSchemaStatus(SchemaStatus &&value)
GetSchemaResult & WithDataFormat(const DataFormat &value)
GetSchemaResult & WithRequestId(const char *value)
void SetRegistryName(Aws::String &&value)
void SetDescription(const Aws::String &value)
GetSchemaResult & WithDataFormat(DataFormat &&value)
void SetRegistryName(const char *value)
const Aws::String & GetSchemaName() const
GetSchemaResult & WithUpdatedTime(const Aws::String &value)
const Aws::String & GetUpdatedTime() const
GetSchemaResult & WithCreatedTime(Aws::String &&value)
GetSchemaResult & WithSchemaStatus(const SchemaStatus &value)
GetSchemaResult & WithCreatedTime(const char *value)
GetSchemaResult & WithSchemaArn(const char *value)
GetSchemaResult & WithSchemaName(Aws::String &&value)
void SetRegistryArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue