7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template <
typename GrantTokenT = Aws::String>
43 m_grantTokenHasBeenSet =
true;
44 m_grantToken = std::forward<GrantTokenT>(value);
46 template <
typename GrantTokenT = Aws::String>
60 template <
typename GrantIdT = Aws::String>
62 m_grantIdHasBeenSet =
true;
63 m_grantId = std::forward<GrantIdT>(value);
65 template <
typename GrantIdT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
95 bool m_grantTokenHasBeenSet =
false;
96 bool m_grantIdHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
CreateGrantResult & WithRequestId(RequestIdT &&value)
void SetGrantToken(GrantTokenT &&value)
const Aws::String & GetGrantToken() const
const Aws::String & GetRequestId() const
AWS_KMS_API CreateGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGrantResult & WithGrantId(GrantIdT &&value)
AWS_KMS_API CreateGrantResult()=default
void SetRequestId(RequestIdT &&value)
AWS_KMS_API CreateGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGrantResult & WithGrantToken(GrantTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetGrantId() const
void SetGrantId(GrantIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue