7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/AdditionalS3DataSource.h>
11#include <aws/sagemaker/model/HyperParameterSpecification.h>
12#include <aws/sagemaker/model/TrainingInstanceType.h>
13#include <aws/sagemaker/model/MetricDefinition.h>
14#include <aws/sagemaker/model/ChannelSpecification.h>
15#include <aws/sagemaker/model/HyperParameterTuningJobObjective.h>
55 template<
typename TrainingImageT = Aws::String>
56 void SetTrainingImage(TrainingImageT&& value) { m_trainingImageHasBeenSet =
true; m_trainingImage = std::forward<TrainingImageT>(value); }
57 template<
typename TrainingImageT = Aws::String>
68 template<
typename TrainingImageDigestT = Aws::String>
69 void SetTrainingImageDigest(TrainingImageDigestT&& value) { m_trainingImageDigestHasBeenSet =
true; m_trainingImageDigest = std::forward<TrainingImageDigestT>(value); }
70 template<
typename TrainingImageDigestT = Aws::String>
82 template<
typename SupportedHyperParametersT = Aws::Vector<HyperParameterSpecification>>
83 void SetSupportedHyperParameters(SupportedHyperParametersT&& value) { m_supportedHyperParametersHasBeenSet =
true; m_supportedHyperParameters = std::forward<SupportedHyperParametersT>(value); }
84 template<
typename SupportedHyperParametersT = Aws::Vector<HyperParameterSpecification>>
86 template<
typename SupportedHyperParametersT = HyperParameterSpecification>
96 template<
typename SupportedTrainingInstanceTypesT = Aws::Vector<TrainingInstanceType>>
97 void SetSupportedTrainingInstanceTypes(SupportedTrainingInstanceTypesT&& value) { m_supportedTrainingInstanceTypesHasBeenSet =
true; m_supportedTrainingInstanceTypes = std::forward<SupportedTrainingInstanceTypesT>(value); }
98 template<
typename SupportedTrainingInstanceTypesT = Aws::Vector<TrainingInstanceType>>
121 template<
typename MetricDefinitionsT = Aws::Vector<MetricDefinition>>
122 void SetMetricDefinitions(MetricDefinitionsT&& value) { m_metricDefinitionsHasBeenSet =
true; m_metricDefinitions = std::forward<MetricDefinitionsT>(value); }
123 template<
typename MetricDefinitionsT = Aws::Vector<MetricDefinition>>
125 template<
typename MetricDefinitionsT = MetricDefinition>
136 template<
typename TrainingChannelsT = Aws::Vector<ChannelSpecification>>
137 void SetTrainingChannels(TrainingChannelsT&& value) { m_trainingChannelsHasBeenSet =
true; m_trainingChannels = std::forward<TrainingChannelsT>(value); }
138 template<
typename TrainingChannelsT = Aws::Vector<ChannelSpecification>>
140 template<
typename TrainingChannelsT = ChannelSpecification>
151 template<
typename SupportedTuningJobObjectiveMetricsT = Aws::Vector<HyperParameterTuningJobObjective>>
152 void SetSupportedTuningJobObjectiveMetrics(SupportedTuningJobObjectiveMetricsT&& value) { m_supportedTuningJobObjectiveMetricsHasBeenSet =
true; m_supportedTuningJobObjectiveMetrics = std::forward<SupportedTuningJobObjectiveMetricsT>(value); }
153 template<
typename SupportedTuningJobObjectiveMetricsT = Aws::Vector<HyperParameterTuningJobObjective>>
155 template<
typename SupportedTuningJobObjectiveMetricsT = HyperParameterTuningJobObjective>
165 template<
typename AdditionalS3DataSourceT = AdditionalS3DataSource>
166 void SetAdditionalS3DataSource(AdditionalS3DataSourceT&& value) { m_additionalS3DataSourceHasBeenSet =
true; m_additionalS3DataSource = std::forward<AdditionalS3DataSourceT>(value); }
167 template<
typename AdditionalS3DataSourceT = AdditionalS3DataSource>
173 bool m_trainingImageHasBeenSet =
false;
176 bool m_trainingImageDigestHasBeenSet =
false;
179 bool m_supportedHyperParametersHasBeenSet =
false;
182 bool m_supportedTrainingInstanceTypesHasBeenSet =
false;
184 bool m_supportsDistributedTraining{
false};
185 bool m_supportsDistributedTrainingHasBeenSet =
false;
188 bool m_metricDefinitionsHasBeenSet =
false;
191 bool m_trainingChannelsHasBeenSet =
false;
194 bool m_supportedTuningJobObjectiveMetricsHasBeenSet =
false;
196 AdditionalS3DataSource m_additionalS3DataSource;
197 bool m_additionalS3DataSourceHasBeenSet =
false;
void SetTrainingImage(TrainingImageT &&value)
const Aws::String & GetTrainingImage() const
TrainingSpecification & WithTrainingImage(TrainingImageT &&value)
TrainingSpecification & WithAdditionalS3DataSource(AdditionalS3DataSourceT &&value)
bool SupportedTuningJobObjectiveMetricsHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingSpecification & WithSupportedTuningJobObjectiveMetrics(SupportedTuningJobObjectiveMetricsT &&value)
const Aws::Vector< TrainingInstanceType > & GetSupportedTrainingInstanceTypes() const
bool TrainingChannelsHasBeenSet() const
AWS_SAGEMAKER_API TrainingSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SupportedHyperParametersHasBeenSet() const
bool SupportsDistributedTrainingHasBeenSet() const
TrainingSpecification & WithTrainingImageDigest(TrainingImageDigestT &&value)
const Aws::Vector< MetricDefinition > & GetMetricDefinitions() const
AWS_SAGEMAKER_API TrainingSpecification()=default
void SetMetricDefinitions(MetricDefinitionsT &&value)
void SetSupportedHyperParameters(SupportedHyperParametersT &&value)
void SetTrainingImageDigest(TrainingImageDigestT &&value)
TrainingSpecification & AddMetricDefinitions(MetricDefinitionsT &&value)
const AdditionalS3DataSource & GetAdditionalS3DataSource() const
TrainingSpecification & WithSupportsDistributedTraining(bool value)
const Aws::Vector< HyperParameterTuningJobObjective > & GetSupportedTuningJobObjectiveMetrics() const
const Aws::Vector< HyperParameterSpecification > & GetSupportedHyperParameters() const
TrainingSpecification & AddSupportedTrainingInstanceTypes(TrainingInstanceType value)
bool TrainingImageDigestHasBeenSet() const
bool TrainingImageHasBeenSet() const
void SetAdditionalS3DataSource(AdditionalS3DataSourceT &&value)
const Aws::String & GetTrainingImageDigest() const
AWS_SAGEMAKER_API TrainingSpecification(Aws::Utils::Json::JsonView jsonValue)
TrainingSpecification & WithSupportedHyperParameters(SupportedHyperParametersT &&value)
void SetSupportsDistributedTraining(bool value)
bool GetSupportsDistributedTraining() const
void SetTrainingChannels(TrainingChannelsT &&value)
void SetSupportedTuningJobObjectiveMetrics(SupportedTuningJobObjectiveMetricsT &&value)
TrainingSpecification & AddTrainingChannels(TrainingChannelsT &&value)
TrainingSpecification & WithMetricDefinitions(MetricDefinitionsT &&value)
TrainingSpecification & AddSupportedHyperParameters(SupportedHyperParametersT &&value)
TrainingSpecification & WithSupportedTrainingInstanceTypes(SupportedTrainingInstanceTypesT &&value)
TrainingSpecification & AddSupportedTuningJobObjectiveMetrics(SupportedTuningJobObjectiveMetricsT &&value)
TrainingSpecification & WithTrainingChannels(TrainingChannelsT &&value)
bool SupportedTrainingInstanceTypesHasBeenSet() const
bool MetricDefinitionsHasBeenSet() const
bool AdditionalS3DataSourceHasBeenSet() const
void SetSupportedTrainingInstanceTypes(SupportedTrainingInstanceTypesT &&value)
const Aws::Vector< ChannelSpecification > & GetTrainingChannels() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue