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/GrantStatus.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace LicenseManager {
36 template <
typename GrantArnT = Aws::String>
38 m_grantArnHasBeenSet =
true;
39 m_grantArn = std::forward<GrantArnT>(value);
41 template <
typename GrantArnT = Aws::String>
54 m_statusHasBeenSet =
true;
68 template <
typename VersionT = Aws::String>
70 m_versionHasBeenSet =
true;
71 m_version = std::forward<VersionT>(value);
73 template <
typename VersionT = Aws::String>
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
105 bool m_grantArnHasBeenSet =
false;
106 bool m_statusHasBeenSet =
false;
107 bool m_versionHasBeenSet =
false;
108 bool m_requestIdHasBeenSet =
false;
CreateGrantVersionResult & WithStatus(GrantStatus value)
GrantStatus GetStatus() const
const Aws::String & GetRequestId() const
CreateGrantVersionResult & WithRequestId(RequestIdT &&value)
CreateGrantVersionResult & WithVersion(VersionT &&value)
void SetRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API CreateGrantVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetVersion() const
void SetVersion(VersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LICENSEMANAGER_API CreateGrantVersionResult()=default
void SetGrantArn(GrantArnT &&value)
void SetStatus(GrantStatus value)
CreateGrantVersionResult & WithGrantArn(GrantArnT &&value)
const Aws::String & GetGrantArn() const
AWS_LICENSEMANAGER_API CreateGrantVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue