7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/LicenseManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager/model/Issuer.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/Entitlement.h>
15#include <aws/license-manager/model/Metadata.h>
16#include <aws/license-manager/model/Tag.h>
21namespace LicenseManager
50 template<
typename LicenseNameT = Aws::String>
51 void SetLicenseName(LicenseNameT&& value) { m_licenseNameHasBeenSet =
true; m_licenseName = std::forward<LicenseNameT>(value); }
52 template<
typename LicenseNameT = Aws::String>
62 template<
typename ProductNameT = Aws::String>
63 void SetProductName(ProductNameT&& value) { m_productNameHasBeenSet =
true; m_productName = std::forward<ProductNameT>(value); }
64 template<
typename ProductNameT = Aws::String>
74 template<
typename ProductSKUT = Aws::String>
75 void SetProductSKU(ProductSKUT&& value) { m_productSKUHasBeenSet =
true; m_productSKU = std::forward<ProductSKUT>(value); }
76 template<
typename ProductSKUT = Aws::String>
86 template<
typename IssuerT = Issuer>
87 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet =
true; m_issuer = std::forward<IssuerT>(value); }
88 template<
typename IssuerT = Issuer>
98 template<
typename HomeRegionT = Aws::String>
99 void SetHomeRegion(HomeRegionT&& value) { m_homeRegionHasBeenSet =
true; m_homeRegion = std::forward<HomeRegionT>(value); }
100 template<
typename HomeRegionT = Aws::String>
111 template<
typename Val
idityT = DatetimeRange>
112 void SetValidity(ValidityT&& value) { m_validityHasBeenSet =
true; m_validity = std::forward<ValidityT>(value); }
113 template<
typename Val
idityT = DatetimeRange>
123 template<
typename EntitlementsT = Aws::Vector<Entitlement>>
124 void SetEntitlements(EntitlementsT&& value) { m_entitlementsHasBeenSet =
true; m_entitlements = std::forward<EntitlementsT>(value); }
125 template<
typename EntitlementsT = Aws::Vector<Entitlement>>
127 template<
typename EntitlementsT = Entitlement>
137 template<
typename BeneficiaryT = Aws::String>
138 void SetBeneficiary(BeneficiaryT&& value) { m_beneficiaryHasBeenSet =
true; m_beneficiary = std::forward<BeneficiaryT>(value); }
139 template<
typename BeneficiaryT = Aws::String>
151 template<
typename ConsumptionConfigurationT = ConsumptionConfiguration>
152 void SetConsumptionConfiguration(ConsumptionConfigurationT&& value) { m_consumptionConfigurationHasBeenSet =
true; m_consumptionConfiguration = std::forward<ConsumptionConfigurationT>(value); }
153 template<
typename ConsumptionConfigurationT = ConsumptionConfiguration>
163 template<
typename LicenseMetadataT = Aws::Vector<Metadata>>
164 void SetLicenseMetadata(LicenseMetadataT&& value) { m_licenseMetadataHasBeenSet =
true; m_licenseMetadata = std::forward<LicenseMetadataT>(value); }
165 template<
typename LicenseMetadataT = Aws::Vector<Metadata>>
167 template<
typename LicenseMetadataT = Metadata>
178 template<
typename ClientTokenT = Aws::String>
179 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
180 template<
typename ClientTokenT = Aws::String>
193 template<
typename TagsT = Aws::Vector<Tag>>
194 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
195 template<
typename TagsT = Aws::Vector<Tag>>
197 template<
typename TagsT = Tag>
203 bool m_licenseNameHasBeenSet =
false;
206 bool m_productNameHasBeenSet =
false;
209 bool m_productSKUHasBeenSet =
false;
212 bool m_issuerHasBeenSet =
false;
215 bool m_homeRegionHasBeenSet =
false;
218 bool m_validityHasBeenSet =
false;
221 bool m_entitlementsHasBeenSet =
false;
224 bool m_beneficiaryHasBeenSet =
false;
227 bool m_consumptionConfigurationHasBeenSet =
false;
230 bool m_licenseMetadataHasBeenSet =
false;
233 bool m_clientTokenHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
void SetEntitlements(EntitlementsT &&value)
bool LicenseNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ValidityHasBeenSet() const
const Aws::String & GetBeneficiary() const
CreateLicenseRequest & WithProductSKU(ProductSKUT &&value)
CreateLicenseRequest & WithIssuer(IssuerT &&value)
bool IssuerHasBeenSet() const
void SetLicenseName(LicenseNameT &&value)
const Aws::String & GetLicenseName() const
CreateLicenseRequest & WithLicenseName(LicenseNameT &&value)
CreateLicenseRequest & WithTags(TagsT &&value)
CreateLicenseRequest & AddEntitlements(EntitlementsT &&value)
AWS_LICENSEMANAGER_API CreateLicenseRequest()=default
bool EntitlementsHasBeenSet() const
const Issuer & GetIssuer() const
bool ConsumptionConfigurationHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateLicenseRequest & WithBeneficiary(BeneficiaryT &&value)
void SetIssuer(IssuerT &&value)
const Aws::String & GetHomeRegion() const
const Aws::Vector< Metadata > & GetLicenseMetadata() const
CreateLicenseRequest & WithLicenseMetadata(LicenseMetadataT &&value)
const Aws::String & GetClientToken() const
void SetTags(TagsT &&value)
CreateLicenseRequest & WithHomeRegion(HomeRegionT &&value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
bool HomeRegionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateLicenseRequest & WithProductName(ProductNameT &&value)
void SetProductName(ProductNameT &&value)
void SetBeneficiary(BeneficiaryT &&value)
const Aws::String & GetProductSKU() const
bool LicenseMetadataHasBeenSet() const
CreateLicenseRequest & WithEntitlements(EntitlementsT &&value)
const ConsumptionConfiguration & GetConsumptionConfiguration() const
void SetLicenseMetadata(LicenseMetadataT &&value)
bool ProductNameHasBeenSet() const
void SetProductSKU(ProductSKUT &&value)
CreateLicenseRequest & AddTags(TagsT &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Entitlement > & GetEntitlements() const
const Aws::String & GetProductName() const
bool ProductSKUHasBeenSet() const
void SetHomeRegion(HomeRegionT &&value)
CreateLicenseRequest & WithClientToken(ClientTokenT &&value)
bool TagsHasBeenSet() const
CreateLicenseRequest & WithConsumptionConfiguration(ConsumptionConfigurationT &&value)
void SetValidity(ValidityT &&value)
void SetConsumptionConfiguration(ConsumptionConfigurationT &&value)
void SetClientToken(ClientTokenT &&value)
bool BeneficiaryHasBeenSet() const
CreateLicenseRequest & WithValidity(ValidityT &&value)
const DatetimeRange & GetValidity() const
CreateLicenseRequest & AddLicenseMetadata(LicenseMetadataT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector