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>
61 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
119 inline void SetNumberOfBytes(
int value) { m_numberOfBytesHasBeenSet =
true; m_numberOfBytes = value; }
153 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
159 bool m_keyIdHasBeenSet =
false;
162 bool m_encryptionContextHasBeenSet =
false;
165 bool m_keySpecHasBeenSet =
false;
168 bool m_numberOfBytesHasBeenSet =
false;
171 bool m_grantTokensHasBeenSet =
false;
174 bool m_dryRunHasBeenSet =
false;
GenerateDataKeyWithoutPlaintextRequest & WithEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(const char *key, Aws::String &&value)
GenerateDataKeyWithoutPlaintextRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
void SetKeySpec(DataKeySpec &&value)
GenerateDataKeyWithoutPlaintextRequest & WithKeySpec(DataKeySpec &&value)
void SetKeySpec(const DataKeySpec &value)
const DataKeySpec & GetKeySpec() const
bool EncryptionContextHasBeenSet() const
void SetKeyId(Aws::String &&value)
GenerateDataKeyWithoutPlaintextRequest & AddGrantTokens(Aws::String &&value)
GenerateDataKeyWithoutPlaintextRequest & WithKeySpec(const DataKeySpec &value)
bool KeySpecHasBeenSet() const
AWS_KMS_API GenerateDataKeyWithoutPlaintextRequest()
GenerateDataKeyWithoutPlaintextRequest & WithKeyId(const Aws::String &value)
void SetDryRun(bool value)
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(const char *key, const char *value)
GenerateDataKeyWithoutPlaintextRequest & AddGrantTokens(const char *value)
bool DryRunHasBeenSet() const
GenerateDataKeyWithoutPlaintextRequest & WithKeyId(const char *value)
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(const Aws::String &key, Aws::String &&value)
void SetKeyId(const Aws::String &value)
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(const Aws::String &key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetKeyId() const
GenerateDataKeyWithoutPlaintextRequest & WithDryRun(bool value)
bool GrantTokensHasBeenSet() const
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(Aws::String &&key, Aws::String &&value)
GenerateDataKeyWithoutPlaintextRequest & AddGrantTokens(const Aws::String &value)
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(Aws::String &&key, const Aws::String &value)
AWS_KMS_API Aws::String SerializePayload() const override
GenerateDataKeyWithoutPlaintextRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
GenerateDataKeyWithoutPlaintextRequest & AddEncryptionContext(Aws::String &&key, const char *value)
int GetNumberOfBytes() const
virtual const char * GetServiceRequestName() const override
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
void SetEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetNumberOfBytes(int value)
bool NumberOfBytesHasBeenSet() const
GenerateDataKeyWithoutPlaintextRequest & WithNumberOfBytes(int value)
void SetKeyId(const char *value)
GenerateDataKeyWithoutPlaintextRequest & WithEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
bool KeyIdHasBeenSet() const
GenerateDataKeyWithoutPlaintextRequest & WithKeyId(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