7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/Grant.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace LicenseManager {
36 template <
typename GrantT = Grant>
38 m_grantHasBeenSet =
true;
39 m_grant = std::forward<GrantT>(value);
41 template <
typename GrantT = Grant>
43 SetGrant(std::forward<GrantT>(value));
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_grantHasBeenSet =
false;
70 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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