AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
36
37
39
42 inline const Aws::String& GetRegistryName() const { return m_registryName; }
43 template<typename RegistryNameT = Aws::String>
44 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
45 template<typename RegistryNameT = Aws::String>
46 GetSchemaResult& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
54 template<typename RegistryArnT = Aws::String>
55 void SetRegistryArn(RegistryArnT&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::forward<RegistryArnT>(value); }
56 template<typename RegistryArnT = Aws::String>
57 GetSchemaResult& WithRegistryArn(RegistryArnT&& value) { SetRegistryArn(std::forward<RegistryArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
65 template<typename SchemaNameT = Aws::String>
66 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
67 template<typename SchemaNameT = Aws::String>
68 GetSchemaResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
76 template<typename SchemaArnT = Aws::String>
77 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
78 template<typename SchemaArnT = Aws::String>
79 GetSchemaResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template<typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
89 template<typename DescriptionT = Aws::String>
90 GetSchemaResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
92
94
98 inline DataFormat GetDataFormat() const { return m_dataFormat; }
99 inline void SetDataFormat(DataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
100 inline GetSchemaResult& WithDataFormat(DataFormat value) { SetDataFormat(value); return *this;}
102
104
107 inline Compatibility GetCompatibility() const { return m_compatibility; }
108 inline void SetCompatibility(Compatibility value) { m_compatibilityHasBeenSet = true; m_compatibility = value; }
109 inline GetSchemaResult& WithCompatibility(Compatibility value) { SetCompatibility(value); return *this;}
111
113
117 inline long long GetSchemaCheckpoint() const { return m_schemaCheckpoint; }
118 inline void SetSchemaCheckpoint(long long value) { m_schemaCheckpointHasBeenSet = true; m_schemaCheckpoint = value; }
119 inline GetSchemaResult& WithSchemaCheckpoint(long long value) { SetSchemaCheckpoint(value); return *this;}
121
123
127 inline long long GetLatestSchemaVersion() const { return m_latestSchemaVersion; }
128 inline void SetLatestSchemaVersion(long long value) { m_latestSchemaVersionHasBeenSet = true; m_latestSchemaVersion = value; }
129 inline GetSchemaResult& WithLatestSchemaVersion(long long value) { SetLatestSchemaVersion(value); return *this;}
131
133
137 inline long long GetNextSchemaVersion() const { return m_nextSchemaVersion; }
138 inline void SetNextSchemaVersion(long long value) { m_nextSchemaVersionHasBeenSet = true; m_nextSchemaVersion = value; }
139 inline GetSchemaResult& WithNextSchemaVersion(long long value) { SetNextSchemaVersion(value); return *this;}
141
143
146 inline SchemaStatus GetSchemaStatus() const { return m_schemaStatus; }
147 inline void SetSchemaStatus(SchemaStatus value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = value; }
148 inline GetSchemaResult& WithSchemaStatus(SchemaStatus value) { SetSchemaStatus(value); return *this;}
150
152
155 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
156 template<typename CreatedTimeT = Aws::String>
157 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
158 template<typename CreatedTimeT = Aws::String>
159 GetSchemaResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
161
163
166 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
167 template<typename UpdatedTimeT = Aws::String>
168 void SetUpdatedTime(UpdatedTimeT&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::forward<UpdatedTimeT>(value); }
169 template<typename UpdatedTimeT = Aws::String>
170 GetSchemaResult& WithUpdatedTime(UpdatedTimeT&& value) { SetUpdatedTime(std::forward<UpdatedTimeT>(value)); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template<typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
178 template<typename RequestIdT = Aws::String>
179 GetSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
181 private:
182
183 Aws::String m_registryName;
184 bool m_registryNameHasBeenSet = false;
185
186 Aws::String m_registryArn;
187 bool m_registryArnHasBeenSet = false;
188
189 Aws::String m_schemaName;
190 bool m_schemaNameHasBeenSet = false;
191
192 Aws::String m_schemaArn;
193 bool m_schemaArnHasBeenSet = false;
194
195 Aws::String m_description;
196 bool m_descriptionHasBeenSet = false;
197
198 DataFormat m_dataFormat{DataFormat::NOT_SET};
199 bool m_dataFormatHasBeenSet = false;
200
201 Compatibility m_compatibility{Compatibility::NOT_SET};
202 bool m_compatibilityHasBeenSet = false;
203
204 long long m_schemaCheckpoint{0};
205 bool m_schemaCheckpointHasBeenSet = false;
206
207 long long m_latestSchemaVersion{0};
208 bool m_latestSchemaVersionHasBeenSet = false;
209
210 long long m_nextSchemaVersion{0};
211 bool m_nextSchemaVersionHasBeenSet = false;
212
213 SchemaStatus m_schemaStatus{SchemaStatus::NOT_SET};
214 bool m_schemaStatusHasBeenSet = false;
215
216 Aws::String m_createdTime;
217 bool m_createdTimeHasBeenSet = false;
218
219 Aws::String m_updatedTime;
220 bool m_updatedTimeHasBeenSet = false;
221
222 Aws::String m_requestId;
223 bool m_requestIdHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace Glue
228} // 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