7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kms/KMSRequest.h>
11#include <aws/kms/KMS_EXPORTS.h>
12#include <aws/kms/model/DataKeyPairSpec.h>
13#include <aws/kms/model/RecipientInfo.h>
55 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
57 m_encryptionContextHasBeenSet =
true;
58 m_encryptionContext = std::forward<EncryptionContextT>(value);
60 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
65 template <
typename EncryptionContextKeyT = Aws::String,
typename EncryptionContextValueT = Aws::String>
67 m_encryptionContextHasBeenSet =
true;
68 m_encryptionContext.emplace(std::forward<EncryptionContextKeyT>(key), std::forward<EncryptionContextValueT>(value));
93 template <
typename KeyIdT = Aws::String>
95 m_keyIdHasBeenSet =
true;
96 m_keyId = std::forward<KeyIdT>(value);
98 template <
typename KeyIdT = Aws::String>
100 SetKeyId(std::forward<KeyIdT>(value));
117 m_keyPairSpecHasBeenSet =
true;
118 m_keyPairSpec = value;
138 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
140 m_grantTokensHasBeenSet =
true;
141 m_grantTokens = std::forward<GrantTokensT>(value);
143 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
148 template <
typename GrantTokensT = Aws::String>
150 m_grantTokensHasBeenSet =
true;
151 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
189 template <
typename RecipientT = RecipientInfo>
191 m_recipientHasBeenSet =
true;
192 m_recipient = std::forward<RecipientT>(value);
194 template <
typename RecipientT = RecipientInfo>
211 m_dryRunHasBeenSet =
true;
228 RecipientInfo m_recipient;
230 bool m_dryRun{
false};
231 bool m_encryptionContextHasBeenSet =
false;
232 bool m_keyIdHasBeenSet =
false;
233 bool m_keyPairSpecHasBeenSet =
false;
234 bool m_grantTokensHasBeenSet =
false;
235 bool m_recipientHasBeenSet =
false;
236 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetKeyId() const
AWS_KMS_API GenerateDataKeyPairRequest()=default
const RecipientInfo & GetRecipient() const
bool DryRunHasBeenSet() const
void SetRecipient(RecipientT &&value)
bool RecipientHasBeenSet() const
GenerateDataKeyPairRequest & WithDryRun(bool value)
GenerateDataKeyPairRequest & AddEncryptionContext(EncryptionContextKeyT &&key, EncryptionContextValueT &&value)
AWS_KMS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool GrantTokensHasBeenSet() const
bool EncryptionContextHasBeenSet() const
GenerateDataKeyPairRequest & AddGrantTokens(GrantTokensT &&value)
bool KeyPairSpecHasBeenSet() const
GenerateDataKeyPairRequest & WithKeyId(KeyIdT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GenerateDataKeyPairRequest & WithKeyPairSpec(DataKeyPairSpec value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
bool KeyIdHasBeenSet() const
GenerateDataKeyPairRequest & WithGrantTokens(GrantTokensT &&value)
GenerateDataKeyPairRequest & WithRecipient(RecipientT &&value)
DataKeyPairSpec GetKeyPairSpec() const
const Aws::Vector< Aws::String > & GetGrantTokens() const
void SetKeyPairSpec(DataKeyPairSpec value)
void SetEncryptionContext(EncryptionContextT &&value)
void SetDryRun(bool value)
GenerateDataKeyPairRequest & WithEncryptionContext(EncryptionContextT &&value)
void SetGrantTokens(GrantTokensT &&value)
void SetKeyId(KeyIdT &&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