4#include <bsoncxx/document/value.hpp>
5#include <bsoncxx/stdx/optional.hpp>
6#include <mongocxx/cursor.hpp>
14 __declspec(dllexport)
void UpdateDataStorageResponse(std::string
result,
bool success, std::string message);
16 __declspec(dllexport) std::string getResult() {
return _result; }
19 __declspec(dllexport) std::string getMessage() {
return _message; };
20 __declspec(dllexport)
void setMessage(std::string message) { _message = message; };
22 __declspec(dllexport)
bool getSuccess() {
return _success; };
23 __declspec(dllexport)
void setSuccess(
bool success) { _success = success; };
25 __declspec(dllexport) bsoncxx::stdx::optional<bsoncxx::document::value> getBsonResult() {
return _bsonResult; };
26 __declspec(dllexport)
void setBsonResult(bsoncxx::stdx::optional<bsoncxx::document::value>
value) { _bsonResult =
value; };
28 __declspec(dllexport) std::string getFilePath() {
return _filePath; };
29 __declspec(dllexport)
void setFilePath(std::string filePath) { _filePath = filePath; };
31 __declspec(dllexport)
int getInsertType() {
return _insertType; };
32 __declspec(dllexport)
void setInsertType(
int insertType) { _insertType = insertType; };
38 bsoncxx::stdx::optional<bsoncxx::document::value> _bsonResult;
39 std::string _filePath;
bsoncxx::types::value value
Definition DocumentManager.h:16
int result
Definition dllmain.cpp:82
Definition DataStorageResponse.h:12
__declspec(dllexport) void UpdateDataStorageResponse(std __declspec(dllexport) std
Definition DataStorageResponse.h:16
__declspec(dllexport) void setSuccess(bool success)
Definition DataStorageResponse.h:23
__declspec(dllexport) void setInsertType(int insertType)
Definition DataStorageResponse.h:32
__declspec(dllexport) int getInsertType()
Definition DataStorageResponse.h:31
__declspec(dllexport) bool getSuccess()
Definition DataStorageResponse.h:22
__declspec(dllexport) std
Definition DataStorageResponse.h:19
__declspec(dllexport) bsoncxx
Definition DataStorageResponse.h:25
__declspec(dllexport) void setFilePath(std
Definition DataStorageResponse.h:29
__declspec(dllexport) void setBsonResult(bsoncxx
Definition DataStorageResponse.h:26
__declspec(dllexport) void setResult(std
Definition DataStorageResponse.h:17
__declspec(dllexport) void setMessage(std
Definition DataStorageResponse.h:20
Definition ArrayBinaryConverter.h:3