|
10Duke Enterprise C++ Client
|
#include <FluentLicenseCheckoutParameters.h>
Builder for creating tenduke::ee::licensing::LicenseCheckoutParameters fluently.
Public Member Functions | |
| FluentLicenseCheckoutParameters (const ::tenduke::ee::ClientProperties clientProperties) | |
| Constructs new instance. | |
| tenduke::ee::licensing::LicenseCheckoutParameters | build () |
| Builds the parameters. | |
Public Member Functions inherited from tenduke::ee::licensing::FluentLicenseCheckoutBuilder< FluentLicenseCheckoutParameters > | |
| FluentLicenseCheckoutBuilder (::tenduke::ee::ClientProperties clientProperties) | |
| Constructs new instance. | |
| FluentLicenseCheckoutParameters & | seat (const std::string &productName, const std::string &requestedVersion="", const std::string &licenseId="") |
| Adds "checkout one seat for product" to the request. | |
| FluentLicenseCheckoutParameters & | item (const std::string &itemName, const std::string &requestedVersion="", const std::string &licenseId="") |
| Adds an item to checkout. | |
| FluentLicenseCheckoutParameters & | count (std::uint64_t pConsumeCount) |
| Sets "The requested number of units to be consumed from the license’s use count.". | |
| FluentLicenseCheckoutParameters & | duration (std::uint64_t pConsumeDuration) |
| Sets "The requested duration of the license token (and the lease) in milliseconds.". | |
| FluentLicenseCheckoutParameters & | fromEntitlement (const std::string &pEntitlementId) |
| Sets id of the Entitlement, from which the licenses will be checked from. | |
| FluentLicenseCheckoutParameters & | fromOrganization (const std::string &pOrganizationId) |
| Sets id of the Organization, from which the licenses will be checked from. | |
| FluentLicenseCheckoutParameters & | mode (enum tenduke::ee::licensing::LicenseCheckoutParameters::ConsumptionMode pConsumptionMode) |
| Sets "The license consumption mode requested." (See the enumeration for the documentation of the values) | |
| FluentLicenseCheckoutParameters & | version (const std::string &pGlobalVersion) |
| Sets default version to checkout. | |
Additional Inherited Members | |
Protected Member Functions inherited from tenduke::ee::licensing::FluentLicenseCheckoutBuilder< FluentLicenseCheckoutParameters > | |
| virtual tenduke::ee::licensing::LicenseCheckoutParameters | buildParameters () |
| Builds the parameters. | |
|
inlineexplicit |
Constructs new instance.
| clientProperties | client properties |
|
inline |
Builds the parameters.