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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
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>
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>
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>
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>
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>
120 inline void SetSchemaCheckpoint(
long long value) { m_schemaCheckpointHasBeenSet =
true; m_schemaCheckpoint = value; }
130 inline void SetLatestSchemaVersion(
long long value) { m_latestSchemaVersionHasBeenSet =
true; m_latestSchemaVersion = value; }
140 inline void SetNextSchemaVersion(
long long value) { m_nextSchemaVersionHasBeenSet =
true; m_nextSchemaVersion = value; }
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>>
162 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
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>
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>
199 bool m_registryNameHasBeenSet =
false;
202 bool m_registryArnHasBeenSet =
false;
205 bool m_schemaNameHasBeenSet =
false;
208 bool m_schemaArnHasBeenSet =
false;
211 bool m_descriptionHasBeenSet =
false;
214 bool m_dataFormatHasBeenSet =
false;
217 bool m_compatibilityHasBeenSet =
false;
219 long long m_schemaCheckpoint{0};
220 bool m_schemaCheckpointHasBeenSet =
false;
222 long long m_latestSchemaVersion{0};
223 bool m_latestSchemaVersionHasBeenSet =
false;
225 long long m_nextSchemaVersion{0};
226 bool m_nextSchemaVersionHasBeenSet =
false;
229 bool m_schemaStatusHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
235 bool m_schemaVersionIdHasBeenSet =
false;
238 bool m_schemaVersionStatusHasBeenSet =
false;
241 bool m_requestIdHasBeenSet =
false;
SchemaStatus GetSchemaStatus() const
SchemaVersionStatus GetSchemaVersionStatus() const
CreateSchemaResult & WithSchemaVersionStatus(SchemaVersionStatus value)
const Aws::String & GetRegistryArn() const
void SetRequestId(RequestIdT &&value)
void SetSchemaCheckpoint(long long value)
const Aws::String & GetRegistryName() const
CreateSchemaResult & WithSchemaName(SchemaNameT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDescription() const
CreateSchemaResult & WithDescription(DescriptionT &&value)
Compatibility GetCompatibility() const
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)
DataFormat GetDataFormat() const
CreateSchemaResult & WithDataFormat(DataFormat value)
void SetSchemaStatus(SchemaStatus value)
CreateSchemaResult & WithSchemaCheckpoint(long long value)
const Aws::String & GetSchemaName() const
void SetLatestSchemaVersion(long long value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUE_API CreateSchemaResult()=default
long long GetSchemaCheckpoint() const
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)
long long GetNextSchemaVersion() const
void SetSchemaVersionId(SchemaVersionIdT &&value)
CreateSchemaResult & WithSchemaStatus(SchemaStatus value)
CreateSchemaResult & WithRegistryArn(RegistryArnT &&value)
void SetDataFormat(DataFormat value)
CreateSchemaResult & WithNextSchemaVersion(long long value)
void SetCompatibility(Compatibility value)
void SetNextSchemaVersion(long long value)
const Aws::String & GetSchemaArn() const
CreateSchemaResult & WithRequestId(RequestIdT &&value)
long long GetLatestSchemaVersion() const
CreateSchemaResult & WithSchemaVersionId(SchemaVersionIdT &&value)
void SetRegistryArn(RegistryArnT &&value)
CreateSchemaResult & WithLatestSchemaVersion(long long value)
CreateSchemaResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetSchemaArn(SchemaArnT &&value)
void SetTags(TagsT &&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