AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
49 inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
50 inline void SetEvaluationId(const Aws::String& value) { m_evaluationId = value; }
51 inline void SetEvaluationId(Aws::String&& value) { m_evaluationId = std::move(value); }
52 inline void SetEvaluationId(const char* value) { m_evaluationId.assign(value); }
53 inline GetEvaluationResult& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
54 inline GetEvaluationResult& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
55 inline GetEvaluationResult& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
57
59
62 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
63 inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
64 inline void SetMLModelId(Aws::String&& value) { m_mLModelId = std::move(value); }
65 inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
66 inline GetEvaluationResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
67 inline GetEvaluationResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
68 inline GetEvaluationResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
70
72
75 inline const Aws::String& GetEvaluationDataSourceId() const{ return m_evaluationDataSourceId; }
76 inline void SetEvaluationDataSourceId(const Aws::String& value) { m_evaluationDataSourceId = value; }
77 inline void SetEvaluationDataSourceId(Aws::String&& value) { m_evaluationDataSourceId = std::move(value); }
78 inline void SetEvaluationDataSourceId(const char* value) { m_evaluationDataSourceId.assign(value); }
80 inline GetEvaluationResult& WithEvaluationDataSourceId(Aws::String&& value) { SetEvaluationDataSourceId(std::move(value)); return *this;}
81 inline GetEvaluationResult& WithEvaluationDataSourceId(const char* value) { SetEvaluationDataSourceId(value); return *this;}
83
85
89 inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
90 inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3 = value; }
91 inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3 = std::move(value); }
92 inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3.assign(value); }
94 inline GetEvaluationResult& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(std::move(value)); return *this;}
95 inline GetEvaluationResult& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
97
99
104 inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
105 inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
106 inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = std::move(value); }
107 inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
108 inline GetEvaluationResult& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
109 inline GetEvaluationResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(std::move(value)); return *this;}
110 inline GetEvaluationResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
119 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
120 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
121 inline GetEvaluationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
122 inline GetEvaluationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
131 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
132 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
133 inline GetEvaluationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
134 inline GetEvaluationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
136
138
141 inline const Aws::String& GetName() const{ return m_name; }
142 inline void SetName(const Aws::String& value) { m_name = value; }
143 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
144 inline void SetName(const char* value) { m_name.assign(value); }
145 inline GetEvaluationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
146 inline GetEvaluationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
147 inline GetEvaluationResult& WithName(const char* value) { SetName(value); return *this;}
149
151
162 inline const EntityStatus& GetStatus() const{ return m_status; }
163 inline void SetStatus(const EntityStatus& value) { m_status = value; }
164 inline void SetStatus(EntityStatus&& value) { m_status = std::move(value); }
165 inline GetEvaluationResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
166 inline GetEvaluationResult& WithStatus(EntityStatus&& value) { SetStatus(std::move(value)); return *this;}
168
170
185 inline const PerformanceMetrics& GetPerformanceMetrics() const{ return m_performanceMetrics; }
186 inline void SetPerformanceMetrics(const PerformanceMetrics& value) { m_performanceMetrics = value; }
187 inline void SetPerformanceMetrics(PerformanceMetrics&& value) { m_performanceMetrics = std::move(value); }
189 inline GetEvaluationResult& WithPerformanceMetrics(PerformanceMetrics&& value) { SetPerformanceMetrics(std::move(value)); return *this;}
191
193
197 inline const Aws::String& GetLogUri() const{ return m_logUri; }
198 inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
199 inline void SetLogUri(Aws::String&& value) { m_logUri = std::move(value); }
200 inline void SetLogUri(const char* value) { m_logUri.assign(value); }
201 inline GetEvaluationResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
202 inline GetEvaluationResult& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
203 inline GetEvaluationResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
205
207
211 inline const Aws::String& GetMessage() const{ return m_message; }
212 inline void SetMessage(const Aws::String& value) { m_message = value; }
213 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
214 inline void SetMessage(const char* value) { m_message.assign(value); }
215 inline GetEvaluationResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
216 inline GetEvaluationResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
217 inline GetEvaluationResult& WithMessage(const char* value) { SetMessage(value); return *this;}
219
221
227 inline long long GetComputeTime() const{ return m_computeTime; }
228 inline void SetComputeTime(long long value) { m_computeTime = value; }
229 inline GetEvaluationResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
231
233
239 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
240 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAt = value; }
241 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAt = std::move(value); }
242 inline GetEvaluationResult& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
243 inline GetEvaluationResult& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
245
247
253 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
254 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
255 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
256 inline GetEvaluationResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
257 inline GetEvaluationResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
259
261
262 inline const Aws::String& GetRequestId() const{ return m_requestId; }
263 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
264 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
265 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
266 inline GetEvaluationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
267 inline GetEvaluationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
268 inline GetEvaluationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
270 private:
271
272 Aws::String m_evaluationId;
273
274 Aws::String m_mLModelId;
275
276 Aws::String m_evaluationDataSourceId;
277
278 Aws::String m_inputDataLocationS3;
279
280 Aws::String m_createdByIamUser;
281
282 Aws::Utils::DateTime m_createdAt;
283
284 Aws::Utils::DateTime m_lastUpdatedAt;
285
286 Aws::String m_name;
287
288 EntityStatus m_status;
289
290 PerformanceMetrics m_performanceMetrics;
291
292 Aws::String m_logUri;
293
294 Aws::String m_message;
295
296 long long m_computeTime;
297
298 Aws::Utils::DateTime m_finishedAt;
299
300 Aws::Utils::DateTime m_startedAt;
301
302 Aws::String m_requestId;
303 };
304
305} // namespace Model
306} // namespace MachineLearning
307} // namespace Aws
GetEvaluationResult & WithLogUri(Aws::String &&value)
GetEvaluationResult & WithCreatedByIamUser(const char *value)
GetEvaluationResult & WithEvaluationId(const char *value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithLogUri(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithStatus(EntityStatus &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetInputDataLocationS3(const Aws::String &value)
GetEvaluationResult & WithInputDataLocationS3(const Aws::String &value)
GetEvaluationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithRequestId(const char *value)
GetEvaluationResult & WithMessage(const Aws::String &value)
GetEvaluationResult & WithEvaluationId(const Aws::String &value)
GetEvaluationResult & WithMessage(const char *value)
GetEvaluationResult & WithPerformanceMetrics(const PerformanceMetrics &value)
GetEvaluationResult & WithFinishedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithName(const Aws::String &value)
AWS_MACHINELEARNING_API GetEvaluationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEvaluationResult & WithEvaluationDataSourceId(Aws::String &&value)
GetEvaluationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_MACHINELEARNING_API GetEvaluationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEvaluationResult & WithMLModelId(const char *value)
const PerformanceMetrics & GetPerformanceMetrics() const
GetEvaluationResult & WithComputeTime(long long value)
GetEvaluationResult & WithInputDataLocationS3(Aws::String &&value)
GetEvaluationResult & WithName(Aws::String &&value)
GetEvaluationResult & WithPerformanceMetrics(PerformanceMetrics &&value)
GetEvaluationResult & WithEvaluationId(Aws::String &&value)
void SetEvaluationDataSourceId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithEvaluationDataSourceId(const Aws::String &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithStartedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
GetEvaluationResult & WithCreatedByIamUser(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithLogUri(const char *value)
void SetPerformanceMetrics(PerformanceMetrics &&value)
GetEvaluationResult & WithEvaluationDataSourceId(const char *value)
GetEvaluationResult & WithFinishedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithMLModelId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetEvaluationResult & WithName(const char *value)
GetEvaluationResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithRequestId(const Aws::String &value)
GetEvaluationResult & WithMessage(Aws::String &&value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithInputDataLocationS3(const char *value)
GetEvaluationResult & WithStatus(const EntityStatus &value)
GetEvaluationResult & WithCreatedByIamUser(Aws::String &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetPerformanceMetrics(const PerformanceMetrics &value)
GetEvaluationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithRequestId(Aws::String &&value)
GetEvaluationResult & WithMLModelId(Aws::String &&value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue