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/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/kms/model/EncryptionAlgorithmSpec.h>
14#include <aws/kms/model/RecipientInfo.h>
133 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
196 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
202 bool m_ciphertextBlobHasBeenSet =
false;
205 bool m_encryptionContextHasBeenSet =
false;
208 bool m_grantTokensHasBeenSet =
false;
211 bool m_keyIdHasBeenSet =
false;
214 bool m_encryptionAlgorithmHasBeenSet =
false;
217 bool m_recipientHasBeenSet =
false;
220 bool m_dryRunHasBeenSet =
false;
DecryptRequest & AddEncryptionContext(const char *key, Aws::String &&value)
DecryptRequest & AddEncryptionContext(const Aws::String &key, const Aws::String &value)
void SetEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
DecryptRequest & WithDryRun(bool value)
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
const EncryptionAlgorithmSpec & GetEncryptionAlgorithm() const
DecryptRequest & WithCiphertextBlob(Aws::Utils::ByteBuffer &&value)
void SetKeyId(const char *value)
bool RecipientHasBeenSet() const
const Aws::Utils::ByteBuffer & GetCiphertextBlob() const
DecryptRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
DecryptRequest & AddGrantTokens(const Aws::String &value)
DecryptRequest & WithRecipient(const RecipientInfo &value)
void SetKeyId(const Aws::String &value)
DecryptRequest & AddEncryptionContext(Aws::String &&key, const Aws::String &value)
DecryptRequest & WithEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
DecryptRequest & WithEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetRecipient(RecipientInfo &&value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
DecryptRequest & AddEncryptionContext(const Aws::String &key, Aws::String &&value)
AWS_KMS_API DecryptRequest()
DecryptRequest & WithKeyId(const char *value)
DecryptRequest & WithCiphertextBlob(const Aws::Utils::ByteBuffer &value)
bool EncryptionAlgorithmHasBeenSet() const
void SetCiphertextBlob(const Aws::Utils::ByteBuffer &value)
void SetCiphertextBlob(Aws::Utils::ByteBuffer &&value)
void SetEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetDryRun(bool value)
DecryptRequest & AddEncryptionContext(Aws::String &&key, const char *value)
void SetEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
bool DryRunHasBeenSet() const
DecryptRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DecryptRequest & WithRecipient(RecipientInfo &&value)
DecryptRequest & AddEncryptionContext(const char *key, const char *value)
bool EncryptionContextHasBeenSet() const
void SetRecipient(const RecipientInfo &value)
const Aws::String & GetKeyId() const
void SetKeyId(Aws::String &&value)
bool CiphertextBlobHasBeenSet() const
DecryptRequest & WithEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
bool GrantTokensHasBeenSet() const
DecryptRequest & AddGrantTokens(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
AWS_KMS_API Aws::String SerializePayload() const override
DecryptRequest & WithKeyId(Aws::String &&value)
bool KeyIdHasBeenSet() const
void SetEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
DecryptRequest & AddEncryptionContext(Aws::String &&key, Aws::String &&value)
DecryptRequest & AddGrantTokens(Aws::String &&value)
DecryptRequest & WithEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
const RecipientInfo & GetRecipient() const
const Aws::Vector< Aws::String > & GetGrantTokens() const
virtual const char * GetServiceRequestName() const override
DecryptRequest & WithKeyId(const 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