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>
56 template <
typename KeyIdT = Aws::String>
58 m_keyIdHasBeenSet =
true;
59 m_keyId = std::forward<KeyIdT>(value);
61 template <
typename KeyIdT = Aws::String>
63 SetKeyId(std::forward<KeyIdT>(value));
80 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
82 m_grantTokensHasBeenSet =
true;
83 m_grantTokens = std::forward<GrantTokensT>(value);
85 template <
typename GrantTokensT = Aws::Vector<Aws::String>>
90 template <
typename GrantTokensT = Aws::String>
92 m_grantTokensHasBeenSet =
true;
93 m_grantTokens.emplace_back(std::forward<GrantTokensT>(value));
101 bool m_keyIdHasBeenSet =
false;
102 bool m_grantTokensHasBeenSet =
false;
DescribeKeyRequest & WithKeyId(KeyIdT &&value)
DescribeKeyRequest & WithGrantTokens(GrantTokensT &&value)
void SetGrantTokens(GrantTokensT &&value)
bool KeyIdHasBeenSet() const
bool GrantTokensHasBeenSet() const
AWS_KMS_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetGrantTokens() const
DescribeKeyRequest & AddGrantTokens(GrantTokensT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetKeyId() const
virtual const char * GetServiceRequestName() const override
void SetKeyId(KeyIdT &&value)
AWS_KMS_API DescribeKeyRequest()=default
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