7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/KeyPair.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/Operation.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename KeyPairT = KeyPair>
44 void SetKeyPair(KeyPairT&& value) { m_keyPairHasBeenSet =
true; m_keyPair = std::forward<KeyPairT>(value); }
45 template<
typename KeyPairT = KeyPair>
54 template<
typename PublicKeyBase64T = Aws::String>
55 void SetPublicKeyBase64(PublicKeyBase64T&& value) { m_publicKeyBase64HasBeenSet =
true; m_publicKeyBase64 = std::forward<PublicKeyBase64T>(value); }
56 template<
typename PublicKeyBase64T = Aws::String>
65 template<
typename PrivateKeyBase64T = Aws::String>
66 void SetPrivateKeyBase64(PrivateKeyBase64T&& value) { m_privateKeyBase64HasBeenSet =
true; m_privateKeyBase64 = std::forward<PrivateKeyBase64T>(value); }
67 template<
typename PrivateKeyBase64T = Aws::String>
78 template<
typename OperationT = Operation>
79 void SetOperation(OperationT&& value) { m_operationHasBeenSet =
true; m_operation = std::forward<OperationT>(value); }
80 template<
typename OperationT = Operation>
87 template<
typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
89 template<
typename RequestIdT = Aws::String>
95 bool m_keyPairHasBeenSet =
false;
98 bool m_publicKeyBase64HasBeenSet =
false;
101 bool m_privateKeyBase64HasBeenSet =
false;
104 bool m_operationHasBeenSet =
false;
107 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