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>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename KeyPairT = KeyPair>
38 m_keyPairHasBeenSet =
true;
39 m_keyPair = std::forward<KeyPairT>(value);
41 template <
typename KeyPairT = KeyPair>
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_keyPairHasBeenSet =
false;
70 bool m_requestIdHasBeenSet =
false;
GetKeyPairResult & WithKeyPair(KeyPairT &&value)
AWS_LIGHTSAIL_API GetKeyPairResult()=default
GetKeyPairResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_LIGHTSAIL_API GetKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const KeyPair & GetKeyPair() const
void SetKeyPair(KeyPairT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LIGHTSAIL_API GetKeyPairResult(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