7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
44 template<
typename Pla
intextT = Aws::Utils::CryptoBuffer>
45 void SetPlaintext(PlaintextT&& value) { m_plaintextHasBeenSet =
true; m_plaintext = std::forward<PlaintextT>(value); }
46 template<
typename Pla
intextT = Aws::Utils::CryptoBuffer>
63 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
64 void SetCiphertextForRecipient(CiphertextForRecipientT&& value) { m_ciphertextForRecipientHasBeenSet =
true; m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value); }
65 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
72 template<
typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
74 template<
typename RequestIdT = Aws::String>
80 bool m_plaintextHasBeenSet =
false;
83 bool m_ciphertextForRecipientHasBeenSet =
false;
86 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