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>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace MachineLearning {
44 template <
typename BatchPredictionIdT = Aws::String>
46 m_batchPredictionIdHasBeenSet =
true;
47 m_batchPredictionId = std::forward<BatchPredictionIdT>(value);
49 template <
typename BatchPredictionIdT = Aws::String>
62 template <
typename MLModelIdT = Aws::String>
64 m_mLModelIdHasBeenSet =
true;
65 m_mLModelId = std::forward<MLModelIdT>(value);
67 template <
typename MLModelIdT = Aws::String>
80 template <
typename BatchPredictionDataSourceIdT = Aws::String>
82 m_batchPredictionDataSourceIdHasBeenSet =
true;
83 m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value);
85 template <
typename BatchPredictionDataSourceIdT = Aws::String>
98 template <
typename InputDataLocationS3T = Aws::String>
100 m_inputDataLocationS3HasBeenSet =
true;
101 m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value);
103 template <
typename InputDataLocationS3T = Aws::String>
117 template <
typename CreatedByIamUserT = Aws::String>
119 m_createdByIamUserHasBeenSet =
true;
120 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
122 template <
typename CreatedByIamUserT = Aws::String>
135 template <
typename CreatedAtT = Aws::Utils::DateTime>
137 m_createdAtHasBeenSet =
true;
138 m_createdAt = std::forward<CreatedAtT>(value);
140 template <
typename CreatedAtT = Aws::Utils::DateTime>
153 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
155 m_lastUpdatedAtHasBeenSet =
true;
156 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
158 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
170 template <
typename NameT = Aws::String>
172 m_nameHasBeenSet =
true;
173 m_name = std::forward<NameT>(value);
175 template <
typename NameT = Aws::String>
177 SetName(std::forward<NameT>(value));
197 m_statusHasBeenSet =
true;
212 template <
typename OutputUriT = Aws::String>
214 m_outputUriHasBeenSet =
true;
215 m_outputUri = std::forward<OutputUriT>(value);
217 template <
typename OutputUriT = Aws::String>
230 template <
typename LogUriT = Aws::String>
232 m_logUriHasBeenSet =
true;
233 m_logUri = std::forward<LogUriT>(value);
235 template <
typename LogUriT = Aws::String>
248 template <
typename MessageT = Aws::String>
250 m_messageHasBeenSet =
true;
251 m_message = std::forward<MessageT>(value);
253 template <
typename MessageT = Aws::String>
269 m_computeTimeHasBeenSet =
true;
270 m_computeTime = value;
286 template <
typename FinishedAtT = Aws::Utils::DateTime>
288 m_finishedAtHasBeenSet =
true;
289 m_finishedAt = std::forward<FinishedAtT>(value);
291 template <
typename FinishedAtT = Aws::Utils::DateTime>
306 template <
typename StartedAtT = Aws::Utils::DateTime>
308 m_startedAtHasBeenSet =
true;
309 m_startedAt = std::forward<StartedAtT>(value);
311 template <
typename StartedAtT = Aws::Utils::DateTime>
325 m_totalRecordCountHasBeenSet =
true;
326 m_totalRecordCount = value;
341 m_invalidRecordCountHasBeenSet =
true;
342 m_invalidRecordCount = value;
353 template <
typename RequestIdT = Aws::String>
355 m_requestIdHasBeenSet =
true;
356 m_requestId = std::forward<RequestIdT>(value);
358 template <
typename RequestIdT = Aws::String>
389 long long m_computeTime{0};
395 long long m_totalRecordCount{0};
397 long long m_invalidRecordCount{0};
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;
GetBatchPredictionResult & WithFinishedAt(FinishedAtT &&value)
void SetRequestId(RequestIdT &&value)
GetBatchPredictionResult & WithInputDataLocationS3(InputDataLocationS3T &&value)
const Aws::String & GetInputDataLocationS3() const
GetBatchPredictionResult & WithCreatedByIamUser(CreatedByIamUserT &&value)
GetBatchPredictionResult & WithLogUri(LogUriT &&value)
void SetOutputUri(OutputUriT &&value)
GetBatchPredictionResult & WithRequestId(RequestIdT &&value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
void SetTotalRecordCount(long long value)
GetBatchPredictionResult & WithMLModelId(MLModelIdT &&value)
GetBatchPredictionResult & WithInvalidRecordCount(long long value)
EntityStatus GetStatus() const
const Aws::String & GetMessage() const
GetBatchPredictionResult & WithName(NameT &&value)
long long GetTotalRecordCount() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
void SetInvalidRecordCount(long long value)
void SetName(NameT &&value)
const Aws::String & GetBatchPredictionDataSourceId() const
void SetStartedAt(StartedAtT &&value)
void SetLogUri(LogUriT &&value)
GetBatchPredictionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetName() const
GetBatchPredictionResult & WithMessage(MessageT &&value)
const Aws::String & GetRequestId() const
void SetComputeTime(long long value)
GetBatchPredictionResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetCreatedByIamUser(CreatedByIamUserT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
long long GetInvalidRecordCount() const
GetBatchPredictionResult & WithTotalRecordCount(long long value)
void SetMessage(MessageT &&value)
const Aws::String & GetOutputUri() const
void SetStatus(EntityStatus value)
void SetFinishedAt(FinishedAtT &&value)
AWS_MACHINELEARNING_API GetBatchPredictionResult()=default
const Aws::String & GetCreatedByIamUser() const
AWS_MACHINELEARNING_API GetBatchPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBatchPredictionId(BatchPredictionIdT &&value)
GetBatchPredictionResult & WithOutputUri(OutputUriT &&value)
void SetMLModelId(MLModelIdT &&value)
GetBatchPredictionResult & WithStatus(EntityStatus value)
long long GetComputeTime() const
GetBatchPredictionResult & WithBatchPredictionId(BatchPredictionIdT &&value)
void SetInputDataLocationS3(InputDataLocationS3T &&value)
GetBatchPredictionResult & WithStartedAt(StartedAtT &&value)
const Aws::String & GetMLModelId() const
AWS_MACHINELEARNING_API GetBatchPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::String & GetBatchPredictionId() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetLogUri() const
GetBatchPredictionResult & WithComputeTime(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue