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 <aws/machinelearning/model/RealtimeEndpointInfo.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/machinelearning/model/Algorithm.h>
14#include <aws/machinelearning/model/MLModelType.h>
27namespace MachineLearning
42 AWS_MACHINELEARNING_API
MLModel() =
default;
54 template<
typename MLModelIdT = Aws::String>
55 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet =
true; m_mLModelId = std::forward<MLModelIdT>(value); }
56 template<
typename MLModelIdT = Aws::String>
68 template<
typename TrainingDataSourceIdT = Aws::String>
69 void SetTrainingDataSourceId(TrainingDataSourceIdT&& value) { m_trainingDataSourceIdHasBeenSet =
true; m_trainingDataSourceId = std::forward<TrainingDataSourceIdT>(value); }
70 template<
typename TrainingDataSourceIdT = Aws::String>
82 template<
typename CreatedByIamUserT = Aws::String>
83 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet =
true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
84 template<
typename CreatedByIamUserT = Aws::String>
95 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<
typename CreatedAtT = Aws::Utils::DateTime>
108 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
109 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
110 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
120 template<
typename NameT = Aws::String>
121 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
122 template<
typename NameT = Aws::String>
148 inline void SetSizeInBytes(
long long value) { m_sizeInBytesHasBeenSet =
true; m_sizeInBytes = value; }
158 template<
typename Endpo
intInfoT = RealtimeEndpo
intInfo>
159 void SetEndpointInfo(EndpointInfoT&& value) { m_endpointInfoHasBeenSet =
true; m_endpointInfo = std::forward<EndpointInfoT>(value); }
160 template<
typename Endpo
intInfoT = RealtimeEndpo
intInfo>
198 template<
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
199 void SetTrainingParameters(TrainingParametersT&& value) { m_trainingParametersHasBeenSet =
true; m_trainingParameters = std::forward<TrainingParametersT>(value); }
200 template<
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
202 template<
typename TrainingParametersKeyT = Aws::String,
typename TrainingParametersValueT = Aws::String>
204 m_trainingParametersHasBeenSet =
true; m_trainingParameters.emplace(std::forward<TrainingParametersKeyT>(key), std::forward<TrainingParametersValueT>(value));
return *
this;
215 template<
typename InputDataLocationS3T = Aws::String>
216 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet =
true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
217 template<
typename InputDataLocationS3T = Aws::String>
254 inline void SetScoreThreshold(
double value) { m_scoreThresholdHasBeenSet =
true; m_scoreThreshold = value; }
265 template<
typename ScoreThresholdLastUpdatedAtT = Aws::Utils::DateTime>
266 void SetScoreThresholdLastUpdatedAt(ScoreThresholdLastUpdatedAtT&& value) { m_scoreThresholdLastUpdatedAtHasBeenSet =
true; m_scoreThresholdLastUpdatedAt = std::forward<ScoreThresholdLastUpdatedAtT>(value); }
267 template<
typename ScoreThresholdLastUpdatedAtT = Aws::Utils::DateTime>
278 template<
typename MessageT = Aws::String>
279 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
280 template<
typename MessageT = Aws::String>
288 inline void SetComputeTime(
long long value) { m_computeTimeHasBeenSet =
true; m_computeTime = value; }
296 template<
typename FinishedAtT = Aws::Utils::DateTime>
297 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet =
true; m_finishedAt = std::forward<FinishedAtT>(value); }
298 template<
typename FinishedAtT = Aws::Utils::DateTime>
306 template<
typename StartedAtT = Aws::Utils::DateTime>
307 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
308 template<
typename StartedAtT = Aws::Utils::DateTime>
314 bool m_mLModelIdHasBeenSet =
false;
317 bool m_trainingDataSourceIdHasBeenSet =
false;
320 bool m_createdByIamUserHasBeenSet =
false;
323 bool m_createdAtHasBeenSet =
false;
326 bool m_lastUpdatedAtHasBeenSet =
false;
329 bool m_nameHasBeenSet =
false;
332 bool m_statusHasBeenSet =
false;
334 long long m_sizeInBytes{0};
335 bool m_sizeInBytesHasBeenSet =
false;
337 RealtimeEndpointInfo m_endpointInfo;
338 bool m_endpointInfoHasBeenSet =
false;
341 bool m_trainingParametersHasBeenSet =
false;
344 bool m_inputDataLocationS3HasBeenSet =
false;
347 bool m_algorithmHasBeenSet =
false;
350 bool m_mLModelTypeHasBeenSet =
false;
352 double m_scoreThreshold{0.0};
353 bool m_scoreThresholdHasBeenSet =
false;
356 bool m_scoreThresholdLastUpdatedAtHasBeenSet =
false;
359 bool m_messageHasBeenSet =
false;
361 long long m_computeTime{0};
362 bool m_computeTimeHasBeenSet =
false;
365 bool m_finishedAtHasBeenSet =
false;
368 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