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
50 template<
typename LicenseArnT = Aws::String>
51 void SetLicenseArn(LicenseArnT&& value) { m_licenseArnHasBeenSet =
true; m_licenseArn = std::forward<LicenseArnT>(value); }
52 template<
typename LicenseArnT = Aws::String>
62 template<
typename LicenseNameT = Aws::String>
63 void SetLicenseName(LicenseNameT&& value) { m_licenseNameHasBeenSet =
true; m_licenseName = std::forward<LicenseNameT>(value); }
64 template<
typename LicenseNameT = Aws::String>
74 template<
typename ProductNameT = Aws::String>
75 void SetProductName(ProductNameT&& value) { m_productNameHasBeenSet =
true; m_productName = std::forward<ProductNameT>(value); }
76 template<
typename ProductNameT = 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 LicenseMetadataT = Aws::Vector<Metadata>>
124 void SetLicenseMetadata(LicenseMetadataT&& value) { m_licenseMetadataHasBeenSet =
true; m_licenseMetadata = std::forward<LicenseMetadataT>(value); }
125 template<
typename LicenseMetadataT = Aws::Vector<Metadata>>
127 template<
typename LicenseMetadataT = Metadata>
137 template<
typename EntitlementsT = Aws::Vector<Entitlement>>
138 void SetEntitlements(EntitlementsT&& value) { m_entitlementsHasBeenSet =
true; m_entitlements = std::forward<EntitlementsT>(value); }
139 template<
typename EntitlementsT = Aws::Vector<Entitlement>>
141 template<
typename EntitlementsT = Entitlement>
153 template<
typename ConsumptionConfigurationT = ConsumptionConfiguration>
154 void SetConsumptionConfiguration(ConsumptionConfigurationT&& value) { m_consumptionConfigurationHasBeenSet =
true; m_consumptionConfiguration = std::forward<ConsumptionConfigurationT>(value); }
155 template<
typename ConsumptionConfigurationT = ConsumptionConfiguration>
176 template<
typename ClientTokenT = Aws::String>
177 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
178 template<
typename ClientTokenT = Aws::String>
188 template<
typename SourceVersionT = Aws::String>
189 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
190 template<
typename SourceVersionT = Aws::String>
196 bool m_licenseArnHasBeenSet =
false;
199 bool m_licenseNameHasBeenSet =
false;
202 bool m_productNameHasBeenSet =
false;
205 bool m_issuerHasBeenSet =
false;
208 bool m_homeRegionHasBeenSet =
false;
211 bool m_validityHasBeenSet =
false;
214 bool m_licenseMetadataHasBeenSet =
false;
217 bool m_entitlementsHasBeenSet =
false;
220 bool m_consumptionConfigurationHasBeenSet =
false;
223 bool m_statusHasBeenSet =
false;
226 bool m_clientTokenHasBeenSet =
false;
229 bool m_sourceVersionHasBeenSet =
false;
CreateLicenseVersionRequest & WithProductName(ProductNameT &&value)
void SetEntitlements(EntitlementsT &&value)
void SetLicenseMetadata(LicenseMetadataT &&value)
const Aws::Vector< Metadata > & GetLicenseMetadata() const
bool LicenseMetadataHasBeenSet() const
const ConsumptionConfiguration & GetConsumptionConfiguration() const
void SetConsumptionConfiguration(ConsumptionConfigurationT &&value)
CreateLicenseVersionRequest & AddLicenseMetadata(LicenseMetadataT &&value)
LicenseStatus GetStatus() const
void SetStatus(LicenseStatus value)
void SetSourceVersion(SourceVersionT &&value)
bool EntitlementsHasBeenSet() const
AWS_LICENSEMANAGER_API CreateLicenseVersionRequest()=default
CreateLicenseVersionRequest & WithValidity(ValidityT &&value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
CreateLicenseVersionRequest & WithLicenseMetadata(LicenseMetadataT &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetProductName() const
void SetValidity(ValidityT &&value)
const Aws::Vector< Entitlement > & GetEntitlements() const
void SetLicenseArn(LicenseArnT &&value)
void SetLicenseName(LicenseNameT &&value)
bool ProductNameHasBeenSet() const
CreateLicenseVersionRequest & WithConsumptionConfiguration(ConsumptionConfigurationT &&value)
bool IssuerHasBeenSet() const
bool ClientTokenHasBeenSet() const
bool ValidityHasBeenSet() const
bool StatusHasBeenSet() const
const DatetimeRange & GetValidity() const
CreateLicenseVersionRequest & WithClientToken(ClientTokenT &&value)
CreateLicenseVersionRequest & WithIssuer(IssuerT &&value)
CreateLicenseVersionRequest & AddEntitlements(EntitlementsT &&value)
bool SourceVersionHasBeenSet() const
void SetHomeRegion(HomeRegionT &&value)
CreateLicenseVersionRequest & WithLicenseName(LicenseNameT &&value)
const Issuer & GetIssuer() const
const Aws::String & GetLicenseName() const
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSourceVersion() const
void SetProductName(ProductNameT &&value)
bool ConsumptionConfigurationHasBeenSet() const
const Aws::String & GetLicenseArn() const
bool LicenseArnHasBeenSet() const
void SetIssuer(IssuerT &&value)
CreateLicenseVersionRequest & WithStatus(LicenseStatus value)
const Aws::String & GetClientToken() const
const Aws::String & GetHomeRegion() const
CreateLicenseVersionRequest & WithHomeRegion(HomeRegionT &&value)
bool LicenseNameHasBeenSet() const
bool HomeRegionHasBeenSet() const
CreateLicenseVersionRequest & WithEntitlements(EntitlementsT &&value)
CreateLicenseVersionRequest & WithSourceVersion(SourceVersionT &&value)
CreateLicenseVersionRequest & WithLicenseArn(LicenseArnT &&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