AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPasswordDataResponse.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 GetPasswordDataResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
46 inline GetPasswordDataResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
47 inline GetPasswordDataResponse& 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 GetPasswordDataResponse& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
58 inline GetPasswordDataResponse& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
60
62
66 inline const Aws::String& GetPasswordData() const{ return m_passwordData; }
67 inline void SetPasswordData(const Aws::String& value) { m_passwordData = value; }
68 inline void SetPasswordData(Aws::String&& value) { m_passwordData = std::move(value); }
69 inline void SetPasswordData(const char* value) { m_passwordData.assign(value); }
70 inline GetPasswordDataResponse& WithPasswordData(const Aws::String& value) { SetPasswordData(value); return *this;}
71 inline GetPasswordDataResponse& WithPasswordData(Aws::String&& value) { SetPasswordData(std::move(value)); return *this;}
72 inline GetPasswordDataResponse& WithPasswordData(const char* value) { SetPasswordData(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 GetPasswordDataResponse& 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_passwordData;
90
91 ResponseMetadata m_responseMetadata;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // namespace Aws
GetPasswordDataResponse & WithTimestamp(Aws::Utils::DateTime &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API GetPasswordDataResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPasswordDataResponse & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_EC2_API GetPasswordDataResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPasswordDataResponse & WithInstanceId(Aws::String &&value)
void SetPasswordData(const Aws::String &value)
GetPasswordDataResponse & WithResponseMetadata(const ResponseMetadata &value)
GetPasswordDataResponse & WithPasswordData(const char *value)
GetPasswordDataResponse & WithTimestamp(const Aws::Utils::DateTime &value)
void SetTimestamp(Aws::Utils::DateTime &&value)
GetPasswordDataResponse & WithPasswordData(const Aws::String &value)
GetPasswordDataResponse & WithPasswordData(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
GetPasswordDataResponse & WithInstanceId(const char *value)
void SetTimestamp(const Aws::Utils::DateTime &value)
GetPasswordDataResponse & WithInstanceId(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument