MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
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
17#include <mongocxx/result/rewrap_many_datakey-fwd.hpp> // IWYU pragma: export
18
19//
20
21#include <mongocxx/v1/rewrap_many_datakey_result.hpp> // IWYU pragma: export
22
23#include <utility>
24
25#include <bsoncxx/document/value.hpp> // IWYU pragma: keep: backward compatibility, to be removed.
27
28#include <mongocxx/bulk_write.hpp> // IWYU pragma: keep: backward compatibility, to be removed.
30
32
33namespace mongocxx {
34namespace v_noabi {
35namespace result {
36
41 public:
46
51
56
60 explicit rewrap_many_datakey(v_noabi::result::bulk_write bulk_write_result_doc)
61 : _result{std::move(bulk_write_result_doc)} {}
62
71
72 private:
74};
75
76} // namespace result
77} // namespace v_noabi
78} // namespace mongocxx
79
80namespace mongocxx {
81namespace v_noabi {
82
89
96
97} // namespace v_noabi
98} // namespace mongocxx
99
101
A polyfill for std::optional<T>.
Definition optional.hpp:799
The result of a "rewrapManyDataKey" operation.
Definition rewrap_many_datakey_result.hpp:42
The result of a MongoDB bulk write operation.
Definition bulk_write.hpp:43
The result of a MongoDB rewrapManyDatakey operation.
Definition rewrap_many_datakey.hpp:40
bsoncxx::v_noabi::stdx::optional< v_noabi::result::bulk_write > const & result()
Returns the bulk write result for this rewrap_many_datakey operation.
Definition rewrap_many_datakey.hpp:68
operator v1::rewrap_many_datakey_result() const
Convert to the mongocxx::v1 equivalent.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
Declares entities whose ABI stability is guaranteed for documented symbols.
Declares entities representing the result of various commands.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::result::rewrap_many_datakey.
Provides mongocxx::v1::rewrap_many_datakey_result.
Provides bsoncxx::v_noabi::document::value.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::bulk_write.
Provides mongocxx::v_noabi::result::bulk_write.