AWS SDK for C++

AWS SDK for C++ Version 1.11.815

Loading...
Searching...
No Matches
CreateDictionaryResult.h
1
6#pragma once
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>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ElementalInference {
27namespace Model {
29 public:
30 AWS_ELEMENTALINFERENCE_API CreateDictionaryResult() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetId() const { return m_id; }
73 template <typename IdT = Aws::String>
74 void SetId(IdT&& value) {
75 m_idHasBeenSet = true;
76 m_id = std::forward<IdT>(value);
77 }
78 template <typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
81 return *this;
82 }
84
86
89 inline DictionaryLanguage GetLanguage() const { return m_language; }
90 inline void SetLanguage(DictionaryLanguage value) {
91 m_languageHasBeenSet = true;
92 m_language = value;
93 }
95 SetLanguage(value);
96 return *this;
97 }
99
101
105 inline DictionaryStatus GetStatus() const { return m_status; }
106 inline void SetStatus(DictionaryStatus value) {
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::Vector<Aws::String>& GetReferences() const { return m_references; }
121 template <typename ReferencesT = Aws::Vector<Aws::String>>
122 void SetReferences(ReferencesT&& value) {
123 m_referencesHasBeenSet = true;
124 m_references = std::forward<ReferencesT>(value);
125 }
126 template <typename ReferencesT = Aws::Vector<Aws::String>>
128 SetReferences(std::forward<ReferencesT>(value));
129 return *this;
130 }
131 template <typename ReferencesT = Aws::String>
132 CreateDictionaryResult& AddReferences(ReferencesT&& value) {
133 m_referencesHasBeenSet = true;
134 m_references.emplace_back(std::forward<ReferencesT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
144 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) {
146 m_tagsHasBeenSet = true;
147 m_tags = std::forward<TagsT>(value);
148 }
149 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 SetTags(std::forward<TagsT>(value));
152 return *this;
153 }
154 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
155 CreateDictionaryResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
156 m_tagsHasBeenSet = true;
157 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
158 return *this;
159 }
161
163
164 inline const Aws::String& GetRequestId() const { return m_requestId; }
165 template <typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) {
167 m_requestIdHasBeenSet = true;
168 m_requestId = std::forward<RequestIdT>(value);
169 }
170 template <typename RequestIdT = Aws::String>
172 SetRequestId(std::forward<RequestIdT>(value));
173 return *this;
174 }
176 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
177
178 private:
179 Aws::String m_name;
180
181 Aws::String m_arn;
182
183 Aws::String m_id;
184
186
188
189 Aws::Vector<Aws::String> m_references;
190
192
193 Aws::String m_requestId;
194 Aws::Http::HttpResponseCode m_HttpResponseCode;
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;
203};
204
205} // namespace Model
206} // namespace ElementalInference
207} // namespace Aws
CreateDictionaryResult & AddReferences(ReferencesT &&value)
AWS_ELEMENTALINFERENCE_API CreateDictionaryResult()=default
CreateDictionaryResult & WithLanguage(DictionaryLanguage value)
CreateDictionaryResult & WithRequestId(RequestIdT &&value)
AWS_ELEMENTALINFERENCE_API CreateDictionaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDictionaryResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_ELEMENTALINFERENCE_API CreateDictionaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetReferences() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDictionaryResult & WithStatus(DictionaryStatus value)
CreateDictionaryResult & WithReferences(ReferencesT &&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