7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/KMS_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
39 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
41 m_plaintextHasBeenSet =
true;
42 m_plaintext = std::forward<PlaintextT>(value);
44 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
65 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
67 m_ciphertextForRecipientHasBeenSet =
true;
68 m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value);
70 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_plaintextHasBeenSet =
false;
101 bool m_ciphertextForRecipientHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
GenerateRandomResult & WithPlaintext(PlaintextT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::CryptoBuffer & GetPlaintext() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
void SetCiphertextForRecipient(CiphertextForRecipientT &&value)
const Aws::Utils::ByteBuffer & GetCiphertextForRecipient() const
AWS_KMS_API GenerateRandomResult()=default
AWS_KMS_API GenerateRandomResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateRandomResult & WithRequestId(RequestIdT &&value)
GenerateRandomResult & WithCiphertextForRecipient(CiphertextForRecipientT &&value)
void SetPlaintext(PlaintextT &&value)
AWS_KMS_API GenerateRandomResult(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