19#include <bsoncxx/stdx/optional.hpp>
20#include <bsoncxx/stdx/string_view.hpp>
21#include <mongocxx/stdx.hpp>
23#include <mongocxx/config/prelude.hpp>
26MONGOCXX_INLINE_NAMESPACE_BEGIN
102 void acknowledge_level(
level rc_level);
122 void acknowledge_string(stdx::string_view rc_string);
132 stdx::string_view acknowledge_string() const;
140 class MONGOCXX_PRIVATE impl;
142 MONGOCXX_PRIVATE
read_concern(std::unique_ptr<impl>&& implementation);
144 std::unique_ptr<impl> _impl;
147MONGOCXX_INLINE_NAMESPACE_END
150#include <mongocxx/config/postlude.hpp>
Class representing a client connection to MongoDB.
Definition client.hpp:49
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:74
Class representing a MongoDB database.
Definition database.hpp:43
A class to represent the read concern.
Definition read_concern.hpp:46
read_concern & operator=(const read_concern &)
Copy assigns a read_concern.
level
A class to represent the read concern level.
Definition read_concern.hpp:53
read_concern(read_concern &&) noexcept
Move constructs a read_concern.
read_concern(const read_concern &)
Copy constructs a read_concern.
read_concern()
Constructs a new read_concern with default acknowledge_level of k_server_default.
Class representing a MongoDB connection string URI.
Definition uri.hpp:40