/** * 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 Glue { namespace Model { /** *

A reference to a Glue DataBrew recipe.

See Also:

AWS * API Reference

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

The ARN of the DataBrew recipe.

*/ inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; } /** *

The ARN of the DataBrew recipe.

*/ inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; } /** *

The ARN of the DataBrew recipe.

*/ inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; } /** *

The ARN of the DataBrew recipe.

*/ inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); } /** *

The ARN of the DataBrew recipe.

*/ inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); } /** *

The ARN of the DataBrew recipe.

*/ inline RecipeReference& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;} /** *

The ARN of the DataBrew recipe.

*/ inline RecipeReference& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;} /** *

The ARN of the DataBrew recipe.

*/ inline RecipeReference& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;} /** *

The RecipeVersion of the DataBrew recipe.

*/ inline const Aws::String& GetRecipeVersion() const{ return m_recipeVersion; } /** *

The RecipeVersion of the DataBrew recipe.

*/ inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; } /** *

The RecipeVersion of the DataBrew recipe.

*/ inline void SetRecipeVersion(const Aws::String& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = value; } /** *

The RecipeVersion of the DataBrew recipe.

*/ inline void SetRecipeVersion(Aws::String&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::move(value); } /** *

The RecipeVersion of the DataBrew recipe.

*/ inline void SetRecipeVersion(const char* value) { m_recipeVersionHasBeenSet = true; m_recipeVersion.assign(value); } /** *

The RecipeVersion of the DataBrew recipe.

*/ inline RecipeReference& WithRecipeVersion(const Aws::String& value) { SetRecipeVersion(value); return *this;} /** *

The RecipeVersion of the DataBrew recipe.

*/ inline RecipeReference& WithRecipeVersion(Aws::String&& value) { SetRecipeVersion(std::move(value)); return *this;} /** *

The RecipeVersion of the DataBrew recipe.

*/ inline RecipeReference& WithRecipeVersion(const char* value) { SetRecipeVersion(value); return *this;} private: Aws::String m_recipeArn; bool m_recipeArnHasBeenSet = false; Aws::String m_recipeVersion; bool m_recipeVersionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws