7#include <aws/context/ContextRequest.h>
8#include <aws/context/Context_EXPORTS.h>
9#include <aws/context/model/OntologySourceFormat.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
48 template <
typename ClientTokenT = Aws::String>
50 m_clientTokenHasBeenSet =
true;
51 m_clientToken = std::forward<ClientTokenT>(value);
53 template <
typename ClientTokenT = Aws::String>
68 template <
typename NameT = Aws::String>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
87 template <
typename DescriptionT = Aws::String>
89 m_descriptionHasBeenSet =
true;
90 m_description = std::forward<DescriptionT>(value);
92 template <
typename DescriptionT = Aws::String>
107 m_sourceFormatHasBeenSet =
true;
108 m_sourceFormat = value;
123 template <
typename SourceT = Aws::String>
125 m_sourceHasBeenSet =
true;
126 m_source = std::forward<SourceT>(value);
128 template <
typename SourceT = Aws::String>
147 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 m_tagsHasBeenSet =
true;
150 m_tags = std::forward<TagsT>(value);
152 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 SetTags(std::forward<TagsT>(value));
157 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
159 m_tagsHasBeenSet =
true;
160 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
176 bool m_clientTokenHasBeenSet =
true;
177 bool m_nameHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
179 bool m_sourceFormatHasBeenSet =
false;
180 bool m_sourceHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
CreateOntologyRequest & WithSourceFormat(OntologySourceFormat value)
bool SourceFormatHasBeenSet() const
CreateOntologyRequest & WithClientToken(ClientTokenT &&value)
AWS_CONTEXT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateOntologyRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateOntologyRequest & WithTags(TagsT &&value)
CreateOntologyRequest & WithDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
AWS_CONTEXT_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
bool SourceHasBeenSet() const
OntologySourceFormat GetSourceFormat() const
CreateOntologyRequest & WithSource(SourceT &&value)
AWS_CONTEXT_API CreateOntologyRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetSource() const
CreateOntologyRequest & WithName(NameT &&value)
bool ClientTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
void SetSource(SourceT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
void SetSourceFormat(OntologySourceFormat value)
static Aws::Utils::UUID PseudoRandomUUID()
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