7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/HyperParameterTuningJobConfig.h>
10#include <aws/sagemaker/model/HyperParameterTrainingJobDefinition.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/HyperParameterTuningJobStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/TrainingJobStatusCounters.h>
15#include <aws/sagemaker/model/ObjectiveStatusCounters.h>
16#include <aws/sagemaker/model/HyperParameterTrainingJobSummary.h>
17#include <aws/sagemaker/model/HyperParameterTuningJobWarmStartConfig.h>
18#include <aws/sagemaker/model/HyperParameterTuningJobCompletionDetails.h>
19#include <aws/sagemaker/model/HyperParameterTuningJobConsumedResources.h>
20#include <aws/sagemaker/model/Tag.h>
61 template<
typename HyperParameterTuningJobNameT = Aws::String>
62 void SetHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) { m_hyperParameterTuningJobNameHasBeenSet =
true; m_hyperParameterTuningJobName = std::forward<HyperParameterTuningJobNameT>(value); }
63 template<
typename HyperParameterTuningJobNameT = Aws::String>
73 template<
typename HyperParameterTuningJobArnT = Aws::String>
74 void SetHyperParameterTuningJobArn(HyperParameterTuningJobArnT&& value) { m_hyperParameterTuningJobArnHasBeenSet =
true; m_hyperParameterTuningJobArn = std::forward<HyperParameterTuningJobArnT>(value); }
75 template<
typename HyperParameterTuningJobArnT = Aws::String>
83 template<
typename HyperParameterTuningJobConfigT = HyperParameterTuningJobConfig>
84 void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfigT&& value) { m_hyperParameterTuningJobConfigHasBeenSet =
true; m_hyperParameterTuningJobConfig = std::forward<HyperParameterTuningJobConfigT>(value); }
85 template<
typename HyperParameterTuningJobConfigT = HyperParameterTuningJobConfig>
93 template<
typename TrainingJobDefinitionT = HyperParameterTrainingJobDefinition>
94 void SetTrainingJobDefinition(TrainingJobDefinitionT&& value) { m_trainingJobDefinitionHasBeenSet =
true; m_trainingJobDefinition = std::forward<TrainingJobDefinitionT>(value); }
95 template<
typename TrainingJobDefinitionT = HyperParameterTrainingJobDefinition>
105 template<
typename TrainingJobDefinitionsT = Aws::Vector<HyperParameterTrainingJobDefinition>>
106 void SetTrainingJobDefinitions(TrainingJobDefinitionsT&& value) { m_trainingJobDefinitionsHasBeenSet =
true; m_trainingJobDefinitions = std::forward<TrainingJobDefinitionsT>(value); }
107 template<
typename TrainingJobDefinitionsT = Aws::Vector<HyperParameterTrainingJobDefinition>>
109 template<
typename TrainingJobDefinitionsT = HyperParameterTrainingJobDefinition>
129 template<
typename CreationTimeT = Aws::Utils::DateTime>
130 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
131 template<
typename CreationTimeT = Aws::Utils::DateTime>
141 template<
typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
142 void SetHyperParameterTuningEndTime(HyperParameterTuningEndTimeT&& value) { m_hyperParameterTuningEndTimeHasBeenSet =
true; m_hyperParameterTuningEndTime = std::forward<HyperParameterTuningEndTimeT>(value); }
143 template<
typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
153 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
154 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
155 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
163 template<
typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
164 void SetTrainingJobStatusCounters(TrainingJobStatusCountersT&& value) { m_trainingJobStatusCountersHasBeenSet =
true; m_trainingJobStatusCounters = std::forward<TrainingJobStatusCountersT>(value); }
165 template<
typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
173 template<
typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
174 void SetObjectiveStatusCounters(ObjectiveStatusCountersT&& value) { m_objectiveStatusCountersHasBeenSet =
true; m_objectiveStatusCounters = std::forward<ObjectiveStatusCountersT>(value); }
175 template<
typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
183 template<
typename BestTrainingJobT = HyperParameterTrainingJobSummary>
184 void SetBestTrainingJob(BestTrainingJobT&& value) { m_bestTrainingJobHasBeenSet =
true; m_bestTrainingJob = std::forward<BestTrainingJobT>(value); }
185 template<
typename BestTrainingJobT = HyperParameterTrainingJobSummary>
193 template<
typename OverallBestTrainingJobT = HyperParameterTrainingJobSummary>
194 void SetOverallBestTrainingJob(OverallBestTrainingJobT&& value) { m_overallBestTrainingJobHasBeenSet =
true; m_overallBestTrainingJob = std::forward<OverallBestTrainingJobT>(value); }
195 template<
typename OverallBestTrainingJobT = HyperParameterTrainingJobSummary>
203 template<
typename WarmStartConfigT = HyperParameterTuningJobWarmStartConfig>
204 void SetWarmStartConfig(WarmStartConfigT&& value) { m_warmStartConfigHasBeenSet =
true; m_warmStartConfig = std::forward<WarmStartConfigT>(value); }
205 template<
typename WarmStartConfigT = HyperParameterTuningJobWarmStartConfig>
215 template<
typename FailureReasonT = Aws::String>
216 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
217 template<
typename FailureReasonT = Aws::String>
228 template<
typename TuningJobCompletionDetailsT = HyperParameterTuningJobCompletionDetails>
229 void SetTuningJobCompletionDetails(TuningJobCompletionDetailsT&& value) { m_tuningJobCompletionDetailsHasBeenSet =
true; m_tuningJobCompletionDetails = std::forward<TuningJobCompletionDetailsT>(value); }
230 template<
typename TuningJobCompletionDetailsT = HyperParameterTuningJobCompletionDetails>
240 template<
typename ConsumedResourcesT = HyperParameterTuningJobConsumedResources>
241 void SetConsumedResources(ConsumedResourcesT&& value) { m_consumedResourcesHasBeenSet =
true; m_consumedResources = std::forward<ConsumedResourcesT>(value); }
242 template<
typename ConsumedResourcesT = HyperParameterTuningJobConsumedResources>
255 template<
typename TagsT = Aws::Vector<Tag>>
256 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
257 template<
typename TagsT = Aws::Vector<Tag>>
259 template<
typename TagsT = Tag>
265 bool m_hyperParameterTuningJobNameHasBeenSet =
false;
268 bool m_hyperParameterTuningJobArnHasBeenSet =
false;
271 bool m_hyperParameterTuningJobConfigHasBeenSet =
false;
274 bool m_trainingJobDefinitionHasBeenSet =
false;
277 bool m_trainingJobDefinitionsHasBeenSet =
false;
280 bool m_hyperParameterTuningJobStatusHasBeenSet =
false;
283 bool m_creationTimeHasBeenSet =
false;
286 bool m_hyperParameterTuningEndTimeHasBeenSet =
false;
289 bool m_lastModifiedTimeHasBeenSet =
false;
291 TrainingJobStatusCounters m_trainingJobStatusCounters;
292 bool m_trainingJobStatusCountersHasBeenSet =
false;
294 ObjectiveStatusCounters m_objectiveStatusCounters;
295 bool m_objectiveStatusCountersHasBeenSet =
false;
297 HyperParameterTrainingJobSummary m_bestTrainingJob;
298 bool m_bestTrainingJobHasBeenSet =
false;
300 HyperParameterTrainingJobSummary m_overallBestTrainingJob;
301 bool m_overallBestTrainingJobHasBeenSet =
false;
303 HyperParameterTuningJobWarmStartConfig m_warmStartConfig;
304 bool m_warmStartConfigHasBeenSet =
false;
307 bool m_failureReasonHasBeenSet =
false;
309 HyperParameterTuningJobCompletionDetails m_tuningJobCompletionDetails;
310 bool m_tuningJobCompletionDetailsHasBeenSet =
false;
312 HyperParameterTuningJobConsumedResources m_consumedResources;
313 bool m_consumedResourcesHasBeenSet =
false;
316 bool m_tagsHasBeenSet =
false;
bool TrainingJobDefinitionsHasBeenSet() const
const HyperParameterTuningJobConfig & GetHyperParameterTuningJobConfig() const
const HyperParameterTrainingJobDefinition & GetTrainingJobDefinition() const
const Aws::Vector< Tag > & GetTags() const
HyperParameterTuningJobSearchEntity & WithWarmStartConfig(WarmStartConfigT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetBestTrainingJob(BestTrainingJobT &&value)
void SetHyperParameterTuningEndTime(HyperParameterTuningEndTimeT &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfigT &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningEndTime(HyperParameterTuningEndTimeT &&value)
void SetObjectiveStatusCounters(ObjectiveStatusCountersT &&value)
void SetConsumedResources(ConsumedResourcesT &&value)
HyperParameterTuningJobSearchEntity & WithConsumedResources(ConsumedResourcesT &&value)
bool CreationTimeHasBeenSet() const
HyperParameterTuningJobSearchEntity & WithTags(TagsT &&value)
bool WarmStartConfigHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
HyperParameterTuningJobSearchEntity & WithBestTrainingJob(BestTrainingJobT &&value)
bool TuningJobCompletionDetailsHasBeenSet() const
const HyperParameterTuningJobWarmStartConfig & GetWarmStartConfig() const
const TrainingJobStatusCounters & GetTrainingJobStatusCounters() const
HyperParameterTuningJobStatus GetHyperParameterTuningJobStatus() const
HyperParameterTuningJobSearchEntity & WithTuningJobCompletionDetails(TuningJobCompletionDetailsT &&value)
const Aws::Utils::DateTime & GetHyperParameterTuningEndTime() const
bool HyperParameterTuningEndTimeHasBeenSet() const
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value)
bool TagsHasBeenSet() const
bool HyperParameterTuningJobStatusHasBeenSet() const
void SetTags(TagsT &&value)
bool OverallBestTrainingJobHasBeenSet() const
HyperParameterTuningJobSearchEntity & WithTrainingJobDefinitions(TrainingJobDefinitionsT &&value)
HyperParameterTuningJobSearchEntity & WithCreationTime(CreationTimeT &&value)
void SetTuningJobCompletionDetails(TuningJobCompletionDetailsT &&value)
HyperParameterTuningJobSearchEntity & WithTrainingJobStatusCounters(TrainingJobStatusCountersT &&value)
const Aws::Vector< HyperParameterTrainingJobDefinition > & GetTrainingJobDefinitions() const
void SetTrainingJobDefinition(TrainingJobDefinitionT &&value)
bool HyperParameterTuningJobConfigHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
bool FailureReasonHasBeenSet() const
bool HyperParameterTuningJobArnHasBeenSet() const
HyperParameterTuningJobSearchEntity & AddTags(TagsT &&value)
HyperParameterTuningJobSearchEntity & WithObjectiveStatusCounters(ObjectiveStatusCountersT &&value)
AWS_SAGEMAKER_API HyperParameterTuningJobSearchEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureReason(FailureReasonT &&value)
HyperParameterTuningJobSearchEntity & WithLastModifiedTime(LastModifiedTimeT &&value)
bool TrainingJobDefinitionHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTuningJobSearchEntity(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobSearchEntity & AddTrainingJobDefinitions(TrainingJobDefinitionsT &&value)
bool ObjectiveStatusCountersHasBeenSet() const
const HyperParameterTrainingJobSummary & GetOverallBestTrainingJob() const
bool ConsumedResourcesHasBeenSet() const
const Aws::String & GetFailureReason() const
bool HyperParameterTuningJobNameHasBeenSet() const
void SetTrainingJobStatusCounters(TrainingJobStatusCountersT &&value)
HyperParameterTuningJobSearchEntity & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetHyperParameterTuningJobName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobArn(HyperParameterTuningJobArnT &&value)
bool TrainingJobStatusCountersHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value)
const HyperParameterTrainingJobSummary & GetBestTrainingJob() const
const HyperParameterTuningJobCompletionDetails & GetTuningJobCompletionDetails() const
AWS_SAGEMAKER_API HyperParameterTuningJobSearchEntity()=default
const ObjectiveStatusCounters & GetObjectiveStatusCounters() const
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobName(HyperParameterTuningJobNameT &&value)
const HyperParameterTuningJobConsumedResources & GetConsumedResources() const
HyperParameterTuningJobSearchEntity & WithTrainingJobDefinition(TrainingJobDefinitionT &&value)
void SetTrainingJobDefinitions(TrainingJobDefinitionsT &&value)
void SetHyperParameterTuningJobName(HyperParameterTuningJobNameT &&value)
HyperParameterTuningJobSearchEntity & WithOverallBestTrainingJob(OverallBestTrainingJobT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetOverallBestTrainingJob(OverallBestTrainingJobT &&value)
void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfigT &&value)
void SetHyperParameterTuningJobArn(HyperParameterTuningJobArnT &&value)
const Aws::String & GetHyperParameterTuningJobArn() const
bool BestTrainingJobHasBeenSet() const
void SetWarmStartConfig(WarmStartConfigT &&value)
HyperParameterTuningJobStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue