7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kms/model/MacAlgorithmSpec.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename MessageT = Aws::Utils::CryptoBuffer>
51 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
52 template<
typename MessageT = Aws::Utils::CryptoBuffer>
64 template<
typename KeyIdT = Aws::String>
65 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
66 template<
typename KeyIdT = Aws::String>
90 template<
typename MacT = Aws::Utils::ByteBuffer>
91 void SetMac(MacT&& value) { m_macHasBeenSet =
true; m_mac = std::forward<MacT>(value); }
92 template<
typename MacT = Aws::Utils::ByteBuffer>
108 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
109 void SetGrantTokens(GrantTokensT&& value) { m_grantTokensHasBeenSet =
true; m_grantTokens = std::forward<GrantTokensT>(value); }
110 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
112 template<
typename GrantTokensT = Aws::String>
113 VerifyMacRequest&
AddGrantTokens(GrantTokensT&& value) { m_grantTokensHasBeenSet =
true; m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
return *
this; }
125 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
131 bool m_messageHasBeenSet =
false;
134 bool m_keyIdHasBeenSet =
false;
137 bool m_macAlgorithmHasBeenSet =
false;
140 bool m_macHasBeenSet =
false;
143 bool m_grantTokensHasBeenSet =
false;
145 bool m_dryRun{
false};
146 bool m_dryRunHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetGrantTokens() const
const Aws::String & GetKeyId() const
AWS_KMS_API Aws::String SerializePayload() const override
VerifyMacRequest & WithMacAlgorithm(MacAlgorithmSpec value)
bool MacHasBeenSet() const
bool MessageHasBeenSet() const
const Aws::Utils::ByteBuffer & GetMac() const
VerifyMacRequest & WithKeyId(KeyIdT &&value)
AWS_KMS_API VerifyMacRequest()=default
void SetGrantTokens(GrantTokensT &&value)
void SetDryRun(bool value)
MacAlgorithmSpec GetMacAlgorithm() const
virtual const char * GetServiceRequestName() const override
bool KeyIdHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMac(MacT &&value)
VerifyMacRequest & AddGrantTokens(GrantTokensT &&value)
bool GrantTokensHasBeenSet() const
bool MacAlgorithmHasBeenSet() const
const Aws::Utils::CryptoBuffer & GetMessage() const
bool DryRunHasBeenSet() const
VerifyMacRequest & WithGrantTokens(GrantTokensT &&value)
VerifyMacRequest & WithMac(MacT &&value)
void SetMacAlgorithm(MacAlgorithmSpec value)
void SetKeyId(KeyIdT &&value)
VerifyMacRequest & WithMessage(MessageT &&value)
VerifyMacRequest & WithDryRun(bool value)
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