7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/HyperParameterTuningJobObjective.h>
10#include <aws/sagemaker/model/ParameterRanges.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/sagemaker/model/HyperParameterAlgorithmSpecification.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/VpcConfig.h>
15#include <aws/sagemaker/model/OutputDataConfig.h>
16#include <aws/sagemaker/model/ResourceConfig.h>
17#include <aws/sagemaker/model/HyperParameterTuningResourceConfig.h>
18#include <aws/sagemaker/model/StoppingCondition.h>
19#include <aws/sagemaker/model/CheckpointConfig.h>
20#include <aws/sagemaker/model/RetryStrategy.h>
21#include <aws/sagemaker/model/Channel.h>
62 inline void SetDefinitionName(
const char* value) { m_definitionNameHasBeenSet =
true; m_definitionName.assign(value); }
132 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
333 bool m_definitionNameHasBeenSet =
false;
336 bool m_tuningObjectiveHasBeenSet =
false;
339 bool m_hyperParameterRangesHasBeenSet =
false;
342 bool m_staticHyperParametersHasBeenSet =
false;
345 bool m_algorithmSpecificationHasBeenSet =
false;
348 bool m_roleArnHasBeenSet =
false;
351 bool m_inputDataConfigHasBeenSet =
false;
354 bool m_vpcConfigHasBeenSet =
false;
357 bool m_outputDataConfigHasBeenSet =
false;
360 bool m_resourceConfigHasBeenSet =
false;
363 bool m_hyperParameterTuningResourceConfigHasBeenSet =
false;
366 bool m_stoppingConditionHasBeenSet =
false;
368 bool m_enableNetworkIsolation;
369 bool m_enableNetworkIsolationHasBeenSet =
false;
371 bool m_enableInterContainerTrafficEncryption;
372 bool m_enableInterContainerTrafficEncryptionHasBeenSet =
false;
374 bool m_enableManagedSpotTraining;
375 bool m_enableManagedSpotTrainingHasBeenSet =
false;
378 bool m_checkpointConfigHasBeenSet =
false;
381 bool m_retryStrategyHasBeenSet =
false;
384 bool m_environmentHasBeenSet =
false;
bool AlgorithmSpecificationHasBeenSet() const
void SetCheckpointConfig(CheckpointConfig &&value)
const ParameterRanges & GetHyperParameterRanges() const
HyperParameterTrainingJobDefinition & WithCheckpointConfig(const CheckpointConfig &value)
bool DefinitionNameHasBeenSet() const
HyperParameterTrainingJobDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
HyperParameterTrainingJobDefinition & WithStoppingCondition(StoppingCondition &&value)
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(Aws::String &&key, const Aws::String &value)
HyperParameterTrainingJobDefinition & WithTuningObjective(HyperParameterTuningJobObjective &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetAlgorithmSpecification(const HyperParameterAlgorithmSpecification &value)
void SetInputDataConfig(const Aws::Vector< Channel > &value)
void SetEnableNetworkIsolation(bool value)
HyperParameterTrainingJobDefinition & WithInputDataConfig(const Aws::Vector< Channel > &value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(const Aws::String &key, Aws::String &&value)
const ResourceConfig & GetResourceConfig() const
bool GetEnableNetworkIsolation() const
AWS_SAGEMAKER_API HyperParameterTrainingJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTrainingJobDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetStaticHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetHyperParameterRanges(const ParameterRanges &value)
HyperParameterTrainingJobDefinition & WithVpcConfig(VpcConfig &&value)
HyperParameterTrainingJobDefinition & WithEnableNetworkIsolation(bool value)
HyperParameterTrainingJobDefinition & AddEnvironment(Aws::String &&key, const char *value)
bool VpcConfigHasBeenSet() const
HyperParameterTrainingJobDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
HyperParameterTrainingJobDefinition & WithInputDataConfig(Aws::Vector< Channel > &&value)
void SetVpcConfig(VpcConfig &&value)
const StoppingCondition & GetStoppingCondition() const
bool StaticHyperParametersHasBeenSet() const
HyperParameterTrainingJobDefinition & WithOutputDataConfig(const OutputDataConfig &value)
HyperParameterTrainingJobDefinition & WithHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfig &&value)
HyperParameterTrainingJobDefinition & WithCheckpointConfig(CheckpointConfig &&value)
const OutputDataConfig & GetOutputDataConfig() const
HyperParameterTrainingJobDefinition & WithResourceConfig(const ResourceConfig &value)
HyperParameterTrainingJobDefinition & WithEnableInterContainerTrafficEncryption(bool value)
void SetResourceConfig(const ResourceConfig &value)
void SetRoleArn(Aws::String &&value)
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(const char *key, const char *value)
bool TuningObjectiveHasBeenSet() const
HyperParameterTrainingJobDefinition & AddEnvironment(const char *key, Aws::String &&value)
void SetOutputDataConfig(OutputDataConfig &&value)
HyperParameterTrainingJobDefinition & WithResourceConfig(ResourceConfig &&value)
bool ResourceConfigHasBeenSet() const
bool OutputDataConfigHasBeenSet() const
void SetRoleArn(const char *value)
const HyperParameterAlgorithmSpecification & GetAlgorithmSpecification() const
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
void SetDefinitionName(const Aws::String &value)
void SetStoppingCondition(const StoppingCondition &value)
bool RetryStrategyHasBeenSet() const
HyperParameterTrainingJobDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
HyperParameterTrainingJobDefinition & WithRetryStrategy(const RetryStrategy &value)
void SetAlgorithmSpecification(HyperParameterAlgorithmSpecification &&value)
HyperParameterTrainingJobDefinition & WithTuningObjective(const HyperParameterTuningJobObjective &value)
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(Aws::String &&key, Aws::String &&value)
HyperParameterTrainingJobDefinition & WithOutputDataConfig(OutputDataConfig &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetEnableManagedSpotTraining() const
HyperParameterTrainingJobDefinition & WithEnableManagedSpotTraining(bool value)
void SetDefinitionName(Aws::String &&value)
void SetDefinitionName(const char *value)
const HyperParameterTuningResourceConfig & GetHyperParameterTuningResourceConfig() const
bool EnableNetworkIsolationHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTrainingJobDefinition()
bool EnableManagedSpotTrainingHasBeenSet() const
HyperParameterTrainingJobDefinition & WithRoleArn(Aws::String &&value)
HyperParameterTrainingJobDefinition & WithStoppingCondition(const StoppingCondition &value)
const Aws::String & GetDefinitionName() const
void SetStaticHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
HyperParameterTrainingJobDefinition & WithAlgorithmSpecification(HyperParameterAlgorithmSpecification &&value)
const RetryStrategy & GetRetryStrategy() const
void SetRetryStrategy(const RetryStrategy &value)
HyperParameterTrainingJobDefinition & AddEnvironment(const char *key, const char *value)
HyperParameterTrainingJobDefinition & WithHyperParameterTuningResourceConfig(const HyperParameterTuningResourceConfig &value)
void SetHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfig &&value)
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(const char *key, Aws::String &&value)
const CheckpointConfig & GetCheckpointConfig() const
void SetCheckpointConfig(const CheckpointConfig &value)
HyperParameterTrainingJobDefinition & WithDefinitionName(const char *value)
HyperParameterTrainingJobDefinition & AddInputDataConfig(Channel &&value)
void SetRetryStrategy(RetryStrategy &&value)
void SetTuningObjective(const HyperParameterTuningJobObjective &value)
HyperParameterTrainingJobDefinition & WithStaticHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< Channel > & GetInputDataConfig() const
void SetEnableInterContainerTrafficEncryption(bool value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(const Aws::String &key, const Aws::String &value)
AWS_SAGEMAKER_API HyperParameterTrainingJobDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetInputDataConfig(Aws::Vector< Channel > &&value)
bool InputDataConfigHasBeenSet() const
void SetHyperParameterTuningResourceConfig(const HyperParameterTuningResourceConfig &value)
HyperParameterTrainingJobDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
HyperParameterTrainingJobDefinition & WithVpcConfig(const VpcConfig &value)
bool EnvironmentHasBeenSet() const
bool HyperParameterTuningResourceConfigHasBeenSet() const
bool CheckpointConfigHasBeenSet() const
bool StoppingConditionHasBeenSet() const
HyperParameterTrainingJobDefinition & AddStaticHyperParameters(Aws::String &&key, const char *value)
void SetTuningObjective(HyperParameterTuningJobObjective &&value)
bool HyperParameterRangesHasBeenSet() const
HyperParameterTrainingJobDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetStoppingCondition(StoppingCondition &&value)
void SetHyperParameterRanges(ParameterRanges &&value)
HyperParameterTrainingJobDefinition & WithAlgorithmSpecification(const HyperParameterAlgorithmSpecification &value)
HyperParameterTrainingJobDefinition & WithRetryStrategy(RetryStrategy &&value)
void SetResourceConfig(ResourceConfig &&value)
HyperParameterTrainingJobDefinition & WithDefinitionName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetStaticHyperParameters() const
HyperParameterTrainingJobDefinition & WithHyperParameterRanges(ParameterRanges &&value)
const HyperParameterTuningJobObjective & GetTuningObjective() const
HyperParameterTrainingJobDefinition & WithRoleArn(const Aws::String &value)
HyperParameterTrainingJobDefinition & WithHyperParameterRanges(const ParameterRanges &value)
HyperParameterTrainingJobDefinition & WithDefinitionName(const Aws::String &value)
HyperParameterTrainingJobDefinition & WithRoleArn(const char *value)
void SetEnableManagedSpotTraining(bool value)
const VpcConfig & GetVpcConfig() const
void SetOutputDataConfig(const OutputDataConfig &value)
bool RoleArnHasBeenSet() const
bool GetEnableInterContainerTrafficEncryption() const
void SetRoleArn(const Aws::String &value)
HyperParameterTrainingJobDefinition & AddInputDataConfig(const Channel &value)
void SetVpcConfig(const VpcConfig &value)
HyperParameterTrainingJobDefinition & WithStaticHyperParameters(const Aws::Map< Aws::String, Aws::String > &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