7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManagerRequest.h>
10#include <aws/license-manager/LicenseManager_EXPORTS.h>
11#include <aws/license-manager/model/ConsumptionConfiguration.h>
12#include <aws/license-manager/model/DatetimeRange.h>
13#include <aws/license-manager/model/Entitlement.h>
14#include <aws/license-manager/model/Issuer.h>
15#include <aws/license-manager/model/Metadata.h>
16#include <aws/license-manager/model/Tag.h>
21namespace LicenseManager {
46 template <
typename LicenseNameT = Aws::String>
48 m_licenseNameHasBeenSet =
true;
49 m_licenseName = std::forward<LicenseNameT>(value);
51 template <
typename LicenseNameT = Aws::String>
64 template <
typename ProductNameT = Aws::String>
66 m_productNameHasBeenSet =
true;
67 m_productName = std::forward<ProductNameT>(value);
69 template <
typename ProductNameT = Aws::String>
82 template <
typename ProductSKUT = Aws::String>
84 m_productSKUHasBeenSet =
true;
85 m_productSKU = std::forward<ProductSKUT>(value);
87 template <
typename ProductSKUT = Aws::String>
100 template <
typename IssuerT = Issuer>
102 m_issuerHasBeenSet =
true;
103 m_issuer = std::forward<IssuerT>(value);
105 template <
typename IssuerT = Issuer>
118 template <
typename HomeRegionT = Aws::String>
120 m_homeRegionHasBeenSet =
true;
121 m_homeRegion = std::forward<HomeRegionT>(value);
123 template <
typename HomeRegionT = Aws::String>
137 template <
typename Val
idityT = DatetimeRange>
139 m_validityHasBeenSet =
true;
140 m_validity = std::forward<ValidityT>(value);
142 template <
typename Val
idityT = DatetimeRange>
155 template <
typename EntitlementsT = Aws::Vector<Entitlement>>
157 m_entitlementsHasBeenSet =
true;
158 m_entitlements = std::forward<EntitlementsT>(value);
160 template <
typename EntitlementsT = Aws::Vector<Entitlement>>
165 template <
typename EntitlementsT = Entitlement>
167 m_entitlementsHasBeenSet =
true;
168 m_entitlements.emplace_back(std::forward<EntitlementsT>(value));
179 template <
typename BeneficiaryT = Aws::String>
181 m_beneficiaryHasBeenSet =
true;
182 m_beneficiary = std::forward<BeneficiaryT>(value);
184 template <
typename BeneficiaryT = Aws::String>
199 template <
typename ConsumptionConfigurationT = ConsumptionConfiguration>
201 m_consumptionConfigurationHasBeenSet =
true;
202 m_consumptionConfiguration = std::forward<ConsumptionConfigurationT>(value);
204 template <
typename ConsumptionConfigurationT = ConsumptionConfiguration>
217 template <
typename LicenseMetadataT = Aws::Vector<Metadata>>
219 m_licenseMetadataHasBeenSet =
true;
220 m_licenseMetadata = std::forward<LicenseMetadataT>(value);
222 template <
typename LicenseMetadataT = Aws::Vector<Metadata>>
227 template <
typename LicenseMetadataT = Metadata>
229 m_licenseMetadataHasBeenSet =
true;
230 m_licenseMetadata.emplace_back(std::forward<LicenseMetadataT>(value));
242 template <
typename ClientTokenT = Aws::String>
244 m_clientTokenHasBeenSet =
true;
245 m_clientToken = std::forward<ClientTokenT>(value);
247 template <
typename ClientTokenT = Aws::String>
263 template <
typename TagsT = Aws::Vector<Tag>>
265 m_tagsHasBeenSet =
true;
266 m_tags = std::forward<TagsT>(value);
268 template <
typename TagsT = Aws::Vector<Tag>>
270 SetTags(std::forward<TagsT>(value));
273 template <
typename TagsT = Tag>
275 m_tagsHasBeenSet =
true;
276 m_tags.emplace_back(std::forward<TagsT>(value));
304 bool m_licenseNameHasBeenSet =
false;
305 bool m_productNameHasBeenSet =
false;
306 bool m_productSKUHasBeenSet =
false;
307 bool m_issuerHasBeenSet =
false;
308 bool m_homeRegionHasBeenSet =
false;
309 bool m_validityHasBeenSet =
false;
310 bool m_entitlementsHasBeenSet =
false;
311 bool m_beneficiaryHasBeenSet =
false;
312 bool m_consumptionConfigurationHasBeenSet =
false;
313 bool m_licenseMetadataHasBeenSet =
false;
314 bool m_clientTokenHasBeenSet =
false;
315 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