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/LicenseStatus.h>
16#include <aws/license-manager/model/Metadata.h>
21namespace LicenseManager {
46 template <
typename LicenseArnT = Aws::String>
48 m_licenseArnHasBeenSet =
true;
49 m_licenseArn = std::forward<LicenseArnT>(value);
51 template <
typename LicenseArnT = Aws::String>
64 template <
typename LicenseNameT = Aws::String>
66 m_licenseNameHasBeenSet =
true;
67 m_licenseName = std::forward<LicenseNameT>(value);
69 template <
typename LicenseNameT = Aws::String>
82 template <
typename ProductNameT = Aws::String>
84 m_productNameHasBeenSet =
true;
85 m_productName = std::forward<ProductNameT>(value);
87 template <
typename ProductNameT = 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 LicenseMetadataT = Aws::Vector<Metadata>>
157 m_licenseMetadataHasBeenSet =
true;
158 m_licenseMetadata = std::forward<LicenseMetadataT>(value);
160 template <
typename LicenseMetadataT = Aws::Vector<Metadata>>
165 template <
typename LicenseMetadataT = Metadata>
167 m_licenseMetadataHasBeenSet =
true;
168 m_licenseMetadata.emplace_back(std::forward<LicenseMetadataT>(value));
179 template <
typename EntitlementsT = Aws::Vector<Entitlement>>
181 m_entitlementsHasBeenSet =
true;
182 m_entitlements = std::forward<EntitlementsT>(value);
184 template <
typename EntitlementsT = Aws::Vector<Entitlement>>
189 template <
typename EntitlementsT = Entitlement>
191 m_entitlementsHasBeenSet =
true;
192 m_entitlements.emplace_back(std::forward<EntitlementsT>(value));
205 template <
typename ConsumptionConfigurationT = ConsumptionConfiguration>
207 m_consumptionConfigurationHasBeenSet =
true;
208 m_consumptionConfiguration = std::forward<ConsumptionConfigurationT>(value);
210 template <
typename ConsumptionConfigurationT = ConsumptionConfiguration>
224 m_statusHasBeenSet =
true;
240 template <
typename ClientTokenT = Aws::String>
242 m_clientTokenHasBeenSet =
true;
243 m_clientToken = std::forward<ClientTokenT>(value);
245 template <
typename ClientTokenT = Aws::String>
258 template <
typename SourceVersionT = Aws::String>
260 m_sourceVersionHasBeenSet =
true;
261 m_sourceVersion = std::forward<SourceVersionT>(value);
263 template <
typename SourceVersionT = Aws::String>
293 bool m_licenseArnHasBeenSet =
false;
294 bool m_licenseNameHasBeenSet =
false;
295 bool m_productNameHasBeenSet =
false;
296 bool m_issuerHasBeenSet =
false;
297 bool m_homeRegionHasBeenSet =
false;
298 bool m_validityHasBeenSet =
false;
299 bool m_licenseMetadataHasBeenSet =
false;
300 bool m_entitlementsHasBeenSet =
false;
301 bool m_consumptionConfigurationHasBeenSet =
false;
302 bool m_statusHasBeenSet =
false;
303 bool m_clientTokenHasBeenSet =
false;
304 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