AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
38
39
41
44 inline const Aws::String& GetRegistryName() const { return m_registryName; }
45 template<typename RegistryNameT = Aws::String>
46 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
47 template<typename RegistryNameT = Aws::String>
48 CreateSchemaResult& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
56 template<typename RegistryArnT = Aws::String>
57 void SetRegistryArn(RegistryArnT&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::forward<RegistryArnT>(value); }
58 template<typename RegistryArnT = Aws::String>
59 CreateSchemaResult& WithRegistryArn(RegistryArnT&& value) { SetRegistryArn(std::forward<RegistryArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
67 template<typename SchemaNameT = Aws::String>
68 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
69 template<typename SchemaNameT = Aws::String>
70 CreateSchemaResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
78 template<typename SchemaArnT = Aws::String>
79 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
80 template<typename SchemaArnT = Aws::String>
81 CreateSchemaResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 CreateSchemaResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
100 inline DataFormat GetDataFormat() const { return m_dataFormat; }
101 inline void SetDataFormat(DataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
102 inline CreateSchemaResult& WithDataFormat(DataFormat value) { SetDataFormat(value); return *this;}
104
106
109 inline Compatibility GetCompatibility() const { return m_compatibility; }
110 inline void SetCompatibility(Compatibility value) { m_compatibilityHasBeenSet = true; m_compatibility = value; }
113
115
119 inline long long GetSchemaCheckpoint() const { return m_schemaCheckpoint; }
120 inline void SetSchemaCheckpoint(long long value) { m_schemaCheckpointHasBeenSet = true; m_schemaCheckpoint = value; }
121 inline CreateSchemaResult& WithSchemaCheckpoint(long long value) { SetSchemaCheckpoint(value); return *this;}
123
125
129 inline long long GetLatestSchemaVersion() const { return m_latestSchemaVersion; }
130 inline void SetLatestSchemaVersion(long long value) { m_latestSchemaVersionHasBeenSet = true; m_latestSchemaVersion = value; }
131 inline CreateSchemaResult& WithLatestSchemaVersion(long long value) { SetLatestSchemaVersion(value); return *this;}
133
135
139 inline long long GetNextSchemaVersion() const { return m_nextSchemaVersion; }
140 inline void SetNextSchemaVersion(long long value) { m_nextSchemaVersionHasBeenSet = true; m_nextSchemaVersion = value; }
141 inline CreateSchemaResult& WithNextSchemaVersion(long long value) { SetNextSchemaVersion(value); return *this;}
143
145
148 inline SchemaStatus GetSchemaStatus() const { return m_schemaStatus; }
149 inline void SetSchemaStatus(SchemaStatus value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = value; }
150 inline CreateSchemaResult& WithSchemaStatus(SchemaStatus value) { SetSchemaStatus(value); return *this;}
152
154
157 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
158 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
160 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 CreateSchemaResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
162 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
163 CreateSchemaResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
164 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
165 }
167
169
172 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
173 template<typename SchemaVersionIdT = Aws::String>
174 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
175 template<typename SchemaVersionIdT = Aws::String>
176 CreateSchemaResult& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
178
180
183 inline SchemaVersionStatus GetSchemaVersionStatus() const { return m_schemaVersionStatus; }
184 inline void SetSchemaVersionStatus(SchemaVersionStatus value) { m_schemaVersionStatusHasBeenSet = true; m_schemaVersionStatus = value; }
187
189
190 inline const Aws::String& GetRequestId() const { return m_requestId; }
191 template<typename RequestIdT = Aws::String>
192 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
193 template<typename RequestIdT = Aws::String>
194 CreateSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
196 private:
197
198 Aws::String m_registryName;
199 bool m_registryNameHasBeenSet = false;
200
201 Aws::String m_registryArn;
202 bool m_registryArnHasBeenSet = false;
203
204 Aws::String m_schemaName;
205 bool m_schemaNameHasBeenSet = false;
206
207 Aws::String m_schemaArn;
208 bool m_schemaArnHasBeenSet = false;
209
210 Aws::String m_description;
211 bool m_descriptionHasBeenSet = false;
212
213 DataFormat m_dataFormat{DataFormat::NOT_SET};
214 bool m_dataFormatHasBeenSet = false;
215
216 Compatibility m_compatibility{Compatibility::NOT_SET};
217 bool m_compatibilityHasBeenSet = false;
218
219 long long m_schemaCheckpoint{0};
220 bool m_schemaCheckpointHasBeenSet = false;
221
222 long long m_latestSchemaVersion{0};
223 bool m_latestSchemaVersionHasBeenSet = false;
224
225 long long m_nextSchemaVersion{0};
226 bool m_nextSchemaVersionHasBeenSet = false;
227
228 SchemaStatus m_schemaStatus{SchemaStatus::NOT_SET};
229 bool m_schemaStatusHasBeenSet = false;
230
232 bool m_tagsHasBeenSet = false;
233
234 Aws::String m_schemaVersionId;
235 bool m_schemaVersionIdHasBeenSet = false;
236
238 bool m_schemaVersionStatusHasBeenSet = false;
239
240 Aws::String m_requestId;
241 bool m_requestIdHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace Glue
246} // namespace Aws
SchemaVersionStatus GetSchemaVersionStatus() const
CreateSchemaResult & WithSchemaVersionStatus(SchemaVersionStatus value)
const Aws::String & GetRegistryArn() const
const Aws::String & GetRegistryName() const
CreateSchemaResult & WithSchemaName(SchemaNameT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDescription() const
CreateSchemaResult & WithDescription(DescriptionT &&value)
void SetSchemaName(SchemaNameT &&value)
AWS_GLUE_API CreateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSchemaVersionStatus(SchemaVersionStatus value)
void SetDescription(DescriptionT &&value)
AWS_GLUE_API CreateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchemaResult & WithDataFormat(DataFormat value)
CreateSchemaResult & WithSchemaCheckpoint(long long value)
const Aws::String & GetSchemaName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUE_API CreateSchemaResult()=default
CreateSchemaResult & WithRegistryName(RegistryNameT &&value)
CreateSchemaResult & WithSchemaArn(SchemaArnT &&value)
void SetRegistryName(RegistryNameT &&value)
const Aws::String & GetSchemaVersionId() const
CreateSchemaResult & WithTags(TagsT &&value)
CreateSchemaResult & WithCompatibility(Compatibility value)
void SetSchemaVersionId(SchemaVersionIdT &&value)
CreateSchemaResult & WithSchemaStatus(SchemaStatus value)
CreateSchemaResult & WithRegistryArn(RegistryArnT &&value)
CreateSchemaResult & WithNextSchemaVersion(long long value)
void SetCompatibility(Compatibility value)
const Aws::String & GetSchemaArn() const
CreateSchemaResult & WithRequestId(RequestIdT &&value)
CreateSchemaResult & WithSchemaVersionId(SchemaVersionIdT &&value)
void SetRegistryArn(RegistryArnT &&value)
CreateSchemaResult & WithLatestSchemaVersion(long long value)
CreateSchemaResult & AddTags(TagsKeyT &&key, TagsValueT &&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