/** * 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 AWS_IMAGEBUILDER_API GetImagePipelineRequest : public ImagebuilderRequest { public: GetImagePipelineRequest(); // 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 "GetImagePipeline"; } Aws::String SerializePayload() const override; void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline GetImagePipelineRequest& WithImagePipelineArn(const Aws::String& value) { SetImagePipelineArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline GetImagePipelineRequest& WithImagePipelineArn(Aws::String&& value) { SetImagePipelineArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * retrieve.

*/ inline GetImagePipelineRequest& WithImagePipelineArn(const char* value) { SetImagePipelineArn(value); return *this;} private: Aws::String m_imagePipelineArn; bool m_imagePipelineArnHasBeenSet; }; } // namespace Model } // namespace imagebuilder } // namespace Aws