43 nlohmann::json d_provider_json_obj;
44 unsigned long long d_opendap_collection_count{};
47 explicit Provider(nlohmann::json provider_obj): d_provider_json_obj(std::move(provider_obj)){}
49 std::string id()
const;
50 std::string description_of_holding()
const;
51 nlohmann::json contacts()
const;
52 bool rest_only()
const;
54 void set_opendap_collection_count(
unsigned long long count){ d_opendap_collection_count = count; }
55 unsigned long long get_opendap_collection_count()
const {
return d_opendap_collection_count; }
57 void get_collections(std::map<std::string, std::unique_ptr<cmr::Collection>> &collections)
const;
58 void get_opendap_collections(std::map<std::string, std::unique_ptr<cmr::Collection>> &collections)
const;
61 std::string to_string(
bool show_json=
true)
const;