AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DownloadDefaultKeyPairResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LIGHTSAIL_API DownloadDefaultKeyPairResult();
34
35
37
40 inline const Aws::String& GetPublicKeyBase64() const{ return m_publicKeyBase64; }
41 inline void SetPublicKeyBase64(const Aws::String& value) { m_publicKeyBase64 = value; }
42 inline void SetPublicKeyBase64(Aws::String&& value) { m_publicKeyBase64 = std::move(value); }
43 inline void SetPublicKeyBase64(const char* value) { m_publicKeyBase64.assign(value); }
45 inline DownloadDefaultKeyPairResult& WithPublicKeyBase64(Aws::String&& value) { SetPublicKeyBase64(std::move(value)); return *this;}
46 inline DownloadDefaultKeyPairResult& WithPublicKeyBase64(const char* value) { SetPublicKeyBase64(value); return *this;}
48
50
53 inline const Aws::String& GetPrivateKeyBase64() const{ return m_privateKeyBase64; }
54 inline void SetPrivateKeyBase64(const Aws::String& value) { m_privateKeyBase64 = value; }
55 inline void SetPrivateKeyBase64(Aws::String&& value) { m_privateKeyBase64 = std::move(value); }
56 inline void SetPrivateKeyBase64(const char* value) { m_privateKeyBase64.assign(value); }
58 inline DownloadDefaultKeyPairResult& WithPrivateKeyBase64(Aws::String&& value) { SetPrivateKeyBase64(std::move(value)); return *this;}
59 inline DownloadDefaultKeyPairResult& WithPrivateKeyBase64(const char* value) { SetPrivateKeyBase64(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
69 inline DownloadDefaultKeyPairResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline DownloadDefaultKeyPairResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DownloadDefaultKeyPairResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DownloadDefaultKeyPairResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DownloadDefaultKeyPairResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_publicKeyBase64;
86
87 Aws::String m_privateKeyBase64;
88
89 Aws::Utils::DateTime m_createdAt;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Lightsail
96} // namespace Aws
DownloadDefaultKeyPairResult & WithRequestId(const char *value)
DownloadDefaultKeyPairResult & WithPrivateKeyBase64(const Aws::String &value)
DownloadDefaultKeyPairResult & WithPrivateKeyBase64(const char *value)
DownloadDefaultKeyPairResult & WithPrivateKeyBase64(Aws::String &&value)
DownloadDefaultKeyPairResult & WithPublicKeyBase64(Aws::String &&value)
DownloadDefaultKeyPairResult & WithPublicKeyBase64(const Aws::String &value)
DownloadDefaultKeyPairResult & WithRequestId(Aws::String &&value)
AWS_LIGHTSAIL_API DownloadDefaultKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DownloadDefaultKeyPairResult & WithCreatedAt(const Aws::Utils::DateTime &value)
DownloadDefaultKeyPairResult & WithRequestId(const Aws::String &value)
DownloadDefaultKeyPairResult & WithPublicKeyBase64(const char *value)
AWS_LIGHTSAIL_API DownloadDefaultKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DownloadDefaultKeyPairResult & WithCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue