|
|
@@ -24,26 +24,42 @@
|
|
|
#include "VcsExport.h"
|
|
|
#include "model/AddDeviceRequest.h"
|
|
|
#include "model/AddDeviceResult.h"
|
|
|
+#include "model/AddMonitorRequest.h"
|
|
|
+#include "model/AddMonitorResult.h"
|
|
|
#include "model/CreateCorpRequest.h"
|
|
|
#include "model/CreateCorpResult.h"
|
|
|
#include "model/DeleteDeviceRequest.h"
|
|
|
#include "model/DeleteDeviceResult.h"
|
|
|
+#include "model/GetBodyOptionsRequest.h"
|
|
|
+#include "model/GetBodyOptionsResult.h"
|
|
|
#include "model/GetDeviceLiveUrlRequest.h"
|
|
|
#include "model/GetDeviceLiveUrlResult.h"
|
|
|
+#include "model/GetDeviceVideoUrlRequest.h"
|
|
|
+#include "model/GetDeviceVideoUrlResult.h"
|
|
|
+#include "model/GetFaceOptionsRequest.h"
|
|
|
+#include "model/GetFaceOptionsResult.h"
|
|
|
#include "model/GetInventoryRequest.h"
|
|
|
#include "model/GetInventoryResult.h"
|
|
|
+#include "model/GetMonitorResultRequest.h"
|
|
|
+#include "model/GetMonitorResultResult.h"
|
|
|
#include "model/ListCorpsRequest.h"
|
|
|
#include "model/ListCorpsResult.h"
|
|
|
#include "model/ListDevicesRequest.h"
|
|
|
#include "model/ListDevicesResult.h"
|
|
|
#include "model/RecognizeImageRequest.h"
|
|
|
#include "model/RecognizeImageResult.h"
|
|
|
+#include "model/SearchBodyRequest.h"
|
|
|
+#include "model/SearchBodyResult.h"
|
|
|
#include "model/SearchFaceRequest.h"
|
|
|
#include "model/SearchFaceResult.h"
|
|
|
+#include "model/StopMonitorRequest.h"
|
|
|
+#include "model/StopMonitorResult.h"
|
|
|
#include "model/UpdateCorpRequest.h"
|
|
|
#include "model/UpdateCorpResult.h"
|
|
|
#include "model/UpdateDeviceRequest.h"
|
|
|
#include "model/UpdateDeviceResult.h"
|
|
|
+#include "model/UpdateMonitorRequest.h"
|
|
|
+#include "model/UpdateMonitorResult.h"
|
|
|
|
|
|
|
|
|
namespace AlibabaCloud
|
|
|
@@ -56,18 +72,33 @@ namespace AlibabaCloud
|
|
|
typedef Outcome<Error, Model::AddDeviceResult> AddDeviceOutcome;
|
|
|
typedef std::future<AddDeviceOutcome> AddDeviceOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::AddDeviceRequest&, const AddDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDeviceAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::AddMonitorResult> AddMonitorOutcome;
|
|
|
+ typedef std::future<AddMonitorOutcome> AddMonitorOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::AddMonitorRequest&, const AddMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddMonitorAsyncHandler;
|
|
|
typedef Outcome<Error, Model::CreateCorpResult> CreateCorpOutcome;
|
|
|
typedef std::future<CreateCorpOutcome> CreateCorpOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::CreateCorpRequest&, const CreateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCorpAsyncHandler;
|
|
|
typedef Outcome<Error, Model::DeleteDeviceResult> DeleteDeviceOutcome;
|
|
|
typedef std::future<DeleteDeviceOutcome> DeleteDeviceOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::DeleteDeviceRequest&, const DeleteDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::GetBodyOptionsResult> GetBodyOptionsOutcome;
|
|
|
+ typedef std::future<GetBodyOptionsOutcome> GetBodyOptionsOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::GetBodyOptionsRequest&, const GetBodyOptionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBodyOptionsAsyncHandler;
|
|
|
typedef Outcome<Error, Model::GetDeviceLiveUrlResult> GetDeviceLiveUrlOutcome;
|
|
|
typedef std::future<GetDeviceLiveUrlOutcome> GetDeviceLiveUrlOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::GetDeviceLiveUrlRequest&, const GetDeviceLiveUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceLiveUrlAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::GetDeviceVideoUrlResult> GetDeviceVideoUrlOutcome;
|
|
|
+ typedef std::future<GetDeviceVideoUrlOutcome> GetDeviceVideoUrlOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::GetDeviceVideoUrlRequest&, const GetDeviceVideoUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceVideoUrlAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::GetFaceOptionsResult> GetFaceOptionsOutcome;
|
|
|
+ typedef std::future<GetFaceOptionsOutcome> GetFaceOptionsOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::GetFaceOptionsRequest&, const GetFaceOptionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFaceOptionsAsyncHandler;
|
|
|
typedef Outcome<Error, Model::GetInventoryResult> GetInventoryOutcome;
|
|
|
typedef std::future<GetInventoryOutcome> GetInventoryOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::GetInventoryRequest&, const GetInventoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInventoryAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::GetMonitorResultResult> GetMonitorResultOutcome;
|
|
|
+ typedef std::future<GetMonitorResultOutcome> GetMonitorResultOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::GetMonitorResultRequest&, const GetMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMonitorResultAsyncHandler;
|
|
|
typedef Outcome<Error, Model::ListCorpsResult> ListCorpsOutcome;
|
|
|
typedef std::future<ListCorpsOutcome> ListCorpsOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::ListCorpsRequest&, const ListCorpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpsAsyncHandler;
|
|
|
@@ -77,15 +108,24 @@ namespace AlibabaCloud
|
|
|
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
|
|
|
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::SearchBodyResult> SearchBodyOutcome;
|
|
|
+ typedef std::future<SearchBodyOutcome> SearchBodyOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::SearchBodyRequest&, const SearchBodyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchBodyAsyncHandler;
|
|
|
typedef Outcome<Error, Model::SearchFaceResult> SearchFaceOutcome;
|
|
|
typedef std::future<SearchFaceOutcome> SearchFaceOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::SearchFaceRequest&, const SearchFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchFaceAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::StopMonitorResult> StopMonitorOutcome;
|
|
|
+ typedef std::future<StopMonitorOutcome> StopMonitorOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::StopMonitorRequest&, const StopMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMonitorAsyncHandler;
|
|
|
typedef Outcome<Error, Model::UpdateCorpResult> UpdateCorpOutcome;
|
|
|
typedef std::future<UpdateCorpOutcome> UpdateCorpOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::UpdateCorpRequest&, const UpdateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCorpAsyncHandler;
|
|
|
typedef Outcome<Error, Model::UpdateDeviceResult> UpdateDeviceOutcome;
|
|
|
typedef std::future<UpdateDeviceOutcome> UpdateDeviceOutcomeCallable;
|
|
|
typedef std::function<void(const VcsClient*, const Model::UpdateDeviceRequest&, const UpdateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceAsyncHandler;
|
|
|
+ typedef Outcome<Error, Model::UpdateMonitorResult> UpdateMonitorOutcome;
|
|
|
+ typedef std::future<UpdateMonitorOutcome> UpdateMonitorOutcomeCallable;
|
|
|
+ typedef std::function<void(const VcsClient*, const Model::UpdateMonitorRequest&, const UpdateMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMonitorAsyncHandler;
|
|
|
|
|
|
VcsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
|
|
VcsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
|
|
@@ -94,18 +134,33 @@ namespace AlibabaCloud
|
|
|
AddDeviceOutcome addDevice(const Model::AddDeviceRequest &request)const;
|
|
|
void addDeviceAsync(const Model::AddDeviceRequest& request, const AddDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
AddDeviceOutcomeCallable addDeviceCallable(const Model::AddDeviceRequest& request) const;
|
|
|
+ AddMonitorOutcome addMonitor(const Model::AddMonitorRequest &request)const;
|
|
|
+ void addMonitorAsync(const Model::AddMonitorRequest& request, const AddMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ AddMonitorOutcomeCallable addMonitorCallable(const Model::AddMonitorRequest& request) const;
|
|
|
CreateCorpOutcome createCorp(const Model::CreateCorpRequest &request)const;
|
|
|
void createCorpAsync(const Model::CreateCorpRequest& request, const CreateCorpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
CreateCorpOutcomeCallable createCorpCallable(const Model::CreateCorpRequest& request) const;
|
|
|
DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const;
|
|
|
void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const;
|
|
|
+ GetBodyOptionsOutcome getBodyOptions(const Model::GetBodyOptionsRequest &request)const;
|
|
|
+ void getBodyOptionsAsync(const Model::GetBodyOptionsRequest& request, const GetBodyOptionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ GetBodyOptionsOutcomeCallable getBodyOptionsCallable(const Model::GetBodyOptionsRequest& request) const;
|
|
|
GetDeviceLiveUrlOutcome getDeviceLiveUrl(const Model::GetDeviceLiveUrlRequest &request)const;
|
|
|
void getDeviceLiveUrlAsync(const Model::GetDeviceLiveUrlRequest& request, const GetDeviceLiveUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
GetDeviceLiveUrlOutcomeCallable getDeviceLiveUrlCallable(const Model::GetDeviceLiveUrlRequest& request) const;
|
|
|
+ GetDeviceVideoUrlOutcome getDeviceVideoUrl(const Model::GetDeviceVideoUrlRequest &request)const;
|
|
|
+ void getDeviceVideoUrlAsync(const Model::GetDeviceVideoUrlRequest& request, const GetDeviceVideoUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ GetDeviceVideoUrlOutcomeCallable getDeviceVideoUrlCallable(const Model::GetDeviceVideoUrlRequest& request) const;
|
|
|
+ GetFaceOptionsOutcome getFaceOptions(const Model::GetFaceOptionsRequest &request)const;
|
|
|
+ void getFaceOptionsAsync(const Model::GetFaceOptionsRequest& request, const GetFaceOptionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ GetFaceOptionsOutcomeCallable getFaceOptionsCallable(const Model::GetFaceOptionsRequest& request) const;
|
|
|
GetInventoryOutcome getInventory(const Model::GetInventoryRequest &request)const;
|
|
|
void getInventoryAsync(const Model::GetInventoryRequest& request, const GetInventoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
GetInventoryOutcomeCallable getInventoryCallable(const Model::GetInventoryRequest& request) const;
|
|
|
+ GetMonitorResultOutcome getMonitorResult(const Model::GetMonitorResultRequest &request)const;
|
|
|
+ void getMonitorResultAsync(const Model::GetMonitorResultRequest& request, const GetMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ GetMonitorResultOutcomeCallable getMonitorResultCallable(const Model::GetMonitorResultRequest& request) const;
|
|
|
ListCorpsOutcome listCorps(const Model::ListCorpsRequest &request)const;
|
|
|
void listCorpsAsync(const Model::ListCorpsRequest& request, const ListCorpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
ListCorpsOutcomeCallable listCorpsCallable(const Model::ListCorpsRequest& request) const;
|
|
|
@@ -115,15 +170,24 @@ namespace AlibabaCloud
|
|
|
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
|
|
|
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
|
|
|
+ SearchBodyOutcome searchBody(const Model::SearchBodyRequest &request)const;
|
|
|
+ void searchBodyAsync(const Model::SearchBodyRequest& request, const SearchBodyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ SearchBodyOutcomeCallable searchBodyCallable(const Model::SearchBodyRequest& request) const;
|
|
|
SearchFaceOutcome searchFace(const Model::SearchFaceRequest &request)const;
|
|
|
void searchFaceAsync(const Model::SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
SearchFaceOutcomeCallable searchFaceCallable(const Model::SearchFaceRequest& request) const;
|
|
|
+ StopMonitorOutcome stopMonitor(const Model::StopMonitorRequest &request)const;
|
|
|
+ void stopMonitorAsync(const Model::StopMonitorRequest& request, const StopMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ StopMonitorOutcomeCallable stopMonitorCallable(const Model::StopMonitorRequest& request) const;
|
|
|
UpdateCorpOutcome updateCorp(const Model::UpdateCorpRequest &request)const;
|
|
|
void updateCorpAsync(const Model::UpdateCorpRequest& request, const UpdateCorpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
UpdateCorpOutcomeCallable updateCorpCallable(const Model::UpdateCorpRequest& request) const;
|
|
|
UpdateDeviceOutcome updateDevice(const Model::UpdateDeviceRequest &request)const;
|
|
|
void updateDeviceAsync(const Model::UpdateDeviceRequest& request, const UpdateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
UpdateDeviceOutcomeCallable updateDeviceCallable(const Model::UpdateDeviceRequest& request) const;
|
|
|
+ UpdateMonitorOutcome updateMonitor(const Model::UpdateMonitorRequest &request)const;
|
|
|
+ void updateMonitorAsync(const Model::UpdateMonitorRequest& request, const UpdateMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
+ UpdateMonitorOutcomeCallable updateMonitorCallable(const Model::UpdateMonitorRequest& request) const;
|
|
|
|
|
|
private:
|
|
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|