7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/GrantStatus.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace LicenseManager
41 template<
typename GrantArnT = Aws::String>
42 void SetGrantArn(GrantArnT&& value) { m_grantArnHasBeenSet =
true; m_grantArn = std::forward<GrantArnT>(value); }
43 template<
typename GrantArnT = Aws::String>
61 template<
typename VersionT = Aws::String>
62 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
63 template<
typename VersionT = Aws::String>
70 template<
typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
72 template<
typename RequestIdT = Aws::String>
78 bool m_grantArnHasBeenSet =
false;
81 bool m_statusHasBeenSet =
false;
84 bool m_versionHasBeenSet =
false;
87 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_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