76 const
bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value>&)
80 bsoncxx::v_noabi::stdx::optional<
std::int32_t> _chunk_size_bytes;
81 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _metadata;
89#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:826
Class representing the optional arguments to a MongoDB GridFS upload operation.
Definition upload.hpp:32
const bsoncxx::v_noabi::stdx::optional< std::int32_t > & chunk_size_bytes() const
Gets the chunk size of the GridFS file being uploaded.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > & metadata() const
Gets the metadata of the GridFS file being uploaded.
upload & chunk_size_bytes(std::int32_t chunk_size_bytes)
Sets the chunk size of the GridFS file being uploaded. Defaults to the chunk size specified in option...
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:204
The mongocxx macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Declares mongocxx::v_noabi::options::gridfs::upload.