This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-imagebuilder/include/aws/imagebuilder/model/GetImageRequest.h

90 lines
3.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/imagebuilder/ImagebuilderRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace imagebuilder
{
namespace Model
{
/**
*/
class AWS_IMAGEBUILDER_API GetImageRequest : public ImagebuilderRequest
{
public:
GetImageRequest();
// 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 "GetImage"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline GetImageRequest& WithImageBuildVersionArn(const Aws::String& value) { SetImageBuildVersionArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline GetImageRequest& WithImageBuildVersionArn(Aws::String&& value) { SetImageBuildVersionArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>
*/
inline GetImageRequest& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
private:
Aws::String m_imageBuildVersionArn;
bool m_imageBuildVersionArnHasBeenSet;
};
} // namespace Model
} // namespace imagebuilder
} // namespace Aws