/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Personalize { namespace Model { /** *

When the solution performs AutoML (performAutoML is true in CreateSolution), * specifies the recipe that best optimized the specified metric.

See * Also:

AWS * API Reference

*/ class AutoMLResult { public: AWS_PERSONALIZE_API AutoMLResult(); AWS_PERSONALIZE_API AutoMLResult(Aws::Utils::Json::JsonView jsonValue); AWS_PERSONALIZE_API AutoMLResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline const Aws::String& GetBestRecipeArn() const{ return m_bestRecipeArn; } /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline bool BestRecipeArnHasBeenSet() const { return m_bestRecipeArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline void SetBestRecipeArn(const Aws::String& value) { m_bestRecipeArnHasBeenSet = true; m_bestRecipeArn = value; } /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline void SetBestRecipeArn(Aws::String&& value) { m_bestRecipeArnHasBeenSet = true; m_bestRecipeArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline void SetBestRecipeArn(const char* value) { m_bestRecipeArnHasBeenSet = true; m_bestRecipeArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline AutoMLResult& WithBestRecipeArn(const Aws::String& value) { SetBestRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline AutoMLResult& WithBestRecipeArn(Aws::String&& value) { SetBestRecipeArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the best recipe.

*/ inline AutoMLResult& WithBestRecipeArn(const char* value) { SetBestRecipeArn(value); return *this;} private: Aws::String m_bestRecipeArn; bool m_bestRecipeArnHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws