AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetConsoleOutputResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
43 inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
44 inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
45 inline GetConsoleOutputResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
46 inline GetConsoleOutputResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
47 inline GetConsoleOutputResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
55 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestamp = value; }
56 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestamp = std::move(value); }
57 inline GetConsoleOutputResponse& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
58 inline GetConsoleOutputResponse& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
60
62
66 inline const Aws::String& GetOutput() const{ return m_output; }
67 inline void SetOutput(const Aws::String& value) { m_output = value; }
68 inline void SetOutput(Aws::String&& value) { m_output = std::move(value); }
69 inline void SetOutput(const char* value) { m_output.assign(value); }
70 inline GetConsoleOutputResponse& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
71 inline GetConsoleOutputResponse& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
72 inline GetConsoleOutputResponse& WithOutput(const char* value) { SetOutput(value); return *this;}
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
78 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
79 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
81 inline GetConsoleOutputResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_instanceId;
86
87 Aws::Utils::DateTime m_timestamp;
88
89 Aws::String m_output;
90
91 ResponseMetadata m_responseMetadata;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // namespace Aws
GetConsoleOutputResponse & WithResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
GetConsoleOutputResponse & WithOutput(const char *value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetTimestamp(const Aws::Utils::DateTime &value)
GetConsoleOutputResponse & WithInstanceId(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
GetConsoleOutputResponse & WithInstanceId(const char *value)
GetConsoleOutputResponse & WithInstanceId(Aws::String &&value)
AWS_EC2_API GetConsoleOutputResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetConsoleOutputResponse & WithResponseMetadata(ResponseMetadata &&value)
GetConsoleOutputResponse & WithOutput(const Aws::String &value)
AWS_EC2_API GetConsoleOutputResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetConsoleOutputResponse & WithOutput(Aws::String &&value)
GetConsoleOutputResponse & WithTimestamp(Aws::Utils::DateTime &&value)
void SetResponseMetadata(ResponseMetadata &&value)
GetConsoleOutputResponse & WithTimestamp(const Aws::Utils::DateTime &value)
void SetTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument