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;
38 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
40 m_ciphertextBlobHasBeenSet =
true;
41 m_ciphertextBlob = std::forward<CiphertextBlobT>(value);
43 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
60 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
62 m_plaintextHasBeenSet =
true;
63 m_plaintext = std::forward<PlaintextT>(value);
65 template <
typename Pla
intextT = Aws::Utils::CryptoBuffer>
79 template <
typename KeyIdT = Aws::String>
81 m_keyIdHasBeenSet =
true;
82 m_keyId = std::forward<KeyIdT>(value);
84 template <
typename KeyIdT = Aws::String>
86 SetKeyId(std::forward<KeyIdT>(value));
105 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
107 m_ciphertextForRecipientHasBeenSet =
true;
108 m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value);
110 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
123 template <
typename KeyMaterialIdT = Aws::String>
125 m_keyMaterialIdHasBeenSet =
true;
126 m_keyMaterialId = std::forward<KeyMaterialIdT>(value);
128 template <
typename KeyMaterialIdT = Aws::String>
138 template <
typename RequestIdT = Aws::String>
140 m_requestIdHasBeenSet =
true;
141 m_requestId = std::forward<RequestIdT>(value);
143 template <
typename RequestIdT = Aws::String>
164 bool m_ciphertextBlobHasBeenSet =
false;
165 bool m_plaintextHasBeenSet =
false;
166 bool m_keyIdHasBeenSet =
false;
167 bool m_ciphertextForRecipientHasBeenSet =
false;
168 bool m_keyMaterialIdHasBeenSet =
false;
169 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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