7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
38 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
40 m_plaintextHasBeenSet =
true;
41 m_plaintext = std::forward<PlaintextT>(value);
43 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
64 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
66 m_ciphertextForRecipientHasBeenSet =
true;
67 m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value);
69 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
96 bool m_plaintextHasBeenSet =
false;
97 bool m_ciphertextForRecipientHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
GenerateRandomResult & WithPlaintext(PlaintextT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::CryptoBuffer & GetPlaintext() 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