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;
56 inline void SetSourceKeyId(
const char* value) { m_sourceKeyId.assign(value); }
71 inline void SetKeyId(
const char* value) { m_keyId.assign(value); }
105 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
ReEncryptResult & WithSourceKeyId(const Aws::String &value)
ReEncryptResult & WithSourceEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
const Aws::Utils::ByteBuffer & GetCiphertextBlob() const
ReEncryptResult & WithCiphertextBlob(Aws::Utils::ByteBuffer &&value)
void SetKeyId(const char *value)
AWS_KMS_API ReEncryptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReEncryptResult & WithKeyId(Aws::String &&value)
void SetCiphertextBlob(Aws::Utils::ByteBuffer &&value)
void SetSourceKeyId(const Aws::String &value)
const Aws::String & GetRequestId() const
const EncryptionAlgorithmSpec & GetSourceEncryptionAlgorithm() const
ReEncryptResult & WithKeyId(const char *value)
ReEncryptResult & WithRequestId(Aws::String &&value)
AWS_KMS_API ReEncryptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReEncryptResult & WithRequestId(const char *value)
ReEncryptResult & WithSourceKeyId(const char *value)
const Aws::String & GetSourceKeyId() const
ReEncryptResult & WithRequestId(const Aws::String &value)
ReEncryptResult & WithKeyId(const Aws::String &value)
void SetDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
void SetSourceKeyId(Aws::String &&value)
ReEncryptResult & WithDestinationEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
AWS_KMS_API ReEncryptResult()
void SetRequestId(const char *value)
void SetDestinationEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
const EncryptionAlgorithmSpec & GetDestinationEncryptionAlgorithm() const
ReEncryptResult & WithSourceKeyId(Aws::String &&value)
void SetKeyId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetSourceKeyId(const char *value)
void SetKeyId(Aws::String &&value)
ReEncryptResult & WithSourceEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
ReEncryptResult & WithDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
void SetSourceEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
void SetCiphertextBlob(const Aws::Utils::ByteBuffer &value)
void SetSourceEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
ReEncryptResult & WithCiphertextBlob(const Aws::Utils::ByteBuffer &value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue