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/MessageType.h>
13#include <aws/kms/model/SigningAlgorithmSpec.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));
78 template <
typename MessageT = Aws::Utils::CryptoBuffer>
80 m_messageHasBeenSet =
true;
81 m_message = std::forward<MessageT>(value);
83 template <
typename MessageT = Aws::Utils::CryptoBuffer>
131 m_messageTypeHasBeenSet =
true;
132 m_messageType = value;
152 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
154 m_grantTokensHasBeenSet =
true;
155 m_grantTokens = std::forward<GrantTokensT>(value);
157 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
162 template <
typename GrantTokensT = Aws::String>
164 m_grantTokensHasBeenSet =
true;
165 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
181 m_signingAlgorithmHasBeenSet =
true;
182 m_signingAlgorithm = value;
200 m_dryRunHasBeenSet =
true;
219 bool m_dryRun{
false};
220 bool m_keyIdHasBeenSet =
false;
221 bool m_messageHasBeenSet =
false;
222 bool m_messageTypeHasBeenSet =
false;
223 bool m_grantTokensHasBeenSet =
false;
224 bool m_signingAlgorithmHasBeenSet =
false;
225 bool m_dryRunHasBeenSet =
false;
bool SigningAlgorithmHasBeenSet() const
bool MessageHasBeenSet() const
SignRequest & WithGrantTokens(GrantTokensT &&value)
const Aws::Vector< Aws::String > & GetGrantTokens() const
SignRequest & WithMessageType(MessageType value)
SignRequest & AddGrantTokens(GrantTokensT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SignRequest & WithSigningAlgorithm(SigningAlgorithmSpec value)
void SetMessage(MessageT &&value)
const Aws::String & GetKeyId() const
void SetDryRun(bool value)
MessageType GetMessageType() const
bool KeyIdHasBeenSet() const
SignRequest & WithKeyId(KeyIdT &&value)
void SetSigningAlgorithm(SigningAlgorithmSpec value)
void SetKeyId(KeyIdT &&value)
bool MessageTypeHasBeenSet() const
const Aws::Utils::CryptoBuffer & GetMessage() const
void SetMessageType(MessageType value)
SigningAlgorithmSpec GetSigningAlgorithm() const
AWS_KMS_API Aws::String SerializePayload() const override
SignRequest & WithMessage(MessageT &&value)
SignRequest & WithDryRun(bool value)
bool GrantTokensHasBeenSet() const
bool DryRunHasBeenSet() const
void SetGrantTokens(GrantTokensT &&value)
AWS_KMS_API SignRequest()=default
virtual const char * GetServiceRequestName() const override
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