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>
67 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
119 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
125 bool m_messageHasBeenSet =
false;
128 bool m_keyIdHasBeenSet =
false;
131 bool m_macAlgorithmHasBeenSet =
false;
134 bool m_grantTokensHasBeenSet =
false;
137 bool m_dryRunHasBeenSet =
false;
bool GrantTokensHasBeenSet() const
void SetKeyId(const Aws::String &value)
bool MacAlgorithmHasBeenSet() const
GenerateMacRequest & WithGrantTokens(const Aws::Vector< Aws::String > &value)
void SetMacAlgorithm(const MacAlgorithmSpec &value)
GenerateMacRequest & WithDryRun(bool value)
const Aws::String & GetKeyId() const
const Aws::Utils::CryptoBuffer & GetMessage() const
GenerateMacRequest & WithGrantTokens(Aws::Vector< Aws::String > &&value)
GenerateMacRequest & WithMessage(Aws::Utils::CryptoBuffer &&value)
void SetMessage(Aws::Utils::CryptoBuffer &&value)
GenerateMacRequest & AddGrantTokens(Aws::String &&value)
void SetKeyId(Aws::String &&value)
GenerateMacRequest & WithKeyId(const char *value)
void SetGrantTokens(const Aws::Vector< Aws::String > &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 SetKeyId(const char *value)
GenerateMacRequest & WithMacAlgorithm(const MacAlgorithmSpec &value)
GenerateMacRequest & AddGrantTokens(const Aws::String &value)
GenerateMacRequest & WithKeyId(Aws::String &&value)
const MacAlgorithmSpec & GetMacAlgorithm() const
void SetMacAlgorithm(MacAlgorithmSpec &&value)
bool KeyIdHasBeenSet() const
GenerateMacRequest & AddGrantTokens(const char *value)
bool MessageHasBeenSet() const
GenerateMacRequest & WithMessage(const Aws::Utils::CryptoBuffer &value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
GenerateMacRequest & WithKeyId(const Aws::String &value)
void SetGrantTokens(Aws::Vector< Aws::String > &&value)
void SetDryRun(bool value)
AWS_KMS_API GenerateMacRequest()
void SetMessage(const Aws::Utils::CryptoBuffer &value)
bool DryRunHasBeenSet() const
GenerateMacRequest & WithMacAlgorithm(MacAlgorithmSpec &&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