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/LicenseStatus.h>
15#include <aws/license-manager/model/Metadata.h>
16#include <aws/license-manager/model/Entitlement.h>
21namespace LicenseManager
52 inline void SetLicenseArn(
const char* value) { m_licenseArnHasBeenSet =
true; m_licenseArn.assign(value); }
66 inline void SetLicenseName(
const char* value) { m_licenseNameHasBeenSet =
true; m_licenseName.assign(value); }
80 inline void SetProductName(
const char* value) { m_productNameHasBeenSet =
true; m_productName.assign(value); }
92 inline void SetIssuer(
const Issuer& value) { m_issuerHasBeenSet =
true; m_issuer = value; }
93 inline void SetIssuer(
Issuer&& value) { m_issuerHasBeenSet =
true; m_issuer = std::move(value); }
106 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
188 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
202 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
210 bool m_licenseArnHasBeenSet =
false;
213 bool m_licenseNameHasBeenSet =
false;
216 bool m_productNameHasBeenSet =
false;
219 bool m_issuerHasBeenSet =
false;
222 bool m_homeRegionHasBeenSet =
false;
225 bool m_validityHasBeenSet =
false;
228 bool m_licenseMetadataHasBeenSet =
false;
231 bool m_entitlementsHasBeenSet =
false;
234 bool m_consumptionConfigurationHasBeenSet =
false;
237 bool m_statusHasBeenSet =
false;
240 bool m_clientTokenHasBeenSet =
false;
243 bool m_sourceVersionHasBeenSet =
false;
CreateLicenseVersionRequest & WithEntitlements(Aws::Vector< Entitlement > &&value)
CreateLicenseVersionRequest & WithClientToken(const Aws::String &value)
CreateLicenseVersionRequest & WithConsumptionConfiguration(const ConsumptionConfiguration &value)
CreateLicenseVersionRequest & WithLicenseMetadata(const Aws::Vector< Metadata > &value)
const Aws::Vector< Metadata > & GetLicenseMetadata() const
void SetLicenseMetadata(Aws::Vector< Metadata > &&value)
void SetHomeRegion(const char *value)
CreateLicenseVersionRequest & WithValidity(const DatetimeRange &value)
bool LicenseMetadataHasBeenSet() const
const ConsumptionConfiguration & GetConsumptionConfiguration() const
CreateLicenseVersionRequest & WithConsumptionConfiguration(ConsumptionConfiguration &&value)
CreateLicenseVersionRequest & WithIssuer(Issuer &&value)
void SetLicenseName(Aws::String &&value)
CreateLicenseVersionRequest & WithSourceVersion(Aws::String &&value)
void SetLicenseName(const Aws::String &value)
CreateLicenseVersionRequest & WithValidity(DatetimeRange &&value)
void SetIssuer(const Issuer &value)
CreateLicenseVersionRequest & WithStatus(LicenseStatus &&value)
void SetValidity(const DatetimeRange &value)
void SetSourceVersion(const char *value)
void SetLicenseMetadata(const Aws::Vector< Metadata > &value)
CreateLicenseVersionRequest & AddLicenseMetadata(const Metadata &value)
bool EntitlementsHasBeenSet() const
CreateLicenseVersionRequest & WithIssuer(const Issuer &value)
void SetConsumptionConfiguration(ConsumptionConfiguration &&value)
void SetLicenseArn(const char *value)
CreateLicenseVersionRequest & WithEntitlements(const Aws::Vector< Entitlement > &value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
CreateLicenseVersionRequest & WithLicenseArn(const char *value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLicenseVersionRequest & WithHomeRegion(Aws::String &&value)
void SetLicenseName(const char *value)
CreateLicenseVersionRequest & AddLicenseMetadata(Metadata &&value)
void SetIssuer(Issuer &&value)
CreateLicenseVersionRequest & WithHomeRegion(const char *value)
const Aws::String & GetProductName() const
void SetLicenseArn(Aws::String &&value)
void SetProductName(Aws::String &&value)
CreateLicenseVersionRequest & WithStatus(const LicenseStatus &value)
const Aws::Vector< Entitlement > & GetEntitlements() const
void SetStatus(LicenseStatus &&value)
CreateLicenseVersionRequest & AddEntitlements(Entitlement &&value)
void SetLicenseArn(const Aws::String &value)
CreateLicenseVersionRequest & WithProductName(const char *value)
void SetStatus(const LicenseStatus &value)
const LicenseStatus & GetStatus() const
bool ProductNameHasBeenSet() const
bool IssuerHasBeenSet() const
CreateLicenseVersionRequest & WithLicenseMetadata(Aws::Vector< Metadata > &&value)
CreateLicenseVersionRequest & WithLicenseName(Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreateLicenseVersionRequest & WithProductName(const Aws::String &value)
bool ValidityHasBeenSet() const
CreateLicenseVersionRequest & WithHomeRegion(const Aws::String &value)
bool StatusHasBeenSet() const
void SetHomeRegion(const Aws::String &value)
const DatetimeRange & GetValidity() const
void SetProductName(const Aws::String &value)
CreateLicenseVersionRequest & AddEntitlements(const Entitlement &value)
AWS_LICENSEMANAGER_API CreateLicenseVersionRequest()
bool SourceVersionHasBeenSet() const
CreateLicenseVersionRequest & WithLicenseName(const Aws::String &value)
const Issuer & GetIssuer() const
void SetHomeRegion(Aws::String &&value)
const Aws::String & GetLicenseName() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSourceVersion() const
CreateLicenseVersionRequest & WithSourceVersion(const char *value)
CreateLicenseVersionRequest & WithSourceVersion(const Aws::String &value)
CreateLicenseVersionRequest & WithLicenseArn(const Aws::String &value)
CreateLicenseVersionRequest & WithProductName(Aws::String &&value)
CreateLicenseVersionRequest & WithClientToken(const char *value)
void SetEntitlements(const Aws::Vector< Entitlement > &value)
bool ConsumptionConfigurationHasBeenSet() const
void SetConsumptionConfiguration(const ConsumptionConfiguration &value)
const Aws::String & GetLicenseArn() const
bool LicenseArnHasBeenSet() const
void SetClientToken(const char *value)
void SetProductName(const char *value)
void SetClientToken(Aws::String &&value)
void SetSourceVersion(const Aws::String &value)
CreateLicenseVersionRequest & WithLicenseName(const char *value)
void SetSourceVersion(Aws::String &&value)
void SetValidity(DatetimeRange &&value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
const Aws::String & GetHomeRegion() const
CreateLicenseVersionRequest & WithLicenseArn(Aws::String &&value)
bool LicenseNameHasBeenSet() const
bool HomeRegionHasBeenSet() const
void SetEntitlements(Aws::Vector< Entitlement > &&value)
CreateLicenseVersionRequest & WithClientToken(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