7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/ConsumptionConfiguration.h>
11#include <aws/license-manager/model/DatetimeRange.h>
12#include <aws/license-manager/model/Entitlement.h>
13#include <aws/license-manager/model/IssuerDetails.h>
14#include <aws/license-manager/model/LicenseStatus.h>
15#include <aws/license-manager/model/Metadata.h>
16#include <aws/license-manager/model/ReceivedMetadata.h>
27namespace LicenseManager {
49 template <
typename LicenseArnT = Aws::String>
51 m_licenseArnHasBeenSet =
true;
52 m_licenseArn = std::forward<LicenseArnT>(value);
54 template <
typename LicenseArnT = Aws::String>
67 template <
typename LicenseNameT = Aws::String>
69 m_licenseNameHasBeenSet =
true;
70 m_licenseName = std::forward<LicenseNameT>(value);
72 template <
typename LicenseNameT = Aws::String>
85 template <
typename ProductNameT = Aws::String>
87 m_productNameHasBeenSet =
true;
88 m_productName = std::forward<ProductNameT>(value);
90 template <
typename ProductNameT = Aws::String>
103 template <
typename ProductSKUT = Aws::String>
105 m_productSKUHasBeenSet =
true;
106 m_productSKU = std::forward<ProductSKUT>(value);
108 template <
typename ProductSKUT = Aws::String>
121 template <
typename IssuerT = IssuerDetails>
123 m_issuerHasBeenSet =
true;
124 m_issuer = std::forward<IssuerT>(value);
126 template <
typename IssuerT = IssuerDetails>
139 template <
typename HomeRegionT = Aws::String>
141 m_homeRegionHasBeenSet =
true;
142 m_homeRegion = std::forward<HomeRegionT>(value);
144 template <
typename HomeRegionT = Aws::String>
158 m_statusHasBeenSet =
true;
174 template <
typename Val
idityT = DatetimeRange>
176 m_validityHasBeenSet =
true;
177 m_validity = std::forward<ValidityT>(value);
179 template <
typename Val
idityT = DatetimeRange>
192 template <
typename BeneficiaryT = Aws::String>
194 m_beneficiaryHasBeenSet =
true;
195 m_beneficiary = std::forward<BeneficiaryT>(value);
197 template <
typename BeneficiaryT = Aws::String>
210 template <
typename EntitlementsT = Aws::Vector<Entitlement>>
212 m_entitlementsHasBeenSet =
true;
213 m_entitlements = std::forward<EntitlementsT>(value);
215 template <
typename EntitlementsT = Aws::Vector<Entitlement>>
220 template <
typename EntitlementsT = Entitlement>
222 m_entitlementsHasBeenSet =
true;
223 m_entitlements.emplace_back(std::forward<EntitlementsT>(value));
234 template <
typename ConsumptionConfigurationT = ConsumptionConfiguration>
236 m_consumptionConfigurationHasBeenSet =
true;
237 m_consumptionConfiguration = std::forward<ConsumptionConfigurationT>(value);
239 template <
typename ConsumptionConfigurationT = ConsumptionConfiguration>
252 template <
typename LicenseMetadataT = Aws::Vector<Metadata>>
254 m_licenseMetadataHasBeenSet =
true;
255 m_licenseMetadata = std::forward<LicenseMetadataT>(value);
257 template <
typename LicenseMetadataT = Aws::Vector<Metadata>>
262 template <
typename LicenseMetadataT = Metadata>
264 m_licenseMetadataHasBeenSet =
true;
265 m_licenseMetadata.emplace_back(std::forward<LicenseMetadataT>(value));
276 template <
typename CreateTimeT = Aws::String>
278 m_createTimeHasBeenSet =
true;
279 m_createTime = std::forward<CreateTimeT>(value);
281 template <
typename CreateTimeT = Aws::String>
294 template <
typename VersionT = Aws::String>
296 m_versionHasBeenSet =
true;
297 m_version = std::forward<VersionT>(value);
299 template <
typename VersionT = Aws::String>
312 template <
typename ReceivedMetadataT = ReceivedMetadata>
314 m_receivedMetadataHasBeenSet =
true;
315 m_receivedMetadata = std::forward<ReceivedMetadataT>(value);
317 template <
typename ReceivedMetadataT = ReceivedMetadata>
338 DatetimeRange m_validity;
344 ConsumptionConfiguration m_consumptionConfiguration;
352 ReceivedMetadata m_receivedMetadata;
353 bool m_licenseArnHasBeenSet =
false;
354 bool m_licenseNameHasBeenSet =
false;
355 bool m_productNameHasBeenSet =
false;
356 bool m_productSKUHasBeenSet =
false;
357 bool m_issuerHasBeenSet =
false;
358 bool m_homeRegionHasBeenSet =
false;
359 bool m_statusHasBeenSet =
false;
360 bool m_validityHasBeenSet =
false;
361 bool m_beneficiaryHasBeenSet =
false;
362 bool m_entitlementsHasBeenSet =
false;
363 bool m_consumptionConfigurationHasBeenSet =
false;
364 bool m_licenseMetadataHasBeenSet =
false;
365 bool m_createTimeHasBeenSet =
false;
366 bool m_versionHasBeenSet =
false;
367 bool m_receivedMetadataHasBeenSet =
false;
GrantedLicense & WithReceivedMetadata(ReceivedMetadataT &&value)
const Aws::String & GetLicenseArn() const
void SetIssuer(IssuerT &&value)
const DatetimeRange & GetValidity() const
void SetLicenseName(LicenseNameT &&value)
bool CreateTimeHasBeenSet() const
bool HomeRegionHasBeenSet() const
void SetStatus(LicenseStatus value)
GrantedLicense & WithVersion(VersionT &&value)
AWS_LICENSEMANAGER_API GrantedLicense & operator=(Aws::Utils::Json::JsonView jsonValue)
GrantedLicense & WithEntitlements(EntitlementsT &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntitlements(EntitlementsT &&value)
void SetProductSKU(ProductSKUT &&value)
const Aws::Vector< Entitlement > & GetEntitlements() const
GrantedLicense & AddEntitlements(EntitlementsT &&value)
bool BeneficiaryHasBeenSet() const
void SetConsumptionConfiguration(ConsumptionConfigurationT &&value)
bool StatusHasBeenSet() const
bool ConsumptionConfigurationHasBeenSet() const
const Aws::String & GetProductSKU() const
const Aws::String & GetHomeRegion() const
void SetLicenseMetadata(LicenseMetadataT &&value)
const ConsumptionConfiguration & GetConsumptionConfiguration() const
bool LicenseMetadataHasBeenSet() const
void SetCreateTime(CreateTimeT &&value)
const Aws::String & GetProductName() const
GrantedLicense & WithLicenseArn(LicenseArnT &&value)
bool ReceivedMetadataHasBeenSet() const
AWS_LICENSEMANAGER_API GrantedLicense(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCreateTime() const
const ReceivedMetadata & GetReceivedMetadata() const
GrantedLicense & WithProductName(ProductNameT &&value)
GrantedLicense & WithIssuer(IssuerT &&value)
void SetReceivedMetadata(ReceivedMetadataT &&value)
void SetProductName(ProductNameT &&value)
GrantedLicense & WithValidity(ValidityT &&value)
LicenseStatus GetStatus() const
GrantedLicense & WithLicenseMetadata(LicenseMetadataT &&value)
bool ProductSKUHasBeenSet() const
const Aws::String & GetLicenseName() const
void SetLicenseArn(LicenseArnT &&value)
bool EntitlementsHasBeenSet() const
void SetBeneficiary(BeneficiaryT &&value)
GrantedLicense & WithHomeRegion(HomeRegionT &&value)
GrantedLicense & WithStatus(LicenseStatus value)
bool ProductNameHasBeenSet() const
AWS_LICENSEMANAGER_API GrantedLicense()=default
void SetValidity(ValidityT &&value)
bool LicenseNameHasBeenSet() const
bool IssuerHasBeenSet() const
GrantedLicense & AddLicenseMetadata(LicenseMetadataT &&value)
const Aws::String & GetVersion() const
void SetHomeRegion(HomeRegionT &&value)
void SetVersion(VersionT &&value)
GrantedLicense & WithBeneficiary(BeneficiaryT &&value)
GrantedLicense & WithConsumptionConfiguration(ConsumptionConfigurationT &&value)
const IssuerDetails & GetIssuer() const
bool ValidityHasBeenSet() const
bool LicenseArnHasBeenSet() const
GrantedLicense & WithProductSKU(ProductSKUT &&value)
bool VersionHasBeenSet() const
const Aws::String & GetBeneficiary() const
GrantedLicense & WithLicenseName(LicenseNameT &&value)
const Aws::Vector< Metadata > & GetLicenseMetadata() const
GrantedLicense & WithCreateTime(CreateTimeT &&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