Supported Sync predict for Image.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2019-12-11 Version 1.36.210
|
||||
- Supported Sync predict for Image.
|
||||
- Supported Set Frame Frequency for Stream Predict.
|
||||
- Fixed Errore Code For APIs.
|
||||
|
||||
2019-12-11 Version 1.36.209
|
||||
- Add tag API.
|
||||
- Add group process monitoring API.
|
||||
|
||||
@@ -46,7 +46,9 @@ set(ivision_public_header_model
|
||||
include/alibabacloud/ivision/model/StopStreamPredictRequest.h
|
||||
include/alibabacloud/ivision/model/StopStreamPredictResult.h
|
||||
include/alibabacloud/ivision/model/UnregisterFaceRequest.h
|
||||
include/alibabacloud/ivision/model/UnregisterFaceResult.h )
|
||||
include/alibabacloud/ivision/model/UnregisterFaceResult.h
|
||||
include/alibabacloud/ivision/model/VideoPredictRequest.h
|
||||
include/alibabacloud/ivision/model/VideoPredictResult.h )
|
||||
|
||||
set(ivision_src
|
||||
src/IvisionClient.cc
|
||||
@@ -75,7 +77,9 @@ set(ivision_src
|
||||
src/model/StopStreamPredictRequest.cc
|
||||
src/model/StopStreamPredictResult.cc
|
||||
src/model/UnregisterFaceRequest.cc
|
||||
src/model/UnregisterFaceResult.cc )
|
||||
src/model/UnregisterFaceResult.cc
|
||||
src/model/VideoPredictRequest.cc
|
||||
src/model/VideoPredictResult.cc )
|
||||
|
||||
add_library(ivision ${LIB_TYPE}
|
||||
${ivision_public_header}
|
||||
|
||||
@@ -22,32 +22,34 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "IvisionExport.h"
|
||||
#include "model/CreateFaceGroupRequest.h"
|
||||
#include "model/CreateFaceGroupResult.h"
|
||||
#include "model/CreateStreamPredictRequest.h"
|
||||
#include "model/CreateStreamPredictResult.h"
|
||||
#include "model/DeleteFaceGroupRequest.h"
|
||||
#include "model/DeleteFaceGroupResult.h"
|
||||
#include "model/DeleteStreamPredictRequest.h"
|
||||
#include "model/DeleteStreamPredictResult.h"
|
||||
#include "model/DescribeFaceGroupsRequest.h"
|
||||
#include "model/DescribeFaceGroupsResult.h"
|
||||
#include "model/DescribeStreamPredictResultRequest.h"
|
||||
#include "model/DescribeStreamPredictResultResult.h"
|
||||
#include "model/DescribeStreamPredictsRequest.h"
|
||||
#include "model/DescribeStreamPredictsResult.h"
|
||||
#include "model/ImagePredictRequest.h"
|
||||
#include "model/ImagePredictResult.h"
|
||||
#include "model/RegisterFaceRequest.h"
|
||||
#include "model/RegisterFaceResult.h"
|
||||
#include "model/SearchFaceRequest.h"
|
||||
#include "model/SearchFaceResult.h"
|
||||
#include "model/StartStreamPredictRequest.h"
|
||||
#include "model/StartStreamPredictResult.h"
|
||||
#include "model/StopStreamPredictRequest.h"
|
||||
#include "model/StopStreamPredictResult.h"
|
||||
#include "model/UnregisterFaceRequest.h"
|
||||
#include "model/UnregisterFaceResult.h"
|
||||
#include "model/CreateFaceGroupRequest.h"
|
||||
#include "model/CreateFaceGroupResult.h"
|
||||
#include "model/CreateStreamPredictRequest.h"
|
||||
#include "model/CreateStreamPredictResult.h"
|
||||
#include "model/DeleteFaceGroupRequest.h"
|
||||
#include "model/DeleteFaceGroupResult.h"
|
||||
#include "model/DeleteStreamPredictRequest.h"
|
||||
#include "model/DeleteStreamPredictResult.h"
|
||||
#include "model/DescribeFaceGroupsRequest.h"
|
||||
#include "model/DescribeFaceGroupsResult.h"
|
||||
#include "model/DescribeStreamPredictResultRequest.h"
|
||||
#include "model/DescribeStreamPredictResultResult.h"
|
||||
#include "model/DescribeStreamPredictsRequest.h"
|
||||
#include "model/DescribeStreamPredictsResult.h"
|
||||
#include "model/ImagePredictRequest.h"
|
||||
#include "model/ImagePredictResult.h"
|
||||
#include "model/RegisterFaceRequest.h"
|
||||
#include "model/RegisterFaceResult.h"
|
||||
#include "model/SearchFaceRequest.h"
|
||||
#include "model/SearchFaceResult.h"
|
||||
#include "model/StartStreamPredictRequest.h"
|
||||
#include "model/StartStreamPredictResult.h"
|
||||
#include "model/StopStreamPredictRequest.h"
|
||||
#include "model/StopStreamPredictResult.h"
|
||||
#include "model/UnregisterFaceRequest.h"
|
||||
#include "model/UnregisterFaceResult.h"
|
||||
#include "model/VideoPredictRequest.h"
|
||||
#include "model/VideoPredictResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -59,43 +61,46 @@ namespace AlibabaCloud
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateFaceGroupResult> CreateFaceGroupOutcome;
|
||||
typedef std::future<CreateFaceGroupOutcome> CreateFaceGroupOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateFaceGroupRequest&, const CreateFaceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFaceGroupAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateFaceGroupRequest&, const CreateFaceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFaceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateStreamPredictResult> CreateStreamPredictOutcome;
|
||||
typedef std::future<CreateStreamPredictOutcome> CreateStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateStreamPredictRequest&, const CreateStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStreamPredictAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateStreamPredictRequest&, const CreateStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFaceGroupResult> DeleteFaceGroupOutcome;
|
||||
typedef std::future<DeleteFaceGroupOutcome> DeleteFaceGroupOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteFaceGroupRequest&, const DeleteFaceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceGroupAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteFaceGroupRequest&, const DeleteFaceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteStreamPredictResult> DeleteStreamPredictOutcome;
|
||||
typedef std::future<DeleteStreamPredictOutcome> DeleteStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteStreamPredictRequest&, const DeleteStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStreamPredictAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteStreamPredictRequest&, const DeleteStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeFaceGroupsResult> DescribeFaceGroupsOutcome;
|
||||
typedef std::future<DescribeFaceGroupsOutcome> DescribeFaceGroupsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeFaceGroupsRequest&, const DescribeFaceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFaceGroupsAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeFaceGroupsRequest&, const DescribeFaceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFaceGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStreamPredictResultResult> DescribeStreamPredictResultOutcome;
|
||||
typedef std::future<DescribeStreamPredictResultOutcome> DescribeStreamPredictResultOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeStreamPredictResultRequest&, const DescribeStreamPredictResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStreamPredictResultAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeStreamPredictResultRequest&, const DescribeStreamPredictResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStreamPredictResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStreamPredictsResult> DescribeStreamPredictsOutcome;
|
||||
typedef std::future<DescribeStreamPredictsOutcome> DescribeStreamPredictsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeStreamPredictsRequest&, const DescribeStreamPredictsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStreamPredictsAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeStreamPredictsRequest&, const DescribeStreamPredictsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStreamPredictsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImagePredictResult> ImagePredictOutcome;
|
||||
typedef std::future<ImagePredictOutcome> ImagePredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::ImagePredictRequest&, const ImagePredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImagePredictAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::ImagePredictRequest&, const ImagePredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImagePredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterFaceResult> RegisterFaceOutcome;
|
||||
typedef std::future<RegisterFaceOutcome> RegisterFaceOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::RegisterFaceRequest&, const RegisterFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterFaceAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::RegisterFaceRequest&, const RegisterFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchFaceResult> SearchFaceOutcome;
|
||||
typedef std::future<SearchFaceOutcome> SearchFaceOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::SearchFaceRequest&, const SearchFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchFaceAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::SearchFaceRequest&, const SearchFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartStreamPredictResult> StartStreamPredictOutcome;
|
||||
typedef std::future<StartStreamPredictOutcome> StartStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::StartStreamPredictRequest&, const StartStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartStreamPredictAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::StartStreamPredictRequest&, const StartStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopStreamPredictResult> StopStreamPredictOutcome;
|
||||
typedef std::future<StopStreamPredictOutcome> StopStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::StopStreamPredictRequest&, const StopStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopStreamPredictAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::StopStreamPredictRequest&, const StopStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnregisterFaceResult> UnregisterFaceOutcome;
|
||||
typedef std::future<UnregisterFaceOutcome> UnregisterFaceOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::UnregisterFaceRequest&, const UnregisterFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnregisterFaceAsyncHandler;
|
||||
typedef std::function<void(const IvisionClient*, const Model::UnregisterFaceRequest&, const UnregisterFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnregisterFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::VideoPredictResult> VideoPredictOutcome;
|
||||
typedef std::future<VideoPredictOutcome> VideoPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::VideoPredictRequest&, const VideoPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoPredictAsyncHandler;
|
||||
|
||||
IvisionClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
IvisionClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -103,43 +108,46 @@ namespace AlibabaCloud
|
||||
~IvisionClient();
|
||||
CreateFaceGroupOutcome createFaceGroup(const Model::CreateFaceGroupRequest &request)const;
|
||||
void createFaceGroupAsync(const Model::CreateFaceGroupRequest& request, const CreateFaceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFaceGroupOutcomeCallable createFaceGroupCallable(const Model::CreateFaceGroupRequest& request) const;
|
||||
CreateFaceGroupOutcomeCallable createFaceGroupCallable(const Model::CreateFaceGroupRequest& request) const;
|
||||
CreateStreamPredictOutcome createStreamPredict(const Model::CreateStreamPredictRequest &request)const;
|
||||
void createStreamPredictAsync(const Model::CreateStreamPredictRequest& request, const CreateStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateStreamPredictOutcomeCallable createStreamPredictCallable(const Model::CreateStreamPredictRequest& request) const;
|
||||
CreateStreamPredictOutcomeCallable createStreamPredictCallable(const Model::CreateStreamPredictRequest& request) const;
|
||||
DeleteFaceGroupOutcome deleteFaceGroup(const Model::DeleteFaceGroupRequest &request)const;
|
||||
void deleteFaceGroupAsync(const Model::DeleteFaceGroupRequest& request, const DeleteFaceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFaceGroupOutcomeCallable deleteFaceGroupCallable(const Model::DeleteFaceGroupRequest& request) const;
|
||||
DeleteFaceGroupOutcomeCallable deleteFaceGroupCallable(const Model::DeleteFaceGroupRequest& request) const;
|
||||
DeleteStreamPredictOutcome deleteStreamPredict(const Model::DeleteStreamPredictRequest &request)const;
|
||||
void deleteStreamPredictAsync(const Model::DeleteStreamPredictRequest& request, const DeleteStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteStreamPredictOutcomeCallable deleteStreamPredictCallable(const Model::DeleteStreamPredictRequest& request) const;
|
||||
DeleteStreamPredictOutcomeCallable deleteStreamPredictCallable(const Model::DeleteStreamPredictRequest& request) const;
|
||||
DescribeFaceGroupsOutcome describeFaceGroups(const Model::DescribeFaceGroupsRequest &request)const;
|
||||
void describeFaceGroupsAsync(const Model::DescribeFaceGroupsRequest& request, const DescribeFaceGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFaceGroupsOutcomeCallable describeFaceGroupsCallable(const Model::DescribeFaceGroupsRequest& request) const;
|
||||
DescribeFaceGroupsOutcomeCallable describeFaceGroupsCallable(const Model::DescribeFaceGroupsRequest& request) const;
|
||||
DescribeStreamPredictResultOutcome describeStreamPredictResult(const Model::DescribeStreamPredictResultRequest &request)const;
|
||||
void describeStreamPredictResultAsync(const Model::DescribeStreamPredictResultRequest& request, const DescribeStreamPredictResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStreamPredictResultOutcomeCallable describeStreamPredictResultCallable(const Model::DescribeStreamPredictResultRequest& request) const;
|
||||
DescribeStreamPredictResultOutcomeCallable describeStreamPredictResultCallable(const Model::DescribeStreamPredictResultRequest& request) const;
|
||||
DescribeStreamPredictsOutcome describeStreamPredicts(const Model::DescribeStreamPredictsRequest &request)const;
|
||||
void describeStreamPredictsAsync(const Model::DescribeStreamPredictsRequest& request, const DescribeStreamPredictsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStreamPredictsOutcomeCallable describeStreamPredictsCallable(const Model::DescribeStreamPredictsRequest& request) const;
|
||||
DescribeStreamPredictsOutcomeCallable describeStreamPredictsCallable(const Model::DescribeStreamPredictsRequest& request) const;
|
||||
ImagePredictOutcome imagePredict(const Model::ImagePredictRequest &request)const;
|
||||
void imagePredictAsync(const Model::ImagePredictRequest& request, const ImagePredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImagePredictOutcomeCallable imagePredictCallable(const Model::ImagePredictRequest& request) const;
|
||||
ImagePredictOutcomeCallable imagePredictCallable(const Model::ImagePredictRequest& request) const;
|
||||
RegisterFaceOutcome registerFace(const Model::RegisterFaceRequest &request)const;
|
||||
void registerFaceAsync(const Model::RegisterFaceRequest& request, const RegisterFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterFaceOutcomeCallable registerFaceCallable(const Model::RegisterFaceRequest& request) const;
|
||||
RegisterFaceOutcomeCallable registerFaceCallable(const Model::RegisterFaceRequest& 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;
|
||||
SearchFaceOutcomeCallable searchFaceCallable(const Model::SearchFaceRequest& request) const;
|
||||
StartStreamPredictOutcome startStreamPredict(const Model::StartStreamPredictRequest &request)const;
|
||||
void startStreamPredictAsync(const Model::StartStreamPredictRequest& request, const StartStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartStreamPredictOutcomeCallable startStreamPredictCallable(const Model::StartStreamPredictRequest& request) const;
|
||||
StartStreamPredictOutcomeCallable startStreamPredictCallable(const Model::StartStreamPredictRequest& request) const;
|
||||
StopStreamPredictOutcome stopStreamPredict(const Model::StopStreamPredictRequest &request)const;
|
||||
void stopStreamPredictAsync(const Model::StopStreamPredictRequest& request, const StopStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopStreamPredictOutcomeCallable stopStreamPredictCallable(const Model::StopStreamPredictRequest& request) const;
|
||||
StopStreamPredictOutcomeCallable stopStreamPredictCallable(const Model::StopStreamPredictRequest& request) const;
|
||||
UnregisterFaceOutcome unregisterFace(const Model::UnregisterFaceRequest &request)const;
|
||||
void unregisterFaceAsync(const Model::UnregisterFaceRequest& request, const UnregisterFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnregisterFaceOutcomeCallable unregisterFaceCallable(const Model::UnregisterFaceRequest& request) const;
|
||||
UnregisterFaceOutcomeCallable unregisterFaceCallable(const Model::UnregisterFaceRequest& request) const;
|
||||
VideoPredictOutcome videoPredict(const Model::VideoPredictRequest &request)const;
|
||||
void videoPredictAsync(const Model::VideoPredictRequest& request, const VideoPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VideoPredictOutcomeCallable videoPredictCallable(const Model::VideoPredictRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
CreateFaceGroupRequest();
|
||||
~CreateFaceGroupRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string name_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,47 +35,47 @@ namespace AlibabaCloud
|
||||
CreateStreamPredictRequest();
|
||||
~CreateStreamPredictRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAutoStart()const;
|
||||
void setAutoStart(const std::string& autoStart);
|
||||
std::string getNotify()const;
|
||||
void setNotify(const std::string& notify);
|
||||
std::string getOutput()const;
|
||||
void setOutput(const std::string& output);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getStreamType()const;
|
||||
void setStreamType(const std::string& streamType);
|
||||
std::string getFaceGroupId()const;
|
||||
void setFaceGroupId(const std::string& faceGroupId);
|
||||
std::string getStreamId()const;
|
||||
void setStreamId(const std::string& streamId);
|
||||
std::string getDetectIntervals()const;
|
||||
void setDetectIntervals(const std::string& detectIntervals);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProbabilityThresholds()const;
|
||||
void setProbabilityThresholds(const std::string& probabilityThresholds);
|
||||
std::string getModelIds()const;
|
||||
void setModelIds(const std::string& modelIds);
|
||||
std::string getModelUserData()const;
|
||||
void setModelUserData(const std::string& modelUserData);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAutoStart()const;
|
||||
void setAutoStart(const std::string& autoStart);
|
||||
std::string getNotify()const;
|
||||
void setNotify(const std::string& notify);
|
||||
std::string getOutput()const;
|
||||
void setOutput(const std::string& output);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getStreamType()const;
|
||||
void setStreamType(const std::string& streamType);
|
||||
std::string getFaceGroupId()const;
|
||||
void setFaceGroupId(const std::string& faceGroupId);
|
||||
std::string getStreamId()const;
|
||||
void setStreamId(const std::string& streamId);
|
||||
std::string getDetectIntervals()const;
|
||||
void setDetectIntervals(const std::string& detectIntervals);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProbabilityThresholds()const;
|
||||
void setProbabilityThresholds(const std::string& probabilityThresholds);
|
||||
std::string getModelIds()const;
|
||||
void setModelIds(const std::string& modelIds);
|
||||
std::string getModelUserData()const;
|
||||
void setModelUserData(const std::string& modelUserData);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string autoStart_;
|
||||
std::string notify_;
|
||||
std::string output_;
|
||||
std::string showLog_;
|
||||
std::string streamType_;
|
||||
std::string faceGroupId_;
|
||||
std::string streamId_;
|
||||
std::string detectIntervals_;
|
||||
long ownerId_;
|
||||
std::string probabilityThresholds_;
|
||||
std::string modelIds_;
|
||||
std::string modelUserData_;
|
||||
std::string clientToken_;
|
||||
std::string autoStart_;
|
||||
std::string notify_;
|
||||
std::string output_;
|
||||
std::string showLog_;
|
||||
std::string streamType_;
|
||||
std::string faceGroupId_;
|
||||
std::string streamId_;
|
||||
std::string detectIntervals_;
|
||||
long ownerId_;
|
||||
std::string probabilityThresholds_;
|
||||
std::string modelIds_;
|
||||
std::string modelUserData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
DeleteFaceGroupRequest();
|
||||
~DeleteFaceGroupRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
long ownerId_;
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
DeleteStreamPredictRequest();
|
||||
~DeleteStreamPredictRequest();
|
||||
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string predictId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string predictId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
DescribeFaceGroupsRequest();
|
||||
~DescribeFaceGroupsRequest();
|
||||
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
std::string nextPageToken_;
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,38 +35,38 @@ namespace AlibabaCloud
|
||||
DescribeStreamPredictResultRequest();
|
||||
~DescribeStreamPredictResultRequest();
|
||||
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getProbabilityThreshold()const;
|
||||
void setProbabilityThreshold(const std::string& probabilityThreshold);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getModelId()const;
|
||||
void setModelId(const std::string& modelId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getProbabilityThreshold()const;
|
||||
void setProbabilityThreshold(const std::string& probabilityThreshold);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getModelId()const;
|
||||
void setModelId(const std::string& modelId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::string startTime_;
|
||||
std::string predictId_;
|
||||
long pageSize_;
|
||||
std::string probabilityThreshold_;
|
||||
std::string showLog_;
|
||||
std::string modelId_;
|
||||
std::string endTime_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
std::string nextPageToken_;
|
||||
std::string startTime_;
|
||||
std::string predictId_;
|
||||
long pageSize_;
|
||||
std::string probabilityThreshold_;
|
||||
std::string showLog_;
|
||||
std::string modelId_;
|
||||
std::string endTime_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,26 +35,26 @@ namespace AlibabaCloud
|
||||
DescribeStreamPredictsRequest();
|
||||
~DescribeStreamPredictsRequest();
|
||||
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getPredictIds()const;
|
||||
void setPredictIds(const std::string& predictIds);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getPredictIds()const;
|
||||
void setPredictIds(const std::string& predictIds);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::string predictIds_;
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
std::string nextPageToken_;
|
||||
std::string predictIds_;
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
ImagePredictRequest();
|
||||
~ImagePredictRequest();
|
||||
|
||||
std::string getDataUrl()const;
|
||||
void setDataUrl(const std::string& dataUrl);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getModelId()const;
|
||||
void setModelId(const std::string& modelId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDataUrl()const;
|
||||
void setDataUrl(const std::string& dataUrl);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getModelId()const;
|
||||
void setModelId(const std::string& modelId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string dataUrl_;
|
||||
std::string showLog_;
|
||||
std::string modelId_;
|
||||
long ownerId_;
|
||||
std::string dataUrl_;
|
||||
std::string showLog_;
|
||||
std::string modelId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
RegisterFaceRequest();
|
||||
~RegisterFaceRequest();
|
||||
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string content_;
|
||||
std::string dataType_;
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
long ownerId_;
|
||||
std::string content_;
|
||||
std::string dataType_;
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,29 +35,29 @@ namespace AlibabaCloud
|
||||
SearchFaceRequest();
|
||||
~SearchFaceRequest();
|
||||
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
float getProbabilityThreshold()const;
|
||||
void setProbabilityThreshold(float probabilityThreshold);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
int getCount()const;
|
||||
void setCount(int count);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
float getProbabilityThreshold()const;
|
||||
void setProbabilityThreshold(float probabilityThreshold);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
int getCount()const;
|
||||
void setCount(int count);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string content_;
|
||||
std::string dataType_;
|
||||
float probabilityThreshold_;
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
int count_;
|
||||
long ownerId_;
|
||||
std::string content_;
|
||||
std::string dataType_;
|
||||
float probabilityThreshold_;
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
int count_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
StartStreamPredictRequest();
|
||||
~StartStreamPredictRequest();
|
||||
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string predictId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string predictId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
StopStreamPredictRequest();
|
||||
~StopStreamPredictRequest();
|
||||
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string predictId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string predictId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
UnregisterFaceRequest();
|
||||
~UnregisterFaceRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getFaceToken()const;
|
||||
void setFaceToken(const std::string& faceToken);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getFaceToken()const;
|
||||
void setFaceToken(const std::string& faceToken);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
long ownerId_;
|
||||
std::string faceToken_;
|
||||
std::string showLog_;
|
||||
std::string groupId_;
|
||||
long ownerId_;
|
||||
std::string faceToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_VIDEOPREDICTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_VIDEOPREDICTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT VideoPredictRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VideoPredictRequest();
|
||||
~VideoPredictRequest();
|
||||
|
||||
std::string getDataUrl()const;
|
||||
void setDataUrl(const std::string& dataUrl);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getNotify()const;
|
||||
void setNotify(const std::string& notify);
|
||||
std::string getOutput()const;
|
||||
void setOutput(const std::string& output);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getModels()const;
|
||||
void setModels(const std::string& models);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string dataUrl_;
|
||||
std::string clientToken_;
|
||||
std::string notify_;
|
||||
std::string output_;
|
||||
std::string showLog_;
|
||||
std::string models_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_VIDEOPREDICTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_VIDEOPREDICTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_VIDEOPREDICTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT VideoPredictResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
VideoPredictResult();
|
||||
explicit VideoPredictResult(const std::string &payload);
|
||||
~VideoPredictResult();
|
||||
std::string getPredictId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string predictId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_VIDEOPREDICTRESULT_H_
|
||||
@@ -86,7 +86,7 @@ IvisionClient::CreateFaceGroupOutcomeCallable IvisionClient::createFaceGroupCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::CreateStreamPredictOutcome IvisionClient::createStreamPredict(const CreateStreamPredictRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -122,7 +122,7 @@ IvisionClient::CreateStreamPredictOutcomeCallable IvisionClient::createStreamPre
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::DeleteFaceGroupOutcome IvisionClient::deleteFaceGroup(const DeleteFaceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -158,7 +158,7 @@ IvisionClient::DeleteFaceGroupOutcomeCallable IvisionClient::deleteFaceGroupCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::DeleteStreamPredictOutcome IvisionClient::deleteStreamPredict(const DeleteStreamPredictRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -194,7 +194,7 @@ IvisionClient::DeleteStreamPredictOutcomeCallable IvisionClient::deleteStreamPre
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::DescribeFaceGroupsOutcome IvisionClient::describeFaceGroups(const DescribeFaceGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -230,7 +230,7 @@ IvisionClient::DescribeFaceGroupsOutcomeCallable IvisionClient::describeFaceGrou
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::DescribeStreamPredictResultOutcome IvisionClient::describeStreamPredictResult(const DescribeStreamPredictResultRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -266,7 +266,7 @@ IvisionClient::DescribeStreamPredictResultOutcomeCallable IvisionClient::describ
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::DescribeStreamPredictsOutcome IvisionClient::describeStreamPredicts(const DescribeStreamPredictsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -302,7 +302,7 @@ IvisionClient::DescribeStreamPredictsOutcomeCallable IvisionClient::describeStre
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::ImagePredictOutcome IvisionClient::imagePredict(const ImagePredictRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -338,7 +338,7 @@ IvisionClient::ImagePredictOutcomeCallable IvisionClient::imagePredictCallable(c
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::RegisterFaceOutcome IvisionClient::registerFace(const RegisterFaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -374,7 +374,7 @@ IvisionClient::RegisterFaceOutcomeCallable IvisionClient::registerFaceCallable(c
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::SearchFaceOutcome IvisionClient::searchFace(const SearchFaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -410,7 +410,7 @@ IvisionClient::SearchFaceOutcomeCallable IvisionClient::searchFaceCallable(const
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::StartStreamPredictOutcome IvisionClient::startStreamPredict(const StartStreamPredictRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -446,7 +446,7 @@ IvisionClient::StartStreamPredictOutcomeCallable IvisionClient::startStreamPredi
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::StopStreamPredictOutcome IvisionClient::stopStreamPredict(const StopStreamPredictRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -482,7 +482,7 @@ IvisionClient::StopStreamPredictOutcomeCallable IvisionClient::stopStreamPredict
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
IvisionClient::UnregisterFaceOutcome IvisionClient::unregisterFace(const UnregisterFaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -518,4 +518,40 @@ IvisionClient::UnregisterFaceOutcomeCallable IvisionClient::unregisterFaceCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
IvisionClient::VideoPredictOutcome IvisionClient::videoPredict(const VideoPredictRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return VideoPredictOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return VideoPredictOutcome(VideoPredictResult(outcome.result()));
|
||||
else
|
||||
return VideoPredictOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void IvisionClient::videoPredictAsync(const VideoPredictRequest& request, const VideoPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, videoPredict(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
IvisionClient::VideoPredictOutcomeCallable IvisionClient::videoPredictCallable(const VideoPredictRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<VideoPredictOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->videoPredict(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,43 +20,43 @@ using AlibabaCloud::Ivision::Model::CreateFaceGroupRequest;
|
||||
|
||||
CreateFaceGroupRequest::CreateFaceGroupRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateFaceGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
CreateFaceGroupRequest::~CreateFaceGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateFaceGroupRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateFaceGroupRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateFaceGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateFaceGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateFaceGroupRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateFaceGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateFaceGroupRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateFaceGroupRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateFaceGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateFaceGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateFaceGroupRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateFaceGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,153 +20,153 @@ using AlibabaCloud::Ivision::Model::CreateStreamPredictRequest;
|
||||
|
||||
CreateStreamPredictRequest::CreateStreamPredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateStreamPredict")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateStreamPredictRequest::~CreateStreamPredictRequest()
|
||||
{}
|
||||
|
||||
std::string CreateStreamPredictRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getAutoStart()const
|
||||
{
|
||||
return autoStart_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAutoStart(const std::string& autoStart)
|
||||
{
|
||||
autoStart_ = autoStart;
|
||||
setCoreParameter("AutoStart", autoStart);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getNotify()const
|
||||
{
|
||||
return notify_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setNotify(const std::string& notify)
|
||||
{
|
||||
notify_ = notify;
|
||||
setCoreParameter("Notify", notify);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOutput(const std::string& output)
|
||||
{
|
||||
output_ = output;
|
||||
setCoreParameter("Output", output);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamType()const
|
||||
{
|
||||
return streamType_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setStreamType(const std::string& streamType)
|
||||
{
|
||||
streamType_ = streamType;
|
||||
setCoreParameter("StreamType", streamType);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getFaceGroupId()const
|
||||
{
|
||||
return faceGroupId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setFaceGroupId(const std::string& faceGroupId)
|
||||
{
|
||||
faceGroupId_ = faceGroupId;
|
||||
setCoreParameter("FaceGroupId", faceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamId()const
|
||||
{
|
||||
return streamId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setStreamId(const std::string& streamId)
|
||||
{
|
||||
streamId_ = streamId;
|
||||
setCoreParameter("StreamId", streamId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getDetectIntervals()const
|
||||
{
|
||||
return detectIntervals_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setDetectIntervals(const std::string& detectIntervals)
|
||||
{
|
||||
detectIntervals_ = detectIntervals;
|
||||
setCoreParameter("DetectIntervals", detectIntervals);
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getProbabilityThresholds()const
|
||||
{
|
||||
return probabilityThresholds_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProbabilityThresholds(const std::string& probabilityThresholds)
|
||||
{
|
||||
probabilityThresholds_ = probabilityThresholds;
|
||||
setCoreParameter("ProbabilityThresholds", probabilityThresholds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getModelUserData()const
|
||||
{
|
||||
return modelUserData_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setModelUserData(const std::string& modelUserData)
|
||||
{
|
||||
modelUserData_ = modelUserData;
|
||||
setCoreParameter("ModelUserData", modelUserData);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getAutoStart()const
|
||||
{
|
||||
return autoStart_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAutoStart(const std::string& autoStart)
|
||||
{
|
||||
autoStart_ = autoStart;
|
||||
setCoreParameter("AutoStart", autoStart);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getNotify()const
|
||||
{
|
||||
return notify_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setNotify(const std::string& notify)
|
||||
{
|
||||
notify_ = notify;
|
||||
setCoreParameter("Notify", notify);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOutput(const std::string& output)
|
||||
{
|
||||
output_ = output;
|
||||
setCoreParameter("Output", output);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamType()const
|
||||
{
|
||||
return streamType_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setStreamType(const std::string& streamType)
|
||||
{
|
||||
streamType_ = streamType;
|
||||
setCoreParameter("StreamType", streamType);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getFaceGroupId()const
|
||||
{
|
||||
return faceGroupId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setFaceGroupId(const std::string& faceGroupId)
|
||||
{
|
||||
faceGroupId_ = faceGroupId;
|
||||
setCoreParameter("FaceGroupId", faceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamId()const
|
||||
{
|
||||
return streamId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setStreamId(const std::string& streamId)
|
||||
{
|
||||
streamId_ = streamId;
|
||||
setCoreParameter("StreamId", streamId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getDetectIntervals()const
|
||||
{
|
||||
return detectIntervals_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setDetectIntervals(const std::string& detectIntervals)
|
||||
{
|
||||
detectIntervals_ = detectIntervals;
|
||||
setCoreParameter("DetectIntervals", detectIntervals);
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getProbabilityThresholds()const
|
||||
{
|
||||
return probabilityThresholds_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProbabilityThresholds(const std::string& probabilityThresholds)
|
||||
{
|
||||
probabilityThresholds_ = probabilityThresholds;
|
||||
setCoreParameter("ProbabilityThresholds", probabilityThresholds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getModelUserData()const
|
||||
{
|
||||
return modelUserData_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setModelUserData(const std::string& modelUserData)
|
||||
{
|
||||
modelUserData_ = modelUserData;
|
||||
setCoreParameter("ModelUserData", modelUserData);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,43 +20,43 @@ using AlibabaCloud::Ivision::Model::DeleteFaceGroupRequest;
|
||||
|
||||
DeleteFaceGroupRequest::DeleteFaceGroupRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DeleteFaceGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DeleteFaceGroupRequest::~DeleteFaceGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteFaceGroupRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteFaceGroupRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteFaceGroupRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void DeleteFaceGroupRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long DeleteFaceGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteFaceGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteFaceGroupRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteFaceGroupRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteFaceGroupRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void DeleteFaceGroupRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long DeleteFaceGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteFaceGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,43 +20,43 @@ using AlibabaCloud::Ivision::Model::DeleteStreamPredictRequest;
|
||||
|
||||
DeleteStreamPredictRequest::DeleteStreamPredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DeleteStreamPredict")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteStreamPredictRequest::~DeleteStreamPredictRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeleteStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeleteStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,65 +20,65 @@ using AlibabaCloud::Ivision::Model::DescribeFaceGroupsRequest;
|
||||
|
||||
DescribeFaceGroupsRequest::DescribeFaceGroupsRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribeFaceGroups")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeFaceGroupsRequest::~DescribeFaceGroupsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeFaceGroupsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeFaceGroupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeFaceGroupsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribeFaceGroupsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeFaceGroupsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeFaceGroupsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeFaceGroupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeFaceGroupsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribeFaceGroupsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeFaceGroupsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFaceGroupsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,120 +20,120 @@ using AlibabaCloud::Ivision::Model::DescribeStreamPredictResultRequest;
|
||||
|
||||
DescribeStreamPredictResultRequest::DescribeStreamPredictResultRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribeStreamPredictResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeStreamPredictResultRequest::~DescribeStreamPredictResultRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getProbabilityThreshold()const
|
||||
{
|
||||
return probabilityThreshold_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setProbabilityThreshold(const std::string& probabilityThreshold)
|
||||
{
|
||||
probabilityThreshold_ = probabilityThreshold;
|
||||
setCoreParameter("ProbabilityThreshold", probabilityThreshold);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getProbabilityThreshold()const
|
||||
{
|
||||
return probabilityThreshold_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setProbabilityThreshold(const std::string& probabilityThreshold)
|
||||
{
|
||||
probabilityThreshold_ = probabilityThreshold;
|
||||
setCoreParameter("ProbabilityThreshold", probabilityThreshold);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,76 +20,76 @@ using AlibabaCloud::Ivision::Model::DescribeStreamPredictsRequest;
|
||||
|
||||
DescribeStreamPredictsRequest::DescribeStreamPredictsRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribeStreamPredicts")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeStreamPredictsRequest::~DescribeStreamPredictsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getPredictIds()const
|
||||
{
|
||||
return predictIds_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setPredictIds(const std::string& predictIds)
|
||||
{
|
||||
predictIds_ = predictIds;
|
||||
setCoreParameter("PredictIds", predictIds);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getPredictIds()const
|
||||
{
|
||||
return predictIds_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setPredictIds(const std::string& predictIds)
|
||||
{
|
||||
predictIds_ = predictIds;
|
||||
setCoreParameter("PredictIds", predictIds);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,54 +20,54 @@ using AlibabaCloud::Ivision::Model::ImagePredictRequest;
|
||||
|
||||
ImagePredictRequest::ImagePredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "ImagePredict")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ImagePredictRequest::~ImagePredictRequest()
|
||||
{}
|
||||
|
||||
std::string ImagePredictRequest::getDataUrl()const
|
||||
{
|
||||
return dataUrl_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setDataUrl(const std::string& dataUrl)
|
||||
{
|
||||
dataUrl_ = dataUrl;
|
||||
setCoreParameter("DataUrl", dataUrl);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
long ImagePredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getDataUrl()const
|
||||
{
|
||||
return dataUrl_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setDataUrl(const std::string& dataUrl)
|
||||
{
|
||||
dataUrl_ = dataUrl;
|
||||
setCoreParameter("DataUrl", dataUrl);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
long ImagePredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,65 +20,65 @@ using AlibabaCloud::Ivision::Model::RegisterFaceRequest;
|
||||
|
||||
RegisterFaceRequest::RegisterFaceRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "RegisterFace")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
RegisterFaceRequest::~RegisterFaceRequest()
|
||||
{}
|
||||
|
||||
std::string RegisterFaceRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getDataType()const
|
||||
{
|
||||
return dataType_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setDataType(const std::string& dataType)
|
||||
{
|
||||
dataType_ = dataType;
|
||||
setCoreParameter("DataType", dataType);
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long RegisterFaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getDataType()const
|
||||
{
|
||||
return dataType_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setDataType(const std::string& dataType)
|
||||
{
|
||||
dataType_ = dataType;
|
||||
setCoreParameter("DataType", dataType);
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string RegisterFaceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long RegisterFaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RegisterFaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,87 +20,87 @@ using AlibabaCloud::Ivision::Model::SearchFaceRequest;
|
||||
|
||||
SearchFaceRequest::SearchFaceRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "SearchFace")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
SearchFaceRequest::~SearchFaceRequest()
|
||||
{}
|
||||
|
||||
std::string SearchFaceRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getDataType()const
|
||||
{
|
||||
return dataType_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setDataType(const std::string& dataType)
|
||||
{
|
||||
dataType_ = dataType;
|
||||
setCoreParameter("DataType", dataType);
|
||||
}
|
||||
|
||||
float SearchFaceRequest::getProbabilityThreshold()const
|
||||
{
|
||||
return probabilityThreshold_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setProbabilityThreshold(float probabilityThreshold)
|
||||
{
|
||||
probabilityThreshold_ = probabilityThreshold;
|
||||
setCoreParameter("ProbabilityThreshold", std::to_string(probabilityThreshold));
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
int SearchFaceRequest::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setCoreParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
long SearchFaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getDataType()const
|
||||
{
|
||||
return dataType_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setDataType(const std::string& dataType)
|
||||
{
|
||||
dataType_ = dataType;
|
||||
setCoreParameter("DataType", dataType);
|
||||
}
|
||||
|
||||
float SearchFaceRequest::getProbabilityThreshold()const
|
||||
{
|
||||
return probabilityThreshold_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setProbabilityThreshold(float probabilityThreshold)
|
||||
{
|
||||
probabilityThreshold_ = probabilityThreshold;
|
||||
setCoreParameter("ProbabilityThreshold", std::to_string(probabilityThreshold));
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string SearchFaceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
int SearchFaceRequest::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setCoreParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
long SearchFaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SearchFaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,43 +20,43 @@ using AlibabaCloud::Ivision::Model::StartStreamPredictRequest;
|
||||
|
||||
StartStreamPredictRequest::StartStreamPredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "StartStreamPredict")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartStreamPredictRequest::~StartStreamPredictRequest()
|
||||
{}
|
||||
|
||||
std::string StartStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long StartStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long StartStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,43 +20,43 @@ using AlibabaCloud::Ivision::Model::StopStreamPredictRequest;
|
||||
|
||||
StopStreamPredictRequest::StopStreamPredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "StopStreamPredict")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StopStreamPredictRequest::~StopStreamPredictRequest()
|
||||
{}
|
||||
|
||||
std::string StopStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long StopStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
{
|
||||
predictId_ = predictId;
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long StopStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,54 +20,54 @@ using AlibabaCloud::Ivision::Model::UnregisterFaceRequest;
|
||||
|
||||
UnregisterFaceRequest::UnregisterFaceRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "UnregisterFace")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
UnregisterFaceRequest::~UnregisterFaceRequest()
|
||||
{}
|
||||
|
||||
std::string UnregisterFaceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string UnregisterFaceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long UnregisterFaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnregisterFaceRequest::getFaceToken()const
|
||||
{
|
||||
return faceToken_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setFaceToken(const std::string& faceToken)
|
||||
{
|
||||
faceToken_ = faceToken;
|
||||
setCoreParameter("FaceToken", faceToken);
|
||||
}
|
||||
|
||||
std::string UnregisterFaceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string UnregisterFaceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long UnregisterFaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnregisterFaceRequest::getFaceToken()const
|
||||
{
|
||||
return faceToken_;
|
||||
}
|
||||
|
||||
void UnregisterFaceRequest::setFaceToken(const std::string& faceToken)
|
||||
{
|
||||
faceToken_ = faceToken;
|
||||
setCoreParameter("FaceToken", faceToken);
|
||||
}
|
||||
|
||||
|
||||
106
ivision/src/model/VideoPredictRequest.cc
Normal file
106
ivision/src/model/VideoPredictRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/VideoPredictRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::VideoPredictRequest;
|
||||
|
||||
VideoPredictRequest::VideoPredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "VideoPredict")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VideoPredictRequest::~VideoPredictRequest()
|
||||
{}
|
||||
|
||||
std::string VideoPredictRequest::getDataUrl()const
|
||||
{
|
||||
return dataUrl_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setDataUrl(const std::string& dataUrl)
|
||||
{
|
||||
dataUrl_ = dataUrl;
|
||||
setCoreParameter("DataUrl", dataUrl);
|
||||
}
|
||||
|
||||
std::string VideoPredictRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string VideoPredictRequest::getNotify()const
|
||||
{
|
||||
return notify_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setNotify(const std::string& notify)
|
||||
{
|
||||
notify_ = notify;
|
||||
setCoreParameter("Notify", notify);
|
||||
}
|
||||
|
||||
std::string VideoPredictRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setOutput(const std::string& output)
|
||||
{
|
||||
output_ = output;
|
||||
setCoreParameter("Output", output);
|
||||
}
|
||||
|
||||
std::string VideoPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string VideoPredictRequest::getModels()const
|
||||
{
|
||||
return models_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setModels(const std::string& models)
|
||||
{
|
||||
models_ = models;
|
||||
setCoreParameter("Models", models);
|
||||
}
|
||||
|
||||
long VideoPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void VideoPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
51
ivision/src/model/VideoPredictResult.cc
Normal file
51
ivision/src/model/VideoPredictResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/VideoPredictResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
VideoPredictResult::VideoPredictResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
VideoPredictResult::VideoPredictResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
VideoPredictResult::~VideoPredictResult()
|
||||
{}
|
||||
|
||||
void VideoPredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PredictId"].isNull())
|
||||
predictId_ = value["PredictId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string VideoPredictResult::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user