10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
LicenseReleaseParameters.h
1
#ifndef TENDUKE_EE_LICENSING_LICENSERELEASEPARAMETERS_H
2
#define TENDUKE_EE_LICENSING_LICENSERELEASEPARAMETERS_H
3
4
#include <stdexcept>
5
#include <string>
6
#include <vector>
7
8
namespace
tenduke
{
namespace
ee
{
namespace
licensing
{
9
13
class
LicenseReleaseParameters
14
{
15
public
:
21
explicit
LicenseReleaseParameters
(
const
std::vector<std::string> &
leaseIds
)
22
:
leaseIds
(
leaseIds
)
23
{
24
for
(
const
auto
&leaseId :
leaseIds
) {
25
if
(leaseId.empty()) {
26
throw
std::invalid_argument(
"LicenseReleaseParameters: a lease id must not be empty"
);
27
}
28
}
29
}
30
32
const
std::vector<std::string>
leaseIds
;
33
};
34
35
}}}
36
37
#endif
//TENDUKE_EE_LICENSING_LICENSERELEASEPARAMETERS_H
LicenseReleaseParameters::LicenseReleaseParameters
LicenseReleaseParameters(const std::vector< std::string > &leaseIds)
Constructs new instance.
Definition
LicenseReleaseParameters.h:21
tenduke::ee::licensing::LicenseReleaseParameters::leaseIds
const std::vector< std::string > leaseIds
IDs of leases to release.
Definition
LicenseReleaseParameters.h:32
tenduke::ee::licensing::LicenseReleaseParameters::LicenseReleaseParameters
LicenseReleaseParameters(const std::vector< std::string > &leaseIds)
Constructs new instance.
Definition
LicenseReleaseParameters.h:21
tenduke::ee::licensing
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition
AuthzLicensingClient.h:13
tenduke::ee
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition
APIRequest.h:4
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
client
enterprise
api
src
licensing
release
LicenseReleaseParameters.h
Generated by
1.17.0