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/core/utils/memory/stl/AWSVector.h>
55 template<
typename KeyIdT = Aws::String>
56 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
57 template<
typename KeyIdT = Aws::String>
73 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
74 void SetGrantTokens(GrantTokensT&& value) { m_grantTokensHasBeenSet =
true; m_grantTokens = std::forward<GrantTokensT>(value); }
75 template<
typename GrantTokensT = Aws::Vector<Aws::String>>
77 template<
typename GrantTokensT = Aws::String>
83 bool m_keyIdHasBeenSet =
false;
86 bool m_grantTokensHasBeenSet =
false;
void SetGrantTokens(GrantTokensT &&value)
virtual const char * GetServiceRequestName() const override
GetPublicKeyRequest & WithGrantTokens(GrantTokensT &&value)
GetPublicKeyRequest & AddGrantTokens(GrantTokensT &&value)
void SetKeyId(KeyIdT &&value)
bool GrantTokensHasBeenSet() const
AWS_KMS_API Aws::String SerializePayload() const override
bool KeyIdHasBeenSet() const
const Aws::String & GetKeyId() const
AWS_KMS_API GetPublicKeyRequest()=default
const Aws::Vector< Aws::String > & GetGrantTokens() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetPublicKeyRequest & WithKeyId(KeyIdT &&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