7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elementalinference/ElementalInference_EXPORTS.h>
12#include <aws/elementalinference/model/DictionaryLanguage.h>
13#include <aws/elementalinference/model/DictionaryStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace ElementalInference {
39 template <
typename NameT = Aws::String>
41 m_nameHasBeenSet =
true;
42 m_name = std::forward<NameT>(value);
44 template <
typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
56 template <
typename ArnT = Aws::String>
58 m_arnHasBeenSet =
true;
59 m_arn = std::forward<ArnT>(value);
61 template <
typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
73 template <
typename IdT = Aws::String>
75 m_idHasBeenSet =
true;
76 m_id = std::forward<IdT>(value);
78 template <
typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
91 m_languageHasBeenSet =
true;
107 m_statusHasBeenSet =
true;
121 template <
typename ReferencesT = Aws::Vector<Aws::String>>
123 m_referencesHasBeenSet =
true;
124 m_references = std::forward<ReferencesT>(value);
126 template <
typename ReferencesT = Aws::Vector<Aws::String>>
131 template <
typename ReferencesT = Aws::String>
133 m_referencesHasBeenSet =
true;
134 m_references.emplace_back(std::forward<ReferencesT>(value));
144 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 m_tagsHasBeenSet =
true;
147 m_tags = std::forward<TagsT>(value);
149 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 SetTags(std::forward<TagsT>(value));
154 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
156 m_tagsHasBeenSet =
true;
157 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
165 template <
typename RequestIdT = Aws::String>
167 m_requestIdHasBeenSet =
true;
168 m_requestId = std::forward<RequestIdT>(value);
170 template <
typename RequestIdT = Aws::String>
195 bool m_nameHasBeenSet =
false;
196 bool m_arnHasBeenSet =
false;
197 bool m_idHasBeenSet =
false;
198 bool m_languageHasBeenSet =
false;
199 bool m_statusHasBeenSet =
false;
200 bool m_referencesHasBeenSet =
false;
201 bool m_tagsHasBeenSet =
false;
202 bool m_requestIdHasBeenSet =
false;
CreateDictionaryResult & WithId(IdT &&value)
void SetLanguage(DictionaryLanguage value)
CreateDictionaryResult & AddReferences(ReferencesT &&value)
void SetStatus(DictionaryStatus value)
const Aws::String & GetName() const
void SetTags(TagsT &&value)
DictionaryStatus GetStatus() const
CreateDictionaryResult & WithName(NameT &&value)
const Aws::String & GetArn() const
CreateDictionaryResult & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
AWS_ELEMENTALINFERENCE_API CreateDictionaryResult()=default
CreateDictionaryResult & WithLanguage(DictionaryLanguage value)
DictionaryLanguage GetLanguage() const
CreateDictionaryResult & WithRequestId(RequestIdT &&value)
AWS_ELEMENTALINFERENCE_API CreateDictionaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDictionaryResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetRequestId() const
void SetReferences(ReferencesT &&value)
AWS_ELEMENTALINFERENCE_API CreateDictionaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetReferences() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetId() const
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDictionaryResult & WithTags(TagsT &&value)
CreateDictionaryResult & WithStatus(DictionaryStatus value)
CreateDictionaryResult & WithReferences(ReferencesT &&value)
void SetRequestId(RequestIdT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue