7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/HyperParameterTuningJobStrategyType.h>
9#include <aws/sagemaker/model/HyperParameterTuningJobStrategyConfig.h>
10#include <aws/sagemaker/model/HyperParameterTuningJobObjective.h>
11#include <aws/sagemaker/model/ResourceLimits.h>
12#include <aws/sagemaker/model/ParameterRanges.h>
13#include <aws/sagemaker/model/TrainingJobEarlyStoppingType.h>
14#include <aws/sagemaker/model/TuningJobCompletionCriteria.h>
166 inline void SetRandomSeed(
int value) { m_randomSeedHasBeenSet =
true; m_randomSeed = value; }
172 bool m_strategyHasBeenSet =
false;
175 bool m_strategyConfigHasBeenSet =
false;
178 bool m_hyperParameterTuningJobObjectiveHasBeenSet =
false;
181 bool m_resourceLimitsHasBeenSet =
false;
184 bool m_parameterRangesHasBeenSet =
false;
187 bool m_trainingJobEarlyStoppingTypeHasBeenSet =
false;
190 bool m_tuningJobCompletionCriteriaHasBeenSet =
false;
193 bool m_randomSeedHasBeenSet =
false;
void SetHyperParameterTuningJobObjective(const HyperParameterTuningJobObjective &value)
HyperParameterTuningJobConfig & WithParameterRanges(ParameterRanges &&value)
bool StrategyConfigHasBeenSet() const
bool TrainingJobEarlyStoppingTypeHasBeenSet() const
HyperParameterTuningJobConfig & WithParameterRanges(const ParameterRanges &value)
const TrainingJobEarlyStoppingType & GetTrainingJobEarlyStoppingType() const
const HyperParameterTuningJobObjective & GetHyperParameterTuningJobObjective() const
void SetTrainingJobEarlyStoppingType(const TrainingJobEarlyStoppingType &value)
bool HyperParameterTuningJobObjectiveHasBeenSet() const
HyperParameterTuningJobConfig & WithTrainingJobEarlyStoppingType(TrainingJobEarlyStoppingType &&value)
void SetTuningJobCompletionCriteria(const TuningJobCompletionCriteria &value)
HyperParameterTuningJobConfig & WithHyperParameterTuningJobObjective(HyperParameterTuningJobObjective &&value)
void SetStrategyConfig(HyperParameterTuningJobStrategyConfig &&value)
const ResourceLimits & GetResourceLimits() const
void SetRandomSeed(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTuningJobConfig & WithHyperParameterTuningJobObjective(const HyperParameterTuningJobObjective &value)
bool TuningJobCompletionCriteriaHasBeenSet() const
HyperParameterTuningJobConfig & WithTuningJobCompletionCriteria(TuningJobCompletionCriteria &&value)
void SetTrainingJobEarlyStoppingType(TrainingJobEarlyStoppingType &&value)
bool RandomSeedHasBeenSet() const
HyperParameterTuningJobConfig & WithRandomSeed(int value)
AWS_SAGEMAKER_API HyperParameterTuningJobConfig()
int GetRandomSeed() const
bool ParameterRangesHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTuningJobConfig(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobConfig & WithTuningJobCompletionCriteria(const TuningJobCompletionCriteria &value)
HyperParameterTuningJobConfig & WithStrategyConfig(const HyperParameterTuningJobStrategyConfig &value)
void SetResourceLimits(ResourceLimits &&value)
void SetResourceLimits(const ResourceLimits &value)
const TuningJobCompletionCriteria & GetTuningJobCompletionCriteria() const
void SetStrategy(const HyperParameterTuningJobStrategyType &value)
HyperParameterTuningJobConfig & WithStrategy(HyperParameterTuningJobStrategyType &&value)
bool ResourceLimitsHasBeenSet() const
bool StrategyHasBeenSet() const
HyperParameterTuningJobConfig & WithResourceLimits(const ResourceLimits &value)
void SetHyperParameterTuningJobObjective(HyperParameterTuningJobObjective &&value)
void SetStrategyConfig(const HyperParameterTuningJobStrategyConfig &value)
AWS_SAGEMAKER_API HyperParameterTuningJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const ParameterRanges & GetParameterRanges() const
HyperParameterTuningJobConfig & WithStrategyConfig(HyperParameterTuningJobStrategyConfig &&value)
HyperParameterTuningJobConfig & WithTrainingJobEarlyStoppingType(const TrainingJobEarlyStoppingType &value)
void SetStrategy(HyperParameterTuningJobStrategyType &&value)
HyperParameterTuningJobConfig & WithStrategy(const HyperParameterTuningJobStrategyType &value)
const HyperParameterTuningJobStrategyType & GetStrategy() const
void SetParameterRanges(ParameterRanges &&value)
const HyperParameterTuningJobStrategyConfig & GetStrategyConfig() const
void SetTuningJobCompletionCriteria(TuningJobCompletionCriteria &&value)
void SetParameterRanges(const ParameterRanges &value)
HyperParameterTuningJobConfig & WithResourceLimits(ResourceLimits &&value)
TrainingJobEarlyStoppingType
HyperParameterTuningJobStrategyType
Aws::Utils::Json::JsonValue JsonValue