MongoDB C++ Driver 4.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rewrap_many_datakey.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
18
21
23
25
26namespace mongocxx {
27namespace v_noabi {
28namespace result {
29
33class rewrap_many_datakey {
34 public:
35 rewrap_many_datakey() = default;
36
37 explicit MONGOCXX_ABI_EXPORT_CDECL() rewrap_many_datakey(
38 mongocxx::v_noabi::result::bulk_write bulk_write_result_doc);
39
47
48 private:
49 bsoncxx::v_noabi::stdx::optional<mongocxx::v_noabi::result::bulk_write> _result;
50};
51
52} // namespace result
53} // namespace v_noabi
54} // namespace mongocxx
55
56#include <mongocxx/config/postlude.hpp>
57
Provides mongocxx::v_noabi::bulk_write.
A polyfill for std::optional<T>.
Definition optional.hpp:800
The result of a MongoDB bulk write operation.
Definition bulk_write.hpp:36
bsoncxx::v_noabi::stdx::optional< mongocxx::v_noabi::result::bulk_write > const & result()
Returns the bulk write result for this rewrap_many_datakey operation.
Provides bsoncxx::v_noabi::document::value.
#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 the result of 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::result::rewrap_many_datakey.
Provides std::optional-related polyfills for library API usage.