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
56 inline void SetMLModelId(
const char* value) { m_mLModelIdHasBeenSet =
true; m_mLModelId.assign(value); }
72 inline void SetTrainingDataSourceId(
const char* value) { m_trainingDataSourceIdHasBeenSet =
true; m_trainingDataSourceId.assign(value); }
88 inline void SetCreatedByIamUser(
const char* value) { m_createdByIamUserHasBeenSet =
true; m_createdByIamUser.assign(value); }
128 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
158 inline void SetSizeInBytes(
long long value) { m_sizeInBytesHasBeenSet =
true; m_sizeInBytes = value; }
218 inline MLModel&
AddTrainingParameters(
const char* key,
const char* value) { m_trainingParametersHasBeenSet =
true; m_trainingParameters.emplace(key, value);
return *
this; }
230 inline void SetInputDataLocationS3(
const char* value) { m_inputDataLocationS3HasBeenSet =
true; m_inputDataLocationS3.assign(value); }
273 inline void SetScoreThreshold(
double value) { m_scoreThresholdHasBeenSet =
true; m_scoreThreshold = value; }
299 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
309 inline void SetComputeTime(
long long value) { m_computeTimeHasBeenSet =
true; m_computeTime = value; }
335 bool m_mLModelIdHasBeenSet =
false;
338 bool m_trainingDataSourceIdHasBeenSet =
false;
341 bool m_createdByIamUserHasBeenSet =
false;
344 bool m_createdAtHasBeenSet =
false;
347 bool m_lastUpdatedAtHasBeenSet =
false;
350 bool m_nameHasBeenSet =
false;
353 bool m_statusHasBeenSet =
false;
355 long long m_sizeInBytes;
356 bool m_sizeInBytesHasBeenSet =
false;
359 bool m_endpointInfoHasBeenSet =
false;
362 bool m_trainingParametersHasBeenSet =
false;
365 bool m_inputDataLocationS3HasBeenSet =
false;
368 bool m_algorithmHasBeenSet =
false;
371 bool m_mLModelTypeHasBeenSet =
false;
373 double m_scoreThreshold;
374 bool m_scoreThresholdHasBeenSet =
false;
377 bool m_scoreThresholdLastUpdatedAtHasBeenSet =
false;
380 bool m_messageHasBeenSet =
false;
382 long long m_computeTime;
383 bool m_computeTimeHasBeenSet =
false;
386 bool m_finishedAtHasBeenSet =
false;
389 bool m_startedAtHasBeenSet =
false;
void SetTrainingDataSourceId(Aws::String &&value)
void SetAlgorithm(Algorithm &&value)
const Aws::String & GetCreatedByIamUser() const
bool NameHasBeenSet() const
MLModel & WithCreatedByIamUser(const char *value)
bool TrainingDataSourceIdHasBeenSet() const
MLModel & AddTrainingParameters(Aws::String &&key, const char *value)
MLModel & WithName(Aws::String &&value)
MLModel & WithMLModelId(const char *value)
void SetEndpointInfo(RealtimeEndpointInfo &&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
MLModel & WithTrainingDataSourceId(Aws::String &&value)
MLModel & WithAlgorithm(const Algorithm &value)
bool ScoreThresholdHasBeenSet() const
bool SizeInBytesHasBeenSet() const
const Aws::String & GetMLModelId() const
void SetScoreThreshold(double value)
long long GetComputeTime() const
void SetTrainingDataSourceId(const Aws::String &value)
long long GetSizeInBytes() const
const EntityStatus & GetStatus() const
const RealtimeEndpointInfo & GetEndpointInfo() const
MLModel & WithFinishedAt(Aws::Utils::DateTime &&value)
MLModel & WithCreatedAt(const Aws::Utils::DateTime &value)
MLModel & WithComputeTime(long long value)
void SetTrainingParameters(const Aws::Map< Aws::String, Aws::String > &value)
MLModel & WithTrainingDataSourceId(const Aws::String &value)
MLModel & WithMessage(const char *value)
bool MLModelTypeHasBeenSet() const
MLModel & WithMessage(const Aws::String &value)
bool TrainingParametersHasBeenSet() const
void SetEndpointInfo(const RealtimeEndpointInfo &value)
MLModel & WithMLModelId(const Aws::String &value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
MLModel & WithTrainingParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetMessage(Aws::String &&value)
MLModel & AddTrainingParameters(const char *key, const char *value)
const Algorithm & GetAlgorithm() const
void SetInputDataLocationS3(const char *value)
void SetMLModelId(const char *value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetInputDataLocationS3(const Aws::String &value)
MLModel & WithFinishedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetFinishedAt() const
MLModel & WithInputDataLocationS3(const char *value)
void SetMLModelType(const MLModelType &value)
void SetMessage(const char *value)
bool FinishedAtHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
MLModel & AddTrainingParameters(const char *key, Aws::String &&value)
void SetStatus(EntityStatus &&value)
MLModel & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
void SetInputDataLocationS3(Aws::String &&value)
MLModel & WithScoreThresholdLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetMLModelType(MLModelType &&value)
void SetStatus(const EntityStatus &value)
void SetSizeInBytes(long long value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
MLModel & WithInputDataLocationS3(const Aws::String &value)
MLModel & WithStartedAt(Aws::Utils::DateTime &&value)
bool ComputeTimeHasBeenSet() const
void SetFinishedAt(Aws::Utils::DateTime &&value)
void SetMLModelId(Aws::String &&value)
bool CreatedAtHasBeenSet() const
MLModel & AddTrainingParameters(Aws::String &&key, Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_MACHINELEARNING_API MLModel()
void SetName(const Aws::String &value)
bool StartedAtHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
MLModel & WithMLModelId(Aws::String &&value)
MLModel & WithMLModelType(const MLModelType &value)
MLModel & WithCreatedByIamUser(Aws::String &&value)
void SetCreatedByIamUser(const char *value)
void SetScoreThresholdLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedByIamUser(const Aws::String &value)
MLModel & WithStartedAt(const Aws::Utils::DateTime &value)
const MLModelType & GetMLModelType() const
MLModel & WithMessage(Aws::String &&value)
void SetName(const char *value)
MLModel & WithMLModelType(MLModelType &&value)
void SetCreatedByIamUser(Aws::String &&value)
const Aws::String & GetTrainingDataSourceId() const
MLModel & WithEndpointInfo(const RealtimeEndpointInfo &value)
void SetAlgorithm(const Algorithm &value)
const Aws::String & GetMessage() const
MLModel & AddTrainingParameters(const Aws::String &key, const Aws::String &value)
bool CreatedByIamUserHasBeenSet() const
MLModel & WithName(const Aws::String &value)
bool EndpointInfoHasBeenSet() const
MLModel & WithTrainingDataSourceId(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetMessage(const Aws::String &value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
MLModel & WithStatus(EntityStatus &&value)
bool AlgorithmHasBeenSet() const
void SetTrainingDataSourceId(const char *value)
MLModel & WithSizeInBytes(long long value)
void SetTrainingParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetScoreThresholdLastUpdatedAt() const
MLModel & WithCreatedAt(Aws::Utils::DateTime &&value)
MLModel & WithScoreThresholdLastUpdatedAt(const Aws::Utils::DateTime &value)
MLModel & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
MLModel & WithName(const char *value)
bool InputDataLocationS3HasBeenSet() const
MLModel & AddTrainingParameters(Aws::String &&key, const Aws::String &value)
const Aws::String & GetInputDataLocationS3() const
void SetStartedAt(Aws::Utils::DateTime &&value)
MLModel & WithInputDataLocationS3(Aws::String &&value)
const Aws::String & GetName() const
MLModel & WithScoreThreshold(double value)
MLModel & WithStatus(const EntityStatus &value)
MLModel & AddTrainingParameters(const Aws::String &key, Aws::String &&value)
MLModel & WithAlgorithm(Algorithm &&value)
MLModel & WithCreatedByIamUser(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
double GetScoreThreshold() const
MLModel & WithTrainingParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetScoreThresholdLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetComputeTime(long long value)
void SetMLModelId(const Aws::String &value)
AWS_MACHINELEARNING_API MLModel & operator=(Aws::Utils::Json::JsonView jsonValue)
MLModel & WithEndpointInfo(RealtimeEndpointInfo &&value)
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