20 #include <bsoncxx/stdx/optional.hpp>
21 #include <mongocxx/stdx.hpp>
23 #include <mongocxx/config/prelude.hpp>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
31 class read_preference;
138 transaction& max_commit_time_ms(std::chrono::milliseconds ms);
147 stdx::optional<std::chrono::milliseconds> max_commit_time_ms()
const;
150 friend class ::mongocxx::client_session;
152 class MONGOCXX_PRIVATE impl;
154 MONGOCXX_PRIVATE impl& _get_impl();
155 MONGOCXX_PRIVATE
const impl& _get_impl()
const;
156 std::unique_ptr<impl> _impl;
160 MONGOCXX_INLINE_NAMESPACE_END
163 #include <mongocxx/config/postlude.hpp>