7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kms/KMSRequest.h>
10#include <aws/kms/KMS_EXPORTS.h>
11#include <aws/kms/model/EncapsulationAlgorithmSpec.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_encapsulationAlgorithmHasBeenSet =
true;
78 m_encapsulationAlgorithm = value;
98 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
100 m_grantTokensHasBeenSet =
true;
101 m_grantTokens = std::forward<GrantTokensT>(value);
103 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
108 template <
typename GrantTokensT = Aws::String>
110 m_grantTokensHasBeenSet =
true;
111 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
126 m_dryRunHasBeenSet =
true;
141 bool m_dryRun{
false};
142 bool m_keyIdHasBeenSet =
false;
143 bool m_encapsulationAlgorithmHasBeenSet =
false;
144 bool m_grantTokensHasBeenSet =
false;
145 bool m_dryRunHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetGrantTokens() const
const Aws::String & GetKeyId() const
EncapsulateRequest & WithEncapsulationAlgorithm(EncapsulationAlgorithmSpec value)
void SetDryRun(bool value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KMS_API EncapsulateRequest()=default
bool GrantTokensHasBeenSet() const
EncapsulateRequest & AddGrantTokens(GrantTokensT &&value)
bool DryRunHasBeenSet() const
bool KeyIdHasBeenSet() const
EncapsulationAlgorithmSpec GetEncapsulationAlgorithm() const
void SetEncapsulationAlgorithm(EncapsulationAlgorithmSpec value)
EncapsulateRequest & WithDryRun(bool value)
void SetKeyId(KeyIdT &&value)
bool EncapsulationAlgorithmHasBeenSet() const
EncapsulateRequest & WithGrantTokens(GrantTokensT &&value)
void SetGrantTokens(GrantTokensT &&value)
AWS_KMS_API Aws::String SerializePayload() const override
EncapsulateRequest & WithKeyId(KeyIdT &&value)
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