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>
49 template<
typename MessageT = Aws::Utils::CryptoBuffer>
50 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
51 template<
typename MessageT = Aws::Utils::CryptoBuffer>
65 template<
typename KeyIdT = Aws::String>
66 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
67 template<
typename KeyIdT = Aws::String>
97 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
98 void SetGrantTokens(GrantTokensT&& value) { m_grantTokensHasBeenSet =
true; m_grantTokens = std::forward<GrantTokensT>(value); }
99 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
101 template<
typename GrantTokensT = Aws::String>
114 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
120 bool m_messageHasBeenSet =
false;
123 bool m_keyIdHasBeenSet =
false;
126 bool m_macAlgorithmHasBeenSet =
false;
129 bool m_grantTokensHasBeenSet =
false;
131 bool m_dryRun{
false};
132 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