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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace MachineLearning
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
202 inline void SetComputeTime(
long long value) { m_computeTimeHasBeenSet =
true; m_computeTime = value; }
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>
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>
240 inline void SetTotalRecordCount(
long long value) { m_totalRecordCountHasBeenSet =
true; m_totalRecordCount = value; }
250 inline void SetInvalidRecordCount(
long long value) { m_invalidRecordCountHasBeenSet =
true; m_invalidRecordCount = value; }
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>
265 bool m_batchPredictionIdHasBeenSet =
false;
268 bool m_mLModelIdHasBeenSet =
false;
271 bool m_batchPredictionDataSourceIdHasBeenSet =
false;
274 bool m_inputDataLocationS3HasBeenSet =
false;
277 bool m_createdByIamUserHasBeenSet =
false;
280 bool m_createdAtHasBeenSet =
false;
283 bool m_lastUpdatedAtHasBeenSet =
false;
286 bool m_nameHasBeenSet =
false;
289 bool m_statusHasBeenSet =
false;
292 bool m_outputUriHasBeenSet =
false;
295 bool m_logUriHasBeenSet =
false;
298 bool m_messageHasBeenSet =
false;
300 long long m_computeTime{0};
301 bool m_computeTimeHasBeenSet =
false;
304 bool m_finishedAtHasBeenSet =
false;
307 bool m_startedAtHasBeenSet =
false;
309 long long m_totalRecordCount{0};
310 bool m_totalRecordCountHasBeenSet =
false;
312 long long m_invalidRecordCount{0};
313 bool m_invalidRecordCountHasBeenSet =
false;
316 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