/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace imagebuilder { namespace Model { /** */ class DeleteImageRecipeRequest : public ImagebuilderRequest { public: AWS_IMAGEBUILDER_API DeleteImageRecipeRequest(); // 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 "DeleteImageRecipe"; } AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override; AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline const Aws::String& GetImageRecipeArn() const{ return m_imageRecipeArn; } /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline bool ImageRecipeArnHasBeenSet() const { return m_imageRecipeArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline void SetImageRecipeArn(const Aws::String& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = value; } /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline void SetImageRecipeArn(Aws::String&& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline void SetImageRecipeArn(const char* value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline DeleteImageRecipeRequest& WithImageRecipeArn(const Aws::String& value) { SetImageRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline DeleteImageRecipeRequest& WithImageRecipeArn(Aws::String&& value) { SetImageRecipeArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the image recipe to delete.

*/ inline DeleteImageRecipeRequest& WithImageRecipeArn(const char* value) { SetImageRecipeArn(value); return *this;} private: Aws::String m_imageRecipeArn; bool m_imageRecipeArnHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws