7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kms/KMSRequest.h>
10#include <aws/kms/KMS_EXPORTS.h>
51 template <
typename KeyIdT = Aws::String>
53 m_keyIdHasBeenSet =
true;
54 m_keyId = std::forward<KeyIdT>(value);
56 template <
typename KeyIdT = Aws::String>
58 SetKeyId(std::forward<KeyIdT>(value));
75 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
77 m_grantTokensHasBeenSet =
true;
78 m_grantTokens = std::forward<GrantTokensT>(value);
80 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
85 template <
typename GrantTokensT = Aws::String>
87 m_grantTokensHasBeenSet =
true;
88 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
96 bool m_keyIdHasBeenSet =
false;
97 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