AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename EvaluationIdT = Aws::String>
52 void SetEvaluationId(EvaluationIdT&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::forward<EvaluationIdT>(value); }
53 template<typename EvaluationIdT = Aws::String>
54 Evaluation& WithEvaluationId(EvaluationIdT&& value) { SetEvaluationId(std::forward<EvaluationIdT>(value)); return *this;}
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) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::forward<MLModelIdT>(value); }
65 template<typename MLModelIdT = Aws::String>
66 Evaluation& WithMLModelId(MLModelIdT&& value) { SetMLModelId(std::forward<MLModelIdT>(value)); return *this;}
68
70
74 inline const Aws::String& GetEvaluationDataSourceId() const { return m_evaluationDataSourceId; }
75 inline bool EvaluationDataSourceIdHasBeenSet() const { return m_evaluationDataSourceIdHasBeenSet; }
76 template<typename EvaluationDataSourceIdT = Aws::String>
77 void SetEvaluationDataSourceId(EvaluationDataSourceIdT&& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = std::forward<EvaluationDataSourceIdT>(value); }
78 template<typename EvaluationDataSourceIdT = Aws::String>
79 Evaluation& WithEvaluationDataSourceId(EvaluationDataSourceIdT&& value) { SetEvaluationDataSourceId(std::forward<EvaluationDataSourceIdT>(value)); return *this;}
81
83
87 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
88 inline bool InputDataLocationS3HasBeenSet() const { return m_inputDataLocationS3HasBeenSet; }
89 template<typename InputDataLocationS3T = Aws::String>
90 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
91 template<typename InputDataLocationS3T = Aws::String>
92 Evaluation& WithInputDataLocationS3(InputDataLocationS3T&& value) { SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value)); return *this;}
94
96
101 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
102 inline bool CreatedByIamUserHasBeenSet() const { return m_createdByIamUserHasBeenSet; }
103 template<typename CreatedByIamUserT = Aws::String>
104 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
105 template<typename CreatedByIamUserT = Aws::String>
106 Evaluation& WithCreatedByIamUser(CreatedByIamUserT&& value) { SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
115 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
116 template<typename CreatedAtT = Aws::Utils::DateTime>
117 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
118 template<typename CreatedAtT = Aws::Utils::DateTime>
119 Evaluation& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
128 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
129 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
130 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
131 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
132 Evaluation& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
134
136
139 inline const Aws::String& GetName() const { return m_name; }
140 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 template<typename NameT = Aws::String>
142 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
143 template<typename NameT = Aws::String>
144 Evaluation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
146
148
159 inline EntityStatus GetStatus() const { return m_status; }
160 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 inline void SetStatus(EntityStatus value) { m_statusHasBeenSet = true; m_status = value; }
162 inline Evaluation& WithStatus(EntityStatus value) { SetStatus(value); return *this;}
164
166
181 inline const PerformanceMetrics& GetPerformanceMetrics() const { return m_performanceMetrics; }
182 inline bool PerformanceMetricsHasBeenSet() const { return m_performanceMetricsHasBeenSet; }
183 template<typename PerformanceMetricsT = PerformanceMetrics>
184 void SetPerformanceMetrics(PerformanceMetricsT&& value) { m_performanceMetricsHasBeenSet = true; m_performanceMetrics = std::forward<PerformanceMetricsT>(value); }
185 template<typename PerformanceMetricsT = PerformanceMetrics>
186 Evaluation& WithPerformanceMetrics(PerformanceMetricsT&& value) { SetPerformanceMetrics(std::forward<PerformanceMetricsT>(value)); return *this;}
188
190
194 inline const Aws::String& GetMessage() const { return m_message; }
195 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
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 Evaluation& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
201
203
204 inline long long GetComputeTime() const { return m_computeTime; }
205 inline bool ComputeTimeHasBeenSet() const { return m_computeTimeHasBeenSet; }
206 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
207 inline Evaluation& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
209
211
212 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
213 inline bool FinishedAtHasBeenSet() const { return m_finishedAtHasBeenSet; }
214 template<typename FinishedAtT = Aws::Utils::DateTime>
215 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::forward<FinishedAtT>(value); }
216 template<typename FinishedAtT = Aws::Utils::DateTime>
217 Evaluation& WithFinishedAt(FinishedAtT&& value) { SetFinishedAt(std::forward<FinishedAtT>(value)); return *this;}
219
221
222 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
223 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
224 template<typename StartedAtT = Aws::Utils::DateTime>
225 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
226 template<typename StartedAtT = Aws::Utils::DateTime>
227 Evaluation& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
229 private:
230
231 Aws::String m_evaluationId;
232 bool m_evaluationIdHasBeenSet = false;
233
234 Aws::String m_mLModelId;
235 bool m_mLModelIdHasBeenSet = false;
236
237 Aws::String m_evaluationDataSourceId;
238 bool m_evaluationDataSourceIdHasBeenSet = false;
239
240 Aws::String m_inputDataLocationS3;
241 bool m_inputDataLocationS3HasBeenSet = false;
242
243 Aws::String m_createdByIamUser;
244 bool m_createdByIamUserHasBeenSet = false;
245
246 Aws::Utils::DateTime m_createdAt{};
247 bool m_createdAtHasBeenSet = false;
248
249 Aws::Utils::DateTime m_lastUpdatedAt{};
250 bool m_lastUpdatedAtHasBeenSet = false;
251
252 Aws::String m_name;
253 bool m_nameHasBeenSet = false;
254
256 bool m_statusHasBeenSet = false;
257
258 PerformanceMetrics m_performanceMetrics;
259 bool m_performanceMetricsHasBeenSet = false;
260
261 Aws::String m_message;
262 bool m_messageHasBeenSet = false;
263
264 long long m_computeTime{0};
265 bool m_computeTimeHasBeenSet = false;
266
267 Aws::Utils::DateTime m_finishedAt{};
268 bool m_finishedAtHasBeenSet = false;
269
270 Aws::Utils::DateTime m_startedAt{};
271 bool m_startedAtHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace MachineLearning
276} // namespace Aws
void SetEvaluationId(EvaluationIdT &&value)
Definition Evaluation.h:52
const Aws::String & GetCreatedByIamUser() const
Definition Evaluation.h:101
const Aws::String & GetMLModelId() const
Definition Evaluation.h:61
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Evaluation.h:130
const Aws::String & GetEvaluationDataSourceId() const
Definition Evaluation.h:74
void SetCreatedAt(CreatedAtT &&value)
Definition Evaluation.h:117
Evaluation & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Evaluation.h:132
Evaluation & WithCreatedAt(CreatedAtT &&value)
Definition Evaluation.h:119
AWS_MACHINELEARNING_API Evaluation()=default
void SetEvaluationDataSourceId(EvaluationDataSourceIdT &&value)
Definition Evaluation.h:77
const Aws::String & GetEvaluationId() const
Definition Evaluation.h:49
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Evaluation.h:127
Evaluation & WithEvaluationDataSourceId(EvaluationDataSourceIdT &&value)
Definition Evaluation.h:79
Evaluation & WithMLModelId(MLModelIdT &&value)
Definition Evaluation.h:66
const Aws::Utils::DateTime & GetStartedAt() const
Definition Evaluation.h:222
AWS_MACHINELEARNING_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedByIamUser(CreatedByIamUserT &&value)
Definition Evaluation.h:104
const Aws::Utils::DateTime & GetFinishedAt() const
Definition Evaluation.h:212
void SetInputDataLocationS3(InputDataLocationS3T &&value)
Definition Evaluation.h:90
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
Evaluation & WithComputeTime(long long value)
Definition Evaluation.h:207
const Aws::String & GetName() const
Definition Evaluation.h:139
void SetMLModelId(MLModelIdT &&value)
Definition Evaluation.h:64
Evaluation & WithFinishedAt(FinishedAtT &&value)
Definition Evaluation.h:217
Evaluation & WithStartedAt(StartedAtT &&value)
Definition Evaluation.h:227
Evaluation & WithName(NameT &&value)
Definition Evaluation.h:144
void SetStartedAt(StartedAtT &&value)
Definition Evaluation.h:225
Evaluation & WithCreatedByIamUser(CreatedByIamUserT &&value)
Definition Evaluation.h:106
const Aws::String & GetInputDataLocationS3() const
Definition Evaluation.h:87
AWS_MACHINELEARNING_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
const PerformanceMetrics & GetPerformanceMetrics() const
Definition Evaluation.h:181
void SetFinishedAt(FinishedAtT &&value)
Definition Evaluation.h:215
void SetStatus(EntityStatus value)
Definition Evaluation.h:161
const Aws::String & GetMessage() const
Definition Evaluation.h:194
Evaluation & WithPerformanceMetrics(PerformanceMetricsT &&value)
Definition Evaluation.h:186
Evaluation & WithInputDataLocationS3(InputDataLocationS3T &&value)
Definition Evaluation.h:92
Evaluation & WithStatus(EntityStatus value)
Definition Evaluation.h:162
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Evaluation.h:114
void SetPerformanceMetrics(PerformanceMetricsT &&value)
Definition Evaluation.h:184
Evaluation & WithEvaluationId(EvaluationIdT &&value)
Definition Evaluation.h:54
Evaluation & WithMessage(MessageT &&value)
Definition Evaluation.h:199
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue