/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the output of CopyImage.See Also:
AWS
* API Reference
The ID of the new AMI.
*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *The ID of the new AMI.
*/ inline void SetImageId(const Aws::String& value) { m_imageId = value; } /** *The ID of the new AMI.
*/ inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); } /** *The ID of the new AMI.
*/ inline void SetImageId(const char* value) { m_imageId.assign(value); } /** *The ID of the new AMI.
*/ inline CopyImageResponse& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *The ID of the new AMI.
*/ inline CopyImageResponse& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *The ID of the new AMI.
*/ inline CopyImageResponse& WithImageId(const char* value) { SetImageId(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CopyImageResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CopyImageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_imageId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws