7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/schemas/model/Type.h>
43 template<
typename ContentT = Aws::String>
44 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
45 template<
typename ContentT = Aws::String>
55 template<
typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
57 template<
typename DescriptionT = Aws::String>
67 template<
typename RegistryNameT = Aws::String>
68 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet =
true; m_registryName = std::forward<RegistryNameT>(value); }
69 template<
typename RegistryNameT = Aws::String>
79 template<
typename SchemaNameT = Aws::String>
80 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet =
true; m_schemaName = std::forward<SchemaNameT>(value); }
81 template<
typename SchemaNameT = Aws::String>
91 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
93 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
97 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
107 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
113 bool m_contentHasBeenSet =
false;
116 bool m_descriptionHasBeenSet =
false;
119 bool m_registryNameHasBeenSet =
false;
122 bool m_schemaNameHasBeenSet =
false;
125 bool m_tagsHasBeenSet =
false;
128 bool m_typeHasBeenSet =
false;
void SetRegistryName(RegistryNameT &&value)
CreateSchemaRequest & WithTags(TagsT &&value)
CreateSchemaRequest & WithContent(ContentT &&value)
bool TagsHasBeenSet() const
void SetContent(ContentT &&value)
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TypeHasBeenSet() const
const Aws::String & GetRegistryName() const
AWS_SCHEMAS_API Aws::String SerializePayload() const override
bool RegistryNameHasBeenSet() const
bool SchemaNameHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateSchemaRequest & WithSchemaName(SchemaNameT &&value)
CreateSchemaRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSchemaRequest & WithDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetSchemaName() const
bool ContentHasBeenSet() const
CreateSchemaRequest & WithRegistryName(RegistryNameT &&value)
CreateSchemaRequest & WithType(Type value)
AWS_SCHEMAS_API CreateSchemaRequest()=default
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
void SetSchemaName(SchemaNameT &&value)
const Aws::String & GetContent() const
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