7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/kms/model/EncryptionAlgorithmSpec.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
108 inline void SetSourceKeyId(
const char* value) { m_sourceKeyIdHasBeenSet =
true; m_sourceKeyId.assign(value); }
136 inline void SetDestinationKeyId(
const char* value) { m_destinationKeyIdHasBeenSet =
true; m_destinationKeyId.assign(value); }
239 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
245 bool m_ciphertextBlobHasBeenSet =
false;
248 bool m_sourceEncryptionContextHasBeenSet =
false;
251 bool m_sourceKeyIdHasBeenSet =
false;
254 bool m_destinationKeyIdHasBeenSet =
false;
257 bool m_destinationEncryptionContextHasBeenSet =
false;
260 bool m_sourceEncryptionAlgorithmHasBeenSet =
false;
263 bool m_destinationEncryptionAlgorithmHasBeenSet =
false;
266 bool m_grantTokensHasBeenSet =
false;
269 bool m_dryRunHasBeenSet =
false;
bool DestinationEncryptionAlgorithmHasBeenSet() const
ReEncryptRequest & WithCiphertextBlob(const Aws::Utils::ByteBuffer &value)
ReEncryptRequest & AddSourceEncryptionContext(Aws::String &&key, const Aws::String &value)
ReEncryptRequest & WithSourceEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
const EncryptionAlgorithmSpec & GetDestinationEncryptionAlgorithm() const
ReEncryptRequest & AddGrantTokens(const Aws::String &value)
ReEncryptRequest & WithSourceKeyId(Aws::String &&value)
AWS_KMS_API ReEncryptRequest()
ReEncryptRequest & WithSourceEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
bool DryRunHasBeenSet() const
void SetCiphertextBlob(Aws::Utils::ByteBuffer &&value)
void SetDestinationKeyId(Aws::String &&value)
void SetDestinationKeyId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool DestinationEncryptionContextHasBeenSet() const
ReEncryptRequest & AddDestinationEncryptionContext(Aws::String &&key, Aws::String &&value)
void SetSourceKeyId(Aws::String &&value)
bool CiphertextBlobHasBeenSet() const
ReEncryptRequest & AddSourceEncryptionContext(const char *key, const char *value)
ReEncryptRequest & AddGrantTokens(const char *value)
ReEncryptRequest & WithDryRun(bool value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
const EncryptionAlgorithmSpec & GetSourceEncryptionAlgorithm() const
void SetDestinationEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
void SetDestinationEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
bool SourceEncryptionContextHasBeenSet() const
ReEncryptRequest & AddSourceEncryptionContext(const char *key, Aws::String &&value)
ReEncryptRequest & WithDestinationKeyId(Aws::String &&value)
ReEncryptRequest & AddSourceEncryptionContext(const Aws::String &key, Aws::String &&value)
bool DestinationKeyIdHasBeenSet() const
void SetDryRun(bool value)
void SetCiphertextBlob(const Aws::Utils::ByteBuffer &value)
const Aws::String & GetSourceKeyId() const
ReEncryptRequest & WithDestinationKeyId(const Aws::String &value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ReEncryptRequest & WithDestinationKeyId(const char *value)
ReEncryptRequest & WithCiphertextBlob(Aws::Utils::ByteBuffer &&value)
ReEncryptRequest & WithSourceEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
const Aws::String & GetDestinationKeyId() const
void SetDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
ReEncryptRequest & AddDestinationEncryptionContext(Aws::String &&key, const char *value)
ReEncryptRequest & WithSourceKeyId(const char *value)
bool GrantTokensHasBeenSet() const
ReEncryptRequest & AddDestinationEncryptionContext(const Aws::String &key, Aws::String &&value)
ReEncryptRequest & AddDestinationEncryptionContext(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetDestinationEncryptionContext() const
const Aws::Map< Aws::String, Aws::String > & GetSourceEncryptionContext() const
ReEncryptRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
void SetSourceEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
ReEncryptRequest & AddSourceEncryptionContext(Aws::String &&key, const char *value)
void SetSourceKeyId(const Aws::String &value)
void SetSourceEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinationEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
ReEncryptRequest & AddDestinationEncryptionContext(const char *key, Aws::String &&value)
ReEncryptRequest & WithSourceEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
ReEncryptRequest & WithDestinationEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
ReEncryptRequest & AddSourceEncryptionContext(const Aws::String &key, const Aws::String &value)
AWS_KMS_API Aws::String SerializePayload() const override
void SetSourceKeyId(const char *value)
ReEncryptRequest & WithDestinationEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
ReEncryptRequest & AddSourceEncryptionContext(Aws::String &&key, Aws::String &&value)
ReEncryptRequest & WithDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
void SetDestinationKeyId(const char *value)
bool SourceEncryptionAlgorithmHasBeenSet() const
const Aws::Utils::ByteBuffer & GetCiphertextBlob() const
bool SourceKeyIdHasBeenSet() const
void SetSourceEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
ReEncryptRequest & AddDestinationEncryptionContext(Aws::String &&key, const Aws::String &value)
ReEncryptRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
ReEncryptRequest & AddDestinationEncryptionContext(const Aws::String &key, const Aws::String &value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
ReEncryptRequest & WithSourceKeyId(const Aws::String &value)
void SetSourceEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
ReEncryptRequest & WithDestinationEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
ReEncryptRequest & AddGrantTokens(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector