5 #include <mongocxx/search_index_model-fwd.hpp>
7 #include <bsoncxx/document/value.hpp>
8 #include <bsoncxx/document/view_or_value.hpp>
9 #include <bsoncxx/stdx/optional.hpp>
10 #include <bsoncxx/string/view_or_value.hpp>
12 #include <mongocxx/config/prelude.hpp>
67 class MONGOCXX_PRIVATE impl;
69 MONGOCXX_PRIVATE const impl& _get_impl() const;
71 MONGOCXX_PRIVATE impl& _get_impl();
74 std::unique_ptr<impl> _impl;
80 #include <mongocxx/config/postlude.hpp>
Class representing a view-or-value variant type for strings.
Definition: view_or_value.hpp:38
Class representing a search index on a MongoDB server.
Definition: search_index_model.hpp:20
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > name() const
Retrieves name of a search_index_model.
bsoncxx::v_noabi::document::view definition() const
Retrieves definition of a search_index_model.
search_index_model(search_index_model &&) noexcept
Move constructs a search_index_model.
search_index_model(bsoncxx::v_noabi::document::view_or_value definition)
Initializes a new search_index_model over a mongocxx::v_noabi::collection.
The top-level namespace for bsoncxx library entities.
Definition: element-fwd.hpp:19
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19