AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBatchPredictionResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MachineLearning
26{
27namespace Model
28{
36 {
37 public:
38 AWS_MACHINELEARNING_API GetBatchPredictionResult();
41
42
44
49 inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
50 inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionId = value; }
51 inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionId = std::move(value); }
52 inline void SetBatchPredictionId(const char* value) { m_batchPredictionId.assign(value); }
54 inline GetBatchPredictionResult& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
55 inline GetBatchPredictionResult& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
57
59
63 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
64 inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
65 inline void SetMLModelId(Aws::String&& value) { m_mLModelId = std::move(value); }
66 inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
67 inline GetBatchPredictionResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
68 inline GetBatchPredictionResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
69 inline GetBatchPredictionResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
71
73
77 inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; }
78 inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceId = value; }
79 inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceId = std::move(value); }
80 inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceId.assign(value); }
85
87
91 inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
92 inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3 = value; }
93 inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3 = std::move(value); }
94 inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3.assign(value); }
96 inline GetBatchPredictionResult& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(std::move(value)); return *this;}
97 inline GetBatchPredictionResult& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
99
101
106 inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
107 inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
108 inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = std::move(value); }
109 inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
111 inline GetBatchPredictionResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(std::move(value)); return *this;}
112 inline GetBatchPredictionResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
121 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
122 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
123 inline GetBatchPredictionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
124 inline GetBatchPredictionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
126
128
132 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
133 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
134 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
136 inline GetBatchPredictionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetName() const{ return m_name; }
144 inline void SetName(const Aws::String& value) { m_name = value; }
145 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
146 inline void SetName(const char* value) { m_name.assign(value); }
147 inline GetBatchPredictionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
148 inline GetBatchPredictionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
149 inline GetBatchPredictionResult& WithName(const char* value) { SetName(value); return *this;}
151
153
165 inline const EntityStatus& GetStatus() const{ return m_status; }
166 inline void SetStatus(const EntityStatus& value) { m_status = value; }
167 inline void SetStatus(EntityStatus&& value) { m_status = std::move(value); }
168 inline GetBatchPredictionResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
169 inline GetBatchPredictionResult& WithStatus(EntityStatus&& value) { SetStatus(std::move(value)); return *this;}
171
173
177 inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
178 inline void SetOutputUri(const Aws::String& value) { m_outputUri = value; }
179 inline void SetOutputUri(Aws::String&& value) { m_outputUri = std::move(value); }
180 inline void SetOutputUri(const char* value) { m_outputUri.assign(value); }
181 inline GetBatchPredictionResult& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
182 inline GetBatchPredictionResult& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;}
183 inline GetBatchPredictionResult& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
185
187
191 inline const Aws::String& GetLogUri() const{ return m_logUri; }
192 inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
193 inline void SetLogUri(Aws::String&& value) { m_logUri = std::move(value); }
194 inline void SetLogUri(const char* value) { m_logUri.assign(value); }
195 inline GetBatchPredictionResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
196 inline GetBatchPredictionResult& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
197 inline GetBatchPredictionResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
199
201
205 inline const Aws::String& GetMessage() const{ return m_message; }
206 inline void SetMessage(const Aws::String& value) { m_message = value; }
207 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
208 inline void SetMessage(const char* value) { m_message.assign(value); }
209 inline GetBatchPredictionResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
210 inline GetBatchPredictionResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
211 inline GetBatchPredictionResult& WithMessage(const char* value) { SetMessage(value); return *this;}
213
215
221 inline long long GetComputeTime() const{ return m_computeTime; }
222 inline void SetComputeTime(long long value) { m_computeTime = value; }
223 inline GetBatchPredictionResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
225
227
233 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
234 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAt = value; }
235 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAt = std::move(value); }
236 inline GetBatchPredictionResult& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
237 inline GetBatchPredictionResult& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
239
241
247 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
248 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
249 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
250 inline GetBatchPredictionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
251 inline GetBatchPredictionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
253
255
259 inline long long GetTotalRecordCount() const{ return m_totalRecordCount; }
260 inline void SetTotalRecordCount(long long value) { m_totalRecordCount = value; }
261 inline GetBatchPredictionResult& WithTotalRecordCount(long long value) { SetTotalRecordCount(value); return *this;}
263
265
269 inline long long GetInvalidRecordCount() const{ return m_invalidRecordCount; }
270 inline void SetInvalidRecordCount(long long value) { m_invalidRecordCount = value; }
271 inline GetBatchPredictionResult& WithInvalidRecordCount(long long value) { SetInvalidRecordCount(value); return *this;}
273
275
276 inline const Aws::String& GetRequestId() const{ return m_requestId; }
277 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
278 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
279 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
280 inline GetBatchPredictionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
281 inline GetBatchPredictionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
282 inline GetBatchPredictionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
284 private:
285
286 Aws::String m_batchPredictionId;
287
288 Aws::String m_mLModelId;
289
290 Aws::String m_batchPredictionDataSourceId;
291
292 Aws::String m_inputDataLocationS3;
293
294 Aws::String m_createdByIamUser;
295
296 Aws::Utils::DateTime m_createdAt;
297
298 Aws::Utils::DateTime m_lastUpdatedAt;
299
300 Aws::String m_name;
301
302 EntityStatus m_status;
303
304 Aws::String m_outputUri;
305
306 Aws::String m_logUri;
307
308 Aws::String m_message;
309
310 long long m_computeTime;
311
312 Aws::Utils::DateTime m_finishedAt;
313
314 Aws::Utils::DateTime m_startedAt;
315
316 long long m_totalRecordCount;
317
318 long long m_invalidRecordCount;
319
320 Aws::String m_requestId;
321 };
322
323} // namespace Model
324} // namespace MachineLearning
325} // namespace Aws
GetBatchPredictionResult & WithBatchPredictionDataSourceId(Aws::String &&value)
GetBatchPredictionResult & WithName(const Aws::String &value)
GetBatchPredictionResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithRequestId(const char *value)
GetBatchPredictionResult & WithLogUri(Aws::String &&value)
GetBatchPredictionResult & WithInvalidRecordCount(long long value)
GetBatchPredictionResult & WithInputDataLocationS3(const char *value)
GetBatchPredictionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetBatchPredictionResult & WithOutputUri(const Aws::String &value)
GetBatchPredictionResult & WithInputDataLocationS3(Aws::String &&value)
GetBatchPredictionResult & WithOutputUri(Aws::String &&value)
GetBatchPredictionResult & WithOutputUri(const char *value)
GetBatchPredictionResult & WithBatchPredictionId(const Aws::String &value)
GetBatchPredictionResult & WithFinishedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(const Aws::String &value)
GetBatchPredictionResult & WithMLModelId(const Aws::String &value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(const char *value)
GetBatchPredictionResult & WithBatchPredictionId(Aws::String &&value)
GetBatchPredictionResult & WithStatus(const EntityStatus &value)
GetBatchPredictionResult & WithCreatedByIamUser(const Aws::String &value)
GetBatchPredictionResult & WithMessage(const Aws::String &value)
GetBatchPredictionResult & WithInputDataLocationS3(const Aws::String &value)
GetBatchPredictionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetBatchPredictionResult & WithMLModelId(Aws::String &&value)
GetBatchPredictionResult & WithLogUri(const Aws::String &value)
GetBatchPredictionResult & WithRequestId(const Aws::String &value)
GetBatchPredictionResult & WithMessage(const char *value)
GetBatchPredictionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetBatchPredictionResult & WithTotalRecordCount(long long value)
GetBatchPredictionResult & WithCreatedByIamUser(Aws::String &&value)
GetBatchPredictionResult & WithBatchPredictionId(const char *value)
GetBatchPredictionResult & WithFinishedAt(Aws::Utils::DateTime &&value)
AWS_MACHINELEARNING_API GetBatchPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchPredictionResult & WithName(Aws::String &&value)
GetBatchPredictionResult & WithStatus(EntityStatus &&value)
GetBatchPredictionResult & WithLogUri(const char *value)
GetBatchPredictionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithMLModelId(const char *value)
GetBatchPredictionResult & WithName(const char *value)
AWS_MACHINELEARNING_API GetBatchPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchPredictionResult & WithCreatedByIamUser(const char *value)
GetBatchPredictionResult & WithMessage(Aws::String &&value)
GetBatchPredictionResult & WithRequestId(Aws::String &&value)
GetBatchPredictionResult & WithComputeTime(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue