AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
41
42
44
49 inline const Aws::String& GetBatchPredictionId() const { return m_batchPredictionId; }
50 template<typename BatchPredictionIdT = Aws::String>
51 void SetBatchPredictionId(BatchPredictionIdT&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::forward<BatchPredictionIdT>(value); }
52 template<typename BatchPredictionIdT = Aws::String>
53 GetBatchPredictionResult& WithBatchPredictionId(BatchPredictionIdT&& value) { SetBatchPredictionId(std::forward<BatchPredictionIdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
62 template<typename MLModelIdT = Aws::String>
63 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::forward<MLModelIdT>(value); }
64 template<typename MLModelIdT = Aws::String>
65 GetBatchPredictionResult& WithMLModelId(MLModelIdT&& value) { SetMLModelId(std::forward<MLModelIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetBatchPredictionDataSourceId() const { return m_batchPredictionDataSourceId; }
74 template<typename BatchPredictionDataSourceIdT = Aws::String>
75 void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value); }
76 template<typename BatchPredictionDataSourceIdT = Aws::String>
77 GetBatchPredictionResult& WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { SetBatchPredictionDataSourceId(std::forward<BatchPredictionDataSourceIdT>(value)); return *this;}
79
81
85 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
86 template<typename InputDataLocationS3T = Aws::String>
87 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
88 template<typename InputDataLocationS3T = Aws::String>
89 GetBatchPredictionResult& WithInputDataLocationS3(InputDataLocationS3T&& value) { SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value)); return *this;}
91
93
98 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
99 template<typename CreatedByIamUserT = Aws::String>
100 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
101 template<typename CreatedByIamUserT = Aws::String>
102 GetBatchPredictionResult& WithCreatedByIamUser(CreatedByIamUserT&& value) { SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value)); return *this;}
104
106
110 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
111 template<typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
113 template<typename CreatedAtT = Aws::Utils::DateTime>
114 GetBatchPredictionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
123 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
124 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
125 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
126 GetBatchPredictionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
128
130
133 inline const Aws::String& GetName() const { return m_name; }
134 template<typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
136 template<typename NameT = Aws::String>
137 GetBatchPredictionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
139
141
153 inline EntityStatus GetStatus() const { return m_status; }
154 inline void SetStatus(EntityStatus value) { m_statusHasBeenSet = true; m_status = value; }
155 inline GetBatchPredictionResult& WithStatus(EntityStatus value) { SetStatus(value); return *this;}
157
159
163 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
164 template<typename OutputUriT = Aws::String>
165 void SetOutputUri(OutputUriT&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::forward<OutputUriT>(value); }
166 template<typename OutputUriT = Aws::String>
167 GetBatchPredictionResult& WithOutputUri(OutputUriT&& value) { SetOutputUri(std::forward<OutputUriT>(value)); return *this;}
169
171
175 inline const Aws::String& GetLogUri() const { return m_logUri; }
176 template<typename LogUriT = Aws::String>
177 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
178 template<typename LogUriT = Aws::String>
179 GetBatchPredictionResult& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
181
183
187 inline const Aws::String& GetMessage() const { return m_message; }
188 template<typename MessageT = Aws::String>
189 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
190 template<typename MessageT = Aws::String>
191 GetBatchPredictionResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
193
195
201 inline long long GetComputeTime() const { return m_computeTime; }
202 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
203 inline GetBatchPredictionResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
205
207
213 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
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 GetBatchPredictionResult& WithFinishedAt(FinishedAtT&& value) { SetFinishedAt(std::forward<FinishedAtT>(value)); return *this;}
219
221
227 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
228 template<typename StartedAtT = Aws::Utils::DateTime>
229 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
230 template<typename StartedAtT = Aws::Utils::DateTime>
231 GetBatchPredictionResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
233
235
239 inline long long GetTotalRecordCount() const { return m_totalRecordCount; }
240 inline void SetTotalRecordCount(long long value) { m_totalRecordCountHasBeenSet = true; m_totalRecordCount = value; }
241 inline GetBatchPredictionResult& WithTotalRecordCount(long long value) { SetTotalRecordCount(value); return *this;}
243
245
249 inline long long GetInvalidRecordCount() const { return m_invalidRecordCount; }
250 inline void SetInvalidRecordCount(long long value) { m_invalidRecordCountHasBeenSet = true; m_invalidRecordCount = value; }
251 inline GetBatchPredictionResult& WithInvalidRecordCount(long long value) { SetInvalidRecordCount(value); return *this;}
253
255
256 inline const Aws::String& GetRequestId() const { return m_requestId; }
257 template<typename RequestIdT = Aws::String>
258 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
259 template<typename RequestIdT = Aws::String>
260 GetBatchPredictionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
262 private:
263
264 Aws::String m_batchPredictionId;
265 bool m_batchPredictionIdHasBeenSet = false;
266
267 Aws::String m_mLModelId;
268 bool m_mLModelIdHasBeenSet = false;
269
270 Aws::String m_batchPredictionDataSourceId;
271 bool m_batchPredictionDataSourceIdHasBeenSet = false;
272
273 Aws::String m_inputDataLocationS3;
274 bool m_inputDataLocationS3HasBeenSet = false;
275
276 Aws::String m_createdByIamUser;
277 bool m_createdByIamUserHasBeenSet = false;
278
279 Aws::Utils::DateTime m_createdAt{};
280 bool m_createdAtHasBeenSet = false;
281
282 Aws::Utils::DateTime m_lastUpdatedAt{};
283 bool m_lastUpdatedAtHasBeenSet = false;
284
285 Aws::String m_name;
286 bool m_nameHasBeenSet = false;
287
289 bool m_statusHasBeenSet = false;
290
291 Aws::String m_outputUri;
292 bool m_outputUriHasBeenSet = false;
293
294 Aws::String m_logUri;
295 bool m_logUriHasBeenSet = false;
296
297 Aws::String m_message;
298 bool m_messageHasBeenSet = false;
299
300 long long m_computeTime{0};
301 bool m_computeTimeHasBeenSet = false;
302
303 Aws::Utils::DateTime m_finishedAt{};
304 bool m_finishedAtHasBeenSet = false;
305
306 Aws::Utils::DateTime m_startedAt{};
307 bool m_startedAtHasBeenSet = false;
308
309 long long m_totalRecordCount{0};
310 bool m_totalRecordCountHasBeenSet = false;
311
312 long long m_invalidRecordCount{0};
313 bool m_invalidRecordCountHasBeenSet = false;
314
315 Aws::String m_requestId;
316 bool m_requestIdHasBeenSet = false;
317 };
318
319} // namespace Model
320} // namespace MachineLearning
321} // 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