/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class GetConsoleScreenshotResponse { public: AWS_EC2_API GetConsoleScreenshotResponse(); AWS_EC2_API GetConsoleScreenshotResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API GetConsoleScreenshotResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The data that comprises the image.

*/ inline const Aws::String& GetImageData() const{ return m_imageData; } /** *

The data that comprises the image.

*/ inline void SetImageData(const Aws::String& value) { m_imageData = value; } /** *

The data that comprises the image.

*/ inline void SetImageData(Aws::String&& value) { m_imageData = std::move(value); } /** *

The data that comprises the image.

*/ inline void SetImageData(const char* value) { m_imageData.assign(value); } /** *

The data that comprises the image.

*/ inline GetConsoleScreenshotResponse& WithImageData(const Aws::String& value) { SetImageData(value); return *this;} /** *

The data that comprises the image.

*/ inline GetConsoleScreenshotResponse& WithImageData(Aws::String&& value) { SetImageData(std::move(value)); return *this;} /** *

The data that comprises the image.

*/ inline GetConsoleScreenshotResponse& WithImageData(const char* value) { SetImageData(value); return *this;} /** *

The ID of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The ID of the instance.

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; } /** *

The ID of the instance.

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); } /** *

The ID of the instance.

*/ inline void SetInstanceId(const char* value) { m_instanceId.assign(value); } /** *

The ID of the instance.

*/ inline GetConsoleScreenshotResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The ID of the instance.

*/ inline GetConsoleScreenshotResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The ID of the instance.

*/ inline GetConsoleScreenshotResponse& WithInstanceId(const char* value) { SetInstanceId(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 GetConsoleScreenshotResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetConsoleScreenshotResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_imageData; Aws::String m_instanceId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws