7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/RecipientInfo.h>
44 inline void SetNumberOfBytes(
int value) { m_numberOfBytesHasBeenSet =
true; m_numberOfBytes = value; }
59 template<
typename CustomKeyStoreIdT = Aws::String>
60 void SetCustomKeyStoreId(CustomKeyStoreIdT&& value) { m_customKeyStoreIdHasBeenSet =
true; m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value); }
61 template<
typename CustomKeyStoreIdT = Aws::String>
89 template<
typename RecipientT = RecipientInfo>
90 void SetRecipient(RecipientT&& value) { m_recipientHasBeenSet =
true; m_recipient = std::forward<RecipientT>(value); }
91 template<
typename RecipientT = RecipientInfo>
96 int m_numberOfBytes{0};
97 bool m_numberOfBytesHasBeenSet =
false;
100 bool m_customKeyStoreIdHasBeenSet =
false;
102 RecipientInfo m_recipient;
103 bool m_recipientHasBeenSet =
false;
AWS_KMS_API Aws::String SerializePayload() const override
AWS_KMS_API GenerateRandomRequest()=default
GenerateRandomRequest & WithCustomKeyStoreId(CustomKeyStoreIdT &&value)
const Aws::String & GetCustomKeyStoreId() const
bool RecipientHasBeenSet() const
GenerateRandomRequest & WithRecipient(RecipientT &&value)
bool NumberOfBytesHasBeenSet() const
void SetNumberOfBytes(int value)
virtual const char * GetServiceRequestName() const override
int GetNumberOfBytes() const
GenerateRandomRequest & WithNumberOfBytes(int value)
bool CustomKeyStoreIdHasBeenSet() const
const RecipientInfo & GetRecipient() const
void SetCustomKeyStoreId(CustomKeyStoreIdT &&value)
void SetRecipient(RecipientT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String