- RGWRESTConn(CephContext *_cct, RGWSI_Zone *zone_svc, const string& _remote_id, const list<string>& endpoints, HostStyle _host_style = PathStyle);
- RGWRESTConn(CephContext *_cct, RGWSI_Zone *zone_svc, const string& _remote_id, const list<string>& endpoints, RGWAccessKey _cred, HostStyle _host_style = PathStyle);
+ RGWRESTConn(CephContext *_cct,
+ RGWSI_Zone *zone_svc,
+ const std::string& _remote_id,
+ const std::list<std::string>& endpoints,
+ std::optional<std::string> _api_name,
+ HostStyle _host_style = PathStyle);
+ RGWRESTConn(CephContext *_cct,
+ rgw::sal::Store* store,
+ const std::string& _remote_id,
+ const std::list<std::string>& endpoints,
+ std::optional<std::string> _api_name,
+ HostStyle _host_style = PathStyle);
+ RGWRESTConn(CephContext *_cct,
+ RGWSI_Zone *zone_svc,
+ const std::string& _remote_id,
+ const std::list<std::string>& endpoints,
+ RGWAccessKey _cred,
+ std::optional<std::string> _api_name,
+ HostStyle _host_style = PathStyle);
+ RGWRESTConn(CephContext *_cct,
+ rgw::sal::Store* store,
+ const std::string& _remote_id,
+ const std::list<std::string>& endpoints,
+ RGWAccessKey _cred,
+ std::optional<std::string> _api_name,
+ HostStyle _host_style = PathStyle);