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
47 inline void SetMLModelId(
const char* value) { m_mLModelIdHasBeenSet =
true; m_mLModelId.assign(value); }
61 inline void SetMLModelName(
const char* value) { m_mLModelNameHasBeenSet =
true; m_mLModelName.assign(value); }
143 inline void SetTrainingDataSourceId(
const char* value) { m_trainingDataSourceIdHasBeenSet =
true; m_trainingDataSourceId.assign(value); }
159 inline void SetRecipe(
const char* value) { m_recipeHasBeenSet =
true; m_recipe.assign(value); }
176 inline void SetRecipeUri(
const char* value) { m_recipeUriHasBeenSet =
true; m_recipeUri.assign(value); }
184 bool m_mLModelIdHasBeenSet =
false;
187 bool m_mLModelNameHasBeenSet =
false;
190 bool m_mLModelTypeHasBeenSet =
false;
193 bool m_parametersHasBeenSet =
false;
196 bool m_trainingDataSourceIdHasBeenSet =
false;
199 bool m_recipeHasBeenSet =
false;
202 bool m_recipeUriHasBeenSet =
false;
bool MLModelTypeHasBeenSet() const
CreateMLModelRequest & WithMLModelType(const MLModelType &value)
void SetMLModelId(Aws::String &&value)
CreateMLModelRequest & WithRecipe(const char *value)
void SetMLModelType(const MLModelType &value)
CreateMLModelRequest & AddParameters(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool MLModelIdHasBeenSet() const
CreateMLModelRequest & WithTrainingDataSourceId(const Aws::String &value)
CreateMLModelRequest & WithMLModelId(Aws::String &&value)
CreateMLModelRequest & WithMLModelType(MLModelType &&value)
const Aws::String & GetTrainingDataSourceId() const
void SetMLModelId(const char *value)
void SetMLModelType(MLModelType &&value)
const Aws::String & GetRecipeUri() const
CreateMLModelRequest & AddParameters(Aws::String &&key, const char *value)
void SetMLModelId(const Aws::String &value)
void SetTrainingDataSourceId(Aws::String &&value)
bool RecipeHasBeenSet() const
CreateMLModelRequest & WithMLModelName(const Aws::String &value)
void SetMLModelName(const Aws::String &value)
CreateMLModelRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
const MLModelType & GetMLModelType() const
void SetTrainingDataSourceId(const char *value)
CreateMLModelRequest & WithRecipeUri(const char *value)
const Aws::String & GetRecipe() const
void SetRecipe(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetRecipeUri(const Aws::String &value)
CreateMLModelRequest & WithTrainingDataSourceId(Aws::String &&value)
CreateMLModelRequest & WithMLModelId(const Aws::String &value)
const Aws::String & GetMLModelName() const
CreateMLModelRequest & AddParameters(const Aws::String &key, const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetRecipe(const char *value)
bool ParametersHasBeenSet() const
void SetRecipeUri(const char *value)
void SetRecipe(Aws::String &&value)
CreateMLModelRequest & WithRecipeUri(Aws::String &&value)
void SetMLModelName(const char *value)
CreateMLModelRequest & WithRecipeUri(const Aws::String &value)
void SetMLModelName(Aws::String &&value)
CreateMLModelRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMLModelRequest & AddParameters(Aws::String &&key, const Aws::String &value)
bool MLModelNameHasBeenSet() const
CreateMLModelRequest & WithTrainingDataSourceId(const char *value)
CreateMLModelRequest & AddParameters(const char *key, const char *value)
void SetTrainingDataSourceId(const Aws::String &value)
CreateMLModelRequest & WithRecipe(const Aws::String &value)
CreateMLModelRequest & WithMLModelName(const char *value)
CreateMLModelRequest & WithMLModelName(Aws::String &&value)
const Aws::String & GetMLModelId() const
bool RecipeUriHasBeenSet() const
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
AWS_MACHINELEARNING_API CreateMLModelRequest()
CreateMLModelRequest & AddParameters(const Aws::String &key, Aws::String &&value)
CreateMLModelRequest & WithRecipe(Aws::String &&value)
CreateMLModelRequest & AddParameters(Aws::String &&key, Aws::String &&value)
CreateMLModelRequest & WithMLModelId(const char *value)
bool TrainingDataSourceIdHasBeenSet() const
void SetRecipeUri(Aws::String &&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