AWS SDK for C++  1.9.69
AWS SDK for C++
GetConsoleScreenshotResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetImageData() const{ return m_imageData; }
40 
44  inline void SetImageData(const Aws::String& value) { m_imageData = value; }
45 
49  inline void SetImageData(Aws::String&& value) { m_imageData = std::move(value); }
50 
54  inline void SetImageData(const char* value) { m_imageData.assign(value); }
55 
59  inline GetConsoleScreenshotResponse& WithImageData(const Aws::String& value) { SetImageData(value); return *this;}
60 
64  inline GetConsoleScreenshotResponse& WithImageData(Aws::String&& value) { SetImageData(std::move(value)); return *this;}
65 
69  inline GetConsoleScreenshotResponse& WithImageData(const char* value) { SetImageData(value); return *this;}
70 
71 
75  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
76 
80  inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
81 
85  inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
86 
90  inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
91 
95  inline GetConsoleScreenshotResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
96 
100  inline GetConsoleScreenshotResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
101 
105  inline GetConsoleScreenshotResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
106 
107 
108 
109  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
110 
111 
112  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
113 
114 
115  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
116 
117 
118  inline GetConsoleScreenshotResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
119 
120 
121  inline GetConsoleScreenshotResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
122 
123  private:
124 
125  Aws::String m_imageData;
126 
127  Aws::String m_instanceId;
128 
129  ResponseMetadata m_responseMetadata;
130  };
131 
132 } // namespace Model
133 } // namespace EC2
134 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::GetConsoleScreenshotResponse::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: GetConsoleScreenshotResponse.h:75
Aws::EC2::Model::GetConsoleScreenshotResponse::WithResponseMetadata
GetConsoleScreenshotResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetConsoleScreenshotResponse.h:118
Aws::EC2::Model::GetConsoleScreenshotResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetConsoleScreenshotResponse.h:109
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::GetConsoleScreenshotResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetConsoleScreenshotResponse.h:112
Aws::EC2::Model::GetConsoleScreenshotResponse::WithInstanceId
GetConsoleScreenshotResponse & WithInstanceId(const char *value)
Definition: GetConsoleScreenshotResponse.h:105
Aws::EC2::Model::GetConsoleScreenshotResponse::GetConsoleScreenshotResponse
GetConsoleScreenshotResponse()
Aws::EC2::Model::GetConsoleScreenshotResponse::WithImageData
GetConsoleScreenshotResponse & WithImageData(Aws::String &&value)
Definition: GetConsoleScreenshotResponse.h:64
Aws::EC2::Model::GetConsoleScreenshotResponse::operator=
GetConsoleScreenshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetConsoleScreenshotResponse::SetImageData
void SetImageData(const char *value)
Definition: GetConsoleScreenshotResponse.h:54
Aws::EC2::Model::GetConsoleScreenshotResponse::WithResponseMetadata
GetConsoleScreenshotResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetConsoleScreenshotResponse.h:121
Aws::EC2::Model::GetConsoleScreenshotResponse::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: GetConsoleScreenshotResponse.h:80
Aws::EC2::Model::GetConsoleScreenshotResponse::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: GetConsoleScreenshotResponse.h:85
Aws::EC2::Model::GetConsoleScreenshotResponse
Definition: GetConsoleScreenshotResponse.h:29
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::GetConsoleScreenshotResponse::WithImageData
GetConsoleScreenshotResponse & WithImageData(const char *value)
Definition: GetConsoleScreenshotResponse.h:69
Aws::EC2::Model::GetConsoleScreenshotResponse::GetImageData
const Aws::String & GetImageData() const
Definition: GetConsoleScreenshotResponse.h:39
Aws::EC2::Model::GetConsoleScreenshotResponse::SetImageData
void SetImageData(Aws::String &&value)
Definition: GetConsoleScreenshotResponse.h:49
Aws::EC2::Model::GetConsoleScreenshotResponse::SetImageData
void SetImageData(const Aws::String &value)
Definition: GetConsoleScreenshotResponse.h:44
Aws::EC2::Model::GetConsoleScreenshotResponse::GetConsoleScreenshotResponse
GetConsoleScreenshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetConsoleScreenshotResponse::WithImageData
GetConsoleScreenshotResponse & WithImageData(const Aws::String &value)
Definition: GetConsoleScreenshotResponse.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetConsoleScreenshotResponse::WithInstanceId
GetConsoleScreenshotResponse & WithInstanceId(const Aws::String &value)
Definition: GetConsoleScreenshotResponse.h:95
Aws::EC2::Model::GetConsoleScreenshotResponse::SetInstanceId
void SetInstanceId(const char *value)
Definition: GetConsoleScreenshotResponse.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetConsoleScreenshotResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetConsoleScreenshotResponse.h:115
EC2_EXPORTS.h
Aws::EC2::Model::GetConsoleScreenshotResponse::WithInstanceId
GetConsoleScreenshotResponse & WithInstanceId(Aws::String &&value)
Definition: GetConsoleScreenshotResponse.h:100