AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSchemaResult.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 <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/SchemaVersionStatus.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Glue
29{
30namespace Model
31{
33 {
34 public:
35 AWS_GLUE_API CreateSchemaResult();
38
39
41
44 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
45 inline void SetRegistryName(const Aws::String& value) { m_registryName = value; }
46 inline void SetRegistryName(Aws::String&& value) { m_registryName = std::move(value); }
47 inline void SetRegistryName(const char* value) { m_registryName.assign(value); }
48 inline CreateSchemaResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
49 inline CreateSchemaResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
50 inline CreateSchemaResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
52
54
57 inline const Aws::String& GetRegistryArn() const{ return m_registryArn; }
58 inline void SetRegistryArn(const Aws::String& value) { m_registryArn = value; }
59 inline void SetRegistryArn(Aws::String&& value) { m_registryArn = std::move(value); }
60 inline void SetRegistryArn(const char* value) { m_registryArn.assign(value); }
61 inline CreateSchemaResult& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;}
62 inline CreateSchemaResult& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;}
63 inline CreateSchemaResult& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;}
65
67
70 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
71 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
72 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
73 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
74 inline CreateSchemaResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
75 inline CreateSchemaResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
76 inline CreateSchemaResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
78
80
83 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
84 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
85 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
86 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
87 inline CreateSchemaResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
88 inline CreateSchemaResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
89 inline CreateSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
91
93
96 inline const Aws::String& GetDescription() const{ return m_description; }
97 inline void SetDescription(const Aws::String& value) { m_description = value; }
98 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
99 inline void SetDescription(const char* value) { m_description.assign(value); }
100 inline CreateSchemaResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
101 inline CreateSchemaResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
102 inline CreateSchemaResult& WithDescription(const char* value) { SetDescription(value); return *this;}
104
106
110 inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
111 inline void SetDataFormat(const DataFormat& value) { m_dataFormat = value; }
112 inline void SetDataFormat(DataFormat&& value) { m_dataFormat = std::move(value); }
113 inline CreateSchemaResult& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
114 inline CreateSchemaResult& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
116
118
121 inline const Compatibility& GetCompatibility() const{ return m_compatibility; }
122 inline void SetCompatibility(const Compatibility& value) { m_compatibility = value; }
123 inline void SetCompatibility(Compatibility&& value) { m_compatibility = std::move(value); }
124 inline CreateSchemaResult& WithCompatibility(const Compatibility& value) { SetCompatibility(value); return *this;}
125 inline CreateSchemaResult& WithCompatibility(Compatibility&& value) { SetCompatibility(std::move(value)); return *this;}
127
129
133 inline long long GetSchemaCheckpoint() const{ return m_schemaCheckpoint; }
134 inline void SetSchemaCheckpoint(long long value) { m_schemaCheckpoint = value; }
135 inline CreateSchemaResult& WithSchemaCheckpoint(long long value) { SetSchemaCheckpoint(value); return *this;}
137
139
143 inline long long GetLatestSchemaVersion() const{ return m_latestSchemaVersion; }
144 inline void SetLatestSchemaVersion(long long value) { m_latestSchemaVersion = value; }
145 inline CreateSchemaResult& WithLatestSchemaVersion(long long value) { SetLatestSchemaVersion(value); return *this;}
147
149
153 inline long long GetNextSchemaVersion() const{ return m_nextSchemaVersion; }
154 inline void SetNextSchemaVersion(long long value) { m_nextSchemaVersion = value; }
155 inline CreateSchemaResult& WithNextSchemaVersion(long long value) { SetNextSchemaVersion(value); return *this;}
157
159
162 inline const SchemaStatus& GetSchemaStatus() const{ return m_schemaStatus; }
163 inline void SetSchemaStatus(const SchemaStatus& value) { m_schemaStatus = value; }
164 inline void SetSchemaStatus(SchemaStatus&& value) { m_schemaStatus = std::move(value); }
165 inline CreateSchemaResult& WithSchemaStatus(const SchemaStatus& value) { SetSchemaStatus(value); return *this;}
166 inline CreateSchemaResult& WithSchemaStatus(SchemaStatus&& value) { SetSchemaStatus(std::move(value)); return *this;}
168
170
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
174 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
175 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
176 inline CreateSchemaResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
177 inline CreateSchemaResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
178 inline CreateSchemaResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
179 inline CreateSchemaResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
180 inline CreateSchemaResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
181 inline CreateSchemaResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
182 inline CreateSchemaResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
183 inline CreateSchemaResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
184 inline CreateSchemaResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
186
188
191 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
192 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionId = value; }
193 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionId = std::move(value); }
194 inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); }
195 inline CreateSchemaResult& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;}
196 inline CreateSchemaResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
197 inline CreateSchemaResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
199
201
204 inline const SchemaVersionStatus& GetSchemaVersionStatus() const{ return m_schemaVersionStatus; }
205 inline void SetSchemaVersionStatus(const SchemaVersionStatus& value) { m_schemaVersionStatus = value; }
206 inline void SetSchemaVersionStatus(SchemaVersionStatus&& value) { m_schemaVersionStatus = std::move(value); }
210
212
213 inline const Aws::String& GetRequestId() const{ return m_requestId; }
214 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
215 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
216 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
217 inline CreateSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
218 inline CreateSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
219 inline CreateSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
221 private:
222
223 Aws::String m_registryName;
224
225 Aws::String m_registryArn;
226
227 Aws::String m_schemaName;
228
229 Aws::String m_schemaArn;
230
231 Aws::String m_description;
232
233 DataFormat m_dataFormat;
234
235 Compatibility m_compatibility;
236
237 long long m_schemaCheckpoint;
238
239 long long m_latestSchemaVersion;
240
241 long long m_nextSchemaVersion;
242
243 SchemaStatus m_schemaStatus;
244
246
247 Aws::String m_schemaVersionId;
248
249 SchemaVersionStatus m_schemaVersionStatus;
250
251 Aws::String m_requestId;
252 };
253
254} // namespace Model
255} // namespace Glue
256} // namespace Aws
CreateSchemaResult & WithSchemaVersionId(Aws::String &&value)
CreateSchemaResult & WithSchemaArn(const char *value)
const DataFormat & GetDataFormat() const
const SchemaVersionStatus & GetSchemaVersionStatus() const
CreateSchemaResult & WithSchemaVersionId(const char *value)
CreateSchemaResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSchemaResult & WithSchemaArn(const Aws::String &value)
const Aws::String & GetRegistryArn() const
void SetCompatibility(const Compatibility &value)
const Aws::String & GetRegistryName() const
CreateSchemaResult & WithSchemaVersionStatus(const SchemaVersionStatus &value)
CreateSchemaResult & WithRegistryArn(Aws::String &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDescription() const
void SetRegistryArn(Aws::String &&value)
CreateSchemaResult & WithRegistryName(const Aws::String &value)
CreateSchemaResult & AddTags(Aws::String &&key, const Aws::String &value)
const SchemaStatus & GetSchemaStatus() const
CreateSchemaResult & WithRegistryName(const char *value)
void SetSchemaVersionId(const Aws::String &value)
CreateSchemaResult & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetSchemaVersionStatus(SchemaVersionStatus &&value)
AWS_GLUE_API CreateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchemaResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateSchemaResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateSchemaResult & WithSchemaName(const Aws::String &value)
AWS_GLUE_API CreateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegistryName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSchemaResult & WithSchemaVersionStatus(SchemaVersionStatus &&value)
CreateSchemaResult & WithSchemaCheckpoint(long long value)
const Aws::String & GetSchemaName() const
CreateSchemaResult & WithSchemaName(const char *value)
CreateSchemaResult & WithRegistryArn(const Aws::String &value)
CreateSchemaResult & WithRequestId(const char *value)
CreateSchemaResult & WithDataFormat(const DataFormat &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSchemaName(const Aws::String &value)
CreateSchemaResult & WithDataFormat(DataFormat &&value)
const Compatibility & GetCompatibility() const
void SetSchemaVersionStatus(const SchemaVersionStatus &value)
CreateSchemaResult & AddTags(Aws::String &&key, const char *value)
CreateSchemaResult & WithCompatibility(const Compatibility &value)
CreateSchemaResult & WithSchemaArn(Aws::String &&value)
void SetSchemaStatus(const SchemaStatus &value)
void SetSchemaVersionId(Aws::String &&value)
CreateSchemaResult & WithRegistryArn(const char *value)
const Aws::String & GetSchemaVersionId() const
void SetDescription(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateSchemaResult & WithCompatibility(Compatibility &&value)
CreateSchemaResult & AddTags(const char *key, const char *value)
CreateSchemaResult & WithDescription(const char *value)
void SetSchemaStatus(SchemaStatus &&value)
CreateSchemaResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateSchemaResult & AddTags(const char *key, Aws::String &&value)
void SetRegistryName(const Aws::String &value)
void SetRegistryArn(const Aws::String &value)
void SetDataFormat(const DataFormat &value)
CreateSchemaResult & WithNextSchemaVersion(long long value)
CreateSchemaResult & WithSchemaVersionId(const Aws::String &value)
CreateSchemaResult & WithRegistryName(Aws::String &&value)
void SetSchemaArn(Aws::String &&value)
const Aws::String & GetSchemaArn() const
CreateSchemaResult & WithSchemaName(Aws::String &&value)
CreateSchemaResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSchemaArn(const Aws::String &value)
void SetSchemaName(Aws::String &&value)
void SetCompatibility(Compatibility &&value)
CreateSchemaResult & WithRequestId(const Aws::String &value)
CreateSchemaResult & WithLatestSchemaVersion(long long value)
CreateSchemaResult & WithSchemaStatus(const SchemaStatus &value)
CreateSchemaResult & WithDescription(Aws::String &&value)
CreateSchemaResult & WithSchemaStatus(SchemaStatus &&value)
CreateSchemaResult & WithRequestId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue