7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
10#include <aws/kms/model/EncryptionAlgorithmSpec.h>
15template <
typename RESULT_TYPE>
16class 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>
54 template <
typename SourceKeyIdT = Aws::String>
56 m_sourceKeyIdHasBeenSet =
true;
57 m_sourceKeyId = std::forward<SourceKeyIdT>(value);
59 template <
typename SourceKeyIdT = Aws::String>
73 template <
typename KeyIdT = Aws::String>
75 m_keyIdHasBeenSet =
true;
76 m_keyId = std::forward<KeyIdT>(value);
78 template <
typename KeyIdT = Aws::String>
80 SetKeyId(std::forward<KeyIdT>(value));
92 m_sourceEncryptionAlgorithmHasBeenSet =
true;
93 m_sourceEncryptionAlgorithm = value;
107 m_destinationEncryptionAlgorithmHasBeenSet =
true;
108 m_destinationEncryptionAlgorithm = value;
123 template <
typename SourceKeyMaterialIdT = Aws::String>
125 m_sourceKeyMaterialIdHasBeenSet =
true;
126 m_sourceKeyMaterialId = std::forward<SourceKeyMaterialIdT>(value);
128 template <
typename SourceKeyMaterialIdT = Aws::String>
141 template <
typename DestinationKeyMaterialIdT = Aws::String>
143 m_destinationKeyMaterialIdHasBeenSet =
true;
144 m_destinationKeyMaterialId = std::forward<DestinationKeyMaterialIdT>(value);
146 template <
typename DestinationKeyMaterialIdT = Aws::String>
156 template <
typename RequestIdT = Aws::String>
158 m_requestIdHasBeenSet =
true;
159 m_requestId = std::forward<RequestIdT>(value);
161 template <
typename RequestIdT = Aws::String>
183 bool m_ciphertextBlobHasBeenSet =
false;
184 bool m_sourceKeyIdHasBeenSet =
false;
185 bool m_keyIdHasBeenSet =
false;
186 bool m_sourceEncryptionAlgorithmHasBeenSet =
false;
187 bool m_destinationEncryptionAlgorithmHasBeenSet =
false;
188 bool m_sourceKeyMaterialIdHasBeenSet =
false;
189 bool m_destinationKeyMaterialIdHasBeenSet =
false;
190 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
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