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;
43 template<
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
44 void SetCiphertextBlob(CiphertextBlobT&& value) { m_ciphertextBlobHasBeenSet =
true; m_ciphertextBlob = std::forward<CiphertextBlobT>(value); }
45 template<
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
59 template<
typename Pla
intextT = Aws::Utils::CryptoBuffer>
60 void SetPlaintext(PlaintextT&& value) { m_plaintextHasBeenSet =
true; m_plaintext = std::forward<PlaintextT>(value); }
61 template<
typename Pla
intextT = Aws::Utils::CryptoBuffer>
72 template<
typename KeyIdT = Aws::String>
73 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
74 template<
typename KeyIdT = Aws::String>
91 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
92 void SetCiphertextForRecipient(CiphertextForRecipientT&& value) { m_ciphertextForRecipientHasBeenSet =
true; m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value); }
93 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
103 template<
typename KeyMaterialIdT = Aws::String>
104 void SetKeyMaterialId(KeyMaterialIdT&& value) { m_keyMaterialIdHasBeenSet =
true; m_keyMaterialId = std::forward<KeyMaterialIdT>(value); }
105 template<
typename KeyMaterialIdT = Aws::String>
112 template<
typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
114 template<
typename RequestIdT = Aws::String>
120 bool m_ciphertextBlobHasBeenSet =
false;
123 bool m_plaintextHasBeenSet =
false;
126 bool m_keyIdHasBeenSet =
false;
129 bool m_ciphertextForRecipientHasBeenSet =
false;
132 bool m_keyMaterialIdHasBeenSet =
false;
135 bool m_requestIdHasBeenSet =
false;
GenerateDataKeyResult & WithKeyId(KeyIdT &&value)
void SetCiphertextForRecipient(CiphertextForRecipientT &&value)
AWS_KMS_API GenerateDataKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API GenerateDataKeyResult()=default
void SetKeyMaterialId(KeyMaterialIdT &&value)
const Aws::String & GetRequestId() const
void SetPlaintext(PlaintextT &&value)
void SetRequestId(RequestIdT &&value)
GenerateDataKeyResult & WithPlaintext(PlaintextT &&value)
const Aws::Utils::ByteBuffer & GetCiphertextForRecipient() const
void SetCiphertextBlob(CiphertextBlobT &&value)
GenerateDataKeyResult & WithCiphertextBlob(CiphertextBlobT &&value)
AWS_KMS_API GenerateDataKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetKeyMaterialId() const
const Aws::Utils::ByteBuffer & GetCiphertextBlob() const
GenerateDataKeyResult & WithCiphertextForRecipient(CiphertextForRecipientT &&value)
GenerateDataKeyResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::CryptoBuffer & GetPlaintext() const
void SetKeyId(KeyIdT &&value)
GenerateDataKeyResult & WithKeyMaterialId(KeyMaterialIdT &&value)
const Aws::String & GetKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue