/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include When the solution performs AutoML (performAutoML
is true in CreateSolution),
* Amazon Personalize determines which recipe, from the specified list, optimizes
* the given metric. Amazon Personalize then uses that recipe for the
* solution.See Also:
AWS
* API Reference
The metric to optimize.
*/ inline const Aws::String& GetMetricName() const{ return m_metricName; } /** *The metric to optimize.
*/ inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } /** *The metric to optimize.
*/ inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; } /** *The metric to optimize.
*/ inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } /** *The metric to optimize.
*/ inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); } /** *The metric to optimize.
*/ inline AutoMLConfig& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;} /** *The metric to optimize.
*/ inline AutoMLConfig& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;} /** *The metric to optimize.
*/ inline AutoMLConfig& WithMetricName(const char* value) { SetMetricName(value); return *this;} /** *The list of candidate recipes.
*/ inline const Aws::VectorThe list of candidate recipes.
*/ inline bool RecipeListHasBeenSet() const { return m_recipeListHasBeenSet; } /** *The list of candidate recipes.
*/ inline void SetRecipeList(const Aws::VectorThe list of candidate recipes.
*/ inline void SetRecipeList(Aws::VectorThe list of candidate recipes.
*/ inline AutoMLConfig& WithRecipeList(const Aws::VectorThe list of candidate recipes.
*/ inline AutoMLConfig& WithRecipeList(Aws::VectorThe list of candidate recipes.
*/ inline AutoMLConfig& AddRecipeList(const Aws::String& value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(value); return *this; } /** *The list of candidate recipes.
*/ inline AutoMLConfig& AddRecipeList(Aws::String&& value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(std::move(value)); return *this; } /** *The list of candidate recipes.
*/ inline AutoMLConfig& AddRecipeList(const char* value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(value); return *this; } private: Aws::String m_metricName; bool m_metricNameHasBeenSet = false; Aws::Vector