#include <mongocxx/v1/auto_encryption_options.hpp>
Options related In-Use Encryption configuration.
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 | |
| auto_encryption_options () | |
| Default initialization. | |
| auto_encryption_options (auto_encryption_options &&other) noexcept | |
| Move constructor. | |
| auto_encryption_options (auto_encryption_options const &other) | |
| Copy construction. | |
| ~auto_encryption_options () | |
| Destroy this object. | |
| bool | bypass_auto_encryption () const |
| Return the current "bypassAutoEncryption" field. | |
| auto_encryption_options & | bypass_auto_encryption (bool v) |
| Set the "bypassAutoEncryption" field. | |
| bool | bypass_query_analysis () const |
| Return the current "bypassQueryAnalysis" field. | |
| auto_encryption_options & | bypass_query_analysis (bool v) |
| Set the "bypassQueryAnalysis" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | encrypted_fields_map () const |
| Return the current "encryptedFieldsMap" field. | |
| auto_encryption_options & | encrypted_fields_map (bsoncxx::v1::document::value v) |
| Set the "encryptedFieldsMap" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | extra_options () const |
| Return the current "extraOptions" field. | |
| auto_encryption_options & | extra_options (bsoncxx::v1::document::value v) |
| Set the "extraOptions" field. | |
| v1::client * | key_vault_client () const |
| Return the current "keyVaultClient" field. | |
| auto_encryption_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. | |
| auto_encryption_options & | key_vault_namespace (ns_pair v) |
| Set the "keyVaultNamespace" field. | |
| v1::pool * | key_vault_pool () const |
| Return the current "keyVaultPool" field. | |
| auto_encryption_options & | key_vault_pool (v1::pool *v) |
| Set the "keyVaultPool" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | kms_providers () const |
| Return the current "kmsProviders" field. | |
| auto_encryption_options & | kms_providers (bsoncxx::v1::document::value v) |
| Set the "kmsProviders" field. | |
| auto_encryption_options & | operator= (auto_encryption_options &&other) noexcept |
| Move assignment. | |
| auto_encryption_options & | operator= (auto_encryption_options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | schema_map () const |
| Return the "schemaMap" field. | |
| auto_encryption_options & | schema_map (bsoncxx::v1::document::value v) |
| Set the "schemaMap" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | tls_opts () const |
| Return the current "tlsOptions" field. | |
| auto_encryption_options & | tls_opts (bsoncxx::v1::document::value v) |
| Set the "tlsOptions" field. | |
| using mongocxx::v1::auto_encryption_options::ns_pair = std::pair<std::string, std::string> |
The name of a database and a collection.
| mongocxx::v1::auto_encryption_options::~auto_encryption_options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::auto_encryption_options::auto_encryption_options | ( | auto_encryption_options const & | other | ) |
Copy construction.
| mongocxx::v1::auto_encryption_options::auto_encryption_options | ( | ) |
Default initialization.
| bool mongocxx::v1::auto_encryption_options::bypass_auto_encryption | ( | ) | const |
Return the current "bypassAutoEncryption" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::bypass_auto_encryption | ( | bool | v | ) |
Set the "bypassAutoEncryption" field.
| bool mongocxx::v1::auto_encryption_options::bypass_query_analysis | ( | ) | const |
Return the current "bypassQueryAnalysis" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::bypass_query_analysis | ( | bool | v | ) |
Set the "bypassQueryAnalysis" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::auto_encryption_options::encrypted_fields_map | ( | ) | const |
Return the current "encryptedFieldsMap" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::encrypted_fields_map | ( | bsoncxx::v1::document::value | v | ) |
Set the "encryptedFieldsMap" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::auto_encryption_options::extra_options | ( | ) | const |
Return the current "extraOptions" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::extra_options | ( | bsoncxx::v1::document::value | v | ) |
Set the "extraOptions" field.
| v1::client * mongocxx::v1::auto_encryption_options::key_vault_client | ( | ) | const |
Return the current "keyVaultClient" field.
| auto_encryption_options & mongocxx::v1::auto_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::auto_encryption_options::key_vault_namespace | ( | ) | const |
Return the current "keyVaultNamespace" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::key_vault_namespace | ( | ns_pair | v | ) |
Set the "keyVaultNamespace" field.
| v1::pool * mongocxx::v1::auto_encryption_options::key_vault_pool | ( | ) | const |
Return the current "keyVaultPool" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::key_vault_pool | ( | v1::pool * | v | ) |
Set the "keyVaultPool" field.
Equivalent to "keyVaultClient", but acquires a client from the given pool on-demand.
| v | Equivalent to "unset" when null. |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::auto_encryption_options::kms_providers | ( | ) | const |
Return the current "kmsProviders" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::kms_providers | ( | bsoncxx::v1::document::value | v | ) |
Set the "kmsProviders" field.
|
noexcept |
Move assignment.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::operator= | ( | auto_encryption_options const & | other | ) |
Copy assignment.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::auto_encryption_options::schema_map | ( | ) | const |
Return the "schemaMap" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::schema_map | ( | bsoncxx::v1::document::value | v | ) |
Set the "schemaMap" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::auto_encryption_options::tls_opts | ( | ) | const |
Return the current "tlsOptions" field.
| auto_encryption_options & mongocxx::v1::auto_encryption_options::tls_opts | ( | bsoncxx::v1::document::value | v | ) |
Set the "tlsOptions" field.