AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Evaluation.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MachineLearning
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_MACHINELEARNING_API Evaluation();
40 AWS_MACHINELEARNING_API Evaluation(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MACHINELEARNING_API Evaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
50 inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
51 inline void SetEvaluationId(const Aws::String& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = value; }
52 inline void SetEvaluationId(Aws::String&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::move(value); }
53 inline void SetEvaluationId(const char* value) { m_evaluationIdHasBeenSet = true; m_evaluationId.assign(value); }
54 inline Evaluation& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
55 inline Evaluation& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
56 inline Evaluation& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
58
60
63 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
64 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
65 inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
66 inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
67 inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
68 inline Evaluation& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
69 inline Evaluation& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
70 inline Evaluation& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
72
74
78 inline const Aws::String& GetEvaluationDataSourceId() const{ return m_evaluationDataSourceId; }
79 inline bool EvaluationDataSourceIdHasBeenSet() const { return m_evaluationDataSourceIdHasBeenSet; }
80 inline void SetEvaluationDataSourceId(const Aws::String& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = value; }
81 inline void SetEvaluationDataSourceId(Aws::String&& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = std::move(value); }
82 inline void SetEvaluationDataSourceId(const char* value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId.assign(value); }
83 inline Evaluation& WithEvaluationDataSourceId(const Aws::String& value) { SetEvaluationDataSourceId(value); return *this;}
84 inline Evaluation& WithEvaluationDataSourceId(Aws::String&& value) { SetEvaluationDataSourceId(std::move(value)); return *this;}
85 inline Evaluation& WithEvaluationDataSourceId(const char* value) { SetEvaluationDataSourceId(value); return *this;}
87
89
93 inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
94 inline bool InputDataLocationS3HasBeenSet() const { return m_inputDataLocationS3HasBeenSet; }
95 inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = value; }
96 inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = std::move(value); }
97 inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3.assign(value); }
98 inline Evaluation& WithInputDataLocationS3(const Aws::String& value) { SetInputDataLocationS3(value); return *this;}
99 inline Evaluation& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(std::move(value)); return *this;}
100 inline Evaluation& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
102
104
109 inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
110 inline bool CreatedByIamUserHasBeenSet() const { return m_createdByIamUserHasBeenSet; }
111 inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = value; }
112 inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::move(value); }
113 inline void SetCreatedByIamUser(const char* value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser.assign(value); }
114 inline Evaluation& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
115 inline Evaluation& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(std::move(value)); return *this;}
116 inline Evaluation& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
118
120
124 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
125 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
126 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
127 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
128 inline Evaluation& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
129 inline Evaluation& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
131
133
137 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
138 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
139 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
140 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
141 inline Evaluation& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
142 inline Evaluation& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
144
146
149 inline const Aws::String& GetName() const{ return m_name; }
150 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
151 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
152 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
153 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
154 inline Evaluation& WithName(const Aws::String& value) { SetName(value); return *this;}
155 inline Evaluation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
156 inline Evaluation& WithName(const char* value) { SetName(value); return *this;}
158
160
171 inline const EntityStatus& GetStatus() const{ return m_status; }
172 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
173 inline void SetStatus(const EntityStatus& value) { m_statusHasBeenSet = true; m_status = value; }
174 inline void SetStatus(EntityStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
175 inline Evaluation& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
176 inline Evaluation& WithStatus(EntityStatus&& value) { SetStatus(std::move(value)); return *this;}
178
180
195 inline const PerformanceMetrics& GetPerformanceMetrics() const{ return m_performanceMetrics; }
196 inline bool PerformanceMetricsHasBeenSet() const { return m_performanceMetricsHasBeenSet; }
197 inline void SetPerformanceMetrics(const PerformanceMetrics& value) { m_performanceMetricsHasBeenSet = true; m_performanceMetrics = value; }
198 inline void SetPerformanceMetrics(PerformanceMetrics&& value) { m_performanceMetricsHasBeenSet = true; m_performanceMetrics = std::move(value); }
199 inline Evaluation& WithPerformanceMetrics(const PerformanceMetrics& value) { SetPerformanceMetrics(value); return *this;}
200 inline Evaluation& WithPerformanceMetrics(PerformanceMetrics&& value) { SetPerformanceMetrics(std::move(value)); return *this;}
202
204
208 inline const Aws::String& GetMessage() const{ return m_message; }
209 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
210 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
211 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
212 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
213 inline Evaluation& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
214 inline Evaluation& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
215 inline Evaluation& WithMessage(const char* value) { SetMessage(value); return *this;}
217
219
220 inline long long GetComputeTime() const{ return m_computeTime; }
221 inline bool ComputeTimeHasBeenSet() const { return m_computeTimeHasBeenSet; }
222 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
223 inline Evaluation& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
225
227
228 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
229 inline bool FinishedAtHasBeenSet() const { return m_finishedAtHasBeenSet; }
230 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAtHasBeenSet = true; m_finishedAt = value; }
231 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::move(value); }
232 inline Evaluation& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
233 inline Evaluation& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
235
237
238 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
239 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
240 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
241 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
242 inline Evaluation& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
243 inline Evaluation& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
245 private:
246
247 Aws::String m_evaluationId;
248 bool m_evaluationIdHasBeenSet = false;
249
250 Aws::String m_mLModelId;
251 bool m_mLModelIdHasBeenSet = false;
252
253 Aws::String m_evaluationDataSourceId;
254 bool m_evaluationDataSourceIdHasBeenSet = false;
255
256 Aws::String m_inputDataLocationS3;
257 bool m_inputDataLocationS3HasBeenSet = false;
258
259 Aws::String m_createdByIamUser;
260 bool m_createdByIamUserHasBeenSet = false;
261
262 Aws::Utils::DateTime m_createdAt;
263 bool m_createdAtHasBeenSet = false;
264
265 Aws::Utils::DateTime m_lastUpdatedAt;
266 bool m_lastUpdatedAtHasBeenSet = false;
267
268 Aws::String m_name;
269 bool m_nameHasBeenSet = false;
270
271 EntityStatus m_status;
272 bool m_statusHasBeenSet = false;
273
274 PerformanceMetrics m_performanceMetrics;
275 bool m_performanceMetricsHasBeenSet = false;
276
277 Aws::String m_message;
278 bool m_messageHasBeenSet = false;
279
280 long long m_computeTime;
281 bool m_computeTimeHasBeenSet = false;
282
283 Aws::Utils::DateTime m_finishedAt;
284 bool m_finishedAtHasBeenSet = false;
285
286 Aws::Utils::DateTime m_startedAt;
287 bool m_startedAtHasBeenSet = false;
288 };
289
290} // namespace Model
291} // namespace MachineLearning
292} // namespace Aws
void SetPerformanceMetrics(PerformanceMetrics &&value)
Definition Evaluation.h:198
const Aws::String & GetCreatedByIamUser() const
Definition Evaluation.h:109
const Aws::String & GetMLModelId() const
Definition Evaluation.h:63
Evaluation & WithPerformanceMetrics(PerformanceMetrics &&value)
Definition Evaluation.h:200
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:126
Evaluation & WithEvaluationId(Aws::String &&value)
Definition Evaluation.h:55
const Aws::String & GetEvaluationDataSourceId() const
Definition Evaluation.h:78
AWS_MACHINELEARNING_API Evaluation()
void SetInputDataLocationS3(const Aws::String &value)
Definition Evaluation.h:95
Evaluation & WithInputDataLocationS3(const Aws::String &value)
Definition Evaluation.h:98
void SetMessage(const char *value)
Definition Evaluation.h:212
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:140
Evaluation & WithEvaluationDataSourceId(const char *value)
Definition Evaluation.h:85
Evaluation & WithName(const Aws::String &value)
Definition Evaluation.h:154
const Aws::String & GetEvaluationId() const
Definition Evaluation.h:49
void SetStatus(const EntityStatus &value)
Definition Evaluation.h:173
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Evaluation.h:137
Evaluation & WithName(const char *value)
Definition Evaluation.h:156
const Aws::Utils::DateTime & GetStartedAt() const
Definition Evaluation.h:238
Evaluation & WithEvaluationId(const Aws::String &value)
Definition Evaluation.h:54
AWS_MACHINELEARNING_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
Evaluation & WithInputDataLocationS3(const char *value)
Definition Evaluation.h:100
void SetPerformanceMetrics(const PerformanceMetrics &value)
Definition Evaluation.h:197
void SetMLModelId(const char *value)
Definition Evaluation.h:67
void SetInputDataLocationS3(Aws::String &&value)
Definition Evaluation.h:96
Evaluation & WithInputDataLocationS3(Aws::String &&value)
Definition Evaluation.h:99
Evaluation & WithCreatedByIamUser(Aws::String &&value)
Definition Evaluation.h:115
const Aws::Utils::DateTime & GetFinishedAt() const
Definition Evaluation.h:228
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:139
void SetInputDataLocationS3(const char *value)
Definition Evaluation.h:97
Evaluation & WithMessage(Aws::String &&value)
Definition Evaluation.h:214
Evaluation & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:141
void SetMessage(Aws::String &&value)
Definition Evaluation.h:211
Evaluation & WithMLModelId(Aws::String &&value)
Definition Evaluation.h:69
Evaluation & WithStartedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:243
Evaluation & WithName(Aws::String &&value)
Definition Evaluation.h:155
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:241
Evaluation & WithComputeTime(long long value)
Definition Evaluation.h:223
void SetMLModelId(const Aws::String &value)
Definition Evaluation.h:65
Evaluation & WithPerformanceMetrics(const PerformanceMetrics &value)
Definition Evaluation.h:199
const Aws::String & GetName() const
Definition Evaluation.h:149
Evaluation & WithCreatedByIamUser(const Aws::String &value)
Definition Evaluation.h:114
Evaluation & WithEvaluationDataSourceId(const Aws::String &value)
Definition Evaluation.h:83
void SetFinishedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:231
void SetStartedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:240
void SetFinishedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:230
void SetCreatedByIamUser(Aws::String &&value)
Definition Evaluation.h:112
Evaluation & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:128
Evaluation & WithStatus(EntityStatus &&value)
Definition Evaluation.h:176
Evaluation & WithCreatedByIamUser(const char *value)
Definition Evaluation.h:116
Evaluation & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:129
const EntityStatus & GetStatus() const
Definition Evaluation.h:171
void SetEvaluationDataSourceId(const Aws::String &value)
Definition Evaluation.h:80
const Aws::String & GetInputDataLocationS3() const
Definition Evaluation.h:93
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:127
Evaluation & WithEvaluationId(const char *value)
Definition Evaluation.h:56
AWS_MACHINELEARNING_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
Evaluation & WithFinishedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:233
Evaluation & WithMessage(const Aws::String &value)
Definition Evaluation.h:213
void SetCreatedByIamUser(const char *value)
Definition Evaluation.h:113
const PerformanceMetrics & GetPerformanceMetrics() const
Definition Evaluation.h:195
Evaluation & WithMLModelId(const char *value)
Definition Evaluation.h:70
Evaluation & WithStartedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:242
void SetEvaluationId(const char *value)
Definition Evaluation.h:53
void SetName(const Aws::String &value)
Definition Evaluation.h:151
Evaluation & WithMessage(const char *value)
Definition Evaluation.h:215
const Aws::String & GetMessage() const
Definition Evaluation.h:208
void SetEvaluationId(const Aws::String &value)
Definition Evaluation.h:51
Evaluation & WithMLModelId(const Aws::String &value)
Definition Evaluation.h:68
Evaluation & WithEvaluationDataSourceId(Aws::String &&value)
Definition Evaluation.h:84
Evaluation & WithFinishedAt(const Aws::Utils::DateTime &value)
Definition Evaluation.h:232
void SetStatus(EntityStatus &&value)
Definition Evaluation.h:174
void SetEvaluationDataSourceId(Aws::String &&value)
Definition Evaluation.h:81
void SetMessage(const Aws::String &value)
Definition Evaluation.h:210
Evaluation & WithStatus(const EntityStatus &value)
Definition Evaluation.h:175
void SetEvaluationDataSourceId(const char *value)
Definition Evaluation.h:82
Evaluation & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition Evaluation.h:142
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Evaluation.h:124
void SetMLModelId(Aws::String &&value)
Definition Evaluation.h:66
void SetName(Aws::String &&value)
Definition Evaluation.h:152
void SetEvaluationId(Aws::String &&value)
Definition Evaluation.h:52
void SetCreatedByIamUser(const Aws::String &value)
Definition Evaluation.h:111
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue