#include <mongocxx/v1/client_encryption.hpp>
Options for mongocxx::v1::client_encryption.
Supported fields include:
Public Types | |
| using | ns_pair = std::pair<std::string, std::string> |
| The name of a database and a collection. | |
Public Member Functions | |
| options () | |
| Default initialization. | |
| options (options &&other) noexcept | |
| Move constructor. | |
| options (options const &other) | |
| Copy construction. | |
| ~options () | |
| Destroy this object. | |
| v1::client * | key_vault_client () const |
| Return the current "keyVaultClient" field. | |
| options & | key_vault_client (v1::client *v) |
| Set the "keyVaultClient" field. | |
| bsoncxx::v1::stdx::optional< ns_pair > | key_vault_namespace () const |
| Return the current "keyVaultNamespace" field. | |
| options & | key_vault_namespace (ns_pair v) |
| Set the "keyVaultNamespace" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | kms_providers () const |
| Return the current "kmsProviders" field. | |
| options & | kms_providers (bsoncxx::v1::document::value v) |
| Set the "kmsProviders" field. | |
| options & | operator= (options &&other) noexcept |
| Move assignment. | |
| options & | operator= (options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | tls_opts () const |
| Return the current "tlsOptions" field. | |
| options & | tls_opts (bsoncxx::v1::document::value v) |
| Set the "tlsOptions" field. | |
| using mongocxx::v1::client_encryption::options::ns_pair = std::pair<std::string, std::string> |
The name of a database and a collection.
| mongocxx::v1::client_encryption::options::~options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::client_encryption::options::options | ( | options const & | other | ) |
Copy construction.
| mongocxx::v1::client_encryption::options::options | ( | ) |
Default initialization.
| v1::client * mongocxx::v1::client_encryption::options::key_vault_client | ( | ) | const |
Return the current "keyVaultClient" field.
| options & mongocxx::v1::client_encryption::options::key_vault_client | ( | v1::client * | v | ) |
Set the "keyVaultClient" field.
| v | Equivalent to "unset" when null. |
| bsoncxx::v1::stdx::optional< ns_pair > mongocxx::v1::client_encryption::options::key_vault_namespace | ( | ) | const |
Return the current "keyVaultNamespace" field.
Set the "keyVaultNamespace" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::client_encryption::options::kms_providers | ( | ) | const |
Return the current "kmsProviders" field.
| options & mongocxx::v1::client_encryption::options::kms_providers | ( | bsoncxx::v1::document::value | v | ) |
Set the "kmsProviders" field.
Move assignment.
Copy assignment.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::client_encryption::options::tls_opts | ( | ) | const |
Return the current "tlsOptions" field.
| options & mongocxx::v1::client_encryption::options::tls_opts | ( | bsoncxx::v1::document::value | v | ) |
Set the "tlsOptions" field.