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/MLModelType.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace MachineLearning
52 template<
typename MLModelIdT = Aws::String>
53 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet =
true; m_mLModelId = std::forward<MLModelIdT>(value); }
54 template<
typename MLModelIdT = Aws::String>
63 template<
typename TrainingDataSourceIdT = Aws::String>
64 void SetTrainingDataSourceId(TrainingDataSourceIdT&& value) { m_trainingDataSourceIdHasBeenSet =
true; m_trainingDataSourceId = std::forward<TrainingDataSourceIdT>(value); }
65 template<
typename TrainingDataSourceIdT = Aws::String>
76 template<
typename CreatedByIamUserT = Aws::String>
77 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet =
true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
78 template<
typename CreatedByIamUserT = Aws::String>
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<
typename CreatedAtT = Aws::Utils::DateTime>
100 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
101 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
102 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
111 template<
typename NameT = Aws::String>
112 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
113 template<
typename NameT = Aws::String>
136 inline void SetSizeInBytes(
long long value) { m_sizeInBytesHasBeenSet =
true; m_sizeInBytes = value; }
145 template<
typename Endpo
intInfoT = RealtimeEndpo
intInfo>
146 void SetEndpointInfo(EndpointInfoT&& value) { m_endpointInfoHasBeenSet =
true; m_endpointInfo = std::forward<EndpointInfoT>(value); }
147 template<
typename Endpo
intInfoT = RealtimeEndpo
intInfo>
185 template<
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
186 void SetTrainingParameters(TrainingParametersT&& value) { m_trainingParametersHasBeenSet =
true; m_trainingParameters = std::forward<TrainingParametersT>(value); }
187 template<
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
189 template<
typename TrainingParametersKeyT = Aws::String,
typename TrainingParametersValueT = Aws::String>
191 m_trainingParametersHasBeenSet =
true; m_trainingParameters.emplace(std::forward<TrainingParametersKeyT>(key), std::forward<TrainingParametersValueT>(value));
return *
this;
201 template<
typename InputDataLocationS3T = Aws::String>
202 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet =
true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
203 template<
typename InputDataLocationS3T = Aws::String>
231 inline void SetScoreThreshold(
double value) { m_scoreThresholdHasBeenSet =
true; m_scoreThreshold = value; }
241 template<
typename ScoreThresholdLastUpdatedAtT = Aws::Utils::DateTime>
242 void SetScoreThresholdLastUpdatedAt(ScoreThresholdLastUpdatedAtT&& value) { m_scoreThresholdLastUpdatedAtHasBeenSet =
true; m_scoreThresholdLastUpdatedAt = std::forward<ScoreThresholdLastUpdatedAtT>(value); }
243 template<
typename ScoreThresholdLastUpdatedAtT = Aws::Utils::DateTime>
253 template<
typename LogUriT = Aws::String>
254 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet =
true; m_logUri = std::forward<LogUriT>(value); }
255 template<
typename LogUriT = Aws::String>
265 template<
typename MessageT = Aws::String>
266 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
267 template<
typename MessageT = Aws::String>
279 inline void SetComputeTime(
long long value) { m_computeTimeHasBeenSet =
true; m_computeTime = value; }
291 template<
typename FinishedAtT = Aws::Utils::DateTime>
292 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet =
true; m_finishedAt = std::forward<FinishedAtT>(value); }
293 template<
typename FinishedAtT = Aws::Utils::DateTime>
304 template<
typename StartedAtT = Aws::Utils::DateTime>
305 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
306 template<
typename StartedAtT = Aws::Utils::DateTime>
319 template<
typename RecipeT = Aws::String>
320 void SetRecipe(RecipeT&& value) { m_recipeHasBeenSet =
true; m_recipe = std::forward<RecipeT>(value); }
321 template<
typename RecipeT = Aws::String>
332 template<
typename SchemaT = Aws::String>
333 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
334 template<
typename SchemaT = Aws::String>
341 template<
typename RequestIdT = Aws::String>
342 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
343 template<
typename RequestIdT = Aws::String>
349 bool m_mLModelIdHasBeenSet =
false;
352 bool m_trainingDataSourceIdHasBeenSet =
false;
355 bool m_createdByIamUserHasBeenSet =
false;
358 bool m_createdAtHasBeenSet =
false;
361 bool m_lastUpdatedAtHasBeenSet =
false;
364 bool m_nameHasBeenSet =
false;
367 bool m_statusHasBeenSet =
false;
369 long long m_sizeInBytes{0};
370 bool m_sizeInBytesHasBeenSet =
false;
372 RealtimeEndpointInfo m_endpointInfo;
373 bool m_endpointInfoHasBeenSet =
false;
376 bool m_trainingParametersHasBeenSet =
false;
379 bool m_inputDataLocationS3HasBeenSet =
false;
382 bool m_mLModelTypeHasBeenSet =
false;
384 double m_scoreThreshold{0.0};
385 bool m_scoreThresholdHasBeenSet =
false;
388 bool m_scoreThresholdLastUpdatedAtHasBeenSet =
false;
391 bool m_logUriHasBeenSet =
false;
394 bool m_messageHasBeenSet =
false;
396 long long m_computeTime{0};
397 bool m_computeTimeHasBeenSet =
false;
400 bool m_finishedAtHasBeenSet =
false;
403 bool m_startedAtHasBeenSet =
false;
406 bool m_recipeHasBeenSet =
false;
409 bool m_schemaHasBeenSet =
false;
412 bool m_requestIdHasBeenSet =
false;
GetMLModelResult & WithLogUri(LogUriT &&value)
GetMLModelResult & WithEndpointInfo(EndpointInfoT &&value)
void SetScoreThreshold(double value)
void SetTrainingParameters(TrainingParametersT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetMLModelResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetSchema(SchemaT &&value)
void SetRecipe(RecipeT &&value)
void SetFinishedAt(FinishedAtT &&value)
double GetScoreThreshold() const
GetMLModelResult & WithMessage(MessageT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
GetMLModelResult & WithSchema(SchemaT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetMLModelResult & WithTrainingDataSourceId(TrainingDataSourceIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetStartedAt(StartedAtT &&value)
GetMLModelResult & WithRecipe(RecipeT &&value)
const Aws::String & GetMLModelId() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetStatus(EntityStatus value)
const Aws::String & GetInputDataLocationS3() const
void SetLogUri(LogUriT &&value)
GetMLModelResult & WithCreatedAt(CreatedAtT &&value)
const RealtimeEndpointInfo & GetEndpointInfo() const
void SetTrainingDataSourceId(TrainingDataSourceIdT &&value)
const Aws::String & GetLogUri() const
const Aws::String & GetName() const
const Aws::String & GetSchema() const
long long GetSizeInBytes() const
GetMLModelResult & WithCreatedByIamUser(CreatedByIamUserT &&value)
void SetMLModelId(MLModelIdT &&value)
const Aws::String & GetRecipe() const
GetMLModelResult & WithScoreThreshold(double value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetInputDataLocationS3(InputDataLocationS3T &&value)
GetMLModelResult & WithScoreThresholdLastUpdatedAt(ScoreThresholdLastUpdatedAtT &&value)
void SetEndpointInfo(EndpointInfoT &&value)
GetMLModelResult & AddTrainingParameters(TrainingParametersKeyT &&key, TrainingParametersValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
AWS_MACHINELEARNING_API GetMLModelResult()=default
GetMLModelResult & WithMLModelType(MLModelType value)
MLModelType GetMLModelType() const
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
GetMLModelResult & WithComputeTime(long long value)
AWS_MACHINELEARNING_API GetMLModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLModelResult & WithStartedAt(StartedAtT &&value)
const Aws::String & GetRequestId() const
void SetComputeTime(long long value)
void SetSizeInBytes(long long value)
AWS_MACHINELEARNING_API GetMLModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLModelResult & WithSizeInBytes(long long value)
long long GetComputeTime() const
GetMLModelResult & WithTrainingParameters(TrainingParametersT &&value)
GetMLModelResult & WithMLModelId(MLModelIdT &&value)
void SetName(NameT &&value)
const Aws::String & GetTrainingDataSourceId() const
void SetMLModelType(MLModelType value)
void SetRequestId(RequestIdT &&value)
GetMLModelResult & WithFinishedAt(FinishedAtT &&value)
GetMLModelResult & WithStatus(EntityStatus value)
const Aws::String & GetCreatedByIamUser() const
GetMLModelResult & WithInputDataLocationS3(InputDataLocationS3T &&value)
EntityStatus GetStatus() const
void SetCreatedByIamUser(CreatedByIamUserT &&value)
GetMLModelResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetScoreThresholdLastUpdatedAt() const
GetMLModelResult & WithName(NameT &&value)
void SetScoreThresholdLastUpdatedAt(ScoreThresholdLastUpdatedAtT &&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