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/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/FinalHyperParameterTuningJobObjectiveMetric.h>
12#include <aws/sagemaker/model/ObjectiveStatus.h>
13#include <aws/sagemaker/model/TrainingJobStatus.h>
46 template <
typename TrainingJobDefinitionNameT = Aws::String>
48 m_trainingJobDefinitionNameHasBeenSet =
true;
49 m_trainingJobDefinitionName = std::forward<TrainingJobDefinitionNameT>(value);
51 template <
typename TrainingJobDefinitionNameT = Aws::String>
64 template <
typename TrainingJobNameT = Aws::String>
66 m_trainingJobNameHasBeenSet =
true;
67 m_trainingJobName = std::forward<TrainingJobNameT>(value);
69 template <
typename TrainingJobNameT = Aws::String>
82 template <
typename TrainingJobArnT = Aws::String>
84 m_trainingJobArnHasBeenSet =
true;
85 m_trainingJobArn = std::forward<TrainingJobArnT>(value);
87 template <
typename TrainingJobArnT = Aws::String>
100 template <
typename TuningJobNameT = Aws::String>
102 m_tuningJobNameHasBeenSet =
true;
103 m_tuningJobName = std::forward<TuningJobNameT>(value);
105 template <
typename TuningJobNameT = Aws::String>
118 template <
typename CreationTimeT = Aws::Utils::DateTime>
120 m_creationTimeHasBeenSet =
true;
121 m_creationTime = std::forward<CreationTimeT>(value);
123 template <
typename CreationTimeT = Aws::Utils::DateTime>
136 template <
typename TrainingStartTimeT = Aws::Utils::DateTime>
138 m_trainingStartTimeHasBeenSet =
true;
139 m_trainingStartTime = std::forward<TrainingStartTimeT>(value);
141 template <
typename TrainingStartTimeT = Aws::Utils::DateTime>
158 template <
typename TrainingEndTimeT = Aws::Utils::DateTime>
160 m_trainingEndTimeHasBeenSet =
true;
161 m_trainingEndTime = std::forward<TrainingEndTimeT>(value);
163 template <
typename TrainingEndTimeT = Aws::Utils::DateTime>
177 m_trainingJobStatusHasBeenSet =
true;
178 m_trainingJobStatus = value;
192 template <
typename TunedHyperParametersT = Aws::Map<Aws::String, Aws::String>>
194 m_tunedHyperParametersHasBeenSet =
true;
195 m_tunedHyperParameters = std::forward<TunedHyperParametersT>(value);
197 template <
typename TunedHyperParametersT = Aws::Map<Aws::String, Aws::String>>
202 template <
typename TunedHyperParametersKeyT = Aws::String,
typename TunedHyperParametersValueT = Aws::String>
204 m_tunedHyperParametersHasBeenSet =
true;
205 m_tunedHyperParameters.emplace(std::forward<TunedHyperParametersKeyT>(key), std::forward<TunedHyperParametersValueT>(value));
216 template <
typename FailureReasonT = Aws::String>
218 m_failureReasonHasBeenSet =
true;
219 m_failureReason = std::forward<FailureReasonT>(value);
221 template <
typename FailureReasonT = Aws::String>
236 return m_finalHyperParameterTuningJobObjectiveMetric;
239 return m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet;
241 template <
typename FinalHyperParameterTuningJobObjectiveMetricT = FinalHyperParameterTuningJobObjectiveMetric>
243 m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet =
true;
244 m_finalHyperParameterTuningJobObjectiveMetric = std::forward<FinalHyperParameterTuningJobObjectiveMetricT>(value);
246 template <
typename FinalHyperParameterTuningJobObjectiveMetricT = FinalHyperParameterTuningJobObjectiveMetric>
267 m_objectiveStatusHasBeenSet =
true;
268 m_objectiveStatus = value;
296 FinalHyperParameterTuningJobObjectiveMetric m_finalHyperParameterTuningJobObjectiveMetric;
299 bool m_trainingJobDefinitionNameHasBeenSet =
false;
300 bool m_trainingJobNameHasBeenSet =
false;
301 bool m_trainingJobArnHasBeenSet =
false;
302 bool m_tuningJobNameHasBeenSet =
false;
303 bool m_creationTimeHasBeenSet =
false;
304 bool m_trainingStartTimeHasBeenSet =
false;
305 bool m_trainingEndTimeHasBeenSet =
false;
306 bool m_trainingJobStatusHasBeenSet =
false;
307 bool m_tunedHyperParametersHasBeenSet =
false;
308 bool m_failureReasonHasBeenSet =
false;
309 bool m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet =
false;
310 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