AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GetOntologyInductionResult.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/OntologyInductionFailure.h>
9#include <aws/context/model/OntologyInductionInputConfigSummary.h>
10#include <aws/context/model/OntologyInductionStatus.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/crt/cbor/Cbor.h>
15
16#include <utility>
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Cbor {
23class CborValue;
24} // namespace Cbor
25} // namespace Utils
26namespace Context {
27namespace Model {
29 public:
30 AWS_CONTEXT_API GetOntologyInductionResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(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
76 inline OntologyInductionStatus GetStatus() const { return m_status; }
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const OntologyInductionFailure& GetFailure() const { return m_failure; }
92 template <typename FailureT = OntologyInductionFailure>
93 void SetFailure(FailureT&& value) {
94 m_failureHasBeenSet = true;
95 m_failure = std::forward<FailureT>(value);
96 }
97 template <typename FailureT = OntologyInductionFailure>
99 SetFailure(std::forward<FailureT>(value));
100 return *this;
101 }
103
105
110 inline const Aws::String& GetOntologyName() const { return m_ontologyName; }
111 template <typename OntologyNameT = Aws::String>
112 void SetOntologyName(OntologyNameT&& value) {
113 m_ontologyNameHasBeenSet = true;
114 m_ontologyName = std::forward<OntologyNameT>(value);
115 }
116 template <typename OntologyNameT = Aws::String>
118 SetOntologyName(std::forward<OntologyNameT>(value));
119 return *this;
120 }
122
124
128 inline const Aws::String& GetOntologyDescription() const { return m_ontologyDescription; }
129 template <typename OntologyDescriptionT = Aws::String>
130 void SetOntologyDescription(OntologyDescriptionT&& value) {
131 m_ontologyDescriptionHasBeenSet = true;
132 m_ontologyDescription = std::forward<OntologyDescriptionT>(value);
133 }
134 template <typename OntologyDescriptionT = Aws::String>
136 SetOntologyDescription(std::forward<OntologyDescriptionT>(value));
137 return *this;
138 }
140
142
148 inline const Aws::String& GetOntologyId() const { return m_ontologyId; }
149 template <typename OntologyIdT = Aws::String>
150 void SetOntologyId(OntologyIdT&& value) {
151 m_ontologyIdHasBeenSet = true;
152 m_ontologyId = std::forward<OntologyIdT>(value);
153 }
154 template <typename OntologyIdT = Aws::String>
156 SetOntologyId(std::forward<OntologyIdT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetOntologyArn() const { return m_ontologyArn; }
166 template <typename OntologyArnT = Aws::String>
167 void SetOntologyArn(OntologyArnT&& value) {
168 m_ontologyArnHasBeenSet = true;
169 m_ontologyArn = std::forward<OntologyArnT>(value);
170 }
171 template <typename OntologyArnT = Aws::String>
173 SetOntologyArn(std::forward<OntologyArnT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
183 template <typename CreatedAtT = Aws::Utils::DateTime>
184 void SetCreatedAt(CreatedAtT&& value) {
185 m_createdAtHasBeenSet = true;
186 m_createdAt = std::forward<CreatedAtT>(value);
187 }
188 template <typename CreatedAtT = Aws::Utils::DateTime>
190 SetCreatedAt(std::forward<CreatedAtT>(value));
191 return *this;
192 }
194
196
201 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
202 template <typename UpdatedAtT = Aws::Utils::DateTime>
203 void SetUpdatedAt(UpdatedAtT&& value) {
204 m_updatedAtHasBeenSet = true;
205 m_updatedAt = std::forward<UpdatedAtT>(value);
206 }
207 template <typename UpdatedAtT = Aws::Utils::DateTime>
209 SetUpdatedAt(std::forward<UpdatedAtT>(value));
210 return *this;
211 }
213
215
219 inline const Aws::String& GetSeedOntologyId() const { return m_seedOntologyId; }
220 template <typename SeedOntologyIdT = Aws::String>
221 void SetSeedOntologyId(SeedOntologyIdT&& value) {
222 m_seedOntologyIdHasBeenSet = true;
223 m_seedOntologyId = std::forward<SeedOntologyIdT>(value);
224 }
225 template <typename SeedOntologyIdT = Aws::String>
227 SetSeedOntologyId(std::forward<SeedOntologyIdT>(value));
228 return *this;
229 }
231
233
237 inline const Aws::String& GetPrompt() const { return m_prompt; }
238 template <typename PromptT = Aws::String>
239 void SetPrompt(PromptT&& value) {
240 m_promptHasBeenSet = true;
241 m_prompt = std::forward<PromptT>(value);
242 }
243 template <typename PromptT = Aws::String>
245 SetPrompt(std::forward<PromptT>(value));
246 return *this;
247 }
249
251
254 inline const OntologyInductionInputConfigSummary& GetInputConfig() const { return m_inputConfig; }
255 template <typename InputConfigT = OntologyInductionInputConfigSummary>
256 void SetInputConfig(InputConfigT&& value) {
257 m_inputConfigHasBeenSet = true;
258 m_inputConfig = std::forward<InputConfigT>(value);
259 }
260 template <typename InputConfigT = OntologyInductionInputConfigSummary>
262 SetInputConfig(std::forward<InputConfigT>(value));
263 return *this;
264 }
266
268
269 inline const Aws::String& GetRequestId() const { return m_requestId; }
270 template <typename RequestIdT = Aws::String>
271 void SetRequestId(RequestIdT&& value) {
272 m_requestIdHasBeenSet = true;
273 m_requestId = std::forward<RequestIdT>(value);
274 }
275 template <typename RequestIdT = Aws::String>
277 SetRequestId(std::forward<RequestIdT>(value));
278 return *this;
279 }
281 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
282
283 private:
284 Aws::String m_id;
285
286 Aws::String m_arn;
287
289
290 OntologyInductionFailure m_failure;
291
292 Aws::String m_ontologyName;
293
294 Aws::String m_ontologyDescription;
295
296 Aws::String m_ontologyId;
297
298 Aws::String m_ontologyArn;
299
300 Aws::Utils::DateTime m_createdAt{};
301
302 Aws::Utils::DateTime m_updatedAt{};
303
304 Aws::String m_seedOntologyId;
305
306 Aws::String m_prompt;
307
308 OntologyInductionInputConfigSummary m_inputConfig;
309
310 Aws::String m_requestId;
311 Aws::Http::HttpResponseCode m_HttpResponseCode;
312 bool m_idHasBeenSet = false;
313 bool m_arnHasBeenSet = false;
314 bool m_statusHasBeenSet = false;
315 bool m_failureHasBeenSet = false;
316 bool m_ontologyNameHasBeenSet = false;
317 bool m_ontologyDescriptionHasBeenSet = false;
318 bool m_ontologyIdHasBeenSet = false;
319 bool m_ontologyArnHasBeenSet = false;
320 bool m_createdAtHasBeenSet = false;
321 bool m_updatedAtHasBeenSet = false;
322 bool m_seedOntologyIdHasBeenSet = false;
323 bool m_promptHasBeenSet = false;
324 bool m_inputConfigHasBeenSet = false;
325 bool m_requestIdHasBeenSet = false;
326};
327
328} // namespace Model
329} // namespace Context
330} // namespace Aws
GetOntologyInductionResult & WithOntologyArn(OntologyArnT &&value)
GetOntologyInductionResult & WithOntologyId(OntologyIdT &&value)
GetOntologyInductionResult & WithOntologyDescription(OntologyDescriptionT &&value)
GetOntologyInductionResult & WithCreatedAt(CreatedAtT &&value)
GetOntologyInductionResult & WithStatus(OntologyInductionStatus value)
GetOntologyInductionResult & WithSeedOntologyId(SeedOntologyIdT &&value)
GetOntologyInductionResult & WithPrompt(PromptT &&value)
const OntologyInductionFailure & GetFailure() const
GetOntologyInductionResult & WithFailure(FailureT &&value)
AWS_CONTEXT_API GetOntologyInductionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetOntologyInductionResult & WithArn(ArnT &&value)
GetOntologyInductionResult & WithId(IdT &&value)
GetOntologyInductionResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_CONTEXT_API GetOntologyInductionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetOntologyInductionResult & WithInputConfig(InputConfigT &&value)
GetOntologyInductionResult & WithOntologyName(OntologyNameT &&value)
GetOntologyInductionResult & WithRequestId(RequestIdT &&value)
const OntologyInductionInputConfigSummary & GetInputConfig() const
AWS_CONTEXT_API GetOntologyInductionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String