AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetEvaluationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/MachineLearning_EXPORTS.h>
11#include <aws/machinelearning/model/EntityStatus.h>
12#include <aws/machinelearning/model/PerformanceMetrics.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MachineLearning {
26namespace Model {
34 public:
35 AWS_MACHINELEARNING_API GetEvaluationResult() = default;
38
40
44 inline const Aws::String& GetEvaluationId() const { return m_evaluationId; }
45 template <typename EvaluationIdT = Aws::String>
46 void SetEvaluationId(EvaluationIdT&& value) {
47 m_evaluationIdHasBeenSet = true;
48 m_evaluationId = std::forward<EvaluationIdT>(value);
49 }
50 template <typename EvaluationIdT = Aws::String>
51 GetEvaluationResult& WithEvaluationId(EvaluationIdT&& value) {
52 SetEvaluationId(std::forward<EvaluationIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
62 template <typename MLModelIdT = Aws::String>
63 void SetMLModelId(MLModelIdT&& value) {
64 m_mLModelIdHasBeenSet = true;
65 m_mLModelId = std::forward<MLModelIdT>(value);
66 }
67 template <typename MLModelIdT = Aws::String>
68 GetEvaluationResult& WithMLModelId(MLModelIdT&& value) {
69 SetMLModelId(std::forward<MLModelIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetEvaluationDataSourceId() const { return m_evaluationDataSourceId; }
79 template <typename EvaluationDataSourceIdT = Aws::String>
80 void SetEvaluationDataSourceId(EvaluationDataSourceIdT&& value) {
81 m_evaluationDataSourceIdHasBeenSet = true;
82 m_evaluationDataSourceId = std::forward<EvaluationDataSourceIdT>(value);
83 }
84 template <typename EvaluationDataSourceIdT = Aws::String>
85 GetEvaluationResult& WithEvaluationDataSourceId(EvaluationDataSourceIdT&& value) {
86 SetEvaluationDataSourceId(std::forward<EvaluationDataSourceIdT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
97 template <typename InputDataLocationS3T = Aws::String>
98 void SetInputDataLocationS3(InputDataLocationS3T&& value) {
99 m_inputDataLocationS3HasBeenSet = true;
100 m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value);
101 }
102 template <typename InputDataLocationS3T = Aws::String>
103 GetEvaluationResult& WithInputDataLocationS3(InputDataLocationS3T&& value) {
104 SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value));
105 return *this;
106 }
108
110
115 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
116 template <typename CreatedByIamUserT = Aws::String>
117 void SetCreatedByIamUser(CreatedByIamUserT&& value) {
118 m_createdByIamUserHasBeenSet = true;
119 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
120 }
121 template <typename CreatedByIamUserT = Aws::String>
122 GetEvaluationResult& WithCreatedByIamUser(CreatedByIamUserT&& value) {
123 SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
134 template <typename CreatedAtT = Aws::Utils::DateTime>
135 void SetCreatedAt(CreatedAtT&& value) {
136 m_createdAtHasBeenSet = true;
137 m_createdAt = std::forward<CreatedAtT>(value);
138 }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
140 GetEvaluationResult& WithCreatedAt(CreatedAtT&& value) {
141 SetCreatedAt(std::forward<CreatedAtT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
152 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
153 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
154 m_lastUpdatedAtHasBeenSet = true;
155 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
156 }
157 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
158 GetEvaluationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
159 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetName() const { return m_name; }
169 template <typename NameT = Aws::String>
170 void SetName(NameT&& value) {
171 m_nameHasBeenSet = true;
172 m_name = std::forward<NameT>(value);
173 }
174 template <typename NameT = Aws::String>
176 SetName(std::forward<NameT>(value));
177 return *this;
178 }
180
182
193 inline EntityStatus GetStatus() const { return m_status; }
194 inline void SetStatus(EntityStatus value) {
195 m_statusHasBeenSet = true;
196 m_status = value;
197 }
199 SetStatus(value);
200 return *this;
201 }
203
205
220 inline const PerformanceMetrics& GetPerformanceMetrics() const { return m_performanceMetrics; }
221 template <typename PerformanceMetricsT = PerformanceMetrics>
222 void SetPerformanceMetrics(PerformanceMetricsT&& value) {
223 m_performanceMetricsHasBeenSet = true;
224 m_performanceMetrics = std::forward<PerformanceMetricsT>(value);
225 }
226 template <typename PerformanceMetricsT = PerformanceMetrics>
227 GetEvaluationResult& WithPerformanceMetrics(PerformanceMetricsT&& value) {
228 SetPerformanceMetrics(std::forward<PerformanceMetricsT>(value));
229 return *this;
230 }
232
234
238 inline const Aws::String& GetLogUri() const { return m_logUri; }
239 template <typename LogUriT = Aws::String>
240 void SetLogUri(LogUriT&& value) {
241 m_logUriHasBeenSet = true;
242 m_logUri = std::forward<LogUriT>(value);
243 }
244 template <typename LogUriT = Aws::String>
245 GetEvaluationResult& WithLogUri(LogUriT&& value) {
246 SetLogUri(std::forward<LogUriT>(value));
247 return *this;
248 }
250
252
256 inline const Aws::String& GetMessage() const { return m_message; }
257 template <typename MessageT = Aws::String>
258 void SetMessage(MessageT&& value) {
259 m_messageHasBeenSet = true;
260 m_message = std::forward<MessageT>(value);
261 }
262 template <typename MessageT = Aws::String>
263 GetEvaluationResult& WithMessage(MessageT&& value) {
264 SetMessage(std::forward<MessageT>(value));
265 return *this;
266 }
268
270
276 inline long long GetComputeTime() const { return m_computeTime; }
277 inline void SetComputeTime(long long value) {
278 m_computeTimeHasBeenSet = true;
279 m_computeTime = value;
280 }
281 inline GetEvaluationResult& WithComputeTime(long long value) {
282 SetComputeTime(value);
283 return *this;
284 }
286
288
294 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
295 template <typename FinishedAtT = Aws::Utils::DateTime>
296 void SetFinishedAt(FinishedAtT&& value) {
297 m_finishedAtHasBeenSet = true;
298 m_finishedAt = std::forward<FinishedAtT>(value);
299 }
300 template <typename FinishedAtT = Aws::Utils::DateTime>
301 GetEvaluationResult& WithFinishedAt(FinishedAtT&& value) {
302 SetFinishedAt(std::forward<FinishedAtT>(value));
303 return *this;
304 }
306
308
314 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
315 template <typename StartedAtT = Aws::Utils::DateTime>
316 void SetStartedAt(StartedAtT&& value) {
317 m_startedAtHasBeenSet = true;
318 m_startedAt = std::forward<StartedAtT>(value);
319 }
320 template <typename StartedAtT = Aws::Utils::DateTime>
321 GetEvaluationResult& WithStartedAt(StartedAtT&& value) {
322 SetStartedAt(std::forward<StartedAtT>(value));
323 return *this;
324 }
326
328
329 inline const Aws::String& GetRequestId() const { return m_requestId; }
330 template <typename RequestIdT = Aws::String>
331 void SetRequestId(RequestIdT&& value) {
332 m_requestIdHasBeenSet = true;
333 m_requestId = std::forward<RequestIdT>(value);
334 }
335 template <typename RequestIdT = Aws::String>
336 GetEvaluationResult& WithRequestId(RequestIdT&& value) {
337 SetRequestId(std::forward<RequestIdT>(value));
338 return *this;
339 }
341 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
342
343 private:
344 Aws::String m_evaluationId;
345
346 Aws::String m_mLModelId;
347
348 Aws::String m_evaluationDataSourceId;
349
350 Aws::String m_inputDataLocationS3;
351
352 Aws::String m_createdByIamUser;
353
354 Aws::Utils::DateTime m_createdAt{};
355
356 Aws::Utils::DateTime m_lastUpdatedAt{};
357
358 Aws::String m_name;
359
361
362 PerformanceMetrics m_performanceMetrics;
363
364 Aws::String m_logUri;
365
366 Aws::String m_message;
367
368 long long m_computeTime{0};
369
370 Aws::Utils::DateTime m_finishedAt{};
371
372 Aws::Utils::DateTime m_startedAt{};
373
374 Aws::String m_requestId;
375 Aws::Http::HttpResponseCode m_HttpResponseCode;
376 bool m_evaluationIdHasBeenSet = false;
377 bool m_mLModelIdHasBeenSet = false;
378 bool m_evaluationDataSourceIdHasBeenSet = false;
379 bool m_inputDataLocationS3HasBeenSet = false;
380 bool m_createdByIamUserHasBeenSet = false;
381 bool m_createdAtHasBeenSet = false;
382 bool m_lastUpdatedAtHasBeenSet = false;
383 bool m_nameHasBeenSet = false;
384 bool m_statusHasBeenSet = false;
385 bool m_performanceMetricsHasBeenSet = false;
386 bool m_logUriHasBeenSet = false;
387 bool m_messageHasBeenSet = false;
388 bool m_computeTimeHasBeenSet = false;
389 bool m_finishedAtHasBeenSet = false;
390 bool m_startedAtHasBeenSet = false;
391 bool m_requestIdHasBeenSet = false;
392};
393
394} // namespace Model
395} // namespace MachineLearning
396} // namespace Aws
void SetInputDataLocationS3(InputDataLocationS3T &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetEvaluationResult & WithLogUri(LogUriT &&value)
GetEvaluationResult & WithStatus(EntityStatus value)
AWS_MACHINELEARNING_API GetEvaluationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEvaluationResult & WithPerformanceMetrics(PerformanceMetricsT &&value)
AWS_MACHINELEARNING_API GetEvaluationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const PerformanceMetrics & GetPerformanceMetrics() const
GetEvaluationResult & WithRequestId(RequestIdT &&value)
GetEvaluationResult & WithComputeTime(long long value)
void SetPerformanceMetrics(PerformanceMetricsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetStartedAt() const
AWS_MACHINELEARNING_API GetEvaluationResult()=default
void SetEvaluationDataSourceId(EvaluationDataSourceIdT &&value)
GetEvaluationResult & WithInputDataLocationS3(InputDataLocationS3T &&value)
GetEvaluationResult & WithCreatedAt(CreatedAtT &&value)
GetEvaluationResult & WithName(NameT &&value)
GetEvaluationResult & WithFinishedAt(FinishedAtT &&value)
GetEvaluationResult & WithStartedAt(StartedAtT &&value)
GetEvaluationResult & WithEvaluationId(EvaluationIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetEvaluationResult & WithEvaluationDataSourceId(EvaluationDataSourceIdT &&value)
GetEvaluationResult & WithMessage(MessageT &&value)
GetEvaluationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetEvaluationResult & WithCreatedByIamUser(CreatedByIamUserT &&value)
GetEvaluationResult & WithMLModelId(MLModelIdT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue