19 #include <bsoncxx/document/value.hpp>
20 #include <bsoncxx/stdx/optional.hpp>
21 #include <bsoncxx/stdx/string_view.hpp>
22 #include <mongocxx/options/transaction.hpp>
23 #include <mongocxx/stdx.hpp>
25 #include <mongocxx/config/prelude.hpp>
28 MONGOCXX_INLINE_NAMESPACE_BEGIN
115 void acknowledge_level(level rc_level);
125 level acknowledge_level() const;
136 void acknowledge_string(stdx::string_view rc_string);
146 stdx::string_view acknowledge_string() const;
154 bsoncxx::document::value to_document() const;
161 friend
mongocxx::options::transaction;
177 class MONGOCXX_PRIVATE impl;
179 MONGOCXX_PRIVATE
read_concern(std::unique_ptr<impl>&& implementation);
181 std::unique_ptr<impl> _impl;
184 MONGOCXX_INLINE_NAMESPACE_END
187 #include <mongocxx/config/postlude.hpp>