7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/license-manager/LicenseManager_EXPORTS.h>
9#include <aws/license-manager/model/Grant.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace LicenseManager {
35 template <
typename GrantT = Grant>
37 m_grantHasBeenSet =
true;
38 m_grant = std::forward<GrantT>(value);
40 template <
typename GrantT = Grant>
42 SetGrant(std::forward<GrantT>(value));
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
65 bool m_grantHasBeenSet =
false;
66 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API GetGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LICENSEMANAGER_API GetGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGrantResult & WithGrant(GrantT &&value)
void SetGrant(GrantT &&value)
const Aws::String & GetRequestId() const
GetGrantResult & WithRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API GetGrantResult()=default
const Grant & GetGrant() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue