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>
63 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
136 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
177 bool m_keyIdHasBeenSet =
false;
180 bool m_keyAgreementAlgorithmHasBeenSet =
false;
183 bool m_publicKeyHasBeenSet =
false;
186 bool m_grantTokensHasBeenSet =
false;
189 bool m_dryRunHasBeenSet =
false;
192 bool m_recipientHasBeenSet =
false;
void SetGrantTokens(const Aws::Vector< Aws::String > &value)
bool PublicKeyHasBeenSet() const
bool RecipientHasBeenSet() const
DeriveSharedSecretRequest & WithKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec &&value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
void SetKeyId(const char *value)
DeriveSharedSecretRequest & WithKeyAgreementAlgorithm(const KeyAgreementAlgorithmSpec &value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
DeriveSharedSecretRequest & WithKeyId(const char *value)
void SetPublicKey(const Aws::Utils::ByteBuffer &value)
DeriveSharedSecretRequest & WithKeyId(const Aws::String &value)
void SetKeyAgreementAlgorithm(const KeyAgreementAlgorithmSpec &value)
const RecipientInfo & GetRecipient() const
const Aws::Utils::ByteBuffer & GetPublicKey() const
bool GrantTokensHasBeenSet() const
DeriveSharedSecretRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
DeriveSharedSecretRequest & WithPublicKey(const Aws::Utils::ByteBuffer &value)
void SetKeyId(const Aws::String &value)
AWS_KMS_API DeriveSharedSecretRequest()
DeriveSharedSecretRequest & WithRecipient(RecipientInfo &&value)
AWS_KMS_API Aws::String SerializePayload() const override
const Aws::String & GetKeyId() const
void SetPublicKey(Aws::Utils::ByteBuffer &&value)
DeriveSharedSecretRequest & WithPublicKey(Aws::Utils::ByteBuffer &&value)
DeriveSharedSecretRequest & WithKeyId(Aws::String &&value)
bool DryRunHasBeenSet() const
void SetKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec &&value)
DeriveSharedSecretRequest & WithDryRun(bool value)
void SetRecipient(RecipientInfo &&value)
DeriveSharedSecretRequest & AddGrantTokens(Aws::String &&value)
bool KeyIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
DeriveSharedSecretRequest & WithRecipient(const RecipientInfo &value)
void SetDryRun(bool value)
void SetKeyId(Aws::String &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRecipient(const RecipientInfo &value)
const KeyAgreementAlgorithmSpec & GetKeyAgreementAlgorithm() const
DeriveSharedSecretRequest & AddGrantTokens(const Aws::String &value)
bool KeyAgreementAlgorithmHasBeenSet() const
DeriveSharedSecretRequest & AddGrantTokens(const char *value)
DeriveSharedSecretRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
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