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>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/license-manager/model/Options.h>
12#include <aws/license-manager/model/AllowedOperation.h>
25namespace LicenseManager
52 inline void SetGrantArn(
const char* value) { m_grantArnHasBeenSet =
true; m_grantArn.assign(value); }
66 inline void SetGrantName(
const char* value) { m_grantNameHasBeenSet =
true; m_grantName.assign(value); }
80 inline void SetParentArn(
const char* value) { m_parentArnHasBeenSet =
true; m_parentArn.assign(value); }
94 inline void SetLicenseArn(
const char* value) { m_licenseArnHasBeenSet =
true; m_licenseArn.assign(value); }
108 inline void SetGranteePrincipalArn(
const char* value) { m_granteePrincipalArnHasBeenSet =
true; m_granteePrincipalArn.assign(value); }
122 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
148 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
162 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
189 inline void SetOptions(
Options&& value) { m_optionsHasBeenSet =
true; m_options = std::move(value); }
196 bool m_grantArnHasBeenSet =
false;
199 bool m_grantNameHasBeenSet =
false;
202 bool m_parentArnHasBeenSet =
false;
205 bool m_licenseArnHasBeenSet =
false;
208 bool m_granteePrincipalArnHasBeenSet =
false;
211 bool m_homeRegionHasBeenSet =
false;
214 bool m_grantStatusHasBeenSet =
false;
217 bool m_statusReasonHasBeenSet =
false;
220 bool m_versionHasBeenSet =
false;
223 bool m_grantedOperationsHasBeenSet =
false;
226 bool m_optionsHasBeenSet =
false;
void SetGrantStatus(GrantStatus &&value)
Grant & WithGranteePrincipalArn(const Aws::String &value)
Grant & WithGrantName(const char *value)
void SetGrantArn(const char *value)
Grant & WithVersion(const Aws::String &value)
const Aws::String & GetLicenseArn() const
Grant & WithLicenseArn(const char *value)
void SetLicenseArn(const char *value)
const Aws::String & GetParentArn() const
void SetOptions(const Options &value)
Grant & WithHomeRegion(const char *value)
void SetHomeRegion(const char *value)
Grant & AddGrantedOperations(AllowedOperation &&value)
bool LicenseArnHasBeenSet() const
void SetGrantArn(const Aws::String &value)
const Aws::Vector< AllowedOperation > & GetGrantedOperations() const
void SetVersion(const Aws::String &value)
Grant & WithVersion(Aws::String &&value)
const GrantStatus & GetGrantStatus() const
const Aws::String & GetGrantName() const
void SetGrantName(const char *value)
Grant & WithOptions(const Options &value)
void SetLicenseArn(const Aws::String &value)
Grant & WithGrantedOperations(const Aws::Vector< AllowedOperation > &value)
void SetParentArn(Aws::String &&value)
void SetGrantStatus(const GrantStatus &value)
AWS_LICENSEMANAGER_API Grant(Aws::Utils::Json::JsonView jsonValue)
void SetGrantedOperations(Aws::Vector< AllowedOperation > &&value)
Grant & WithGrantArn(const Aws::String &value)
void SetGrantName(const Aws::String &value)
void SetGrantArn(Aws::String &&value)
Grant & WithGranteePrincipalArn(Aws::String &&value)
void SetGranteePrincipalArn(const char *value)
Grant & WithParentArn(const char *value)
Grant & WithLicenseArn(const Aws::String &value)
void SetGranteePrincipalArn(Aws::String &&value)
Grant & WithGranteePrincipalArn(const char *value)
Grant & WithLicenseArn(Aws::String &&value)
bool GrantStatusHasBeenSet() const
void SetVersion(Aws::String &&value)
Grant & WithGrantedOperations(Aws::Vector< AllowedOperation > &&value)
AWS_LICENSEMANAGER_API Grant & operator=(Aws::Utils::Json::JsonView jsonValue)
Grant & WithStatusReason(Aws::String &&value)
Grant & WithGrantArn(const char *value)
void SetGrantName(Aws::String &&value)
Grant & WithGrantName(Aws::String &&value)
Grant & WithGrantName(const Aws::String &value)
bool GrantArnHasBeenSet() const
void SetStatusReason(const char *value)
void SetOptions(Options &&value)
void SetStatusReason(Aws::String &&value)
Grant & WithGrantStatus(const GrantStatus &value)
bool HomeRegionHasBeenSet() const
bool VersionHasBeenSet() const
Grant & WithGrantArn(Aws::String &&value)
Grant & AddGrantedOperations(const AllowedOperation &value)
Grant & WithStatusReason(const Aws::String &value)
void SetVersion(const char *value)
Grant & WithOptions(Options &&value)
void SetLicenseArn(Aws::String &&value)
bool StatusReasonHasBeenSet() const
const Aws::String & GetHomeRegion() const
AWS_LICENSEMANAGER_API Grant()
void SetStatusReason(const Aws::String &value)
bool GrantNameHasBeenSet() const
Grant & WithVersion(const char *value)
const Aws::String & GetGranteePrincipalArn() const
Grant & WithGrantStatus(GrantStatus &&value)
const Aws::String & GetStatusReason() const
bool OptionsHasBeenSet() const
const Options & GetOptions() const
void SetGranteePrincipalArn(const Aws::String &value)
Grant & WithParentArn(Aws::String &&value)
void SetParentArn(const Aws::String &value)
Grant & WithHomeRegion(Aws::String &&value)
void SetHomeRegion(Aws::String &&value)
bool GranteePrincipalArnHasBeenSet() const
void SetParentArn(const char *value)
Grant & WithHomeRegion(const Aws::String &value)
void SetHomeRegion(const Aws::String &value)
void SetGrantedOperations(const Aws::Vector< AllowedOperation > &value)
Grant & WithStatusReason(const char *value)
bool ParentArnHasBeenSet() const
Grant & WithParentArn(const Aws::String &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GrantedOperationsHasBeenSet() const
const Aws::String & GetGrantArn() const
const Aws::String & GetVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue