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/OutputDataConfig.h>
13#include <aws/sagemaker/model/ResourceConfig.h>
14#include <aws/sagemaker/model/StoppingCondition.h>
15#include <aws/sagemaker/model/TrainingInputMode.h>
47 m_trainingInputModeHasBeenSet =
true;
48 m_trainingInputMode = value;
62 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
64 m_hyperParametersHasBeenSet =
true;
65 m_hyperParameters = std::forward<HyperParametersT>(value);
67 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
72 template <
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
74 m_hyperParametersHasBeenSet =
true;
75 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
87 template <
typename InputDataConfigT = Aws::Vector<Channel>>
89 m_inputDataConfigHasBeenSet =
true;
90 m_inputDataConfig = std::forward<InputDataConfigT>(value);
92 template <
typename InputDataConfigT = Aws::Vector<Channel>>
97 template <
typename InputDataConfigT = Channel>
99 m_inputDataConfigHasBeenSet =
true;
100 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
112 template <
typename OutputDataConfigT = OutputDataConfig>
114 m_outputDataConfigHasBeenSet =
true;
115 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
117 template <
typename OutputDataConfigT = OutputDataConfig>
131 template <
typename ResourceConfigT = ResourceConfig>
133 m_resourceConfigHasBeenSet =
true;
134 m_resourceConfig = std::forward<ResourceConfigT>(value);
136 template <
typename ResourceConfigT = ResourceConfig>
154 template <
typename StoppingConditionT = StoppingCondition>
156 m_stoppingConditionHasBeenSet =
true;
157 m_stoppingCondition = std::forward<StoppingConditionT>(value);
159 template <
typename StoppingConditionT = StoppingCondition>
172 OutputDataConfig m_outputDataConfig;
174 ResourceConfig m_resourceConfig;
176 StoppingCondition m_stoppingCondition;
177 bool m_trainingInputModeHasBeenSet =
false;
178 bool m_hyperParametersHasBeenSet =
false;
179 bool m_inputDataConfigHasBeenSet =
false;
180 bool m_outputDataConfigHasBeenSet =
false;
181 bool m_resourceConfigHasBeenSet =
false;
182 bool m_stoppingConditionHasBeenSet =
false;
const Aws::Vector< Channel > & GetInputDataConfig() const
bool OutputDataConfigHasBeenSet() const
bool TrainingInputModeHasBeenSet() const
TrainingJobDefinition & WithStoppingCondition(StoppingConditionT &&value)
const ResourceConfig & GetResourceConfig() const
void SetInputDataConfig(InputDataConfigT &&value)
AWS_SAGEMAKER_API TrainingJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceConfig(ResourceConfigT &&value)
void SetTrainingInputMode(TrainingInputMode value)
bool HyperParametersHasBeenSet() const
TrainingJobDefinition & WithOutputDataConfig(OutputDataConfigT &&value)
TrainingInputMode GetTrainingInputMode() const
AWS_SAGEMAKER_API TrainingJobDefinition()=default
const StoppingCondition & GetStoppingCondition() const
TrainingJobDefinition & WithHyperParameters(HyperParametersT &&value)
const OutputDataConfig & GetOutputDataConfig() const
TrainingJobDefinition & WithResourceConfig(ResourceConfigT &&value)
void SetStoppingCondition(StoppingConditionT &&value)
TrainingJobDefinition & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
void SetHyperParameters(HyperParametersT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
bool StoppingConditionHasBeenSet() const
bool InputDataConfigHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
AWS_SAGEMAKER_API TrainingJobDefinition(Aws::Utils::Json::JsonView jsonValue)
bool ResourceConfigHasBeenSet() const
TrainingJobDefinition & WithTrainingInputMode(TrainingInputMode value)
TrainingJobDefinition & AddInputDataConfig(InputDataConfigT &&value)
TrainingJobDefinition & WithInputDataConfig(InputDataConfigT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue