7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/RegistryId.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/glue/model/DataFormat.h>
12#include <aws/glue/model/Compatibility.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
50 template<
typename RegistryIdT = RegistryId>
51 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet =
true; m_registryId = std::forward<RegistryIdT>(value); }
52 template<
typename RegistryIdT = RegistryId>
64 template<
typename SchemaNameT = Aws::String>
65 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet =
true; m_schemaName = std::forward<SchemaNameT>(value); }
66 template<
typename SchemaNameT = Aws::String>
128 template<
typename DescriptionT = Aws::String>
129 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
130 template<
typename DescriptionT = Aws::String>
142 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
148 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
159 template<
typename SchemaDefinitionT = Aws::String>
160 void SetSchemaDefinition(SchemaDefinitionT&& value) { m_schemaDefinitionHasBeenSet =
true; m_schemaDefinition = std::forward<SchemaDefinitionT>(value); }
161 template<
typename SchemaDefinitionT = Aws::String>
167 bool m_registryIdHasBeenSet =
false;
170 bool m_schemaNameHasBeenSet =
false;
173 bool m_dataFormatHasBeenSet =
false;
176 bool m_compatibilityHasBeenSet =
false;
179 bool m_descriptionHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
185 bool m_schemaDefinitionHasBeenSet =
false;
CreateSchemaRequest & WithSchemaName(SchemaNameT &&value)
bool DescriptionHasBeenSet() const
CreateSchemaRequest & WithRegistryId(RegistryIdT &&value)
CreateSchemaRequest & WithCompatibility(Compatibility value)
CreateSchemaRequest & WithTags(TagsT &&value)
void SetSchemaDefinition(SchemaDefinitionT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateSchemaRequest & WithDescription(DescriptionT &&value)
void SetDataFormat(DataFormat value)
bool SchemaNameHasBeenSet() const
CreateSchemaRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SchemaDefinitionHasBeenSet() const
bool DataFormatHasBeenSet() const
const Aws::String & GetSchemaDefinition() const
DataFormat GetDataFormat() const
const Aws::String & GetSchemaName() const
void SetRegistryId(RegistryIdT &&value)
void SetSchemaName(SchemaNameT &&value)
const Aws::String & GetDescription() const
Compatibility GetCompatibility() const
const RegistryId & GetRegistryId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool CompatibilityHasBeenSet() const
AWS_GLUE_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
CreateSchemaRequest & WithDataFormat(DataFormat value)
CreateSchemaRequest & WithSchemaDefinition(SchemaDefinitionT &&value)
void SetCompatibility(Compatibility value)
AWS_GLUE_API CreateSchemaRequest()=default
bool RegistryIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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