AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetEvaluationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/MachineLearning_EXPORTS.h>
10#include <aws/machinelearning/model/EntityStatus.h>
11#include <aws/machinelearning/model/PerformanceMetrics.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MachineLearning {
25namespace Model {
33 public:
34 AWS_MACHINELEARNING_API GetEvaluationResult() = default;
37
39
43 inline const Aws::String& GetEvaluationId() const { return m_evaluationId; }
44 template <typename EvaluationIdT = Aws::String>
45 void SetEvaluationId(EvaluationIdT&& value) {
46 m_evaluationIdHasBeenSet = true;
47 m_evaluationId = std::forward<EvaluationIdT>(value);
48 }
49 template <typename EvaluationIdT = Aws::String>
50 GetEvaluationResult& WithEvaluationId(EvaluationIdT&& value) {
51 SetEvaluationId(std::forward<EvaluationIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
61 template <typename MLModelIdT = Aws::String>
62 void SetMLModelId(MLModelIdT&& value) {
63 m_mLModelIdHasBeenSet = true;
64 m_mLModelId = std::forward<MLModelIdT>(value);
65 }
66 template <typename MLModelIdT = Aws::String>
67 GetEvaluationResult& WithMLModelId(MLModelIdT&& value) {
68 SetMLModelId(std::forward<MLModelIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetEvaluationDataSourceId() const { return m_evaluationDataSourceId; }
78 template <typename EvaluationDataSourceIdT = Aws::String>
79 void SetEvaluationDataSourceId(EvaluationDataSourceIdT&& value) {
80 m_evaluationDataSourceIdHasBeenSet = true;
81 m_evaluationDataSourceId = std::forward<EvaluationDataSourceIdT>(value);
82 }
83 template <typename EvaluationDataSourceIdT = Aws::String>
84 GetEvaluationResult& WithEvaluationDataSourceId(EvaluationDataSourceIdT&& value) {
85 SetEvaluationDataSourceId(std::forward<EvaluationDataSourceIdT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
96 template <typename InputDataLocationS3T = Aws::String>
97 void SetInputDataLocationS3(InputDataLocationS3T&& value) {
98 m_inputDataLocationS3HasBeenSet = true;
99 m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value);
100 }
101 template <typename InputDataLocationS3T = Aws::String>
102 GetEvaluationResult& WithInputDataLocationS3(InputDataLocationS3T&& value) {
103 SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value));
104 return *this;
105 }
107
109
114 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
115 template <typename CreatedByIamUserT = Aws::String>
116 void SetCreatedByIamUser(CreatedByIamUserT&& value) {
117 m_createdByIamUserHasBeenSet = true;
118 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
119 }
120 template <typename CreatedByIamUserT = Aws::String>
121 GetEvaluationResult& WithCreatedByIamUser(CreatedByIamUserT&& value) {
122 SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
133 template <typename CreatedAtT = Aws::Utils::DateTime>
134 void SetCreatedAt(CreatedAtT&& value) {
135 m_createdAtHasBeenSet = true;
136 m_createdAt = std::forward<CreatedAtT>(value);
137 }
138 template <typename CreatedAtT = Aws::Utils::DateTime>
139 GetEvaluationResult& WithCreatedAt(CreatedAtT&& value) {
140 SetCreatedAt(std::forward<CreatedAtT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
151 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
152 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
153 m_lastUpdatedAtHasBeenSet = true;
154 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
155 }
156 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
157 GetEvaluationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
158 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetName() const { return m_name; }
168 template <typename NameT = Aws::String>
169 void SetName(NameT&& value) {
170 m_nameHasBeenSet = true;
171 m_name = std::forward<NameT>(value);
172 }
173 template <typename NameT = Aws::String>
175 SetName(std::forward<NameT>(value));
176 return *this;
177 }
179
181
192 inline EntityStatus GetStatus() const { return m_status; }
193 inline void SetStatus(EntityStatus value) {
194 m_statusHasBeenSet = true;
195 m_status = value;
196 }
198 SetStatus(value);
199 return *this;
200 }
202
204
219 inline const PerformanceMetrics& GetPerformanceMetrics() const { return m_performanceMetrics; }
220 template <typename PerformanceMetricsT = PerformanceMetrics>
221 void SetPerformanceMetrics(PerformanceMetricsT&& value) {
222 m_performanceMetricsHasBeenSet = true;
223 m_performanceMetrics = std::forward<PerformanceMetricsT>(value);
224 }
225 template <typename PerformanceMetricsT = PerformanceMetrics>
226 GetEvaluationResult& WithPerformanceMetrics(PerformanceMetricsT&& value) {
227 SetPerformanceMetrics(std::forward<PerformanceMetricsT>(value));
228 return *this;
229 }
231
233
237 inline const Aws::String& GetLogUri() const { return m_logUri; }
238 template <typename LogUriT = Aws::String>
239 void SetLogUri(LogUriT&& value) {
240 m_logUriHasBeenSet = true;
241 m_logUri = std::forward<LogUriT>(value);
242 }
243 template <typename LogUriT = Aws::String>
244 GetEvaluationResult& WithLogUri(LogUriT&& value) {
245 SetLogUri(std::forward<LogUriT>(value));
246 return *this;
247 }
249
251
255 inline const Aws::String& GetMessage() const { return m_message; }
256 template <typename MessageT = Aws::String>
257 void SetMessage(MessageT&& value) {
258 m_messageHasBeenSet = true;
259 m_message = std::forward<MessageT>(value);
260 }
261 template <typename MessageT = Aws::String>
262 GetEvaluationResult& WithMessage(MessageT&& value) {
263 SetMessage(std::forward<MessageT>(value));
264 return *this;
265 }
267
269
275 inline long long GetComputeTime() const { return m_computeTime; }
276 inline void SetComputeTime(long long value) {
277 m_computeTimeHasBeenSet = true;
278 m_computeTime = value;
279 }
280 inline GetEvaluationResult& WithComputeTime(long long value) {
281 SetComputeTime(value);
282 return *this;
283 }
285
287
293 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
294 template <typename FinishedAtT = Aws::Utils::DateTime>
295 void SetFinishedAt(FinishedAtT&& value) {
296 m_finishedAtHasBeenSet = true;
297 m_finishedAt = std::forward<FinishedAtT>(value);
298 }
299 template <typename FinishedAtT = Aws::Utils::DateTime>
300 GetEvaluationResult& WithFinishedAt(FinishedAtT&& value) {
301 SetFinishedAt(std::forward<FinishedAtT>(value));
302 return *this;
303 }
305
307
313 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
314 template <typename StartedAtT = Aws::Utils::DateTime>
315 void SetStartedAt(StartedAtT&& value) {
316 m_startedAtHasBeenSet = true;
317 m_startedAt = std::forward<StartedAtT>(value);
318 }
319 template <typename StartedAtT = Aws::Utils::DateTime>
320 GetEvaluationResult& WithStartedAt(StartedAtT&& value) {
321 SetStartedAt(std::forward<StartedAtT>(value));
322 return *this;
323 }
325
327
328 inline const Aws::String& GetRequestId() const { return m_requestId; }
329 template <typename RequestIdT = Aws::String>
330 void SetRequestId(RequestIdT&& value) {
331 m_requestIdHasBeenSet = true;
332 m_requestId = std::forward<RequestIdT>(value);
333 }
334 template <typename RequestIdT = Aws::String>
335 GetEvaluationResult& WithRequestId(RequestIdT&& value) {
336 SetRequestId(std::forward<RequestIdT>(value));
337 return *this;
338 }
340 private:
341 Aws::String m_evaluationId;
342
343 Aws::String m_mLModelId;
344
345 Aws::String m_evaluationDataSourceId;
346
347 Aws::String m_inputDataLocationS3;
348
349 Aws::String m_createdByIamUser;
350
351 Aws::Utils::DateTime m_createdAt{};
352
353 Aws::Utils::DateTime m_lastUpdatedAt{};
354
355 Aws::String m_name;
356
358
359 PerformanceMetrics m_performanceMetrics;
360
361 Aws::String m_logUri;
362
363 Aws::String m_message;
364
365 long long m_computeTime{0};
366
367 Aws::Utils::DateTime m_finishedAt{};
368
369 Aws::Utils::DateTime m_startedAt{};
370
371 Aws::String m_requestId;
372 bool m_evaluationIdHasBeenSet = false;
373 bool m_mLModelIdHasBeenSet = false;
374 bool m_evaluationDataSourceIdHasBeenSet = false;
375 bool m_inputDataLocationS3HasBeenSet = false;
376 bool m_createdByIamUserHasBeenSet = false;
377 bool m_createdAtHasBeenSet = false;
378 bool m_lastUpdatedAtHasBeenSet = false;
379 bool m_nameHasBeenSet = false;
380 bool m_statusHasBeenSet = false;
381 bool m_performanceMetricsHasBeenSet = false;
382 bool m_logUriHasBeenSet = false;
383 bool m_messageHasBeenSet = false;
384 bool m_computeTimeHasBeenSet = false;
385 bool m_finishedAtHasBeenSet = false;
386 bool m_startedAtHasBeenSet = false;
387 bool m_requestIdHasBeenSet = false;
388};
389
390} // namespace Model
391} // namespace MachineLearning
392} // namespace Aws
void SetInputDataLocationS3(InputDataLocationS3T &&value)
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