7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/IssuerDetails.h>
10#include <aws/license-manager/model/LicenseStatus.h>
11#include <aws/license-manager/model/DatetimeRange.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/license-manager/model/ConsumptionConfiguration.h>
14#include <aws/license-manager/model/ReceivedMetadata.h>
15#include <aws/license-manager/model/Entitlement.h>
16#include <aws/license-manager/model/Metadata.h>
29namespace LicenseManager
57 inline void SetLicenseArn(
const char* value) { m_licenseArnHasBeenSet =
true; m_licenseArn.assign(value); }
71 inline void SetLicenseName(
const char* value) { m_licenseNameHasBeenSet =
true; m_licenseName.assign(value); }
85 inline void SetProductName(
const char* value) { m_productNameHasBeenSet =
true; m_productName.assign(value); }
99 inline void SetProductSKU(
const char* value) { m_productSKUHasBeenSet =
true; m_productSKU.assign(value); }
125 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
164 inline void SetBeneficiary(
const char* value) { m_beneficiaryHasBeenSet =
true; m_beneficiary.assign(value); }
218 inline void SetCreateTime(
const char* value) { m_createTimeHasBeenSet =
true; m_createTime.assign(value); }
232 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
252 bool m_licenseArnHasBeenSet =
false;
255 bool m_licenseNameHasBeenSet =
false;
258 bool m_productNameHasBeenSet =
false;
261 bool m_productSKUHasBeenSet =
false;
264 bool m_issuerHasBeenSet =
false;
267 bool m_homeRegionHasBeenSet =
false;
270 bool m_statusHasBeenSet =
false;
273 bool m_validityHasBeenSet =
false;
276 bool m_beneficiaryHasBeenSet =
false;
279 bool m_entitlementsHasBeenSet =
false;
282 bool m_consumptionConfigurationHasBeenSet =
false;
285 bool m_licenseMetadataHasBeenSet =
false;
288 bool m_createTimeHasBeenSet =
false;
291 bool m_versionHasBeenSet =
false;
294 bool m_receivedMetadataHasBeenSet =
false;
void SetValidity(DatetimeRange &&value)
GrantedLicense & AddLicenseMetadata(Metadata &&value)
const Aws::String & GetLicenseArn() const
GrantedLicense & WithCreateTime(const Aws::String &value)
const DatetimeRange & GetValidity() const
GrantedLicense & WithCreateTime(Aws::String &&value)
bool CreateTimeHasBeenSet() const
void SetBeneficiary(Aws::String &&value)
void SetProductName(const char *value)
void SetValidity(const DatetimeRange &value)
bool HomeRegionHasBeenSet() const
void SetLicenseArn(Aws::String &&value)
void SetLicenseMetadata(const Aws::Vector< Metadata > &value)
GrantedLicense & WithHomeRegion(Aws::String &&value)
void SetLicenseName(const char *value)
GrantedLicense & WithVersion(const Aws::String &value)
void SetCreateTime(const Aws::String &value)
GrantedLicense & WithVersion(const char *value)
AWS_LICENSEMANAGER_API GrantedLicense & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseMetadata(Aws::Vector< Metadata > &&value)
void SetConsumptionConfiguration(ConsumptionConfiguration &&value)
GrantedLicense & WithLicenseName(Aws::String &&value)
void SetHomeRegion(const char *value)
void SetLicenseArn(const char *value)
GrantedLicense & WithProductName(Aws::String &&value)
void SetBeneficiary(const Aws::String &value)
GrantedLicense & WithProductName(const char *value)
void SetStatus(LicenseStatus &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntitlements(const Aws::Vector< Entitlement > &value)
const Aws::Vector< Entitlement > & GetEntitlements() const
bool BeneficiaryHasBeenSet() const
GrantedLicense & WithReceivedMetadata(ReceivedMetadata &&value)
bool StatusHasBeenSet() const
void SetHomeRegion(const Aws::String &value)
GrantedLicense & WithBeneficiary(const char *value)
GrantedLicense & WithIssuer(IssuerDetails &&value)
void SetBeneficiary(const char *value)
bool ConsumptionConfigurationHasBeenSet() const
void SetLicenseName(Aws::String &&value)
GrantedLicense & WithHomeRegion(const char *value)
const Aws::String & GetProductSKU() const
const Aws::String & GetHomeRegion() const
GrantedLicense & WithStatus(LicenseStatus &&value)
GrantedLicense & WithLicenseArn(const char *value)
AWS_LICENSEMANAGER_API GrantedLicense()
const ConsumptionConfiguration & GetConsumptionConfiguration() const
void SetHomeRegion(Aws::String &&value)
bool LicenseMetadataHasBeenSet() const
GrantedLicense & WithEntitlements(const Aws::Vector< Entitlement > &value)
const Aws::String & GetProductName() const
void SetProductName(Aws::String &&value)
GrantedLicense & WithProductSKU(const char *value)
bool ReceivedMetadataHasBeenSet() const
AWS_LICENSEMANAGER_API GrantedLicense(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCreateTime() const
const ReceivedMetadata & GetReceivedMetadata() const
void SetVersion(Aws::String &&value)
void SetConsumptionConfiguration(const ConsumptionConfiguration &value)
void SetReceivedMetadata(const ReceivedMetadata &value)
const LicenseStatus & GetStatus() const
GrantedLicense & AddEntitlements(Entitlement &&value)
GrantedLicense & WithConsumptionConfiguration(const ConsumptionConfiguration &value)
void SetReceivedMetadata(ReceivedMetadata &&value)
void SetLicenseArn(const Aws::String &value)
void SetProductSKU(const Aws::String &value)
GrantedLicense & WithConsumptionConfiguration(ConsumptionConfiguration &&value)
bool ProductSKUHasBeenSet() const
GrantedLicense & WithProductSKU(Aws::String &&value)
const Aws::String & GetLicenseName() const
GrantedLicense & WithValidity(DatetimeRange &&value)
bool EntitlementsHasBeenSet() const
void SetVersion(const Aws::String &value)
void SetEntitlements(Aws::Vector< Entitlement > &&value)
GrantedLicense & WithIssuer(const IssuerDetails &value)
GrantedLicense & WithLicenseMetadata(const Aws::Vector< Metadata > &value)
GrantedLicense & WithStatus(const LicenseStatus &value)
GrantedLicense & WithEntitlements(Aws::Vector< Entitlement > &&value)
void SetProductSKU(Aws::String &&value)
GrantedLicense & WithLicenseName(const Aws::String &value)
void SetProductSKU(const char *value)
void SetIssuer(const IssuerDetails &value)
void SetIssuer(IssuerDetails &&value)
bool ProductNameHasBeenSet() const
void SetStatus(const LicenseStatus &value)
GrantedLicense & WithProductName(const Aws::String &value)
bool LicenseNameHasBeenSet() const
GrantedLicense & WithBeneficiary(Aws::String &&value)
bool IssuerHasBeenSet() const
GrantedLicense & WithBeneficiary(const Aws::String &value)
GrantedLicense & WithCreateTime(const char *value)
void SetCreateTime(const char *value)
const Aws::String & GetVersion() const
void SetProductName(const Aws::String &value)
GrantedLicense & AddLicenseMetadata(const Metadata &value)
GrantedLicense & WithValidity(const DatetimeRange &value)
GrantedLicense & AddEntitlements(const Entitlement &value)
void SetLicenseName(const Aws::String &value)
GrantedLicense & WithLicenseArn(Aws::String &&value)
void SetVersion(const char *value)
GrantedLicense & WithReceivedMetadata(const ReceivedMetadata &value)
GrantedLicense & WithLicenseName(const char *value)
const IssuerDetails & GetIssuer() const
bool ValidityHasBeenSet() const
bool LicenseArnHasBeenSet() const
GrantedLicense & WithVersion(Aws::String &&value)
GrantedLicense & WithLicenseMetadata(Aws::Vector< Metadata > &&value)
bool VersionHasBeenSet() const
GrantedLicense & WithHomeRegion(const Aws::String &value)
const Aws::String & GetBeneficiary() const
GrantedLicense & WithProductSKU(const Aws::String &value)
const Aws::Vector< Metadata > & GetLicenseMetadata() const
void SetCreateTime(Aws::String &&value)
GrantedLicense & WithLicenseArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue