#include <mongocxx/v1/gridfs/bucket.hpp>
Options for mongocxx::v1::gridfs::bucket.
Supported fields include:
Public Member Functions | |
| options () | |
| Default initialization. | |
| options (options &&other) noexcept | |
| Move constructor. | |
| options (options const &other) | |
| Copy construction. | |
| ~options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > | bucket_name () const |
| Return the current "bucketName" field. | |
| options & | bucket_name (std::string v) |
| Set the "bucketName" field. | |
| bsoncxx::v1::stdx::optional< std::int32_t > | chunk_size_bytes () const |
| Return the current "chunkSizeBytes" field. | |
| options & | chunk_size_bytes (std::int32_t v) |
| Set the "chunkSizeBytes" field. | |
| options & | operator= (options &&other) noexcept |
| Move assignment. | |
| options & | operator= (options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< v1::read_concern > | read_concern () const |
| Return the current "readConcern" field. | |
| options & | read_concern (v1::read_concern v) |
| Set the "readConcern" field. | |
| bsoncxx::v1::stdx::optional< v1::read_preference > | read_preference () const |
| Return the current "readPreference" field. | |
| options & | read_preference (v1::read_preference v) |
| Set the "readPreference" field. | |
| bsoncxx::v1::stdx::optional< v1::write_concern > | write_concern () const |
| Return the current "writeConcern" field. | |
| options & | write_concern (v1::write_concern v) |
| Set the "writeConcern" field. | |
| mongocxx::v1::gridfs::bucket::options::~options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::gridfs::bucket::options::options | ( | options const & | other | ) |
Copy construction.
| mongocxx::v1::gridfs::bucket::options::options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > mongocxx::v1::gridfs::bucket::options::bucket_name | ( | ) | const |
Return the current "bucketName" field.
| options & mongocxx::v1::gridfs::bucket::options::bucket_name | ( | std::string | v | ) |
Set the "bucketName" field.
| bsoncxx::v1::stdx::optional< std::int32_t > mongocxx::v1::gridfs::bucket::options::chunk_size_bytes | ( | ) | const |
Return the current "chunkSizeBytes" field.
| options & mongocxx::v1::gridfs::bucket::options::chunk_size_bytes | ( | std::int32_t | v | ) |
Set the "chunkSizeBytes" field.
Move assignment.
Copy assignment.
| bsoncxx::v1::stdx::optional< v1::read_concern > mongocxx::v1::gridfs::bucket::options::read_concern | ( | ) | const |
Return the current "readConcern" field.
| options & mongocxx::v1::gridfs::bucket::options::read_concern | ( | v1::read_concern | v | ) |
Set the "readConcern" field.
| bsoncxx::v1::stdx::optional< v1::read_preference > mongocxx::v1::gridfs::bucket::options::read_preference | ( | ) | const |
Return the current "readPreference" field.
| options & mongocxx::v1::gridfs::bucket::options::read_preference | ( | v1::read_preference | v | ) |
Set the "readPreference" field.
| bsoncxx::v1::stdx::optional< v1::write_concern > mongocxx::v1::gridfs::bucket::options::write_concern | ( | ) | const |
Return the current "writeConcern" field.
| options & mongocxx::v1::gridfs::bucket::options::write_concern | ( | v1::write_concern | v | ) |
Set the "writeConcern" field.