48 : id_{ std::move(
id) }
50 , sdk_{ std::move(
sdk) }
63 [[nodiscard]]
auto id() const -> std::
string
76 [[nodiscard]]
auto version() const -> std::uint16_t
89 [[nodiscard]]
auto sdk() const -> std::
string
115 [[nodiscard]]
auto as_json() const -> std::
string;
119 std::uint16_t version_{};
121 std::map<service_type, std::vector<endpoint_diagnostics>> endpoints_{};
Definition diagnostics_result.hxx:32
diagnostics_result(std::string id, std::uint16_t version, std::string sdk, std::map< service_type, std::vector< endpoint_diagnostics > > endpoints)
Definition diagnostics_result.hxx:44
auto as_json() const -> std::string
Exports the diagnostics report as JSON.
diagnostics_result()=default
auto id() const -> std::string
Returns the ID of this report.
Definition diagnostics_result.hxx:63
auto version() const -> std::uint16_t
Returns the version of this report (useful when exporting to JSON).
Definition diagnostics_result.hxx:76
auto endpoints() const -> std::map< service_type, std::vector< endpoint_diagnostics > >
Returns the diagnostics for each individual endpoint, organised by service type.
Definition diagnostics_result.hxx:102
auto sdk() const -> std::string
Returns the identifier of this SDK (useful when exporting to JSON).
Definition diagnostics_result.hxx:89
Definition endpoint_diagnostics.hxx:64
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
service_type
Definition service_type.hxx:22