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>
20namespace LicenseManager
51 inline void SetLicenseName(
const char* value) { m_licenseNameHasBeenSet =
true; m_licenseName.assign(value); }
65 inline void SetProductName(
const char* value) { m_productNameHasBeenSet =
true; m_productName.assign(value); }
79 inline void SetProductSKU(
const char* value) { m_productSKUHasBeenSet =
true; m_productSKU.assign(value); }
91 inline void SetIssuer(
const Issuer& value) { m_issuerHasBeenSet =
true; m_issuer = value; }
92 inline void SetIssuer(
Issuer&& value) { m_issuerHasBeenSet =
true; m_issuer = std::move(value); }
105 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
146 inline void SetBeneficiary(
const char* value) { m_beneficiaryHasBeenSet =
true; m_beneficiary.assign(value); }
189 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
197 bool m_licenseNameHasBeenSet =
false;
200 bool m_productNameHasBeenSet =
false;
203 bool m_productSKUHasBeenSet =
false;
206 bool m_issuerHasBeenSet =
false;
209 bool m_homeRegionHasBeenSet =
false;
212 bool m_validityHasBeenSet =
false;
215 bool m_entitlementsHasBeenSet =
false;
218 bool m_beneficiaryHasBeenSet =
false;
221 bool m_consumptionConfigurationHasBeenSet =
false;
224 bool m_licenseMetadataHasBeenSet =
false;
227 bool m_clientTokenHasBeenSet =
false;
CreateLicenseRequest & WithLicenseMetadata(Aws::Vector< Metadata > &&value)
void SetProductName(Aws::String &&value)
CreateLicenseRequest & AddLicenseMetadata(const Metadata &value)
CreateLicenseRequest & WithClientToken(Aws::String &&value)
bool LicenseNameHasBeenSet() const
void SetHomeRegion(const char *value)
void SetLicenseName(Aws::String &&value)
void SetHomeRegion(const Aws::String &value)
void SetLicenseMetadata(Aws::Vector< Metadata > &&value)
CreateLicenseRequest & WithHomeRegion(const char *value)
CreateLicenseRequest & WithProductSKU(const char *value)
CreateLicenseRequest & WithProductName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool ValidityHasBeenSet() const
const Aws::String & GetBeneficiary() const
void SetEntitlements(Aws::Vector< Entitlement > &&value)
void SetConsumptionConfiguration(const ConsumptionConfiguration &value)
void SetBeneficiary(const char *value)
void SetLicenseName(const Aws::String &value)
void SetBeneficiary(const Aws::String &value)
bool IssuerHasBeenSet() const
CreateLicenseRequest & WithConsumptionConfiguration(const ConsumptionConfiguration &value)
const Aws::String & GetLicenseName() const
void SetIssuer(const Issuer &value)
CreateLicenseRequest & WithLicenseName(const char *value)
void SetIssuer(Issuer &&value)
void SetClientToken(const char *value)
void SetProductName(const Aws::String &value)
void SetValidity(DatetimeRange &&value)
CreateLicenseRequest & WithBeneficiary(const Aws::String &value)
bool EntitlementsHasBeenSet() const
const Issuer & GetIssuer() const
bool ConsumptionConfigurationHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetProductSKU(const char *value)
CreateLicenseRequest & WithHomeRegion(Aws::String &&value)
CreateLicenseRequest & WithBeneficiary(const char *value)
const Aws::String & GetHomeRegion() const
const Aws::Vector< Metadata > & GetLicenseMetadata() const
CreateLicenseRequest & WithProductSKU(const Aws::String &value)
CreateLicenseRequest & WithLicenseName(const Aws::String &value)
void SetLicenseMetadata(const Aws::Vector< Metadata > &value)
const Aws::String & GetClientToken() const
AWS_LICENSEMANAGER_API CreateLicenseRequest()
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
CreateLicenseRequest & WithProductSKU(Aws::String &&value)
bool HomeRegionHasBeenSet() const
CreateLicenseRequest & WithValidity(const DatetimeRange &value)
void SetProductSKU(Aws::String &&value)
void SetConsumptionConfiguration(ConsumptionConfiguration &&value)
void SetProductName(const char *value)
CreateLicenseRequest & WithBeneficiary(Aws::String &&value)
CreateLicenseRequest & WithLicenseMetadata(const Aws::Vector< Metadata > &value)
const Aws::String & GetProductSKU() const
bool LicenseMetadataHasBeenSet() const
CreateLicenseRequest & WithIssuer(const Issuer &value)
CreateLicenseRequest & AddEntitlements(Entitlement &&value)
CreateLicenseRequest & WithLicenseName(Aws::String &&value)
const ConsumptionConfiguration & GetConsumptionConfiguration() const
void SetClientToken(const Aws::String &value)
bool ProductNameHasBeenSet() const
CreateLicenseRequest & WithIssuer(Issuer &&value)
void SetProductSKU(const Aws::String &value)
CreateLicenseRequest & WithValidity(DatetimeRange &&value)
void SetClientToken(Aws::String &&value)
CreateLicenseRequest & WithConsumptionConfiguration(ConsumptionConfiguration &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Entitlement > & GetEntitlements() const
CreateLicenseRequest & WithProductName(Aws::String &&value)
const Aws::String & GetProductName() const
bool ProductSKUHasBeenSet() const
CreateLicenseRequest & WithEntitlements(const Aws::Vector< Entitlement > &value)
void SetLicenseName(const char *value)
CreateLicenseRequest & WithProductName(const char *value)
CreateLicenseRequest & WithHomeRegion(const Aws::String &value)
CreateLicenseRequest & AddEntitlements(const Entitlement &value)
CreateLicenseRequest & WithClientToken(const Aws::String &value)
CreateLicenseRequest & WithEntitlements(Aws::Vector< Entitlement > &&value)
CreateLicenseRequest & WithClientToken(const char *value)
void SetValidity(const DatetimeRange &value)
void SetBeneficiary(Aws::String &&value)
void SetEntitlements(const Aws::Vector< Entitlement > &value)
CreateLicenseRequest & AddLicenseMetadata(Metadata &&value)
bool BeneficiaryHasBeenSet() const
const DatetimeRange & GetValidity() const
void SetHomeRegion(Aws::String &&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