/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace GlueDataBrew { namespace Model { /** */ class BatchDeleteRecipeVersionRequest : public GlueDataBrewRequest { public: AWS_GLUEDATABREW_API BatchDeleteRecipeVersionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteRecipeVersion"; } AWS_GLUEDATABREW_API Aws::String SerializePayload() const override; /** *

The name of the recipe whose versions are to be deleted.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the recipe whose versions are to be deleted.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the recipe whose versions are to be deleted.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the recipe whose versions are to be deleted.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the recipe whose versions are to be deleted.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the recipe whose versions are to be deleted.

*/ inline BatchDeleteRecipeVersionRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the recipe whose versions are to be deleted.

*/ inline BatchDeleteRecipeVersionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the recipe whose versions are to be deleted.

*/ inline BatchDeleteRecipeVersionRequest& WithName(const char* value) { SetName(value); return *this;} /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline const Aws::Vector& GetRecipeVersions() const{ return m_recipeVersions; } /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline bool RecipeVersionsHasBeenSet() const { return m_recipeVersionsHasBeenSet; } /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline void SetRecipeVersions(const Aws::Vector& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions = value; } /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline void SetRecipeVersions(Aws::Vector&& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions = std::move(value); } /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline BatchDeleteRecipeVersionRequest& WithRecipeVersions(const Aws::Vector& value) { SetRecipeVersions(value); return *this;} /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline BatchDeleteRecipeVersionRequest& WithRecipeVersions(Aws::Vector&& value) { SetRecipeVersions(std::move(value)); return *this;} /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline BatchDeleteRecipeVersionRequest& AddRecipeVersions(const Aws::String& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.push_back(value); return *this; } /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline BatchDeleteRecipeVersionRequest& AddRecipeVersions(Aws::String&& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.push_back(std::move(value)); return *this; } /** *

An array of version identifiers, for the recipe versions to be deleted. You * can specify numeric versions (X.Y) or LATEST_WORKING. * LATEST_PUBLISHED is not supported.

*/ inline BatchDeleteRecipeVersionRequest& AddRecipeVersions(const char* value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_recipeVersions; bool m_recipeVersionsHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws