7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kms/model/DataKeyPairSpec.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kms/model/RecipientInfo.h>
94 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
180 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
186 bool m_encryptionContextHasBeenSet =
false;
189 bool m_keyIdHasBeenSet =
false;
192 bool m_keyPairSpecHasBeenSet =
false;
195 bool m_grantTokensHasBeenSet =
false;
198 bool m_recipientHasBeenSet =
false;
201 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetKeyId() const
GenerateDataKeyPairRequest & AddEncryptionContext(Aws::String &&key, const Aws::String &value)
GenerateDataKeyPairRequest & AddGrantTokens(const char *value)
const RecipientInfo & GetRecipient() const
bool DryRunHasBeenSet() const
GenerateDataKeyPairRequest & WithRecipient(const RecipientInfo &value)
const DataKeyPairSpec & GetKeyPairSpec() const
GenerateDataKeyPairRequest & WithKeyPairSpec(const DataKeyPairSpec &value)
GenerateDataKeyPairRequest & WithEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetRecipient(const RecipientInfo &value)
bool RecipientHasBeenSet() const
GenerateDataKeyPairRequest & WithDryRun(bool value)
void SetKeyId(const char *value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
GenerateDataKeyPairRequest & WithKeyPairSpec(DataKeyPairSpec &&value)
AWS_KMS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
bool GrantTokensHasBeenSet() const
bool EncryptionContextHasBeenSet() const
void SetEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
bool KeyPairSpecHasBeenSet() const
GenerateDataKeyPairRequest & WithKeyId(Aws::String &&value)
GenerateDataKeyPairRequest & AddEncryptionContext(const char *key, Aws::String &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
GenerateDataKeyPairRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
void SetKeyPairSpec(DataKeyPairSpec &&value)
void SetKeyId(const Aws::String &value)
GenerateDataKeyPairRequest & AddGrantTokens(Aws::String &&value)
bool KeyIdHasBeenSet() const
void SetEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
GenerateDataKeyPairRequest & AddEncryptionContext(const char *key, const char *value)
GenerateDataKeyPairRequest & WithRecipient(RecipientInfo &&value)
GenerateDataKeyPairRequest & WithKeyId(const char *value)
GenerateDataKeyPairRequest & AddGrantTokens(const Aws::String &value)
GenerateDataKeyPairRequest & AddEncryptionContext(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
GenerateDataKeyPairRequest & AddEncryptionContext(Aws::String &&key, Aws::String &&value)
GenerateDataKeyPairRequest & WithEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetRecipient(RecipientInfo &&value)
GenerateDataKeyPairRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
void SetDryRun(bool value)
GenerateDataKeyPairRequest & WithKeyId(const Aws::String &value)
void SetKeyId(Aws::String &&value)
GenerateDataKeyPairRequest & AddEncryptionContext(const Aws::String &key, const Aws::String &value)
void SetKeyPairSpec(const DataKeyPairSpec &value)
GenerateDataKeyPairRequest & AddEncryptionContext(const Aws::String &key, Aws::String &&value)
AWS_KMS_API GenerateDataKeyPairRequest()
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