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/kms/model/KeyAgreementAlgorithmSpec.h>
11#include <aws/core/utils/Array.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kms/model/RecipientInfo.h>
61 template<
typename KeyIdT = Aws::String>
62 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
63 template<
typename KeyIdT = Aws::String>
96 template<
typename PublicKeyT = Aws::Utils::ByteBuffer>
97 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet =
true; m_publicKey = std::forward<PublicKeyT>(value); }
98 template<
typename PublicKeyT = Aws::Utils::ByteBuffer>
114 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
115 void SetGrantTokens(GrantTokensT&& value) { m_grantTokensHasBeenSet =
true; m_grantTokens = std::forward<GrantTokensT>(value); }
116 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
118 template<
typename GrantTokensT = Aws::String>
131 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
164 template<
typename RecipientT = RecipientInfo>
165 void SetRecipient(RecipientT&& value) { m_recipientHasBeenSet =
true; m_recipient = std::forward<RecipientT>(value); }
166 template<
typename RecipientT = RecipientInfo>
172 bool m_keyIdHasBeenSet =
false;
175 bool m_keyAgreementAlgorithmHasBeenSet =
false;
178 bool m_publicKeyHasBeenSet =
false;
181 bool m_grantTokensHasBeenSet =
false;
183 bool m_dryRun{
false};
184 bool m_dryRunHasBeenSet =
false;
186 RecipientInfo m_recipient;
187 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