7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/KeyPair.h>
11#include <aws/lightsail/model/Operation.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename KeyPairT = KeyPair>
40 m_keyPairHasBeenSet =
true;
41 m_keyPair = std::forward<KeyPairT>(value);
43 template <
typename KeyPairT = KeyPair>
55 template <
typename PublicKeyBase64T = Aws::String>
57 m_publicKeyBase64HasBeenSet =
true;
58 m_publicKeyBase64 = std::forward<PublicKeyBase64T>(value);
60 template <
typename PublicKeyBase64T = Aws::String>
72 template <
typename PrivateKeyBase64T = Aws::String>
74 m_privateKeyBase64HasBeenSet =
true;
75 m_privateKeyBase64 = std::forward<PrivateKeyBase64T>(value);
77 template <
typename PrivateKeyBase64T = Aws::String>
91 template <
typename OperationT = Operation>
93 m_operationHasBeenSet =
true;
94 m_operation = std::forward<OperationT>(value);
96 template <
typename OperationT = Operation>
106 template <
typename RequestIdT = Aws::String>
108 m_requestIdHasBeenSet =
true;
109 m_requestId = std::forward<RequestIdT>(value);
111 template <
typename RequestIdT = Aws::String>
130 bool m_keyPairHasBeenSet =
false;
131 bool m_publicKeyBase64HasBeenSet =
false;
132 bool m_privateKeyBase64HasBeenSet =
false;
133 bool m_operationHasBeenSet =
false;
134 bool m_requestIdHasBeenSet =
false;
const Operation & GetOperation() const
AWS_LIGHTSAIL_API CreateKeyPairResult()=default
const Aws::String & GetPrivateKeyBase64() const
void SetRequestId(RequestIdT &&value)
CreateKeyPairResult & WithPrivateKeyBase64(PrivateKeyBase64T &&value)
CreateKeyPairResult & WithRequestId(RequestIdT &&value)
void SetPublicKeyBase64(PublicKeyBase64T &&value)
const KeyPair & GetKeyPair() const
AWS_LIGHTSAIL_API CreateKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKeyPairResult & WithOperation(OperationT &&value)
const Aws::String & GetPublicKeyBase64() const
void SetOperation(OperationT &&value)
void SetPrivateKeyBase64(PrivateKeyBase64T &&value)
CreateKeyPairResult & WithPublicKeyBase64(PublicKeyBase64T &&value)
CreateKeyPairResult & WithKeyPair(KeyPairT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LIGHTSAIL_API CreateKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKeyPair(KeyPairT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue