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;
93 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Operation & GetOperation() const
AWS_LIGHTSAIL_API CreateKeyPairResult()
CreateKeyPairResult & WithKeyPair(const KeyPair &value)
CreateKeyPairResult & WithPublicKeyBase64(const char *value)
CreateKeyPairResult & WithPublicKeyBase64(const Aws::String &value)
const Aws::String & GetPrivateKeyBase64() const
CreateKeyPairResult & WithPrivateKeyBase64(const char *value)
CreateKeyPairResult & WithRequestId(const char *value)
const KeyPair & GetKeyPair() const
CreateKeyPairResult & WithOperation(const Operation &value)
void SetOperation(Operation &&value)
CreateKeyPairResult & WithPrivateKeyBase64(Aws::String &&value)
void SetPrivateKeyBase64(const Aws::String &value)
void SetPublicKeyBase64(const char *value)
CreateKeyPairResult & WithRequestId(Aws::String &&value)
void SetPublicKeyBase64(const Aws::String &value)
AWS_LIGHTSAIL_API CreateKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
const Aws::String & GetPublicKeyBase64() const
CreateKeyPairResult & WithPrivateKeyBase64(const Aws::String &value)
CreateKeyPairResult & WithOperation(Operation &&value)
CreateKeyPairResult & WithKeyPair(KeyPair &&value)
void SetOperation(const Operation &value)
void SetRequestId(Aws::String &&value)
void SetPrivateKeyBase64(const char *value)
void SetKeyPair(KeyPair &&value)
void SetRequestId(const char *value)
void SetKeyPair(const KeyPair &value)
CreateKeyPairResult & WithRequestId(const Aws::String &value)
AWS_LIGHTSAIL_API CreateKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetPublicKeyBase64(Aws::String &&value)
void SetPrivateKeyBase64(Aws::String &&value)
CreateKeyPairResult & WithPublicKeyBase64(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue