7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/MachineLearning_EXPORTS.h>
11#include <aws/machinelearning/model/Algorithm.h>
12#include <aws/machinelearning/model/EntityStatus.h>
13#include <aws/machinelearning/model/MLModelType.h>
14#include <aws/machinelearning/model/RealtimeEndpointInfo.h>
25namespace MachineLearning {
37 AWS_MACHINELEARNING_API
MLModel() =
default;
48 template <
typename MLModelIdT = Aws::String>
50 m_mLModelIdHasBeenSet =
true;
51 m_mLModelId = std::forward<MLModelIdT>(value);
53 template <
typename MLModelIdT = Aws::String>
68 template <
typename TrainingDataSourceIdT = Aws::String>
70 m_trainingDataSourceIdHasBeenSet =
true;
71 m_trainingDataSourceId = std::forward<TrainingDataSourceIdT>(value);
73 template <
typename TrainingDataSourceIdT = Aws::String>
88 template <
typename CreatedByIamUserT = Aws::String>
90 m_createdByIamUserHasBeenSet =
true;
91 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
93 template <
typename CreatedByIamUserT = Aws::String>
107 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 m_createdAtHasBeenSet =
true;
110 m_createdAt = std::forward<CreatedAtT>(value);
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
126 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
128 m_lastUpdatedAtHasBeenSet =
true;
129 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
131 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
144 template <
typename NameT = Aws::String>
146 m_nameHasBeenSet =
true;
147 m_name = std::forward<NameT>(value);
149 template <
typename NameT = Aws::String>
151 SetName(std::forward<NameT>(value));
171 m_statusHasBeenSet =
true;
185 m_sizeInBytesHasBeenSet =
true;
186 m_sizeInBytes = value;
200 template <
typename Endpo
intInfoT = RealtimeEndpo
intInfo>
202 m_endpointInfoHasBeenSet =
true;
203 m_endpointInfo = std::forward<EndpointInfoT>(value);
205 template <
typename Endpo
intInfoT = RealtimeEndpo
intInfo>
246 template <
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
248 m_trainingParametersHasBeenSet =
true;
249 m_trainingParameters = std::forward<TrainingParametersT>(value);
251 template <
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
256 template <
typename TrainingParametersKeyT = Aws::String,
typename TrainingParametersValueT = Aws::String>
258 m_trainingParametersHasBeenSet =
true;
259 m_trainingParameters.emplace(std::forward<TrainingParametersKeyT>(key), std::forward<TrainingParametersValueT>(value));
271 template <
typename InputDataLocationS3T = Aws::String>
273 m_inputDataLocationS3HasBeenSet =
true;
274 m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value);
276 template <
typename InputDataLocationS3T = Aws::String>
293 m_algorithmHasBeenSet =
true;
315 m_mLModelTypeHasBeenSet =
true;
316 m_mLModelType = value;
329 m_scoreThresholdHasBeenSet =
true;
330 m_scoreThreshold = value;
345 template <
typename ScoreThresholdLastUpdatedAtT = Aws::Utils::DateTime>
347 m_scoreThresholdLastUpdatedAtHasBeenSet =
true;
348 m_scoreThresholdLastUpdatedAt = std::forward<ScoreThresholdLastUpdatedAtT>(value);
350 template <
typename ScoreThresholdLastUpdatedAtT = Aws::Utils::DateTime>
364 template <
typename MessageT = Aws::String>
366 m_messageHasBeenSet =
true;
367 m_message = std::forward<MessageT>(value);
369 template <
typename MessageT = Aws::String>
381 m_computeTimeHasBeenSet =
true;
382 m_computeTime = value;
394 template <
typename FinishedAtT = Aws::Utils::DateTime>
396 m_finishedAtHasBeenSet =
true;
397 m_finishedAt = std::forward<FinishedAtT>(value);
399 template <
typename FinishedAtT = Aws::Utils::DateTime>
410 template <
typename StartedAtT = Aws::Utils::DateTime>
412 m_startedAtHasBeenSet =
true;
413 m_startedAt = std::forward<StartedAtT>(value);
415 template <
typename StartedAtT = Aws::Utils::DateTime>
436 long long m_sizeInBytes{0};
438 RealtimeEndpointInfo m_endpointInfo;
448 double m_scoreThreshold{0.0};
454 long long m_computeTime{0};
459 bool m_mLModelIdHasBeenSet =
false;
460 bool m_trainingDataSourceIdHasBeenSet =
false;
461 bool m_createdByIamUserHasBeenSet =
false;
462 bool m_createdAtHasBeenSet =
false;
463 bool m_lastUpdatedAtHasBeenSet =
false;
464 bool m_nameHasBeenSet =
false;
465 bool m_statusHasBeenSet =
false;
466 bool m_sizeInBytesHasBeenSet =
false;
467 bool m_endpointInfoHasBeenSet =
false;
468 bool m_trainingParametersHasBeenSet =
false;
469 bool m_inputDataLocationS3HasBeenSet =
false;
470 bool m_algorithmHasBeenSet =
false;
471 bool m_mLModelTypeHasBeenSet =
false;
472 bool m_scoreThresholdHasBeenSet =
false;
473 bool m_scoreThresholdLastUpdatedAtHasBeenSet =
false;
474 bool m_messageHasBeenSet =
false;
475 bool m_computeTimeHasBeenSet =
false;
476 bool m_finishedAtHasBeenSet =
false;
477 bool m_startedAtHasBeenSet =
false;
MLModel & WithTrainingParameters(TrainingParametersT &&value)
void SetStatus(EntityStatus value)
MLModel & WithStartedAt(StartedAtT &&value)
const Aws::String & GetCreatedByIamUser() const
bool NameHasBeenSet() const
void SetCreatedByIamUser(CreatedByIamUserT &&value)
void SetMessage(MessageT &&value)
bool TrainingDataSourceIdHasBeenSet() const
MLModel & WithCreatedByIamUser(CreatedByIamUserT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
bool MessageHasBeenSet() const
AWS_MACHINELEARNING_API MLModel(Aws::Utils::Json::JsonView jsonValue)
bool ScoreThresholdLastUpdatedAtHasBeenSet() const
bool StatusHasBeenSet() const
bool MLModelIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetAlgorithm(Algorithm value)
bool ScoreThresholdHasBeenSet() const
bool SizeInBytesHasBeenSet() const
const Aws::String & GetMLModelId() const
void SetScoreThreshold(double value)
long long GetComputeTime() const
MLModel & WithFinishedAt(FinishedAtT &&value)
long long GetSizeInBytes() const
EntityStatus GetStatus() const
const RealtimeEndpointInfo & GetEndpointInfo() const
void SetName(NameT &&value)
MLModel & WithComputeTime(long long value)
bool MLModelTypeHasBeenSet() const
bool TrainingParametersHasBeenSet() const
void SetFinishedAt(FinishedAtT &&value)
MLModel & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
MLModel & WithTrainingDataSourceId(TrainingDataSourceIdT &&value)
Algorithm GetAlgorithm() const
void SetTrainingDataSourceId(TrainingDataSourceIdT &&value)
void SetStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetScoreThresholdLastUpdatedAt(ScoreThresholdLastUpdatedAtT &&value)
bool FinishedAtHasBeenSet() const
void SetSizeInBytes(long long value)
MLModelType GetMLModelType() const
bool ComputeTimeHasBeenSet() const
MLModel & WithInputDataLocationS3(InputDataLocationS3T &&value)
MLModel & WithStatus(EntityStatus value)
bool CreatedAtHasBeenSet() const
MLModel & WithEndpointInfo(EndpointInfoT &&value)
MLModel & WithMessage(MessageT &&value)
bool StartedAtHasBeenSet() const
AWS_MACHINELEARNING_API MLModel()=default
bool LastUpdatedAtHasBeenSet() const
void SetEndpointInfo(EndpointInfoT &&value)
MLModel & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetTrainingDataSourceId() const
void SetMLModelId(MLModelIdT &&value)
const Aws::String & GetMessage() const
bool CreatedByIamUserHasBeenSet() const
MLModel & AddTrainingParameters(TrainingParametersKeyT &&key, TrainingParametersValueT &&value)
MLModel & WithScoreThresholdLastUpdatedAt(ScoreThresholdLastUpdatedAtT &&value)
MLModel & WithMLModelType(MLModelType value)
void SetTrainingParameters(TrainingParametersT &&value)
bool EndpointInfoHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool AlgorithmHasBeenSet() const
MLModel & WithSizeInBytes(long long value)
const Aws::Utils::DateTime & GetScoreThresholdLastUpdatedAt() const
MLModel & WithAlgorithm(Algorithm value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool InputDataLocationS3HasBeenSet() const
void SetMLModelType(MLModelType value)
const Aws::String & GetInputDataLocationS3() const
const Aws::String & GetName() const
MLModel & WithCreatedAt(CreatedAtT &&value)
MLModel & WithScoreThreshold(double value)
MLModel & WithName(NameT &&value)
void SetInputDataLocationS3(InputDataLocationS3T &&value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
double GetScoreThreshold() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetComputeTime(long long value)
AWS_MACHINELEARNING_API MLModel & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue