AWS SDK for C++  1.9.66
AWS SDK for C++
GetPasswordDataResponse.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 GetPasswordDataResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
61 
65  inline GetPasswordDataResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
66 
70  inline GetPasswordDataResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
71 
72 
77  inline const Aws::String& GetPasswordData() const{ return m_passwordData; }
78 
83  inline void SetPasswordData(const Aws::String& value) { m_passwordData = value; }
84 
89  inline void SetPasswordData(Aws::String&& value) { m_passwordData = std::move(value); }
90 
95  inline void SetPasswordData(const char* value) { m_passwordData.assign(value); }
96 
101  inline GetPasswordDataResponse& WithPasswordData(const Aws::String& value) { SetPasswordData(value); return *this;}
102 
107  inline GetPasswordDataResponse& WithPasswordData(Aws::String&& value) { SetPasswordData(std::move(value)); return *this;}
108 
113  inline GetPasswordDataResponse& WithPasswordData(const char* value) { SetPasswordData(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 GetPasswordDataResponse& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
135 
139  inline GetPasswordDataResponse& 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 GetPasswordDataResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
153 
154 
155  inline GetPasswordDataResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
156 
157  private:
158 
159  Aws::String m_instanceId;
160 
161  Aws::String m_passwordData;
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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::GetPasswordDataResponse::SetTimestamp
void SetTimestamp(const Aws::Utils::DateTime &value)
Definition: GetPasswordDataResponse.h:124
DateTime.h
Aws::EC2::Model::GetPasswordDataResponse::WithPasswordData
GetPasswordDataResponse & WithPasswordData(Aws::String &&value)
Definition: GetPasswordDataResponse.h:107
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::GetPasswordDataResponse::operator=
GetPasswordDataResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetPasswordDataResponse::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: GetPasswordDataResponse.h:50
Aws::EC2::Model::GetPasswordDataResponse::GetPasswordData
const Aws::String & GetPasswordData() const
Definition: GetPasswordDataResponse.h:77
Aws::EC2::Model::GetPasswordDataResponse::SetPasswordData
void SetPasswordData(const Aws::String &value)
Definition: GetPasswordDataResponse.h:83
Aws::EC2::Model::GetPasswordDataResponse::GetPasswordDataResponse
GetPasswordDataResponse()
Aws::EC2::Model::GetPasswordDataResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetPasswordDataResponse.h:146
Aws::EC2::Model::GetPasswordDataResponse::GetTimestamp
const Aws::Utils::DateTime & GetTimestamp() const
Definition: GetPasswordDataResponse.h:119
Aws::EC2::Model::GetPasswordDataResponse::WithTimestamp
GetPasswordDataResponse & WithTimestamp(const Aws::Utils::DateTime &value)
Definition: GetPasswordDataResponse.h:134
Aws::EC2::Model::GetPasswordDataResponse::WithInstanceId
GetPasswordDataResponse & WithInstanceId(const Aws::String &value)
Definition: GetPasswordDataResponse.h:60
Aws::EC2::Model::GetPasswordDataResponse::WithPasswordData
GetPasswordDataResponse & WithPasswordData(const char *value)
Definition: GetPasswordDataResponse.h:113
Aws::EC2::Model::GetPasswordDataResponse::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: GetPasswordDataResponse.h:45
Aws::EC2::Model::GetPasswordDataResponse::WithInstanceId
GetPasswordDataResponse & WithInstanceId(const char *value)
Definition: GetPasswordDataResponse.h:70
Aws::EC2::Model::GetPasswordDataResponse::WithPasswordData
GetPasswordDataResponse & WithPasswordData(const Aws::String &value)
Definition: GetPasswordDataResponse.h:101
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::GetPasswordDataResponse::WithInstanceId
GetPasswordDataResponse & WithInstanceId(Aws::String &&value)
Definition: GetPasswordDataResponse.h:65
AWSString.h
Aws::EC2::Model::GetPasswordDataResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetPasswordDataResponse.h:143
Aws::EC2::Model::GetPasswordDataResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetPasswordDataResponse.h:149
Aws::EC2::Model::GetPasswordDataResponse::SetPasswordData
void SetPasswordData(const char *value)
Definition: GetPasswordDataResponse.h:95
Aws::EC2::Model::GetPasswordDataResponse::WithResponseMetadata
GetPasswordDataResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetPasswordDataResponse.h:152
Aws::EC2::Model::GetPasswordDataResponse
Definition: GetPasswordDataResponse.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetPasswordDataResponse::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: GetPasswordDataResponse.h:40
Aws::EC2::Model::GetPasswordDataResponse::SetInstanceId
void SetInstanceId(const char *value)
Definition: GetPasswordDataResponse.h:55
Aws::EC2::Model::GetPasswordDataResponse::WithResponseMetadata
GetPasswordDataResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetPasswordDataResponse.h:155
Aws::EC2::Model::GetPasswordDataResponse::GetPasswordDataResponse
GetPasswordDataResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetPasswordDataResponse::SetTimestamp
void SetTimestamp(Aws::Utils::DateTime &&value)
Definition: GetPasswordDataResponse.h:129
EC2_EXPORTS.h
Aws::EC2::Model::GetPasswordDataResponse::SetPasswordData
void SetPasswordData(Aws::String &&value)
Definition: GetPasswordDataResponse.h:89
Aws::EC2::Model::GetPasswordDataResponse::WithTimestamp
GetPasswordDataResponse & WithTimestamp(Aws::Utils::DateTime &&value)
Definition: GetPasswordDataResponse.h:139