17 #include <bsoncxx/document/view_or_value.hpp>
18 #include <bsoncxx/stdx/optional.hpp>
19 #include <mongocxx/stdx.hpp>
20 #include <mongocxx/validation_criteria.hpp>
22 #include <mongocxx/config/prelude.hpp>
25 MONGOCXX_INLINE_NAMESPACE_BEGIN
61 const stdx::optional<bool>& capped()
const;
87 const stdx::optional<bsoncxx::document::view_or_value>& collation()
const;
112 const stdx::optional<std::int64_t>& max()
const;
136 const stdx::optional<bool>& no_padding()
const;
161 const stdx::optional<std::int64_t>& size()
const;
184 const stdx::optional<bsoncxx::document::view_or_value>& storage_engine()
const;
230 stdx::optional<bool> _capped;
231 stdx::optional<bsoncxx::document::view_or_value> _collation;
232 stdx::optional<std::int64_t> _max_documents;
233 stdx::optional<std::int64_t> _max_size;
234 stdx::optional<bool> _no_padding;
235 stdx::optional<bsoncxx::document::view_or_value> _storage_engine_opts;
236 stdx::optional<class validation_criteria> _validation;
242 return to_document_deprecated();
246 MONGOCXX_INLINE_NAMESPACE_END
249 #include <mongocxx/config/postlude.hpp>