89 std::optional<std::string> report_id_{};
90 std::set<service_type> service_types_{};
Common options that used by most operations.
Definition common_options.hxx:37
auto self() -> ping_options &
Definition common_options.hxx:102
auto build_common_options() const -> built
Definition common_options.hxx:89
Definition ping_result.hxx:32
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error, ping_result)> ping_handler
Definition ping_options.hxx:93
Immutable value object representing consistent options.
Definition ping_options.hxx:67
std::optional< std::string > report_id
Definition ping_options.hxx:68
std::set< service_type > service_types
Definition ping_options.hxx:69
Definition ping_options.hxx:32
auto service_types(std::set< service_type > service_types) -> ping_options &
Customizes the set of services to ping.
Definition ping_options.hxx:55
auto build() const -> built
Validates the options and returns them as an immutable value.
Definition ping_options.hxx:83
auto report_id(std::string report_id) -> ping_options &
Sets a custom report ID that will be used in the report.
Definition ping_options.hxx:43