#pragma once #include #include #include namespace platform { using json = nlohmann::ordered_json; class ReportsPaged { public: ReportsPaged(); ~ReportsPaged() = default; std::string getOutput() const; std::string getHeader() const; std::vector& getBody() { return body; } int getNumLines() const { return body.size(); } json& getData() { return data; } protected: std::vector header, body; json data; std::stringstream oss; std::locale loc; }; }