1#ifndef TENDUKE_EE_CLIENTPROPERTIES_H
2#define TENDUKE_EE_CLIENTPROPERTIES_H
6namespace tenduke {
namespace ee {
114 this->theHardwareId = pHardwareId;
124 this->theHardwareName = pHardwareName;
134 this->theProcessId = pProcessId;
144 this->theProcessName = pProcessName;
163 std::string theHardwareId;
164 std::string theHardwareName;
165 std::string theProcessId;
166 std::string theProcessName;
Builds the configuration fluently.
Definition ClientProperties.h:105
Builder & hardwareName(const std::string &pHardwareName)
Fluently sets hardware name.
Definition ClientProperties.h:122
Builder & processId(const std::string &pProcessId)
Fluently sets process id.
Definition ClientProperties.h:132
Builder & processName(const std::string &pProcessName)
Fluently sets process name.
Definition ClientProperties.h:142
Builder & hardwareId(const std::string &pHardwareId)
Fluently sets hardware id.
Definition ClientProperties.h:112
ClientProperties build()
Builds the properties.
Definition ClientProperties.h:152
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4
Client properties.
Definition ClientProperties.h:14
const std::string processId
The process ID of the client application requesting the license.
Definition ClientProperties.h:95
ClientProperties(const std::string &hardwareId, const std::string &hardwareName, const std::string &processId, const std::string &processName)
Constructs new instance.
Definition ClientProperties.h:30
bool hasHardwareId() const
Checks if ClientProperties.hardwareId has been configured.
Definition ClientProperties.h:45
const std::string hardwareName
A human-readable name of the hardware or device.
Definition ClientProperties.h:87
bool hasProcessName() const
Checks if ClientProperties.processName has been configured.
Definition ClientProperties.h:72
bool hasHardwareName() const
Checks if ClientProperties.hardwareName has been configured.
Definition ClientProperties.h:54
ClientProperties()
No-arg constructs new instance without any properties.
Definition ClientProperties.h:19
bool hasProcessId() const
Checks if ClientProperties.processId has been configured.
Definition ClientProperties.h:63
const std::string hardwareId
The hardware ID of the client device.
Definition ClientProperties.h:83
const std::string processName
The name of the client application requesting the license.
Definition ClientProperties.h:98