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;
37 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
39 m_ciphertextBlobHasBeenSet =
true;
40 m_ciphertextBlob = std::forward<CiphertextBlobT>(value);
42 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
59 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
61 m_plaintextHasBeenSet =
true;
62 m_plaintext = std::forward<PlaintextT>(value);
64 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
78 template <
typename KeyIdT = Aws::String>
80 m_keyIdHasBeenSet =
true;
81 m_keyId = std::forward<KeyIdT>(value);
83 template <
typename KeyIdT = Aws::String>
85 SetKeyId(std::forward<KeyIdT>(value));
104 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
106 m_ciphertextForRecipientHasBeenSet =
true;
107 m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value);
109 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
122 template <
typename KeyMaterialIdT = Aws::String>
124 m_keyMaterialIdHasBeenSet =
true;
125 m_keyMaterialId = std::forward<KeyMaterialIdT>(value);
127 template <
typename KeyMaterialIdT = Aws::String>
137 template <
typename RequestIdT = Aws::String>
139 m_requestIdHasBeenSet =
true;
140 m_requestId = std::forward<RequestIdT>(value);
142 template <
typename RequestIdT = Aws::String>
160 bool m_ciphertextBlobHasBeenSet =
false;
161 bool m_plaintextHasBeenSet =
false;
162 bool m_keyIdHasBeenSet =
false;
163 bool m_ciphertextForRecipientHasBeenSet =
false;
164 bool m_keyMaterialIdHasBeenSet =
false;
165 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