7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kms/KMS_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
40 template <
typename GrantTokenT = Aws::String>
42 m_grantTokenHasBeenSet =
true;
43 m_grantToken = std::forward<GrantTokenT>(value);
45 template <
typename GrantTokenT = Aws::String>
59 template <
typename GrantIdT = Aws::String>
61 m_grantIdHasBeenSet =
true;
62 m_grantId = std::forward<GrantIdT>(value);
64 template <
typename GrantIdT = Aws::String>
74 template <
typename RequestIdT = Aws::String>
76 m_requestIdHasBeenSet =
true;
77 m_requestId = std::forward<RequestIdT>(value);
79 template <
typename RequestIdT = Aws::String>
91 bool m_grantTokenHasBeenSet =
false;
92 bool m_grantIdHasBeenSet =
false;
93 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)
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