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/EncapsulationAlgorithmSpec.h>
55 template <
typename KeyIdT = Aws::String>
57 m_keyIdHasBeenSet =
true;
58 m_keyId = std::forward<KeyIdT>(value);
60 template <
typename KeyIdT = Aws::String>
62 SetKeyId(std::forward<KeyIdT>(value));
76 template <
typename SharedSecretCiphertextBlobT = Aws::Utils::ByteBuffer>
78 m_sharedSecretCiphertextBlobHasBeenSet =
true;
79 m_sharedSecretCiphertextBlob = std::forward<SharedSecretCiphertextBlobT>(value);
81 template <
typename SharedSecretCiphertextBlobT = Aws::Utils::ByteBuffer>
96 m_encapsulationAlgorithmHasBeenSet =
true;
97 m_encapsulationAlgorithm = value;
117 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
119 m_grantTokensHasBeenSet =
true;
120 m_grantTokens = std::forward<GrantTokensT>(value);
122 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
127 template <
typename GrantTokensT = Aws::String>
129 m_grantTokensHasBeenSet =
true;
130 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
145 m_dryRunHasBeenSet =
true;
162 bool m_dryRun{
false};
163 bool m_keyIdHasBeenSet =
false;
164 bool m_sharedSecretCiphertextBlobHasBeenSet =
false;
165 bool m_encapsulationAlgorithmHasBeenSet =
false;
166 bool m_grantTokensHasBeenSet =
false;
167 bool m_dryRunHasBeenSet =
false;
void SetGrantTokens(GrantTokensT &&value)
virtual const char * GetServiceRequestName() const override
DecapsulateRequest & WithEncapsulationAlgorithm(EncapsulationAlgorithmSpec value)
bool GrantTokensHasBeenSet() const
DecapsulateRequest & AddGrantTokens(GrantTokensT &&value)
const Aws::Utils::ByteBuffer & GetSharedSecretCiphertextBlob() const
void SetSharedSecretCiphertextBlob(SharedSecretCiphertextBlobT &&value)
AWS_KMS_API DecapsulateRequest()=default
AWS_KMS_API Aws::String SerializePayload() const override
bool KeyIdHasBeenSet() const
bool SharedSecretCiphertextBlobHasBeenSet() const
void SetDryRun(bool value)
void SetKeyId(KeyIdT &&value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
DecapsulateRequest & WithGrantTokens(GrantTokensT &&value)
DecapsulateRequest & WithSharedSecretCiphertextBlob(SharedSecretCiphertextBlobT &&value)
DecapsulateRequest & WithKeyId(KeyIdT &&value)
const Aws::String & GetKeyId() const
bool EncapsulationAlgorithmHasBeenSet() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EncapsulationAlgorithmSpec GetEncapsulationAlgorithm() const
DecapsulateRequest & WithDryRun(bool value)
void SetEncapsulationAlgorithm(EncapsulationAlgorithmSpec value)
bool DryRunHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
EncapsulationAlgorithmSpec
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector