AWS SDK for C++  1.9.124
AWS SDK for C++
GetConsoleOutputResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
45  inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
46 
50  inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
51 
55  inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
56 
60  inline GetConsoleOutputResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
61 
65  inline GetConsoleOutputResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
66 
70  inline GetConsoleOutputResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
71 
72 
77  inline const Aws::String& GetOutput() const{ return m_output; }
78 
83  inline void SetOutput(const Aws::String& value) { m_output = value; }
84 
89  inline void SetOutput(Aws::String&& value) { m_output = std::move(value); }
90 
95  inline void SetOutput(const char* value) { m_output.assign(value); }
96 
101  inline GetConsoleOutputResponse& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
102 
107  inline GetConsoleOutputResponse& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
108 
113  inline GetConsoleOutputResponse& WithOutput(const char* value) { SetOutput(value); return *this;}
114 
115 
119  inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
120 
124  inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestamp = value; }
125 
129  inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestamp = std::move(value); }
130 
134  inline GetConsoleOutputResponse& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
135 
139  inline GetConsoleOutputResponse& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
140 
141 
142 
143  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
144 
145 
146  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
147 
148 
149  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
150 
151 
152  inline GetConsoleOutputResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
153 
154 
155  inline GetConsoleOutputResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
156 
157  private:
158 
159  Aws::String m_instanceId;
160 
161  Aws::String m_output;
162 
163  Aws::Utils::DateTime m_timestamp;
164 
165  ResponseMetadata m_responseMetadata;
166  };
167 
168 } // namespace Model
169 } // namespace EC2
170 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::GetConsoleOutputResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetConsoleOutputResponse.h:143
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::GetConsoleOutputResponse::WithTimestamp
GetConsoleOutputResponse & WithTimestamp(const Aws::Utils::DateTime &value)
Definition: GetConsoleOutputResponse.h:134
Aws::EC2::Model::GetConsoleOutputResponse::SetInstanceId
void SetInstanceId(const char *value)
Definition: GetConsoleOutputResponse.h:55
DateTime.h
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::GetConsoleOutputResponse::SetTimestamp
void SetTimestamp(const Aws::Utils::DateTime &value)
Definition: GetConsoleOutputResponse.h:124
Aws::EC2::Model::GetConsoleOutputResponse::WithOutput
GetConsoleOutputResponse & WithOutput(Aws::String &&value)
Definition: GetConsoleOutputResponse.h:107
Aws::EC2::Model::GetConsoleOutputResponse::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: GetConsoleOutputResponse.h:50
Aws::EC2::Model::GetConsoleOutputResponse::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: GetConsoleOutputResponse.h:45
Aws::EC2::Model::GetConsoleOutputResponse::WithOutput
GetConsoleOutputResponse & WithOutput(const char *value)
Definition: GetConsoleOutputResponse.h:113
Aws::EC2::Model::GetConsoleOutputResponse::WithResponseMetadata
GetConsoleOutputResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetConsoleOutputResponse.h:152
Aws::EC2::Model::GetConsoleOutputResponse::WithOutput
GetConsoleOutputResponse & WithOutput(const Aws::String &value)
Definition: GetConsoleOutputResponse.h:101
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::GetConsoleOutputResponse
Definition: GetConsoleOutputResponse.h:30
Aws::EC2::Model::GetConsoleOutputResponse::GetOutput
const Aws::String & GetOutput() const
Definition: GetConsoleOutputResponse.h:77
Aws::EC2::Model::GetConsoleOutputResponse::SetOutput
void SetOutput(const Aws::String &value)
Definition: GetConsoleOutputResponse.h:83
Aws::EC2::Model::GetConsoleOutputResponse::WithInstanceId
GetConsoleOutputResponse & WithInstanceId(const Aws::String &value)
Definition: GetConsoleOutputResponse.h:60
Aws::EC2::Model::GetConsoleOutputResponse::GetTimestamp
const Aws::Utils::DateTime & GetTimestamp() const
Definition: GetConsoleOutputResponse.h:119
Aws::EC2::Model::GetConsoleOutputResponse::GetConsoleOutputResponse
GetConsoleOutputResponse()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetConsoleOutputResponse::WithInstanceId
GetConsoleOutputResponse & WithInstanceId(Aws::String &&value)
Definition: GetConsoleOutputResponse.h:65
Aws::EC2::Model::GetConsoleOutputResponse::operator=
GetConsoleOutputResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetConsoleOutputResponse::WithTimestamp
GetConsoleOutputResponse & WithTimestamp(Aws::Utils::DateTime &&value)
Definition: GetConsoleOutputResponse.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetConsoleOutputResponse::WithResponseMetadata
GetConsoleOutputResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetConsoleOutputResponse.h:155
Aws::EC2::Model::GetConsoleOutputResponse::GetConsoleOutputResponse
GetConsoleOutputResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetConsoleOutputResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetConsoleOutputResponse.h:146
Aws::EC2::Model::GetConsoleOutputResponse::SetTimestamp
void SetTimestamp(Aws::Utils::DateTime &&value)
Definition: GetConsoleOutputResponse.h:129
Aws::EC2::Model::GetConsoleOutputResponse::SetOutput
void SetOutput(Aws::String &&value)
Definition: GetConsoleOutputResponse.h:89
EC2_EXPORTS.h
Aws::EC2::Model::GetConsoleOutputResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetConsoleOutputResponse.h:149
Aws::EC2::Model::GetConsoleOutputResponse::SetOutput
void SetOutput(const char *value)
Definition: GetConsoleOutputResponse.h:95
Aws::EC2::Model::GetConsoleOutputResponse::WithInstanceId
GetConsoleOutputResponse & WithInstanceId(const char *value)
Definition: GetConsoleOutputResponse.h:70
Aws::EC2::Model::GetConsoleOutputResponse::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: GetConsoleOutputResponse.h:40