19 #include <bsoncxx/stdx/optional.hpp> 20 #include <mongocxx/read_concern.hpp> 21 #include <mongocxx/read_preference.hpp> 22 #include <mongocxx/stdx.hpp> 23 #include <mongocxx/write_concern.hpp> 25 #include <mongocxx/config/prelude.hpp> 28 MONGOCXX_INLINE_NAMESPACE_BEGIN
47 bucket& bucket_name(std::string bucket_name);
55 const stdx::optional<std::string>& bucket_name()
const;
68 bucket& chunk_size_bytes(std::int32_t chunk_size_bytes);
76 const stdx::optional<std::int32_t>& chunk_size_bytes()
const;
97 const stdx::optional<class read_concern>& read_concern()
const;
124 const stdx::optional<class read_preference>& read_preference()
const;
145 const stdx::optional<class write_concern>& write_concern()
const;
148 stdx::optional<std::string> _bucket_name;
149 stdx::optional<std::int32_t> _chunk_size_bytes;
150 stdx::optional<class read_concern> _read_concern;
151 stdx::optional<class read_preference> _read_preference;
152 stdx::optional<class write_concern> _write_concern;
157 MONGOCXX_INLINE_NAMESPACE_END
160 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
Class representing the optional arguments to a MongoDB GridFS bucket creation operation.
Definition: bucket.hpp:35
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition: read_preference.hpp:62
A class to represent the read concern.
Definition: read_concern.hpp:53
Class representing the server-side requirement for reporting the success of a write operation...
Definition: write_concern.hpp:56