7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/TrainingJobStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/sagemaker/model/FinalHyperParameterTuningJobObjectiveMetric.h>
13#include <aws/sagemaker/model/ObjectiveStatus.h>
52 template<
typename TrainingJobDefinitionNameT = Aws::String>
53 void SetTrainingJobDefinitionName(TrainingJobDefinitionNameT&& value) { m_trainingJobDefinitionNameHasBeenSet =
true; m_trainingJobDefinitionName = std::forward<TrainingJobDefinitionNameT>(value); }
54 template<
typename TrainingJobDefinitionNameT = Aws::String>
64 template<
typename TrainingJobNameT = Aws::String>
65 void SetTrainingJobName(TrainingJobNameT&& value) { m_trainingJobNameHasBeenSet =
true; m_trainingJobName = std::forward<TrainingJobNameT>(value); }
66 template<
typename TrainingJobNameT = Aws::String>
76 template<
typename TrainingJobArnT = Aws::String>
77 void SetTrainingJobArn(TrainingJobArnT&& value) { m_trainingJobArnHasBeenSet =
true; m_trainingJobArn = std::forward<TrainingJobArnT>(value); }
78 template<
typename TrainingJobArnT = Aws::String>
88 template<
typename TuningJobNameT = Aws::String>
89 void SetTuningJobName(TuningJobNameT&& value) { m_tuningJobNameHasBeenSet =
true; m_tuningJobName = std::forward<TuningJobNameT>(value); }
90 template<
typename TuningJobNameT = Aws::String>
100 template<
typename CreationTimeT = Aws::Utils::DateTime>
101 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
102 template<
typename CreationTimeT = Aws::Utils::DateTime>
112 template<
typename TrainingStartTimeT = Aws::Utils::DateTime>
113 void SetTrainingStartTime(TrainingStartTimeT&& value) { m_trainingStartTimeHasBeenSet =
true; m_trainingStartTime = std::forward<TrainingStartTimeT>(value); }
114 template<
typename TrainingStartTimeT = Aws::Utils::DateTime>
128 template<
typename TrainingEndTimeT = Aws::Utils::DateTime>
129 void SetTrainingEndTime(TrainingEndTimeT&& value) { m_trainingEndTimeHasBeenSet =
true; m_trainingEndTime = std::forward<TrainingEndTimeT>(value); }
130 template<
typename TrainingEndTimeT = Aws::Utils::DateTime>
150 template<
typename TunedHyperParametersT = Aws::Map<Aws::String, Aws::String>>
151 void SetTunedHyperParameters(TunedHyperParametersT&& value) { m_tunedHyperParametersHasBeenSet =
true; m_tunedHyperParameters = std::forward<TunedHyperParametersT>(value); }
152 template<
typename TunedHyperParametersT = Aws::Map<Aws::String, Aws::String>>
154 template<
typename TunedHyperParametersKeyT = Aws::String,
typename TunedHyperParametersValueT = Aws::String>
156 m_tunedHyperParametersHasBeenSet =
true; m_tunedHyperParameters.emplace(std::forward<TunedHyperParametersKeyT>(key), std::forward<TunedHyperParametersValueT>(value));
return *
this;
166 template<
typename FailureReasonT = Aws::String>
167 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
168 template<
typename FailureReasonT = Aws::String>
181 template<
typename FinalHyperParameterTuningJobObjectiveMetricT = FinalHyperParameterTuningJobObjectiveMetric>
182 void SetFinalHyperParameterTuningJobObjectiveMetric(FinalHyperParameterTuningJobObjectiveMetricT&& value) { m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet =
true; m_finalHyperParameterTuningJobObjectiveMetric = std::forward<FinalHyperParameterTuningJobObjectiveMetricT>(value); }
183 template<
typename FinalHyperParameterTuningJobObjectiveMetricT = FinalHyperParameterTuningJobObjectiveMetric>
206 bool m_trainingJobDefinitionNameHasBeenSet =
false;
209 bool m_trainingJobNameHasBeenSet =
false;
212 bool m_trainingJobArnHasBeenSet =
false;
215 bool m_tuningJobNameHasBeenSet =
false;
218 bool m_creationTimeHasBeenSet =
false;
221 bool m_trainingStartTimeHasBeenSet =
false;
224 bool m_trainingEndTimeHasBeenSet =
false;
227 bool m_trainingJobStatusHasBeenSet =
false;
230 bool m_tunedHyperParametersHasBeenSet =
false;
233 bool m_failureReasonHasBeenSet =
false;
235 FinalHyperParameterTuningJobObjectiveMetric m_finalHyperParameterTuningJobObjectiveMetric;
236 bool m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet =
false;
239 bool m_objectiveStatusHasBeenSet =
false;
HyperParameterTrainingJobSummary & WithTrainingStartTime(TrainingStartTimeT &&value)
bool TrainingEndTimeHasBeenSet() const
void SetTrainingJobDefinitionName(TrainingJobDefinitionNameT &&value)
void SetTrainingJobArn(TrainingJobArnT &&value)
const Aws::String & GetTuningJobName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTrainingJobSummary & WithTrainingJobName(TrainingJobNameT &&value)
const Aws::String & GetTrainingJobArn() const
bool TrainingStartTimeHasBeenSet() const
bool TuningJobNameHasBeenSet() const
HyperParameterTrainingJobSummary & WithTrainingJobArn(TrainingJobArnT &&value)
HyperParameterTrainingJobSummary & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API HyperParameterTrainingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
const FinalHyperParameterTuningJobObjectiveMetric & GetFinalHyperParameterTuningJobObjectiveMetric() const
TrainingJobStatus GetTrainingJobStatus() const
HyperParameterTrainingJobSummary & WithObjectiveStatus(ObjectiveStatus value)
bool FailureReasonHasBeenSet() const
HyperParameterTrainingJobSummary & WithTrainingJobDefinitionName(TrainingJobDefinitionNameT &&value)
void SetTrainingJobName(TrainingJobNameT &&value)
HyperParameterTrainingJobSummary & WithTuningJobName(TuningJobNameT &&value)
void SetTrainingStartTime(TrainingStartTimeT &&value)
const Aws::Utils::DateTime & GetTrainingEndTime() const
const Aws::Map< Aws::String, Aws::String > & GetTunedHyperParameters() const
void SetObjectiveStatus(ObjectiveStatus value)
ObjectiveStatus GetObjectiveStatus() const
HyperParameterTrainingJobSummary & AddTunedHyperParameters(TunedHyperParametersKeyT &&key, TunedHyperParametersValueT &&value)
void SetTrainingJobStatus(TrainingJobStatus value)
void SetTuningJobName(TuningJobNameT &&value)
bool TrainingJobNameHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
bool ObjectiveStatusHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTrainingJobSummary()=default
const Aws::Utils::DateTime & GetTrainingStartTime() const
AWS_SAGEMAKER_API HyperParameterTrainingJobSummary(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTrainingJobSummary & WithTrainingEndTime(TrainingEndTimeT &&value)
HyperParameterTrainingJobSummary & WithFinalHyperParameterTuningJobObjectiveMetric(FinalHyperParameterTuningJobObjectiveMetricT &&value)
HyperParameterTrainingJobSummary & WithTrainingJobStatus(TrainingJobStatus value)
bool TrainingJobDefinitionNameHasBeenSet() const
bool TrainingJobStatusHasBeenSet() const
void SetTunedHyperParameters(TunedHyperParametersT &&value)
bool FinalHyperParameterTuningJobObjectiveMetricHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetTrainingJobDefinitionName() const
void SetTrainingEndTime(TrainingEndTimeT &&value)
void SetFailureReason(FailureReasonT &&value)
HyperParameterTrainingJobSummary & WithTunedHyperParameters(TunedHyperParametersT &&value)
const Aws::String & GetTrainingJobName() const
bool TunedHyperParametersHasBeenSet() const
HyperParameterTrainingJobSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetFailureReason() const
void SetFinalHyperParameterTuningJobObjectiveMetric(FinalHyperParameterTuningJobObjectiveMetricT &&value)
bool TrainingJobArnHasBeenSet() const
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