AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Evaluation.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 {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MachineLearning {
23namespace Model {
24
33 public:
34 AWS_MACHINELEARNING_API Evaluation() = default;
35 AWS_MACHINELEARNING_API Evaluation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MACHINELEARNING_API Evaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetEvaluationId() const { return m_evaluationId; }
44 inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
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 Evaluation& 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 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
63 template <typename MLModelIdT = Aws::String>
64 void SetMLModelId(MLModelIdT&& value) {
65 m_mLModelIdHasBeenSet = true;
66 m_mLModelId = std::forward<MLModelIdT>(value);
67 }
68 template <typename MLModelIdT = Aws::String>
69 Evaluation& WithMLModelId(MLModelIdT&& value) {
70 SetMLModelId(std::forward<MLModelIdT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetEvaluationDataSourceId() const { return m_evaluationDataSourceId; }
81 inline bool EvaluationDataSourceIdHasBeenSet() const { return m_evaluationDataSourceIdHasBeenSet; }
82 template <typename EvaluationDataSourceIdT = Aws::String>
83 void SetEvaluationDataSourceId(EvaluationDataSourceIdT&& value) {
84 m_evaluationDataSourceIdHasBeenSet = true;
85 m_evaluationDataSourceId = std::forward<EvaluationDataSourceIdT>(value);
86 }
87 template <typename EvaluationDataSourceIdT = Aws::String>
88 Evaluation& WithEvaluationDataSourceId(EvaluationDataSourceIdT&& value) {
89 SetEvaluationDataSourceId(std::forward<EvaluationDataSourceIdT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
100 inline bool InputDataLocationS3HasBeenSet() const { return m_inputDataLocationS3HasBeenSet; }
101 template <typename InputDataLocationS3T = Aws::String>
102 void SetInputDataLocationS3(InputDataLocationS3T&& value) {
103 m_inputDataLocationS3HasBeenSet = true;
104 m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value);
105 }
106 template <typename InputDataLocationS3T = Aws::String>
107 Evaluation& WithInputDataLocationS3(InputDataLocationS3T&& value) {
108 SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value));
109 return *this;
110 }
112
114
119 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
120 inline bool CreatedByIamUserHasBeenSet() const { return m_createdByIamUserHasBeenSet; }
121 template <typename CreatedByIamUserT = Aws::String>
122 void SetCreatedByIamUser(CreatedByIamUserT&& value) {
123 m_createdByIamUserHasBeenSet = true;
124 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
125 }
126 template <typename CreatedByIamUserT = Aws::String>
127 Evaluation& WithCreatedByIamUser(CreatedByIamUserT&& value) {
128 SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
139 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
141 void SetCreatedAt(CreatedAtT&& value) {
142 m_createdAtHasBeenSet = true;
143 m_createdAt = std::forward<CreatedAtT>(value);
144 }
145 template <typename CreatedAtT = Aws::Utils::DateTime>
146 Evaluation& WithCreatedAt(CreatedAtT&& value) {
147 SetCreatedAt(std::forward<CreatedAtT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
158 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
159 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
160 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
161 m_lastUpdatedAtHasBeenSet = true;
162 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
163 }
164 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
165 Evaluation& WithLastUpdatedAt(LastUpdatedAtT&& value) {
166 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetName() const { return m_name; }
176 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
177 template <typename NameT = Aws::String>
178 void SetName(NameT&& value) {
179 m_nameHasBeenSet = true;
180 m_name = std::forward<NameT>(value);
181 }
182 template <typename NameT = Aws::String>
183 Evaluation& WithName(NameT&& value) {
184 SetName(std::forward<NameT>(value));
185 return *this;
186 }
188
190
201 inline EntityStatus GetStatus() const { return m_status; }
202 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
203 inline void SetStatus(EntityStatus value) {
204 m_statusHasBeenSet = true;
205 m_status = value;
206 }
208 SetStatus(value);
209 return *this;
210 }
212
214
229 inline const PerformanceMetrics& GetPerformanceMetrics() const { return m_performanceMetrics; }
230 inline bool PerformanceMetricsHasBeenSet() const { return m_performanceMetricsHasBeenSet; }
231 template <typename PerformanceMetricsT = PerformanceMetrics>
232 void SetPerformanceMetrics(PerformanceMetricsT&& value) {
233 m_performanceMetricsHasBeenSet = true;
234 m_performanceMetrics = std::forward<PerformanceMetricsT>(value);
235 }
236 template <typename PerformanceMetricsT = PerformanceMetrics>
237 Evaluation& WithPerformanceMetrics(PerformanceMetricsT&& value) {
238 SetPerformanceMetrics(std::forward<PerformanceMetricsT>(value));
239 return *this;
240 }
242
244
248 inline const Aws::String& GetMessage() const { return m_message; }
249 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
250 template <typename MessageT = Aws::String>
251 void SetMessage(MessageT&& value) {
252 m_messageHasBeenSet = true;
253 m_message = std::forward<MessageT>(value);
254 }
255 template <typename MessageT = Aws::String>
256 Evaluation& WithMessage(MessageT&& value) {
257 SetMessage(std::forward<MessageT>(value));
258 return *this;
259 }
261
263
264 inline long long GetComputeTime() const { return m_computeTime; }
265 inline bool ComputeTimeHasBeenSet() const { return m_computeTimeHasBeenSet; }
266 inline void SetComputeTime(long long value) {
267 m_computeTimeHasBeenSet = true;
268 m_computeTime = value;
269 }
270 inline Evaluation& WithComputeTime(long long value) {
271 SetComputeTime(value);
272 return *this;
273 }
275
277
278 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
279 inline bool FinishedAtHasBeenSet() const { return m_finishedAtHasBeenSet; }
280 template <typename FinishedAtT = Aws::Utils::DateTime>
281 void SetFinishedAt(FinishedAtT&& value) {
282 m_finishedAtHasBeenSet = true;
283 m_finishedAt = std::forward<FinishedAtT>(value);
284 }
285 template <typename FinishedAtT = Aws::Utils::DateTime>
286 Evaluation& WithFinishedAt(FinishedAtT&& value) {
287 SetFinishedAt(std::forward<FinishedAtT>(value));
288 return *this;
289 }
291
293
294 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
295 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
296 template <typename StartedAtT = Aws::Utils::DateTime>
297 void SetStartedAt(StartedAtT&& value) {
298 m_startedAtHasBeenSet = true;
299 m_startedAt = std::forward<StartedAtT>(value);
300 }
301 template <typename StartedAtT = Aws::Utils::DateTime>
302 Evaluation& WithStartedAt(StartedAtT&& value) {
303 SetStartedAt(std::forward<StartedAtT>(value));
304 return *this;
305 }
307 private:
308 Aws::String m_evaluationId;
309
310 Aws::String m_mLModelId;
311
312 Aws::String m_evaluationDataSourceId;
313
314 Aws::String m_inputDataLocationS3;
315
316 Aws::String m_createdByIamUser;
317
318 Aws::Utils::DateTime m_createdAt{};
319
320 Aws::Utils::DateTime m_lastUpdatedAt{};
321
322 Aws::String m_name;
323
325
326 PerformanceMetrics m_performanceMetrics;
327
328 Aws::String m_message;
329
330 long long m_computeTime{0};
331
332 Aws::Utils::DateTime m_finishedAt{};
333
334 Aws::Utils::DateTime m_startedAt{};
335 bool m_evaluationIdHasBeenSet = false;
336 bool m_mLModelIdHasBeenSet = false;
337 bool m_evaluationDataSourceIdHasBeenSet = false;
338 bool m_inputDataLocationS3HasBeenSet = false;
339 bool m_createdByIamUserHasBeenSet = false;
340 bool m_createdAtHasBeenSet = false;
341 bool m_lastUpdatedAtHasBeenSet = false;
342 bool m_nameHasBeenSet = false;
343 bool m_statusHasBeenSet = false;
344 bool m_performanceMetricsHasBeenSet = false;
345 bool m_messageHasBeenSet = false;
346 bool m_computeTimeHasBeenSet = false;
347 bool m_finishedAtHasBeenSet = false;
348 bool m_startedAtHasBeenSet = false;
349};
350
351} // namespace Model
352} // namespace MachineLearning
353} // namespace Aws
void SetEvaluationId(EvaluationIdT &&value)
Definition Evaluation.h:46
const Aws::String & GetCreatedByIamUser() const
Definition Evaluation.h:119
const Aws::String & GetMLModelId() const
Definition Evaluation.h:61
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Evaluation.h:160
const Aws::String & GetEvaluationDataSourceId() const
Definition Evaluation.h:80
void SetCreatedAt(CreatedAtT &&value)
Definition Evaluation.h:141
Evaluation & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Evaluation.h:165
Evaluation & WithCreatedAt(CreatedAtT &&value)
Definition Evaluation.h:146
AWS_MACHINELEARNING_API Evaluation()=default
void SetEvaluationDataSourceId(EvaluationDataSourceIdT &&value)
Definition Evaluation.h:83
const Aws::String & GetEvaluationId() const
Definition Evaluation.h:43
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Evaluation.h:157
Evaluation & WithEvaluationDataSourceId(EvaluationDataSourceIdT &&value)
Definition Evaluation.h:88
Evaluation & WithMLModelId(MLModelIdT &&value)
Definition Evaluation.h:69
const Aws::Utils::DateTime & GetStartedAt() const
Definition Evaluation.h:294
AWS_MACHINELEARNING_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedByIamUser(CreatedByIamUserT &&value)
Definition Evaluation.h:122
const Aws::Utils::DateTime & GetFinishedAt() const
Definition Evaluation.h:278
void SetInputDataLocationS3(InputDataLocationS3T &&value)
Definition Evaluation.h:102
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
Evaluation & WithComputeTime(long long value)
Definition Evaluation.h:270
const Aws::String & GetName() const
Definition Evaluation.h:175
void SetMLModelId(MLModelIdT &&value)
Definition Evaluation.h:64
Evaluation & WithFinishedAt(FinishedAtT &&value)
Definition Evaluation.h:286
Evaluation & WithStartedAt(StartedAtT &&value)
Definition Evaluation.h:302
Evaluation & WithName(NameT &&value)
Definition Evaluation.h:183
void SetStartedAt(StartedAtT &&value)
Definition Evaluation.h:297
Evaluation & WithCreatedByIamUser(CreatedByIamUserT &&value)
Definition Evaluation.h:127
const Aws::String & GetInputDataLocationS3() const
Definition Evaluation.h:99
AWS_MACHINELEARNING_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
const PerformanceMetrics & GetPerformanceMetrics() const
Definition Evaluation.h:229
void SetFinishedAt(FinishedAtT &&value)
Definition Evaluation.h:281
void SetStatus(EntityStatus value)
Definition Evaluation.h:203
const Aws::String & GetMessage() const
Definition Evaluation.h:248
Evaluation & WithPerformanceMetrics(PerformanceMetricsT &&value)
Definition Evaluation.h:237
Evaluation & WithInputDataLocationS3(InputDataLocationS3T &&value)
Definition Evaluation.h:107
Evaluation & WithStatus(EntityStatus value)
Definition Evaluation.h:207
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Evaluation.h:138
void SetPerformanceMetrics(PerformanceMetricsT &&value)
Definition Evaluation.h:232
Evaluation & WithEvaluationId(EvaluationIdT &&value)
Definition Evaluation.h:51
Evaluation & WithMessage(MessageT &&value)
Definition Evaluation.h:256
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue