7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/MachineLearningRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/model/MLModelType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16namespace MachineLearning
45 template<
typename MLModelIdT = Aws::String>
46 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet =
true; m_mLModelId = std::forward<MLModelIdT>(value); }
47 template<
typename MLModelIdT = Aws::String>
57 template<
typename MLModelNameT = Aws::String>
58 void SetMLModelName(MLModelNameT&& value) { m_mLModelNameHasBeenSet =
true; m_mLModelName = std::forward<MLModelNameT>(value); }
59 template<
typename MLModelNameT = Aws::String>
116 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
117 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
118 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
120 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
122 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
132 template<
typename TrainingDataSourceIdT = Aws::String>
133 void SetTrainingDataSourceId(TrainingDataSourceIdT&& value) { m_trainingDataSourceIdHasBeenSet =
true; m_trainingDataSourceId = std::forward<TrainingDataSourceIdT>(value); }
134 template<
typename TrainingDataSourceIdT = Aws::String>
146 template<
typename RecipeT = Aws::String>
147 void SetRecipe(RecipeT&& value) { m_recipeHasBeenSet =
true; m_recipe = std::forward<RecipeT>(value); }
148 template<
typename RecipeT = Aws::String>
161 template<
typename RecipeUriT = Aws::String>
162 void SetRecipeUri(RecipeUriT&& value) { m_recipeUriHasBeenSet =
true; m_recipeUri = std::forward<RecipeUriT>(value); }
163 template<
typename RecipeUriT = Aws::String>
169 bool m_mLModelIdHasBeenSet =
false;
172 bool m_mLModelNameHasBeenSet =
false;
175 bool m_mLModelTypeHasBeenSet =
false;
178 bool m_parametersHasBeenSet =
false;
181 bool m_trainingDataSourceIdHasBeenSet =
false;
184 bool m_recipeHasBeenSet =
false;
187 bool m_recipeUriHasBeenSet =
false;
bool MLModelTypeHasBeenSet() const
CreateMLModelRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
virtual const char * GetServiceRequestName() const override
bool MLModelIdHasBeenSet() const
const Aws::String & GetTrainingDataSourceId() const
const Aws::String & GetRecipeUri() const
MLModelType GetMLModelType() const
bool RecipeHasBeenSet() const
void SetMLModelId(MLModelIdT &&value)
const Aws::String & GetRecipe() const
CreateMLModelRequest & WithRecipeUri(RecipeUriT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetParameters(ParametersT &&value)
void SetMLModelName(MLModelNameT &&value)
const Aws::String & GetMLModelName() const
bool ParametersHasBeenSet() const
void SetRecipeUri(RecipeUriT &&value)
CreateMLModelRequest & WithMLModelName(MLModelNameT &&value)
AWS_MACHINELEARNING_API CreateMLModelRequest()=default
CreateMLModelRequest & WithRecipe(RecipeT &&value)
CreateMLModelRequest & WithParameters(ParametersT &&value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool MLModelNameHasBeenSet() const
const Aws::String & GetMLModelId() const
void SetTrainingDataSourceId(TrainingDataSourceIdT &&value)
CreateMLModelRequest & WithTrainingDataSourceId(TrainingDataSourceIdT &&value)
bool RecipeUriHasBeenSet() const
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
void SetMLModelType(MLModelType value)
CreateMLModelRequest & WithMLModelType(MLModelType value)
CreateMLModelRequest & WithMLModelId(MLModelIdT &&value)
bool TrainingDataSourceIdHasBeenSet() const
void SetRecipe(RecipeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String