7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/MachineLearningRequest.h>
10#include <aws/machinelearning/MachineLearning_EXPORTS.h>
11#include <aws/machinelearning/model/MLModelType.h>
16namespace MachineLearning {
41 template <
typename MLModelIdT = Aws::String>
43 m_mLModelIdHasBeenSet =
true;
44 m_mLModelId = std::forward<MLModelIdT>(value);
46 template <
typename MLModelIdT = Aws::String>
59 template <
typename MLModelNameT = Aws::String>
61 m_mLModelNameHasBeenSet =
true;
62 m_mLModelName = std::forward<MLModelNameT>(value);
64 template <
typename MLModelNameT = Aws::String>
86 m_mLModelTypeHasBeenSet =
true;
87 m_mLModelType = value;
130 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
132 m_parametersHasBeenSet =
true;
133 m_parameters = std::forward<ParametersT>(value);
135 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
140 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
142 m_parametersHasBeenSet =
true;
143 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
154 template <
typename TrainingDataSourceIdT = Aws::String>
156 m_trainingDataSourceIdHasBeenSet =
true;
157 m_trainingDataSourceId = std::forward<TrainingDataSourceIdT>(value);
159 template <
typename TrainingDataSourceIdT = Aws::String>
174 template <
typename RecipeT = Aws::String>
176 m_recipeHasBeenSet =
true;
177 m_recipe = std::forward<RecipeT>(value);
179 template <
typename RecipeT = Aws::String>
195 template <
typename RecipeUriT = Aws::String>
197 m_recipeUriHasBeenSet =
true;
198 m_recipeUri = std::forward<RecipeUriT>(value);
200 template <
typename RecipeUriT = Aws::String>
220 bool m_mLModelIdHasBeenSet =
false;
221 bool m_mLModelNameHasBeenSet =
false;
222 bool m_mLModelTypeHasBeenSet =
false;
223 bool m_parametersHasBeenSet =
false;
224 bool m_trainingDataSourceIdHasBeenSet =
false;
225 bool m_recipeHasBeenSet =
false;
226 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