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>
23namespace MachineLearning
52 template<
typename BatchPredictionIdT = Aws::String>
53 void SetBatchPredictionId(BatchPredictionIdT&& value) { m_batchPredictionIdHasBeenSet =
true; m_batchPredictionId = std::forward<BatchPredictionIdT>(value); }
54 template<
typename BatchPredictionIdT = Aws::String>
65 template<
typename MLModelIdT = Aws::String>
66 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet =
true; m_mLModelId = std::forward<MLModelIdT>(value); }
67 template<
typename MLModelIdT = Aws::String>
78 template<
typename BatchPredictionDataSourceIdT = Aws::String>
79 void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { m_batchPredictionDataSourceIdHasBeenSet =
true; m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value); }
80 template<
typename BatchPredictionDataSourceIdT = Aws::String>
91 template<
typename InputDataLocationS3T = Aws::String>
92 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet =
true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
93 template<
typename InputDataLocationS3T = Aws::String>
105 template<
typename CreatedByIamUserT = Aws::String>
106 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet =
true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
107 template<
typename CreatedByIamUserT = Aws::String>
118 template<
typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
120 template<
typename CreatedAtT = Aws::Utils::DateTime>
131 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
132 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
133 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
143 template<
typename NameT = Aws::String>
144 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
145 template<
typename NameT = Aws::String>
176 template<
typename OutputUriT = Aws::String>
177 void SetOutputUri(OutputUriT&& value) { m_outputUriHasBeenSet =
true; m_outputUri = std::forward<OutputUriT>(value); }
178 template<
typename OutputUriT = Aws::String>
189 template<
typename MessageT = Aws::String>
190 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
191 template<
typename MessageT = Aws::String>
199 inline void SetComputeTime(
long long value) { m_computeTimeHasBeenSet =
true; m_computeTime = value; }
207 template<
typename FinishedAtT = Aws::Utils::DateTime>
208 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet =
true; m_finishedAt = std::forward<FinishedAtT>(value); }
209 template<
typename FinishedAtT = Aws::Utils::DateTime>
217 template<
typename StartedAtT = Aws::Utils::DateTime>
218 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
219 template<
typename StartedAtT = Aws::Utils::DateTime>
227 inline void SetTotalRecordCount(
long long value) { m_totalRecordCountHasBeenSet =
true; m_totalRecordCount = value; }
235 inline void SetInvalidRecordCount(
long long value) { m_invalidRecordCountHasBeenSet =
true; m_invalidRecordCount = value; }
241 bool m_batchPredictionIdHasBeenSet =
false;
244 bool m_mLModelIdHasBeenSet =
false;
247 bool m_batchPredictionDataSourceIdHasBeenSet =
false;
250 bool m_inputDataLocationS3HasBeenSet =
false;
253 bool m_createdByIamUserHasBeenSet =
false;
256 bool m_createdAtHasBeenSet =
false;
259 bool m_lastUpdatedAtHasBeenSet =
false;
262 bool m_nameHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
268 bool m_outputUriHasBeenSet =
false;
271 bool m_messageHasBeenSet =
false;
273 long long m_computeTime{0};
274 bool m_computeTimeHasBeenSet =
false;
277 bool m_finishedAtHasBeenSet =
false;
280 bool m_startedAtHasBeenSet =
false;
282 long long m_totalRecordCount{0};
283 bool m_totalRecordCountHasBeenSet =
false;
285 long long m_invalidRecordCount{0};
286 bool m_invalidRecordCountHasBeenSet =
false;
void SetInvalidRecordCount(long long value)
AWS_MACHINELEARNING_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetMLModelId() const
bool TotalRecordCountHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_MACHINELEARNING_API BatchPrediction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InputDataLocationS3HasBeenSet() const
void SetBatchPredictionId(BatchPredictionIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::String & GetBatchPredictionId() const
BatchPrediction & WithCreatedByIamUser(CreatedByIamUserT &&value)
BatchPrediction & WithInputDataLocationS3(InputDataLocationS3T &&value)
BatchPrediction & WithMLModelId(MLModelIdT &&value)
void SetOutputUri(OutputUriT &&value)
void SetStartedAt(StartedAtT &&value)
bool FinishedAtHasBeenSet() const
bool StatusHasBeenSet() const
long long GetInvalidRecordCount() const
const Aws::String & GetBatchPredictionDataSourceId() const
bool BatchPredictionIdHasBeenSet() const
BatchPrediction & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
bool OutputUriHasBeenSet() const
long long GetTotalRecordCount() const
bool NameHasBeenSet() const
BatchPrediction & WithName(NameT &&value)
void SetComputeTime(long long value)
const Aws::String & GetOutputUri() const
AWS_MACHINELEARNING_API BatchPrediction()=default
void SetFinishedAt(FinishedAtT &&value)
bool MessageHasBeenSet() const
BatchPrediction & WithFinishedAt(FinishedAtT &&value)
bool CreatedAtHasBeenSet() const
void SetMessage(MessageT &&value)
void SetName(NameT &&value)
BatchPrediction & WithInvalidRecordCount(long long value)
void SetMLModelId(MLModelIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
BatchPrediction & WithTotalRecordCount(long long value)
const Aws::String & GetInputDataLocationS3() const
bool MLModelIdHasBeenSet() const
void SetTotalRecordCount(long long value)
bool LastUpdatedAtHasBeenSet() const
BatchPrediction & WithLastUpdatedAt(LastUpdatedAtT &&value)
EntityStatus GetStatus() const
void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
BatchPrediction & WithOutputUri(OutputUriT &&value)
BatchPrediction & WithBatchPredictionId(BatchPredictionIdT &&value)
BatchPrediction & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool BatchPredictionDataSourceIdHasBeenSet() const
void SetStatus(EntityStatus value)
bool StartedAtHasBeenSet() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
BatchPrediction & WithStatus(EntityStatus value)
const Aws::String & GetCreatedByIamUser() const
long long GetComputeTime() const
bool ComputeTimeHasBeenSet() const
void SetInputDataLocationS3(InputDataLocationS3T &&value)
BatchPrediction & WithStartedAt(StartedAtT &&value)
bool CreatedByIamUserHasBeenSet() const
bool InvalidRecordCountHasBeenSet() const
BatchPrediction & WithComputeTime(long long value)
void SetCreatedByIamUser(CreatedByIamUserT &&value)
BatchPrediction & WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue