7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/KeyPair.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename KeyPairT = KeyPair>
37 m_keyPairHasBeenSet =
true;
38 m_keyPair = std::forward<KeyPairT>(value);
40 template <
typename KeyPairT = KeyPair>
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
63 bool m_keyPairHasBeenSet =
false;
66 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_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