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/MacAlgorithmSpec.h>
45 template <
typename MessageT = Aws::Utils::CryptoBuffer>
47 m_messageHasBeenSet =
true;
48 m_message = std::forward<MessageT>(value);
50 template <
typename MessageT = Aws::Utils::CryptoBuffer>
67 template <
typename KeyIdT = Aws::String>
69 m_keyIdHasBeenSet =
true;
70 m_keyId = std::forward<KeyIdT>(value);
72 template <
typename KeyIdT = Aws::String>
74 SetKeyId(std::forward<KeyIdT>(value));
90 m_macAlgorithmHasBeenSet =
true;
91 m_macAlgorithm = value;
111 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
113 m_grantTokensHasBeenSet =
true;
114 m_grantTokens = std::forward<GrantTokensT>(value);
116 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
121 template <
typename GrantTokensT = Aws::String>
123 m_grantTokensHasBeenSet =
true;
124 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
139 m_dryRunHasBeenSet =
true;
156 bool m_dryRun{
false};
157 bool m_messageHasBeenSet =
false;
158 bool m_keyIdHasBeenSet =
false;
159 bool m_macAlgorithmHasBeenSet =
false;
160 bool m_grantTokensHasBeenSet =
false;
161 bool m_dryRunHasBeenSet =
false;
GenerateMacRequest & AddGrantTokens(GrantTokensT &&value)
bool GrantTokensHasBeenSet() const
bool MacAlgorithmHasBeenSet() const
GenerateMacRequest & WithDryRun(bool value)
const Aws::String & GetKeyId() const
const Aws::Utils::CryptoBuffer & GetMessage() const
void SetMacAlgorithm(MacAlgorithmSpec value)
MacAlgorithmSpec GetMacAlgorithm() const
GenerateMacRequest & WithKeyId(KeyIdT &&value)
GenerateMacRequest & WithMacAlgorithm(MacAlgorithmSpec value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KMS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetMessage(MessageT &&value)
GenerateMacRequest & WithMessage(MessageT &&value)
bool KeyIdHasBeenSet() const
void SetGrantTokens(GrantTokensT &&value)
bool MessageHasBeenSet() const
const Aws::Vector< Aws::String > & GetGrantTokens() const
AWS_KMS_API GenerateMacRequest()=default
void SetDryRun(bool value)
GenerateMacRequest & WithGrantTokens(GrantTokensT &&value)
void SetKeyId(KeyIdT &&value)
bool DryRunHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector