7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/KeyPair.h>
10#include <aws/lightsail/model/Operation.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename KeyPairT = KeyPair>
39 m_keyPairHasBeenSet =
true;
40 m_keyPair = std::forward<KeyPairT>(value);
42 template <
typename KeyPairT = KeyPair>
54 template <
typename PublicKeyBase64T = Aws::String>
56 m_publicKeyBase64HasBeenSet =
true;
57 m_publicKeyBase64 = std::forward<PublicKeyBase64T>(value);
59 template <
typename PublicKeyBase64T = Aws::String>
71 template <
typename PrivateKeyBase64T = Aws::String>
73 m_privateKeyBase64HasBeenSet =
true;
74 m_privateKeyBase64 = std::forward<PrivateKeyBase64T>(value);
76 template <
typename PrivateKeyBase64T = Aws::String>
90 template <
typename OperationT = Operation>
92 m_operationHasBeenSet =
true;
93 m_operation = std::forward<OperationT>(value);
95 template <
typename OperationT = Operation>
105 template <
typename RequestIdT = Aws::String>
107 m_requestIdHasBeenSet =
true;
108 m_requestId = std::forward<RequestIdT>(value);
110 template <
typename RequestIdT = Aws::String>
118 bool m_keyPairHasBeenSet =
false;
121 bool m_publicKeyBase64HasBeenSet =
false;
124 bool m_privateKeyBase64HasBeenSet =
false;
127 bool m_operationHasBeenSet =
false;
130 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_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