19 #include <bsoncxx/stdx/optional.hpp>
20 #include <mongocxx/write_concern.hpp>
22 #include <mongocxx/config/prelude.hpp>
25 MONGOCXX_INLINE_NAMESPACE_BEGIN
48 index_view& max_time(std::chrono::milliseconds max_time);
59 const bsoncxx::stdx::optional<std::chrono::milliseconds>& max_time()
const;
85 const bsoncxx::stdx::optional<mongocxx::write_concern>&
write_concern()
const;
104 index_view& commit_quorum(std::int32_t commit_quorum);
123 index_view& commit_quorum(std::string commit_quorum);
136 const stdx::optional<bsoncxx::document::value> commit_quorum()
const;
139 bsoncxx::stdx::optional<std::chrono::milliseconds> _max_time;
140 bsoncxx::stdx::optional<mongocxx::write_concern> _write_concern;
141 bsoncxx::stdx::optional<bsoncxx::document::value> _commit_quorum;
145 MONGOCXX_INLINE_NAMESPACE_END
148 #include <mongocxx/config/postlude.hpp>