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>
11#include <aws/kms/model/EncryptionAlgorithmSpec.h>
16template <
typename RESULT_TYPE>
17class 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>
55 template <
typename SourceKeyIdT = Aws::String>
57 m_sourceKeyIdHasBeenSet =
true;
58 m_sourceKeyId = std::forward<SourceKeyIdT>(value);
60 template <
typename SourceKeyIdT = Aws::String>
74 template <
typename KeyIdT = Aws::String>
76 m_keyIdHasBeenSet =
true;
77 m_keyId = std::forward<KeyIdT>(value);
79 template <
typename KeyIdT = Aws::String>
81 SetKeyId(std::forward<KeyIdT>(value));
93 m_sourceEncryptionAlgorithmHasBeenSet =
true;
94 m_sourceEncryptionAlgorithm = value;
108 m_destinationEncryptionAlgorithmHasBeenSet =
true;
109 m_destinationEncryptionAlgorithm = value;
124 template <
typename SourceKeyMaterialIdT = Aws::String>
126 m_sourceKeyMaterialIdHasBeenSet =
true;
127 m_sourceKeyMaterialId = std::forward<SourceKeyMaterialIdT>(value);
129 template <
typename SourceKeyMaterialIdT = Aws::String>
142 template <
typename DestinationKeyMaterialIdT = Aws::String>
144 m_destinationKeyMaterialIdHasBeenSet =
true;
145 m_destinationKeyMaterialId = std::forward<DestinationKeyMaterialIdT>(value);
147 template <
typename DestinationKeyMaterialIdT = Aws::String>
157 template <
typename RequestIdT = Aws::String>
159 m_requestIdHasBeenSet =
true;
160 m_requestId = std::forward<RequestIdT>(value);
162 template <
typename RequestIdT = Aws::String>
187 bool m_ciphertextBlobHasBeenSet =
false;
188 bool m_sourceKeyIdHasBeenSet =
false;
189 bool m_keyIdHasBeenSet =
false;
190 bool m_sourceEncryptionAlgorithmHasBeenSet =
false;
191 bool m_destinationEncryptionAlgorithmHasBeenSet =
false;
192 bool m_sourceKeyMaterialIdHasBeenSet =
false;
193 bool m_destinationKeyMaterialIdHasBeenSet =
false;
194 bool m_requestIdHasBeenSet =
false;
EncryptionAlgorithmSpec GetDestinationEncryptionAlgorithm() const
const Aws::Utils::ByteBuffer & GetCiphertextBlob() const
const Aws::String & GetDestinationKeyMaterialId() const
void SetSourceKeyId(SourceKeyIdT &&value)
void SetDestinationKeyMaterialId(DestinationKeyMaterialIdT &&value)
ReEncryptResult & WithRequestId(RequestIdT &&value)
void SetCiphertextBlob(CiphertextBlobT &&value)
AWS_KMS_API ReEncryptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API ReEncryptResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ReEncryptResult & WithDestinationKeyMaterialId(DestinationKeyMaterialIdT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetSourceKeyMaterialId() const
ReEncryptResult & WithSourceKeyId(SourceKeyIdT &&value)
AWS_KMS_API ReEncryptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReEncryptResult & WithCiphertextBlob(CiphertextBlobT &&value)
const Aws::String & GetSourceKeyId() const
void SetSourceEncryptionAlgorithm(EncryptionAlgorithmSpec value)
ReEncryptResult & WithSourceEncryptionAlgorithm(EncryptionAlgorithmSpec value)
ReEncryptResult & WithKeyId(KeyIdT &&value)
EncryptionAlgorithmSpec GetSourceEncryptionAlgorithm() const
ReEncryptResult & WithSourceKeyMaterialId(SourceKeyMaterialIdT &&value)
ReEncryptResult & WithDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec value)
void SetDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec value)
void SetSourceKeyMaterialId(SourceKeyMaterialIdT &&value)
void SetKeyId(KeyIdT &&value)
const Aws::String & GetKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue