7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrainingInputMode.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/OutputDataConfig.h>
12#include <aws/sagemaker/model/ResourceConfig.h>
13#include <aws/sagemaker/model/StoppingCondition.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/sagemaker/model/Channel.h>
62 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
63 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet =
true; m_hyperParameters = std::forward<HyperParametersT>(value); }
64 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
66 template<
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
68 m_hyperParametersHasBeenSet =
true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
return *
this;
79 template<
typename InputDataConfigT = Aws::Vector<Channel>>
80 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
81 template<
typename InputDataConfigT = Aws::Vector<Channel>>
83 template<
typename InputDataConfigT = Channel>
94 template<
typename OutputDataConfigT = OutputDataConfig>
95 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
96 template<
typename OutputDataConfigT = OutputDataConfig>
107 template<
typename ResourceConfigT = ResourceConfig>
108 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet =
true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
109 template<
typename ResourceConfigT = ResourceConfig>
124 template<
typename StoppingConditionT = StoppingCondition>
125 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet =
true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
126 template<
typename StoppingConditionT = StoppingCondition>
132 bool m_trainingInputModeHasBeenSet =
false;
135 bool m_hyperParametersHasBeenSet =
false;
138 bool m_inputDataConfigHasBeenSet =
false;
140 OutputDataConfig m_outputDataConfig;
141 bool m_outputDataConfigHasBeenSet =
false;
143 ResourceConfig m_resourceConfig;
144 bool m_resourceConfigHasBeenSet =
false;
146 StoppingCondition m_stoppingCondition;
147 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