7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/EncryptionAlgorithmSpec.h>
15template<
typename RESULT_TYPE>
16class 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>
54 template<
typename SourceKeyIdT = Aws::String>
55 void SetSourceKeyId(SourceKeyIdT&& value) { m_sourceKeyIdHasBeenSet =
true; m_sourceKeyId = std::forward<SourceKeyIdT>(value); }
56 template<
typename SourceKeyIdT = Aws::String>
67 template<
typename KeyIdT = Aws::String>
68 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
69 template<
typename KeyIdT = Aws::String>
99 template<
typename SourceKeyMaterialIdT = Aws::String>
100 void SetSourceKeyMaterialId(SourceKeyMaterialIdT&& value) { m_sourceKeyMaterialIdHasBeenSet =
true; m_sourceKeyMaterialId = std::forward<SourceKeyMaterialIdT>(value); }
101 template<
typename SourceKeyMaterialIdT = Aws::String>
111 template<
typename DestinationKeyMaterialIdT = Aws::String>
112 void SetDestinationKeyMaterialId(DestinationKeyMaterialIdT&& value) { m_destinationKeyMaterialIdHasBeenSet =
true; m_destinationKeyMaterialId = std::forward<DestinationKeyMaterialIdT>(value); }
113 template<
typename DestinationKeyMaterialIdT = Aws::String>
120 template<
typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
122 template<
typename RequestIdT = Aws::String>
128 bool m_ciphertextBlobHasBeenSet =
false;
131 bool m_sourceKeyIdHasBeenSet =
false;
134 bool m_keyIdHasBeenSet =
false;
137 bool m_sourceEncryptionAlgorithmHasBeenSet =
false;
140 bool m_destinationEncryptionAlgorithmHasBeenSet =
false;
143 bool m_sourceKeyMaterialIdHasBeenSet =
false;
146 bool m_destinationKeyMaterialIdHasBeenSet =
false;
149 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