AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetConsoleScreenshotResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetImageData() const{ return m_imageData; }
41 inline void SetImageData(const Aws::String& value) { m_imageData = value; }
42 inline void SetImageData(Aws::String&& value) { m_imageData = std::move(value); }
43 inline void SetImageData(const char* value) { m_imageData.assign(value); }
44 inline GetConsoleScreenshotResponse& WithImageData(const Aws::String& value) { SetImageData(value); return *this;}
45 inline GetConsoleScreenshotResponse& WithImageData(Aws::String&& value) { SetImageData(std::move(value)); return *this;}
46 inline GetConsoleScreenshotResponse& WithImageData(const char* value) { SetImageData(value); return *this;}
48
50
53 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
54 inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
55 inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
56 inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
57 inline GetConsoleScreenshotResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
58 inline GetConsoleScreenshotResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
59 inline GetConsoleScreenshotResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
65 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
66 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 private:
71
72 Aws::String m_imageData;
73
74 Aws::String m_instanceId;
75
76 ResponseMetadata m_responseMetadata;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
GetConsoleScreenshotResponse & WithResponseMetadata(ResponseMetadata &&value)
GetConsoleScreenshotResponse & WithInstanceId(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
GetConsoleScreenshotResponse & WithImageData(const char *value)
AWS_EC2_API GetConsoleScreenshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetConsoleScreenshotResponse & WithResponseMetadata(const ResponseMetadata &value)
GetConsoleScreenshotResponse & WithImageData(Aws::String &&value)
GetConsoleScreenshotResponse & WithInstanceId(Aws::String &&value)
GetConsoleScreenshotResponse & WithInstanceId(const char *value)
AWS_EC2_API GetConsoleScreenshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetConsoleScreenshotResponse & WithImageData(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument