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>
57 inline void SetTrainingImage(
const char* value) { m_trainingImageHasBeenSet =
true; m_trainingImage.assign(value); }
72 inline void SetTrainingImageDigest(
const char* value) { m_trainingImageDigestHasBeenSet =
true; m_trainingImageDigest.assign(value); }
178 bool m_trainingImageHasBeenSet =
false;
181 bool m_trainingImageDigestHasBeenSet =
false;
184 bool m_supportedHyperParametersHasBeenSet =
false;
187 bool m_supportedTrainingInstanceTypesHasBeenSet =
false;
189 bool m_supportsDistributedTraining;
190 bool m_supportsDistributedTrainingHasBeenSet =
false;
193 bool m_metricDefinitionsHasBeenSet =
false;
196 bool m_trainingChannelsHasBeenSet =
false;
199 bool m_supportedTuningJobObjectiveMetricsHasBeenSet =
false;
202 bool m_additionalS3DataSourceHasBeenSet =
false;
AWS_SAGEMAKER_API TrainingSpecification()
const Aws::String & GetTrainingImage() const
TrainingSpecification & WithAdditionalS3DataSource(AdditionalS3DataSource &&value)
void SetTrainingImageDigest(const char *value)
TrainingSpecification & AddMetricDefinitions(MetricDefinition &&value)
void SetTrainingImage(Aws::String &&value)
TrainingSpecification & AddTrainingChannels(ChannelSpecification &&value)
void SetSupportedTrainingInstanceTypes(const Aws::Vector< TrainingInstanceType > &value)
bool SupportedTuningJobObjectiveMetricsHasBeenSet() const
TrainingSpecification & WithTrainingChannels(const Aws::Vector< ChannelSpecification > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingSpecification & WithTrainingImageDigest(const char *value)
TrainingSpecification & WithSupportedHyperParameters(Aws::Vector< HyperParameterSpecification > &&value)
TrainingSpecification & WithTrainingImageDigest(const Aws::String &value)
const Aws::Vector< TrainingInstanceType > & GetSupportedTrainingInstanceTypes() const
TrainingSpecification & WithTrainingImage(const char *value)
TrainingSpecification & AddSupportedHyperParameters(HyperParameterSpecification &&value)
bool TrainingChannelsHasBeenSet() const
TrainingSpecification & WithAdditionalS3DataSource(const AdditionalS3DataSource &value)
AWS_SAGEMAKER_API TrainingSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingSpecification & AddSupportedTrainingInstanceTypes(TrainingInstanceType &&value)
TrainingSpecification & WithTrainingChannels(Aws::Vector< ChannelSpecification > &&value)
bool SupportedHyperParametersHasBeenSet() const
bool SupportsDistributedTrainingHasBeenSet() const
TrainingSpecification & AddSupportedHyperParameters(const HyperParameterSpecification &value)
void SetTrainingChannels(Aws::Vector< ChannelSpecification > &&value)
void SetAdditionalS3DataSource(const AdditionalS3DataSource &value)
TrainingSpecification & AddMetricDefinitions(const MetricDefinition &value)
const Aws::Vector< MetricDefinition > & GetMetricDefinitions() const
TrainingSpecification & WithSupportedTrainingInstanceTypes(const Aws::Vector< TrainingInstanceType > &value)
void SetTrainingImage(const char *value)
const AdditionalS3DataSource & GetAdditionalS3DataSource() const
void SetSupportedTuningJobObjectiveMetrics(Aws::Vector< HyperParameterTuningJobObjective > &&value)
TrainingSpecification & WithSupportsDistributedTraining(bool value)
const Aws::Vector< HyperParameterTuningJobObjective > & GetSupportedTuningJobObjectiveMetrics() const
const Aws::Vector< HyperParameterSpecification > & GetSupportedHyperParameters() const
TrainingSpecification & WithSupportedTrainingInstanceTypes(Aws::Vector< TrainingInstanceType > &&value)
void SetSupportedTrainingInstanceTypes(Aws::Vector< TrainingInstanceType > &&value)
void SetTrainingImageDigest(const Aws::String &value)
TrainingSpecification & WithTrainingImageDigest(Aws::String &&value)
bool TrainingImageDigestHasBeenSet() const
bool TrainingImageHasBeenSet() const
void SetMetricDefinitions(Aws::Vector< MetricDefinition > &&value)
const Aws::String & GetTrainingImageDigest() const
AWS_SAGEMAKER_API TrainingSpecification(Aws::Utils::Json::JsonView jsonValue)
TrainingSpecification & WithMetricDefinitions(const Aws::Vector< MetricDefinition > &value)
TrainingSpecification & AddSupportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective &&value)
void SetSupportedTuningJobObjectiveMetrics(const Aws::Vector< HyperParameterTuningJobObjective > &value)
TrainingSpecification & WithSupportedHyperParameters(const Aws::Vector< HyperParameterSpecification > &value)
void SetTrainingChannels(const Aws::Vector< ChannelSpecification > &value)
void SetSupportsDistributedTraining(bool value)
TrainingSpecification & AddTrainingChannels(const ChannelSpecification &value)
bool GetSupportsDistributedTraining() const
TrainingSpecification & WithTrainingImage(const Aws::String &value)
void SetMetricDefinitions(const Aws::Vector< MetricDefinition > &value)
TrainingSpecification & WithSupportedTuningJobObjectiveMetrics(const Aws::Vector< HyperParameterTuningJobObjective > &value)
TrainingSpecification & AddSupportedTuningJobObjectiveMetrics(const HyperParameterTuningJobObjective &value)
void SetSupportedHyperParameters(Aws::Vector< HyperParameterSpecification > &&value)
TrainingSpecification & AddSupportedTrainingInstanceTypes(const TrainingInstanceType &value)
TrainingSpecification & WithMetricDefinitions(Aws::Vector< MetricDefinition > &&value)
TrainingSpecification & WithTrainingImage(Aws::String &&value)
TrainingSpecification & WithSupportedTuningJobObjectiveMetrics(Aws::Vector< HyperParameterTuningJobObjective > &&value)
void SetTrainingImageDigest(Aws::String &&value)
void SetSupportedHyperParameters(const Aws::Vector< HyperParameterSpecification > &value)
bool SupportedTrainingInstanceTypesHasBeenSet() const
bool MetricDefinitionsHasBeenSet() const
bool AdditionalS3DataSourceHasBeenSet() const
void SetTrainingImage(const Aws::String &value)
void SetAdditionalS3DataSource(AdditionalS3DataSource &&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