7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AdditionalS3DataSource.h>
11#include <aws/sagemaker/model/ChannelSpecification.h>
12#include <aws/sagemaker/model/HyperParameterSpecification.h>
13#include <aws/sagemaker/model/HyperParameterTuningJobObjective.h>
14#include <aws/sagemaker/model/MetricDefinition.h>
15#include <aws/sagemaker/model/TrainingInstanceType.h>
49 template <
typename TrainingImageT = Aws::String>
51 m_trainingImageHasBeenSet =
true;
52 m_trainingImage = std::forward<TrainingImageT>(value);
54 template <
typename TrainingImageT = Aws::String>
68 template <
typename TrainingImageDigestT = Aws::String>
70 m_trainingImageDigestHasBeenSet =
true;
71 m_trainingImageDigest = std::forward<TrainingImageDigestT>(value);
73 template <
typename TrainingImageDigestT = Aws::String>
88 template <
typename SupportedHyperParametersT = Aws::Vector<HyperParameterSpecification>>
90 m_supportedHyperParametersHasBeenSet =
true;
91 m_supportedHyperParameters = std::forward<SupportedHyperParametersT>(value);
93 template <
typename SupportedHyperParametersT = Aws::Vector<HyperParameterSpecification>>
98 template <
typename SupportedHyperParametersT = HyperParameterSpecification>
100 m_supportedHyperParametersHasBeenSet =
true;
101 m_supportedHyperParameters.emplace_back(std::forward<SupportedHyperParametersT>(value));
112 template <
typename SupportedTrainingInstanceTypesT = Aws::Vector<TrainingInstanceType>>
114 m_supportedTrainingInstanceTypesHasBeenSet =
true;
115 m_supportedTrainingInstanceTypes = std::forward<SupportedTrainingInstanceTypesT>(value);
117 template <
typename SupportedTrainingInstanceTypesT = Aws::Vector<TrainingInstanceType>>
123 m_supportedTrainingInstanceTypesHasBeenSet =
true;
124 m_supportedTrainingInstanceTypes.push_back(value);
137 m_supportsDistributedTrainingHasBeenSet =
true;
138 m_supportsDistributedTraining = value;
153 template <
typename MetricDefinitionsT = Aws::Vector<MetricDefinition>>
155 m_metricDefinitionsHasBeenSet =
true;
156 m_metricDefinitions = std::forward<MetricDefinitionsT>(value);
158 template <
typename MetricDefinitionsT = Aws::Vector<MetricDefinition>>
163 template <
typename MetricDefinitionsT = MetricDefinition>
165 m_metricDefinitionsHasBeenSet =
true;
166 m_metricDefinitions.emplace_back(std::forward<MetricDefinitionsT>(value));
178 template <
typename TrainingChannelsT = Aws::Vector<ChannelSpecification>>
180 m_trainingChannelsHasBeenSet =
true;
181 m_trainingChannels = std::forward<TrainingChannelsT>(value);
183 template <
typename TrainingChannelsT = Aws::Vector<ChannelSpecification>>
188 template <
typename TrainingChannelsT = ChannelSpecification>
190 m_trainingChannelsHasBeenSet =
true;
191 m_trainingChannels.emplace_back(std::forward<TrainingChannelsT>(value));
202 return m_supportedTuningJobObjectiveMetrics;
205 template <
typename SupportedTuningJobObjectiveMetricsT = Aws::Vector<HyperParameterTuningJobObjective>>
207 m_supportedTuningJobObjectiveMetricsHasBeenSet =
true;
208 m_supportedTuningJobObjectiveMetrics = std::forward<SupportedTuningJobObjectiveMetricsT>(value);
210 template <
typename SupportedTuningJobObjectiveMetricsT = Aws::Vector<HyperParameterTuningJobObjective>>
215 template <
typename SupportedTuningJobObjectiveMetricsT = HyperParameterTuningJobObjective>
217 m_supportedTuningJobObjectiveMetricsHasBeenSet =
true;
218 m_supportedTuningJobObjectiveMetrics.emplace_back(std::forward<SupportedTuningJobObjectiveMetricsT>(value));
229 template <
typename AdditionalS3DataSourceT = AdditionalS3DataSource>
231 m_additionalS3DataSourceHasBeenSet =
true;
232 m_additionalS3DataSource = std::forward<AdditionalS3DataSourceT>(value);
234 template <
typename AdditionalS3DataSourceT = AdditionalS3DataSource>
249 bool m_supportsDistributedTraining{
false};
257 AdditionalS3DataSource m_additionalS3DataSource;
258 bool m_trainingImageHasBeenSet =
false;
259 bool m_trainingImageDigestHasBeenSet =
false;
260 bool m_supportedHyperParametersHasBeenSet =
false;
261 bool m_supportedTrainingInstanceTypesHasBeenSet =
false;
262 bool m_supportsDistributedTrainingHasBeenSet =
false;
263 bool m_metricDefinitionsHasBeenSet =
false;
264 bool m_trainingChannelsHasBeenSet =
false;
265 bool m_supportedTuningJobObjectiveMetricsHasBeenSet =
false;
266 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