7#include <aws/core/utils/Array.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/KeyAgreementAlgorithmSpec.h>
13#include <aws/kms/model/RecipientInfo.h>
57 template <
typename KeyIdT = Aws::String>
59 m_keyIdHasBeenSet =
true;
60 m_keyId = std::forward<KeyIdT>(value);
62 template <
typename KeyIdT = Aws::String>
64 SetKeyId(std::forward<KeyIdT>(value));
77 m_keyAgreementAlgorithmHasBeenSet =
true;
78 m_keyAgreementAlgorithm = value;
104 template <
typename PublicKeyT = Aws::Utils::ByteBuffer>
106 m_publicKeyHasBeenSet =
true;
107 m_publicKey = std::forward<PublicKeyT>(value);
109 template <
typename PublicKeyT = Aws::Utils::ByteBuffer>
128 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
130 m_grantTokensHasBeenSet =
true;
131 m_grantTokens = std::forward<GrantTokensT>(value);
133 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
138 template <
typename GrantTokensT = Aws::String>
140 m_grantTokensHasBeenSet =
true;
141 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
156 m_dryRunHasBeenSet =
true;
199 template <
typename RecipientT = RecipientInfo>
201 m_recipientHasBeenSet =
true;
202 m_recipient = std::forward<RecipientT>(value);
204 template <
typename RecipientT = RecipientInfo>
219 bool m_dryRun{
false};
221 RecipientInfo m_recipient;
222 bool m_keyIdHasBeenSet =
false;
223 bool m_keyAgreementAlgorithmHasBeenSet =
false;
224 bool m_publicKeyHasBeenSet =
false;
225 bool m_grantTokensHasBeenSet =
false;
226 bool m_dryRunHasBeenSet =
false;
227 bool m_recipientHasBeenSet =
false;
void SetPublicKey(PublicKeyT &&value)
AWS_KMS_API DeriveSharedSecretRequest()=default
DeriveSharedSecretRequest & WithPublicKey(PublicKeyT &&value)
bool PublicKeyHasBeenSet() const
bool RecipientHasBeenSet() const
const Aws::Vector< Aws::String > & GetGrantTokens() const
KeyAgreementAlgorithmSpec GetKeyAgreementAlgorithm() const
void SetKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec value)
DeriveSharedSecretRequest & WithRecipient(RecipientT &&value)
const RecipientInfo & GetRecipient() const
const Aws::Utils::ByteBuffer & GetPublicKey() const
bool GrantTokensHasBeenSet() const
DeriveSharedSecretRequest & AddGrantTokens(GrantTokensT &&value)
void SetGrantTokens(GrantTokensT &&value)
DeriveSharedSecretRequest & WithKeyId(KeyIdT &&value)
void SetKeyId(KeyIdT &&value)
AWS_KMS_API Aws::String SerializePayload() const override
const Aws::String & GetKeyId() const
bool DryRunHasBeenSet() const
DeriveSharedSecretRequest & WithDryRun(bool value)
bool KeyIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
void SetRecipient(RecipientT &&value)
DeriveSharedSecretRequest & WithGrantTokens(GrantTokensT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeriveSharedSecretRequest & WithKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec value)
bool KeyAgreementAlgorithmHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
KeyAgreementAlgorithmSpec
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector