AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetEvaluationResult.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/machinelearning/model/EntityStatus.h>
11#include <aws/machinelearning/model/PerformanceMetrics.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MachineLearning
27{
28namespace Model
29{
37 {
38 public:
39 AWS_MACHINELEARNING_API GetEvaluationResult() = default;
42
43
45
49 inline const Aws::String& GetEvaluationId() const { return m_evaluationId; }
50 template<typename EvaluationIdT = Aws::String>
51 void SetEvaluationId(EvaluationIdT&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::forward<EvaluationIdT>(value); }
52 template<typename EvaluationIdT = Aws::String>
53 GetEvaluationResult& WithEvaluationId(EvaluationIdT&& value) { SetEvaluationId(std::forward<EvaluationIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
61 template<typename MLModelIdT = Aws::String>
62 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::forward<MLModelIdT>(value); }
63 template<typename MLModelIdT = Aws::String>
64 GetEvaluationResult& WithMLModelId(MLModelIdT&& value) { SetMLModelId(std::forward<MLModelIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetEvaluationDataSourceId() const { return m_evaluationDataSourceId; }
72 template<typename EvaluationDataSourceIdT = Aws::String>
73 void SetEvaluationDataSourceId(EvaluationDataSourceIdT&& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = std::forward<EvaluationDataSourceIdT>(value); }
74 template<typename EvaluationDataSourceIdT = Aws::String>
75 GetEvaluationResult& WithEvaluationDataSourceId(EvaluationDataSourceIdT&& value) { SetEvaluationDataSourceId(std::forward<EvaluationDataSourceIdT>(value)); return *this;}
77
79
83 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
84 template<typename InputDataLocationS3T = Aws::String>
85 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
86 template<typename InputDataLocationS3T = Aws::String>
87 GetEvaluationResult& WithInputDataLocationS3(InputDataLocationS3T&& value) { SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value)); return *this;}
89
91
96 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
97 template<typename CreatedByIamUserT = Aws::String>
98 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
99 template<typename CreatedByIamUserT = Aws::String>
100 GetEvaluationResult& WithCreatedByIamUser(CreatedByIamUserT&& value) { SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value)); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
111 template<typename CreatedAtT = Aws::Utils::DateTime>
112 GetEvaluationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
121 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
122 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
123 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
124 GetEvaluationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
126
128
131 inline const Aws::String& GetName() const { return m_name; }
132 template<typename NameT = Aws::String>
133 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
134 template<typename NameT = Aws::String>
135 GetEvaluationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
137
139
150 inline EntityStatus GetStatus() const { return m_status; }
151 inline void SetStatus(EntityStatus value) { m_statusHasBeenSet = true; m_status = value; }
152 inline GetEvaluationResult& WithStatus(EntityStatus value) { SetStatus(value); return *this;}
154
156
171 inline const PerformanceMetrics& GetPerformanceMetrics() const { return m_performanceMetrics; }
172 template<typename PerformanceMetricsT = PerformanceMetrics>
173 void SetPerformanceMetrics(PerformanceMetricsT&& value) { m_performanceMetricsHasBeenSet = true; m_performanceMetrics = std::forward<PerformanceMetricsT>(value); }
174 template<typename PerformanceMetricsT = PerformanceMetrics>
175 GetEvaluationResult& WithPerformanceMetrics(PerformanceMetricsT&& value) { SetPerformanceMetrics(std::forward<PerformanceMetricsT>(value)); return *this;}
177
179
183 inline const Aws::String& GetLogUri() const { return m_logUri; }
184 template<typename LogUriT = Aws::String>
185 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
186 template<typename LogUriT = Aws::String>
187 GetEvaluationResult& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
189
191
195 inline const Aws::String& GetMessage() const { return m_message; }
196 template<typename MessageT = Aws::String>
197 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
198 template<typename MessageT = Aws::String>
199 GetEvaluationResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
201
203
209 inline long long GetComputeTime() const { return m_computeTime; }
210 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
211 inline GetEvaluationResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
213
215
221 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
222 template<typename FinishedAtT = Aws::Utils::DateTime>
223 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::forward<FinishedAtT>(value); }
224 template<typename FinishedAtT = Aws::Utils::DateTime>
225 GetEvaluationResult& WithFinishedAt(FinishedAtT&& value) { SetFinishedAt(std::forward<FinishedAtT>(value)); return *this;}
227
229
235 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
236 template<typename StartedAtT = Aws::Utils::DateTime>
237 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
238 template<typename StartedAtT = Aws::Utils::DateTime>
239 GetEvaluationResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
241
243
244 inline const Aws::String& GetRequestId() const { return m_requestId; }
245 template<typename RequestIdT = Aws::String>
246 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
247 template<typename RequestIdT = Aws::String>
248 GetEvaluationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
250 private:
251
252 Aws::String m_evaluationId;
253 bool m_evaluationIdHasBeenSet = false;
254
255 Aws::String m_mLModelId;
256 bool m_mLModelIdHasBeenSet = false;
257
258 Aws::String m_evaluationDataSourceId;
259 bool m_evaluationDataSourceIdHasBeenSet = false;
260
261 Aws::String m_inputDataLocationS3;
262 bool m_inputDataLocationS3HasBeenSet = false;
263
264 Aws::String m_createdByIamUser;
265 bool m_createdByIamUserHasBeenSet = false;
266
267 Aws::Utils::DateTime m_createdAt{};
268 bool m_createdAtHasBeenSet = false;
269
270 Aws::Utils::DateTime m_lastUpdatedAt{};
271 bool m_lastUpdatedAtHasBeenSet = false;
272
273 Aws::String m_name;
274 bool m_nameHasBeenSet = false;
275
277 bool m_statusHasBeenSet = false;
278
279 PerformanceMetrics m_performanceMetrics;
280 bool m_performanceMetricsHasBeenSet = false;
281
282 Aws::String m_logUri;
283 bool m_logUriHasBeenSet = false;
284
285 Aws::String m_message;
286 bool m_messageHasBeenSet = false;
287
288 long long m_computeTime{0};
289 bool m_computeTimeHasBeenSet = false;
290
291 Aws::Utils::DateTime m_finishedAt{};
292 bool m_finishedAtHasBeenSet = false;
293
294 Aws::Utils::DateTime m_startedAt{};
295 bool m_startedAtHasBeenSet = false;
296
297 Aws::String m_requestId;
298 bool m_requestIdHasBeenSet = false;
299 };
300
301} // namespace Model
302} // namespace MachineLearning
303} // namespace Aws
void SetInputDataLocationS3(InputDataLocationS3T &&value)
GetEvaluationResult & WithLogUri(LogUriT &&value)
void SetCreatedByIamUser(CreatedByIamUserT &&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