34 virtual ~Api() =
default;
41 const std::string&
GetApi()
const {
return api_; }
53 void SetApi(
const std::string& value) { this->api_ = value; }
59 const std::string&
GetVersion()
const {
return version_; }
71 void SetVersion(
const std::string& value) { this->version_ = value; }
77 const std::string&
GetBaseUrl()
const {
return baseUrl_; }
89 void SetBaseUrl(
const std::string& value) { this->baseUrl_ = value; }
112 this->parameters_ = value;
117 std::string version_;
118 std::string baseUrl_;
119 std::map<std::string, std::string> parameters_;
The API Services provided by the HERE platform.
Definition Api.h:31
std::map< std::string, std::string > & GetMutableParameters()
Gets a mutable reference to the API parameters.
Definition Api.h:103
std::string & GetMutableApi()
Gets a mutable reference to the API name.
Definition Api.h:47
const std::map< std::string, std::string > & GetParameters() const
Gets a map of parameters.
Definition Api.h:95
void SetApi(const std::string &value)
Sets the API name.
Definition Api.h:53
const std::string & GetBaseUrl() const
Gets an URL of the API.
Definition Api.h:77
const std::string & GetApi() const
Gets an API name.
Definition Api.h:41
std::string & GetMutableVersion()
Gets a mutable reference to the API version.
Definition Api.h:65
void SetVersion(const std::string &value)
Sets the API version.
Definition Api.h:71
void SetParameters(const std::map< std::string, std::string > &value)
Sets the API parameters.
Definition Api.h:111
const std::string & GetVersion() const
Gets a version of the API.
Definition Api.h:59
std::string & GetMutableBaseUrl()
Gets a mutable reference to the URL of the API.
Definition Api.h:83
void SetBaseUrl(const std::string &value)
Sets the URL of the API.
Definition Api.h:89
std::vector< Api > Apis
An alias for the platform base URLs.
Definition Api.h:123
Rules all the other namespaces.
Definition AppleSignInProperties.h:24