AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetBatchPredictionResult.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
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MachineLearning {
24namespace Model {
32 public:
33 AWS_MACHINELEARNING_API GetBatchPredictionResult() = default;
36
38
43 inline const Aws::String& GetBatchPredictionId() const { return m_batchPredictionId; }
44 template <typename BatchPredictionIdT = Aws::String>
45 void SetBatchPredictionId(BatchPredictionIdT&& value) {
46 m_batchPredictionIdHasBeenSet = true;
47 m_batchPredictionId = std::forward<BatchPredictionIdT>(value);
48 }
49 template <typename BatchPredictionIdT = Aws::String>
50 GetBatchPredictionResult& WithBatchPredictionId(BatchPredictionIdT&& value) {
51 SetBatchPredictionId(std::forward<BatchPredictionIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
62 template <typename MLModelIdT = Aws::String>
63 void SetMLModelId(MLModelIdT&& value) {
64 m_mLModelIdHasBeenSet = true;
65 m_mLModelId = std::forward<MLModelIdT>(value);
66 }
67 template <typename MLModelIdT = Aws::String>
69 SetMLModelId(std::forward<MLModelIdT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetBatchPredictionDataSourceId() const { return m_batchPredictionDataSourceId; }
80 template <typename BatchPredictionDataSourceIdT = Aws::String>
81 void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) {
82 m_batchPredictionDataSourceIdHasBeenSet = true;
83 m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value);
84 }
85 template <typename BatchPredictionDataSourceIdT = Aws::String>
86 GetBatchPredictionResult& WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) {
87 SetBatchPredictionDataSourceId(std::forward<BatchPredictionDataSourceIdT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
98 template <typename InputDataLocationS3T = Aws::String>
99 void SetInputDataLocationS3(InputDataLocationS3T&& value) {
100 m_inputDataLocationS3HasBeenSet = true;
101 m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value);
102 }
103 template <typename InputDataLocationS3T = Aws::String>
104 GetBatchPredictionResult& WithInputDataLocationS3(InputDataLocationS3T&& value) {
105 SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value));
106 return *this;
107 }
109
111
116 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
117 template <typename CreatedByIamUserT = Aws::String>
118 void SetCreatedByIamUser(CreatedByIamUserT&& value) {
119 m_createdByIamUserHasBeenSet = true;
120 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
121 }
122 template <typename CreatedByIamUserT = Aws::String>
123 GetBatchPredictionResult& WithCreatedByIamUser(CreatedByIamUserT&& value) {
124 SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
136 void SetCreatedAt(CreatedAtT&& value) {
137 m_createdAtHasBeenSet = true;
138 m_createdAt = std::forward<CreatedAtT>(value);
139 }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
142 SetCreatedAt(std::forward<CreatedAtT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
153 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
154 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
155 m_lastUpdatedAtHasBeenSet = true;
156 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
157 }
158 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
160 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::String& GetName() const { return m_name; }
170 template <typename NameT = Aws::String>
171 void SetName(NameT&& value) {
172 m_nameHasBeenSet = true;
173 m_name = std::forward<NameT>(value);
174 }
175 template <typename NameT = Aws::String>
177 SetName(std::forward<NameT>(value));
178 return *this;
179 }
181
183
195 inline EntityStatus GetStatus() const { return m_status; }
196 inline void SetStatus(EntityStatus value) {
197 m_statusHasBeenSet = true;
198 m_status = value;
199 }
201 SetStatus(value);
202 return *this;
203 }
205
207
211 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
212 template <typename OutputUriT = Aws::String>
213 void SetOutputUri(OutputUriT&& value) {
214 m_outputUriHasBeenSet = true;
215 m_outputUri = std::forward<OutputUriT>(value);
216 }
217 template <typename OutputUriT = Aws::String>
219 SetOutputUri(std::forward<OutputUriT>(value));
220 return *this;
221 }
223
225
229 inline const Aws::String& GetLogUri() const { return m_logUri; }
230 template <typename LogUriT = Aws::String>
231 void SetLogUri(LogUriT&& value) {
232 m_logUriHasBeenSet = true;
233 m_logUri = std::forward<LogUriT>(value);
234 }
235 template <typename LogUriT = Aws::String>
237 SetLogUri(std::forward<LogUriT>(value));
238 return *this;
239 }
241
243
247 inline const Aws::String& GetMessage() const { return m_message; }
248 template <typename MessageT = Aws::String>
249 void SetMessage(MessageT&& value) {
250 m_messageHasBeenSet = true;
251 m_message = std::forward<MessageT>(value);
252 }
253 template <typename MessageT = Aws::String>
255 SetMessage(std::forward<MessageT>(value));
256 return *this;
257 }
259
261
267 inline long long GetComputeTime() const { return m_computeTime; }
268 inline void SetComputeTime(long long value) {
269 m_computeTimeHasBeenSet = true;
270 m_computeTime = value;
271 }
272 inline GetBatchPredictionResult& WithComputeTime(long long value) {
273 SetComputeTime(value);
274 return *this;
275 }
277
279
285 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
286 template <typename FinishedAtT = Aws::Utils::DateTime>
287 void SetFinishedAt(FinishedAtT&& value) {
288 m_finishedAtHasBeenSet = true;
289 m_finishedAt = std::forward<FinishedAtT>(value);
290 }
291 template <typename FinishedAtT = Aws::Utils::DateTime>
293 SetFinishedAt(std::forward<FinishedAtT>(value));
294 return *this;
295 }
297
299
305 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
306 template <typename StartedAtT = Aws::Utils::DateTime>
307 void SetStartedAt(StartedAtT&& value) {
308 m_startedAtHasBeenSet = true;
309 m_startedAt = std::forward<StartedAtT>(value);
310 }
311 template <typename StartedAtT = Aws::Utils::DateTime>
313 SetStartedAt(std::forward<StartedAtT>(value));
314 return *this;
315 }
317
319
323 inline long long GetTotalRecordCount() const { return m_totalRecordCount; }
324 inline void SetTotalRecordCount(long long value) {
325 m_totalRecordCountHasBeenSet = true;
326 m_totalRecordCount = value;
327 }
329 SetTotalRecordCount(value);
330 return *this;
331 }
333
335
339 inline long long GetInvalidRecordCount() const { return m_invalidRecordCount; }
340 inline void SetInvalidRecordCount(long long value) {
341 m_invalidRecordCountHasBeenSet = true;
342 m_invalidRecordCount = value;
343 }
346 return *this;
347 }
349
351
352 inline const Aws::String& GetRequestId() const { return m_requestId; }
353 template <typename RequestIdT = Aws::String>
354 void SetRequestId(RequestIdT&& value) {
355 m_requestIdHasBeenSet = true;
356 m_requestId = std::forward<RequestIdT>(value);
357 }
358 template <typename RequestIdT = Aws::String>
360 SetRequestId(std::forward<RequestIdT>(value));
361 return *this;
362 }
364 private:
365 Aws::String m_batchPredictionId;
366
367 Aws::String m_mLModelId;
368
369 Aws::String m_batchPredictionDataSourceId;
370
371 Aws::String m_inputDataLocationS3;
372
373 Aws::String m_createdByIamUser;
374
375 Aws::Utils::DateTime m_createdAt{};
376
377 Aws::Utils::DateTime m_lastUpdatedAt{};
378
379 Aws::String m_name;
380
382
383 Aws::String m_outputUri;
384
385 Aws::String m_logUri;
386
387 Aws::String m_message;
388
389 long long m_computeTime{0};
390
391 Aws::Utils::DateTime m_finishedAt{};
392
393 Aws::Utils::DateTime m_startedAt{};
394
395 long long m_totalRecordCount{0};
396
397 long long m_invalidRecordCount{0};
398
399 Aws::String m_requestId;
400 bool m_batchPredictionIdHasBeenSet = false;
401 bool m_mLModelIdHasBeenSet = false;
402 bool m_batchPredictionDataSourceIdHasBeenSet = false;
403 bool m_inputDataLocationS3HasBeenSet = false;
404 bool m_createdByIamUserHasBeenSet = false;
405 bool m_createdAtHasBeenSet = false;
406 bool m_lastUpdatedAtHasBeenSet = false;
407 bool m_nameHasBeenSet = false;
408 bool m_statusHasBeenSet = false;
409 bool m_outputUriHasBeenSet = false;
410 bool m_logUriHasBeenSet = false;
411 bool m_messageHasBeenSet = false;
412 bool m_computeTimeHasBeenSet = false;
413 bool m_finishedAtHasBeenSet = false;
414 bool m_startedAtHasBeenSet = false;
415 bool m_totalRecordCountHasBeenSet = false;
416 bool m_invalidRecordCountHasBeenSet = false;
417 bool m_requestIdHasBeenSet = false;
418};
419
420} // namespace Model
421} // namespace MachineLearning
422} // namespace Aws
GetBatchPredictionResult & WithFinishedAt(FinishedAtT &&value)
GetBatchPredictionResult & WithInputDataLocationS3(InputDataLocationS3T &&value)
GetBatchPredictionResult & WithCreatedByIamUser(CreatedByIamUserT &&value)
GetBatchPredictionResult & WithLogUri(LogUriT &&value)
GetBatchPredictionResult & WithRequestId(RequestIdT &&value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
GetBatchPredictionResult & WithMLModelId(MLModelIdT &&value)
GetBatchPredictionResult & WithInvalidRecordCount(long long value)
void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
GetBatchPredictionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetBatchPredictionResult & WithMessage(MessageT &&value)
GetBatchPredictionResult & WithCreatedAt(CreatedAtT &&value)
GetBatchPredictionResult & WithTotalRecordCount(long long value)
AWS_MACHINELEARNING_API GetBatchPredictionResult()=default
AWS_MACHINELEARNING_API GetBatchPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchPredictionResult & WithOutputUri(OutputUriT &&value)
GetBatchPredictionResult & WithStatus(EntityStatus value)
GetBatchPredictionResult & WithBatchPredictionId(BatchPredictionIdT &&value)
GetBatchPredictionResult & WithStartedAt(StartedAtT &&value)
AWS_MACHINELEARNING_API GetBatchPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchPredictionResult & WithComputeTime(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue