20 #include <bsoncxx/builder/basic/document.hpp>
21 #include <bsoncxx/document/view_or_value.hpp>
22 #include <bsoncxx/stdx/optional.hpp>
23 #include <bsoncxx/types/bson_value/view_or_value.hpp>
24 #include <mongocxx/hint.hpp>
25 #include <mongocxx/read_concern.hpp>
26 #include <mongocxx/read_preference.hpp>
27 #include <mongocxx/stdx.hpp>
28 #include <mongocxx/write_concern.hpp>
30 #include <mongocxx/config/prelude.hpp>
33 MONGOCXX_INLINE_NAMESPACE_BEGIN
54 aggregate& allow_disk_use(
bool allow_disk_use);
63 const stdx::optional<bool>& allow_disk_use()
const;
77 aggregate& batch_size(std::int32_t batch_size);
86 const stdx::optional<std::int32_t>& batch_size()
const;
110 const stdx::optional<bsoncxx::document::view_or_value>& collation()
const;
134 const stdx::optional<bsoncxx::document::view_or_value>& let()
const;
148 aggregate& max_time(std::chrono::milliseconds max_time);
158 const stdx::optional<std::chrono::milliseconds>& max_time()
const;
191 aggregate& bypass_document_validation(
bool bypass_document_validation);
200 const stdx::optional<bool>& bypass_document_validation()
const;
226 const stdx::optional<class hint>&
hint()
const;
253 const stdx::optional<class write_concern>&
write_concern()
const;
278 const stdx::optional<class read_concern>&
read_concern()
const;
303 const stdx::optional<bsoncxx::types::bson_value::view_or_value>& comment()
const;
306 friend class ::mongocxx::database;
307 friend class ::mongocxx::collection;
311 stdx::optional<bool> _allow_disk_use;
312 stdx::optional<std::int32_t> _batch_size;
313 stdx::optional<bsoncxx::document::view_or_value> _collation;
314 stdx::optional<bsoncxx::document::view_or_value> _let;
315 stdx::optional<std::chrono::milliseconds> _max_time;
316 stdx::optional<class read_preference> _read_preference;
317 stdx::optional<bool> _bypass_document_validation;
318 stdx::optional<class hint> _hint;
319 stdx::optional<class write_concern> _write_concern;
320 stdx::optional<class read_concern> _read_concern;
321 stdx::optional<bsoncxx::types::bson_value::view_or_value> _comment;
325 MONGOCXX_INLINE_NAMESPACE_END
328 #include <mongocxx/config/postlude.hpp>