MongoDB C++ Driver 4.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
client.hpp
Go to the documentation of this file.
1// Copyright 2009-present MongoDB, Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#pragma once
16
17#include <string>
18
20
22
27
29
30namespace mongocxx {
31namespace v_noabi {
32namespace options {
33
150
151} // namespace options
152} // namespace v_noabi
153} // namespace mongocxx
154
155#include <mongocxx/config/postlude.hpp>
156
Provides mongocxx::v_noabi::options::apm.
Provides mongocxx::v_noabi::options::auto_encryption.
A polyfill for std::optional<T>.
Definition optional.hpp:800
Used by mongocxx::v_noabi::options::client::apm_opts.
Definition apm.hpp:47
Used by mongocxx::v_noabi::options::client::auto_encryption_opts.
Definition auto_encryption.hpp:35
Used by clients.
Definition client.hpp:37
client & auto_encryption_opts(auto_encryption auto_encryption_opts)
Sets the automatic encryption options.
client & ssl_opts(tls ssl_opts)
Sets the SSL-related options.
client & apm_opts(apm apm_opts)
Sets the APM-related options.
bsoncxx::v_noabi::stdx::optional< tls > const & ssl_opts() const
The current SSL-related options.
client & server_api_opts(server_api server_api_opts)
Sets the server API options.
bsoncxx::v_noabi::stdx::optional< tls > const & tls_opts() const
The current TLS-related options.
client & tls_opts(tls tls_opts)
Sets the TLS-related options.
Used by mongocxx::v_noabi::options::client::server_api_opts.
Definition server_api.hpp:38
Used by mongocxx::v_noabi::options::client::tls_opts.
Definition tls.hpp:33
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition export.hpp:25
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::options::client.
Provides mongocxx::v_noabi::options::server_api.
Provides mongocxx::v_noabi::options::tls.
Provides std::optional-related polyfills for library API usage.