7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kms/model/EncryptionAlgorithmSpec.h>
62 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
163 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
169 bool m_keyIdHasBeenSet =
false;
172 bool m_plaintextHasBeenSet =
false;
175 bool m_encryptionContextHasBeenSet =
false;
178 bool m_grantTokensHasBeenSet =
false;
181 bool m_encryptionAlgorithmHasBeenSet =
false;
184 bool m_dryRunHasBeenSet =
false;
EncryptRequest & WithPlaintext(const Aws::Utils::CryptoBuffer &value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
EncryptRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
void SetKeyId(const char *value)
EncryptRequest & WithKeyId(const char *value)
void SetEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
bool EncryptionContextHasBeenSet() const
void SetKeyId(Aws::String &&value)
AWS_KMS_API Aws::String SerializePayload() const override
void SetPlaintext(Aws::Utils::CryptoBuffer &&value)
EncryptRequest & AddGrantTokens(const Aws::String &value)
EncryptRequest & AddEncryptionContext(const char *key, const char *value)
EncryptRequest & WithKeyId(const Aws::String &value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EncryptRequest & AddEncryptionContext(const Aws::String &key, Aws::String &&value)
void SetPlaintext(const Aws::Utils::CryptoBuffer &value)
bool GrantTokensHasBeenSet() const
EncryptRequest & AddEncryptionContext(Aws::String &&key, Aws::String &&value)
bool EncryptionAlgorithmHasBeenSet() const
EncryptRequest & WithPlaintext(Aws::Utils::CryptoBuffer &&value)
bool KeyIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetGrantTokens() const
const Aws::Utils::CryptoBuffer & GetPlaintext() const
const Aws::String & GetKeyId() const
EncryptRequest & AddEncryptionContext(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
EncryptRequest & WithDryRun(bool value)
EncryptRequest & WithEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
EncryptRequest & WithEncryptionAlgorithm(EncryptionAlgorithmSpec &&value)
void SetEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
void SetKeyId(const Aws::String &value)
void SetDryRun(bool value)
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
bool PlaintextHasBeenSet() const
bool DryRunHasBeenSet() const
EncryptRequest & AddGrantTokens(Aws::String &&value)
EncryptRequest & WithEncryptionAlgorithm(const EncryptionAlgorithmSpec &value)
EncryptRequest & AddEncryptionContext(Aws::String &&key, const char *value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
EncryptRequest & WithEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
EncryptRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
EncryptRequest & WithKeyId(Aws::String &&value)
EncryptRequest & AddEncryptionContext(const Aws::String &key, const Aws::String &value)
AWS_KMS_API EncryptRequest()
EncryptRequest & AddEncryptionContext(Aws::String &&key, const Aws::String &value)
const EncryptionAlgorithmSpec & GetEncryptionAlgorithm() const
void SetEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
EncryptRequest & AddGrantTokens(const char *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