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
112 [[nodiscard]]
auto as_json() const -> std::
string;
116 std::uint16_t version_{};
118 std::map<service_type, std::vector<endpoint_ping_report>> endpoints_{};
Definition endpoint_ping_report.hxx:56
Definition ping_result.hxx:32
ping_result(std::string id, std::uint16_t version, std::string sdk, std::map< service_type, std::vector< endpoint_ping_report > > endpoints)
Definition ping_result.hxx:44
auto as_json() const -> std::string
Exports the ping report as JSON.
auto endpoints() const -> std::map< service_type, std::vector< endpoint_ping_report > >
Returns the ping reports for each individual endpoint, organised by service type.
Definition ping_result.hxx:102
auto id() const -> std::string
Returns the ID of this report.
Definition ping_result.hxx:63
auto version() const -> std::uint16_t
Returns the version of this report (useful when exporting to JSON).
Definition ping_result.hxx:76
auto sdk() const -> std::string
Returns the identifier of this SDK (useful when exporting to JSON).
Definition ping_result.hxx:89
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