7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/Channel.h>
12#include <aws/sagemaker/model/CheckpointConfig.h>
13#include <aws/sagemaker/model/HyperParameterAlgorithmSpecification.h>
14#include <aws/sagemaker/model/HyperParameterTuningJobObjective.h>
15#include <aws/sagemaker/model/HyperParameterTuningResourceConfig.h>
16#include <aws/sagemaker/model/OutputDataConfig.h>
17#include <aws/sagemaker/model/ParameterRanges.h>
18#include <aws/sagemaker/model/ResourceConfig.h>
19#include <aws/sagemaker/model/RetryStrategy.h>
20#include <aws/sagemaker/model/StoppingCondition.h>
21#include <aws/sagemaker/model/VpcConfig.h>
54 template <
typename DefinitionNameT = Aws::String>
56 m_definitionNameHasBeenSet =
true;
57 m_definitionName = std::forward<DefinitionNameT>(value);
59 template <
typename DefinitionNameT = Aws::String>
70 template <
typename TuningObjectiveT = HyperParameterTuningJobObjective>
72 m_tuningObjectiveHasBeenSet =
true;
73 m_tuningObjective = std::forward<TuningObjectiveT>(value);
75 template <
typename TuningObjectiveT = HyperParameterTuningJobObjective>
86 template <
typename HyperParameterRangesT = ParameterRanges>
88 m_hyperParameterRangesHasBeenSet =
true;
89 m_hyperParameterRanges = std::forward<HyperParameterRangesT>(value);
91 template <
typename HyperParameterRangesT = ParameterRanges>
105 template <
typename StaticHyperParametersT = Aws::Map<Aws::String, Aws::String>>
107 m_staticHyperParametersHasBeenSet =
true;
108 m_staticHyperParameters = std::forward<StaticHyperParametersT>(value);
110 template <
typename StaticHyperParametersT = Aws::Map<Aws::String, Aws::String>>
115 template <
typename StaticHyperParametersKeyT = Aws::String,
typename StaticHyperParametersValueT = Aws::String>
117 m_staticHyperParametersHasBeenSet =
true;
118 m_staticHyperParameters.emplace(std::forward<StaticHyperParametersKeyT>(key), std::forward<StaticHyperParametersValueT>(value));
132 template <
typename AlgorithmSpecificationT = HyperParameterAlgorithmSpecification>
134 m_algorithmSpecificationHasBeenSet =
true;
135 m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value);
137 template <
typename AlgorithmSpecificationT = HyperParameterAlgorithmSpecification>
151 template <
typename RoleArnT = Aws::String>
153 m_roleArnHasBeenSet =
true;
154 m_roleArn = std::forward<RoleArnT>(value);
156 template <
typename RoleArnT = Aws::String>
172 template <
typename InputDataConfigT = Aws::Vector<Channel>>
174 m_inputDataConfigHasBeenSet =
true;
175 m_inputDataConfig = std::forward<InputDataConfigT>(value);
177 template <
typename InputDataConfigT = Aws::Vector<Channel>>
182 template <
typename InputDataConfigT = Channel>
184 m_inputDataConfigHasBeenSet =
true;
185 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
202 template <
typename VpcConfigT = VpcConfig>
204 m_vpcConfigHasBeenSet =
true;
205 m_vpcConfig = std::forward<VpcConfigT>(value);
207 template <
typename VpcConfigT = VpcConfig>
221 template <
typename OutputDataConfigT = OutputDataConfig>
223 m_outputDataConfigHasBeenSet =
true;
224 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
226 template <
typename OutputDataConfigT = OutputDataConfig>
247 template <
typename ResourceConfigT = ResourceConfig>
249 m_resourceConfigHasBeenSet =
true;
250 m_resourceConfig = std::forward<ResourceConfigT>(value);
252 template <
typename ResourceConfigT = ResourceConfig>
269 return m_hyperParameterTuningResourceConfig;
272 template <
typename HyperParameterTuningResourceConfigT = HyperParameterTuningResourceConfig>
274 m_hyperParameterTuningResourceConfigHasBeenSet =
true;
275 m_hyperParameterTuningResourceConfig = std::forward<HyperParameterTuningResourceConfigT>(value);
277 template <
typename HyperParameterTuningResourceConfigT = HyperParameterTuningResourceConfig>
293 template <
typename StoppingConditionT = StoppingCondition>
295 m_stoppingConditionHasBeenSet =
true;
296 m_stoppingCondition = std::forward<StoppingConditionT>(value);
298 template <
typename StoppingConditionT = StoppingCondition>
317 m_enableNetworkIsolationHasBeenSet =
true;
318 m_enableNetworkIsolation = value;
337 m_enableInterContainerTrafficEncryptionHasBeenSet =
true;
338 m_enableInterContainerTrafficEncryption = value;
354 m_enableManagedSpotTrainingHasBeenSet =
true;
355 m_enableManagedSpotTraining = value;
367 template <
typename Checkpo
intConfigT = Checkpo
intConfig>
369 m_checkpointConfigHasBeenSet =
true;
370 m_checkpointConfig = std::forward<CheckpointConfigT>(value);
372 template <
typename Checkpo
intConfigT = Checkpo
intConfig>
386 template <
typename RetryStrategyT = RetryStrategy>
388 m_retryStrategyHasBeenSet =
true;
389 m_retryStrategy = std::forward<RetryStrategyT>(value);
391 template <
typename RetryStrategyT = RetryStrategy>
415 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
417 m_environmentHasBeenSet =
true;
418 m_environment = std::forward<EnvironmentT>(value);
420 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
425 template <
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
427 m_environmentHasBeenSet =
true;
428 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
457 bool m_enableNetworkIsolation{
false};
459 bool m_enableInterContainerTrafficEncryption{
false};
461 bool m_enableManagedSpotTraining{
false};
463 CheckpointConfig m_checkpointConfig;
465 RetryStrategy m_retryStrategy;
468 bool m_definitionNameHasBeenSet =
false;
469 bool m_tuningObjectiveHasBeenSet =
false;
470 bool m_hyperParameterRangesHasBeenSet =
false;
471 bool m_staticHyperParametersHasBeenSet =
false;
472 bool m_algorithmSpecificationHasBeenSet =
false;
473 bool m_roleArnHasBeenSet =
false;
474 bool m_inputDataConfigHasBeenSet =
false;
475 bool m_vpcConfigHasBeenSet =
false;
476 bool m_outputDataConfigHasBeenSet =
false;
477 bool m_resourceConfigHasBeenSet =
false;
478 bool m_hyperParameterTuningResourceConfigHasBeenSet =
false;
479 bool m_stoppingConditionHasBeenSet =
false;
480 bool m_enableNetworkIsolationHasBeenSet =
false;
481 bool m_enableInterContainerTrafficEncryptionHasBeenSet =
false;
482 bool m_enableManagedSpotTrainingHasBeenSet =
false;
483 bool m_checkpointConfigHasBeenSet =
false;
484 bool m_retryStrategyHasBeenSet =
false;
485 bool m_environmentHasBeenSet =
false;
bool AlgorithmSpecificationHasBeenSet() const
const ParameterRanges & GetHyperParameterRanges() const
HyperParameterTrainingJobDefinition & WithCheckpointConfig(CheckpointConfigT &&value)
HyperParameterTrainingJobDefinition & WithHyperParameterRanges(HyperParameterRangesT &&value)
bool DefinitionNameHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
void SetEnableNetworkIsolation(bool value)
HyperParameterTrainingJobDefinition & WithStaticHyperParameters(StaticHyperParametersT &&value)
void SetAlgorithmSpecification(AlgorithmSpecificationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
const ResourceConfig & GetResourceConfig() const
void SetHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfigT &&value)
bool GetEnableNetworkIsolation() const
void SetStaticHyperParameters(StaticHyperParametersT &&value)
AWS_SAGEMAKER_API HyperParameterTrainingJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
void SetRetryStrategy(RetryStrategyT &&value)
HyperParameterTrainingJobDefinition & WithEnableNetworkIsolation(bool value)
void SetDefinitionName(DefinitionNameT &&value)
bool VpcConfigHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const StoppingCondition & GetStoppingCondition() const
bool StaticHyperParametersHasBeenSet() const
const OutputDataConfig & GetOutputDataConfig() const
HyperParameterTrainingJobDefinition & WithEnableInterContainerTrafficEncryption(bool value)
void SetResourceConfig(ResourceConfigT &&value)
bool TuningObjectiveHasBeenSet() const
bool ResourceConfigHasBeenSet() const
bool OutputDataConfigHasBeenSet() const
HyperParameterTrainingJobDefinition & WithDefinitionName(DefinitionNameT &&value)
const HyperParameterAlgorithmSpecification & GetAlgorithmSpecification() const
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
bool RetryStrategyHasBeenSet() const
void SetOutputDataConfig(OutputDataConfigT &&value)
void SetInputDataConfig(InputDataConfigT &&value)
HyperParameterTrainingJobDefinition & WithRoleArn(RoleArnT &&value)
HyperParameterTrainingJobDefinition & WithStoppingCondition(StoppingConditionT &&value)
HyperParameterTrainingJobDefinition & WithRetryStrategy(RetryStrategyT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetEnableManagedSpotTraining() const
AWS_SAGEMAKER_API HyperParameterTrainingJobDefinition()=default
HyperParameterTrainingJobDefinition & WithEnableManagedSpotTraining(bool value)
HyperParameterTrainingJobDefinition & WithTuningObjective(TuningObjectiveT &&value)
void SetTuningObjective(TuningObjectiveT &&value)
const HyperParameterTuningResourceConfig & GetHyperParameterTuningResourceConfig() const
bool EnableNetworkIsolationHasBeenSet() const
bool EnableManagedSpotTrainingHasBeenSet() const
const Aws::String & GetDefinitionName() const
HyperParameterTrainingJobDefinition & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
HyperParameterTrainingJobDefinition & WithInputDataConfig(InputDataConfigT &&value)
const RetryStrategy & GetRetryStrategy() const
const CheckpointConfig & GetCheckpointConfig() const
HyperParameterTrainingJobDefinition & WithEnvironment(EnvironmentT &&value)
const Aws::Vector< Channel > & GetInputDataConfig() const
void SetEnableInterContainerTrafficEncryption(bool value)
void SetVpcConfig(VpcConfigT &&value)
AWS_SAGEMAKER_API HyperParameterTrainingJobDefinition(Aws::Utils::Json::JsonView jsonValue)
bool InputDataConfigHasBeenSet() const
HyperParameterTrainingJobDefinition & WithResourceConfig(ResourceConfigT &&value)
bool EnvironmentHasBeenSet() const
bool HyperParameterTuningResourceConfigHasBeenSet() const
bool CheckpointConfigHasBeenSet() const
bool StoppingConditionHasBeenSet() const
bool HyperParameterRangesHasBeenSet() const
HyperParameterTrainingJobDefinition & WithHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfigT &&value)
HyperParameterTrainingJobDefinition & WithVpcConfig(VpcConfigT &&value)
HyperParameterTrainingJobDefinition & WithOutputDataConfig(OutputDataConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetStaticHyperParameters() const
const HyperParameterTuningJobObjective & GetTuningObjective() const
void SetEnableManagedSpotTraining(bool value)
void SetHyperParameterRanges(HyperParameterRangesT &&value)
const VpcConfig & GetVpcConfig() const
bool RoleArnHasBeenSet() const
void SetCheckpointConfig(CheckpointConfigT &&value)
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(StaticHyperParametersKeyT &&key, StaticHyperParametersValueT &&value)
HyperParameterTrainingJobDefinition & WithAlgorithmSpecification(AlgorithmSpecificationT &&value)
HyperParameterTrainingJobDefinition & AddInputDataConfig(InputDataConfigT &&value)
bool GetEnableInterContainerTrafficEncryption() const
void SetStoppingCondition(StoppingConditionT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue