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/memory/stl/AWSMap.h>
11#include <aws/kms/model/DataKeySpec.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kms/model/RecipientInfo.h>
62 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
108 inline void SetNumberOfBytes(
int value) { m_numberOfBytesHasBeenSet =
true; m_numberOfBytes = value; }
191 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
197 bool m_keyIdHasBeenSet =
false;
200 bool m_encryptionContextHasBeenSet =
false;
203 bool m_numberOfBytesHasBeenSet =
false;
206 bool m_keySpecHasBeenSet =
false;
209 bool m_grantTokensHasBeenSet =
false;
212 bool m_recipientHasBeenSet =
false;
215 bool m_dryRunHasBeenSet =
false;
GenerateDataKeyRequest & AddGrantTokens(const char *value)
GenerateDataKeyRequest & AddEncryptionContext(const Aws::String &key, Aws::String &&value)
GenerateDataKeyRequest & WithEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
bool DryRunHasBeenSet() const
GenerateDataKeyRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
GenerateDataKeyRequest & AddGrantTokens(const Aws::String &value)
GenerateDataKeyRequest & AddEncryptionContext(const char *key, const char *value)
GenerateDataKeyRequest & AddEncryptionContext(Aws::String &&key, const char *value)
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
void SetRecipient(const RecipientInfo &value)
bool EncryptionContextHasBeenSet() const
void SetKeySpec(const DataKeySpec &value)
GenerateDataKeyRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
GenerateDataKeyRequest & WithKeySpec(const DataKeySpec &value)
GenerateDataKeyRequest & WithDryRun(bool value)
void SetKeyId(const Aws::String &value)
GenerateDataKeyRequest & AddEncryptionContext(Aws::String &&key, Aws::String &&value)
GenerateDataKeyRequest & WithKeyId(const char *value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GenerateDataKeyRequest & AddEncryptionContext(const Aws::String &key, const Aws::String &value)
GenerateDataKeyRequest & WithEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
GenerateDataKeyRequest & AddEncryptionContext(Aws::String &&key, const Aws::String &value)
GenerateDataKeyRequest & WithKeySpec(DataKeySpec &&value)
GenerateDataKeyRequest & WithKeyId(Aws::String &&value)
GenerateDataKeyRequest & AddGrantTokens(Aws::String &&value)
bool GrantTokensHasBeenSet() const
const DataKeySpec & GetKeySpec() const
GenerateDataKeyRequest & WithRecipient(const RecipientInfo &value)
void SetNumberOfBytes(int value)
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
GenerateDataKeyRequest & WithKeyId(const Aws::String &value)
const Aws::String & GetKeyId() const
GenerateDataKeyRequest & WithNumberOfBytes(int value)
void SetKeySpec(DataKeySpec &&value)
void SetEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
bool KeyIdHasBeenSet() const
void SetEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
bool NumberOfBytesHasBeenSet() const
AWS_KMS_API GenerateDataKeyRequest()
bool RecipientHasBeenSet() const
bool KeySpecHasBeenSet() const
const Aws::Vector< Aws::String > & GetGrantTokens() const
void SetKeyId(const char *value)
GenerateDataKeyRequest & WithRecipient(RecipientInfo &&value)
const RecipientInfo & GetRecipient() const
GenerateDataKeyRequest & AddEncryptionContext(const char *key, Aws::String &&value)
void SetKeyId(Aws::String &&value)
AWS_KMS_API Aws::String SerializePayload() const override
int GetNumberOfBytes() const
void SetRecipient(RecipientInfo &&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