AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetPublicKeyBase64() const { return m_publicKeyBase64; }
41 template<typename PublicKeyBase64T = Aws::String>
42 void SetPublicKeyBase64(PublicKeyBase64T&& value) { m_publicKeyBase64HasBeenSet = true; m_publicKeyBase64 = std::forward<PublicKeyBase64T>(value); }
43 template<typename PublicKeyBase64T = Aws::String>
44 DownloadDefaultKeyPairResult& WithPublicKeyBase64(PublicKeyBase64T&& value) { SetPublicKeyBase64(std::forward<PublicKeyBase64T>(value)); return *this;}
46
48
51 inline const Aws::String& GetPrivateKeyBase64() const { return m_privateKeyBase64; }
52 template<typename PrivateKeyBase64T = Aws::String>
53 void SetPrivateKeyBase64(PrivateKeyBase64T&& value) { m_privateKeyBase64HasBeenSet = true; m_privateKeyBase64 = std::forward<PrivateKeyBase64T>(value); }
54 template<typename PrivateKeyBase64T = Aws::String>
55 DownloadDefaultKeyPairResult& WithPrivateKeyBase64(PrivateKeyBase64T&& value) { SetPrivateKeyBase64(std::forward<PrivateKeyBase64T>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 DownloadDefaultKeyPairResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 DownloadDefaultKeyPairResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_publicKeyBase64;
80 bool m_publicKeyBase64HasBeenSet = false;
81
82 Aws::String m_privateKeyBase64;
83 bool m_privateKeyBase64HasBeenSet = false;
84
85 Aws::Utils::DateTime m_createdAt{};
86 bool m_createdAtHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Lightsail
94} // namespace Aws
DownloadDefaultKeyPairResult & WithPublicKeyBase64(PublicKeyBase64T &&value)
AWS_LIGHTSAIL_API DownloadDefaultKeyPairResult()=default
AWS_LIGHTSAIL_API DownloadDefaultKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DownloadDefaultKeyPairResult & WithPrivateKeyBase64(PrivateKeyBase64T &&value)
DownloadDefaultKeyPairResult & WithCreatedAt(CreatedAtT &&value)
DownloadDefaultKeyPairResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API DownloadDefaultKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue