Loading...
Searching...
No Matches
gamsengineconfiguration.h
1
26#ifndef GAMSENGINECONFIGURATION_H
27#define GAMSENGINECONFIGURATION_H
28
29#include "gamslib_global.h" // LIBSPEC
30#include <string>
31
32namespace gams {
33
34class GAMSEngineConfiguration
35{
36public:
37 LIBSPEC GAMSEngineConfiguration(const std::string &host,
38 const std::string &user,
39 const std::string &pw,
40 const std::string &space);
41
42 LIBSPEC ~GAMSEngineConfiguration();
43
45 LIBSPEC std::string host() const;
46
48 LIBSPEC void setHost(const std::string &newHost);
49
51 LIBSPEC std::string username() const;
52
54 LIBSPEC void setUsername(const std::string &newUsername);
55
57 LIBSPEC std::string password() const;
58
60 LIBSPEC void setPassword(const std::string &newPassword);
61
63 LIBSPEC std::string jwt() const;
64
66 LIBSPEC void setJwt(const std::string &newJwt);
67
69 LIBSPEC std::string space() const;
70
72 LIBSPEC void setSpace(const std::string &newSpace);
73
74private:
75 std::string mHost;
76 std::string mUsername;
77 std::string mPassword;
78 std::string mJwt;
79 std::string mSpace;
80};
81
82}
83
84#endif // GAMSENGINECONFIGURATION_H
Definition: gams.h:91