GREEN SDK Auto Released By liuhai.lh,Version:1.24.2

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-09-03 16:45:19 +08:00
parent 002d5fb06f
commit 19a082eb56
53 changed files with 2827 additions and 3 deletions

View File

@@ -23,12 +23,18 @@ set(green_public_header
set(green_public_header_model
include/alibabacloud/green/model/ImageSyncScanRequest.h
include/alibabacloud/green/model/ImageSyncScanResult.h
include/alibabacloud/green/model/UploadCredentialsRequest.h
include/alibabacloud/green/model/UploadCredentialsResult.h
include/alibabacloud/green/model/GetPersonsRequest.h
include/alibabacloud/green/model/GetPersonsResult.h
include/alibabacloud/green/model/GetPersonRequest.h
include/alibabacloud/green/model/GetPersonResult.h
include/alibabacloud/green/model/DeleteFacesRequest.h
include/alibabacloud/green/model/DeleteFacesResult.h
include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h
include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h
include/alibabacloud/green/model/AddVideoDnaRequest.h
include/alibabacloud/green/model/AddVideoDnaResult.h
include/alibabacloud/green/model/VideoFeedbackRequest.h
include/alibabacloud/green/model/VideoFeedbackResult.h
include/alibabacloud/green/model/DeletePersonRequest.h
@@ -37,18 +43,26 @@ set(green_public_header_model
include/alibabacloud/green/model/VideoSyncScanResult.h
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
include/alibabacloud/green/model/DeleteVideoDnaRequest.h
include/alibabacloud/green/model/DeleteVideoDnaResult.h
include/alibabacloud/green/model/AddGroupsRequest.h
include/alibabacloud/green/model/AddGroupsResult.h
include/alibabacloud/green/model/FileAsyncScanRequest.h
include/alibabacloud/green/model/FileAsyncScanResult.h
include/alibabacloud/green/model/SetPersonRequest.h
include/alibabacloud/green/model/SetPersonResult.h
include/alibabacloud/green/model/VoiceIdentityCheckRequest.h
include/alibabacloud/green/model/VoiceIdentityCheckResult.h
include/alibabacloud/green/model/TextFeedbackRequest.h
include/alibabacloud/green/model/TextFeedbackResult.h
include/alibabacloud/green/model/FileAsyncScanResultsRequest.h
include/alibabacloud/green/model/FileAsyncScanResultsResult.h
include/alibabacloud/green/model/DeleteGroupsRequest.h
include/alibabacloud/green/model/DeleteGroupsResult.h
include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h
include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h
include/alibabacloud/green/model/AddVideoDnaGroupRequest.h
include/alibabacloud/green/model/AddVideoDnaGroupResult.h
include/alibabacloud/green/model/ImageAsyncScanRequest.h
include/alibabacloud/green/model/ImageAsyncScanResult.h
include/alibabacloud/green/model/VideoAsyncScanRequest.h
@@ -61,33 +75,49 @@ set(green_public_header_model
include/alibabacloud/green/model/GetFacesResult.h
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
include/alibabacloud/green/model/VoiceAsyncScanResult.h
include/alibabacloud/green/model/VoiceCancelScanRequest.h
include/alibabacloud/green/model/VoiceCancelScanResult.h
include/alibabacloud/green/model/GetGroupsRequest.h
include/alibabacloud/green/model/GetGroupsResult.h
include/alibabacloud/green/model/TextScanRequest.h
include/alibabacloud/green/model/TextScanResult.h
include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h
include/alibabacloud/green/model/VoiceIdentityRegisterResult.h
include/alibabacloud/green/model/ImageScanFeedbackRequest.h
include/alibabacloud/green/model/ImageScanFeedbackResult.h
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
include/alibabacloud/green/model/DeleteSimilarityImageResult.h
include/alibabacloud/green/model/SearchPersonRequest.h
include/alibabacloud/green/model/SearchPersonResult.h
include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h
include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h
include/alibabacloud/green/model/AddPersonRequest.h
include/alibabacloud/green/model/AddPersonResult.h
include/alibabacloud/green/model/AddFacesRequest.h
include/alibabacloud/green/model/AddFacesResult.h
include/alibabacloud/green/model/AddSimilarityImageRequest.h
include/alibabacloud/green/model/AddSimilarityImageResult.h )
include/alibabacloud/green/model/AddSimilarityImageResult.h
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h )
set(green_src
src/GreenClient.cc
src/model/ImageSyncScanRequest.cc
src/model/ImageSyncScanResult.cc
src/model/UploadCredentialsRequest.cc
src/model/UploadCredentialsResult.cc
src/model/GetPersonsRequest.cc
src/model/GetPersonsResult.cc
src/model/GetPersonRequest.cc
src/model/GetPersonResult.cc
src/model/DeleteFacesRequest.cc
src/model/DeleteFacesResult.cc
src/model/DeleteVideoDnaGroupRequest.cc
src/model/DeleteVideoDnaGroupResult.cc
src/model/AddVideoDnaRequest.cc
src/model/AddVideoDnaResult.cc
src/model/VideoFeedbackRequest.cc
src/model/VideoFeedbackResult.cc
src/model/DeletePersonRequest.cc
@@ -96,18 +126,26 @@ set(green_src
src/model/VideoSyncScanResult.cc
src/model/VideoAsyncScanResultsRequest.cc
src/model/VideoAsyncScanResultsResult.cc
src/model/DeleteVideoDnaRequest.cc
src/model/DeleteVideoDnaResult.cc
src/model/AddGroupsRequest.cc
src/model/AddGroupsResult.cc
src/model/FileAsyncScanRequest.cc
src/model/FileAsyncScanResult.cc
src/model/SetPersonRequest.cc
src/model/SetPersonResult.cc
src/model/VoiceIdentityCheckRequest.cc
src/model/VoiceIdentityCheckResult.cc
src/model/TextFeedbackRequest.cc
src/model/TextFeedbackResult.cc
src/model/FileAsyncScanResultsRequest.cc
src/model/FileAsyncScanResultsResult.cc
src/model/DeleteGroupsRequest.cc
src/model/DeleteGroupsResult.cc
src/model/VoiceIdentityStartCheckRequest.cc
src/model/VoiceIdentityStartCheckResult.cc
src/model/AddVideoDnaGroupRequest.cc
src/model/AddVideoDnaGroupResult.cc
src/model/ImageAsyncScanRequest.cc
src/model/ImageAsyncScanResult.cc
src/model/VideoAsyncScanRequest.cc
@@ -120,22 +158,32 @@ set(green_src
src/model/GetFacesResult.cc
src/model/VoiceAsyncScanRequest.cc
src/model/VoiceAsyncScanResult.cc
src/model/VoiceCancelScanRequest.cc
src/model/VoiceCancelScanResult.cc
src/model/GetGroupsRequest.cc
src/model/GetGroupsResult.cc
src/model/TextScanRequest.cc
src/model/TextScanResult.cc
src/model/VoiceIdentityRegisterRequest.cc
src/model/VoiceIdentityRegisterResult.cc
src/model/ImageScanFeedbackRequest.cc
src/model/ImageScanFeedbackResult.cc
src/model/VoiceIdentityStartRegisterRequest.cc
src/model/VoiceIdentityStartRegisterResult.cc
src/model/DeleteSimilarityImageRequest.cc
src/model/DeleteSimilarityImageResult.cc
src/model/SearchPersonRequest.cc
src/model/SearchPersonResult.cc
src/model/GetAddVideoDnaResultsRequest.cc
src/model/GetAddVideoDnaResultsResult.cc
src/model/AddPersonRequest.cc
src/model/AddPersonResult.cc
src/model/AddFacesRequest.cc
src/model/AddFacesResult.cc
src/model/AddSimilarityImageRequest.cc
src/model/AddSimilarityImageResult.cc )
src/model/AddSimilarityImageResult.cc
src/model/VoiceIdentityUnregisterRequest.cc
src/model/VoiceIdentityUnregisterResult.cc )
add_library(green ${LIB_TYPE}
${green_public_header}

View File

@@ -24,12 +24,18 @@
#include "GreenExport.h"
#include "model/ImageSyncScanRequest.h"
#include "model/ImageSyncScanResult.h"
#include "model/UploadCredentialsRequest.h"
#include "model/UploadCredentialsResult.h"
#include "model/GetPersonsRequest.h"
#include "model/GetPersonsResult.h"
#include "model/GetPersonRequest.h"
#include "model/GetPersonResult.h"
#include "model/DeleteFacesRequest.h"
#include "model/DeleteFacesResult.h"
#include "model/DeleteVideoDnaGroupRequest.h"
#include "model/DeleteVideoDnaGroupResult.h"
#include "model/AddVideoDnaRequest.h"
#include "model/AddVideoDnaResult.h"
#include "model/VideoFeedbackRequest.h"
#include "model/VideoFeedbackResult.h"
#include "model/DeletePersonRequest.h"
@@ -38,18 +44,26 @@
#include "model/VideoSyncScanResult.h"
#include "model/VideoAsyncScanResultsRequest.h"
#include "model/VideoAsyncScanResultsResult.h"
#include "model/DeleteVideoDnaRequest.h"
#include "model/DeleteVideoDnaResult.h"
#include "model/AddGroupsRequest.h"
#include "model/AddGroupsResult.h"
#include "model/FileAsyncScanRequest.h"
#include "model/FileAsyncScanResult.h"
#include "model/SetPersonRequest.h"
#include "model/SetPersonResult.h"
#include "model/VoiceIdentityCheckRequest.h"
#include "model/VoiceIdentityCheckResult.h"
#include "model/TextFeedbackRequest.h"
#include "model/TextFeedbackResult.h"
#include "model/FileAsyncScanResultsRequest.h"
#include "model/FileAsyncScanResultsResult.h"
#include "model/DeleteGroupsRequest.h"
#include "model/DeleteGroupsResult.h"
#include "model/VoiceIdentityStartCheckRequest.h"
#include "model/VoiceIdentityStartCheckResult.h"
#include "model/AddVideoDnaGroupRequest.h"
#include "model/AddVideoDnaGroupResult.h"
#include "model/ImageAsyncScanRequest.h"
#include "model/ImageAsyncScanResult.h"
#include "model/VideoAsyncScanRequest.h"
@@ -62,22 +76,32 @@
#include "model/GetFacesResult.h"
#include "model/VoiceAsyncScanRequest.h"
#include "model/VoiceAsyncScanResult.h"
#include "model/VoiceCancelScanRequest.h"
#include "model/VoiceCancelScanResult.h"
#include "model/GetGroupsRequest.h"
#include "model/GetGroupsResult.h"
#include "model/TextScanRequest.h"
#include "model/TextScanResult.h"
#include "model/VoiceIdentityRegisterRequest.h"
#include "model/VoiceIdentityRegisterResult.h"
#include "model/ImageScanFeedbackRequest.h"
#include "model/ImageScanFeedbackResult.h"
#include "model/VoiceIdentityStartRegisterRequest.h"
#include "model/VoiceIdentityStartRegisterResult.h"
#include "model/DeleteSimilarityImageRequest.h"
#include "model/DeleteSimilarityImageResult.h"
#include "model/SearchPersonRequest.h"
#include "model/SearchPersonResult.h"
#include "model/GetAddVideoDnaResultsRequest.h"
#include "model/GetAddVideoDnaResultsResult.h"
#include "model/AddPersonRequest.h"
#include "model/AddPersonResult.h"
#include "model/AddFacesRequest.h"
#include "model/AddFacesResult.h"
#include "model/AddSimilarityImageRequest.h"
#include "model/AddSimilarityImageResult.h"
#include "model/VoiceIdentityUnregisterRequest.h"
#include "model/VoiceIdentityUnregisterResult.h"
namespace AlibabaCloud
@@ -90,6 +114,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ImageSyncScanResult> ImageSyncScanOutcome;
typedef std::future<ImageSyncScanOutcome> ImageSyncScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::ImageSyncScanRequest&, const ImageSyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageSyncScanAsyncHandler;
typedef Outcome<Error, Model::UploadCredentialsResult> UploadCredentialsOutcome;
typedef std::future<UploadCredentialsOutcome> UploadCredentialsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::UploadCredentialsRequest&, const UploadCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadCredentialsAsyncHandler;
typedef Outcome<Error, Model::GetPersonsResult> GetPersonsOutcome;
typedef std::future<GetPersonsOutcome> GetPersonsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::GetPersonsRequest&, const GetPersonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPersonsAsyncHandler;
@@ -99,6 +126,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteFacesResult> DeleteFacesOutcome;
typedef std::future<DeleteFacesOutcome> DeleteFacesOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DeleteFacesRequest&, const DeleteFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFacesAsyncHandler;
typedef Outcome<Error, Model::DeleteVideoDnaGroupResult> DeleteVideoDnaGroupOutcome;
typedef std::future<DeleteVideoDnaGroupOutcome> DeleteVideoDnaGroupOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DeleteVideoDnaGroupRequest&, const DeleteVideoDnaGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVideoDnaGroupAsyncHandler;
typedef Outcome<Error, Model::AddVideoDnaResult> AddVideoDnaOutcome;
typedef std::future<AddVideoDnaOutcome> AddVideoDnaOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::AddVideoDnaRequest&, const AddVideoDnaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddVideoDnaAsyncHandler;
typedef Outcome<Error, Model::VideoFeedbackResult> VideoFeedbackOutcome;
typedef std::future<VideoFeedbackOutcome> VideoFeedbackOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoFeedbackRequest&, const VideoFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoFeedbackAsyncHandler;
@@ -111,6 +144,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VideoAsyncScanResultsResult> VideoAsyncScanResultsOutcome;
typedef std::future<VideoAsyncScanResultsOutcome> VideoAsyncScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoAsyncScanResultsRequest&, const VideoAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoAsyncScanResultsAsyncHandler;
typedef Outcome<Error, Model::DeleteVideoDnaResult> DeleteVideoDnaOutcome;
typedef std::future<DeleteVideoDnaOutcome> DeleteVideoDnaOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DeleteVideoDnaRequest&, const DeleteVideoDnaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVideoDnaAsyncHandler;
typedef Outcome<Error, Model::AddGroupsResult> AddGroupsOutcome;
typedef std::future<AddGroupsOutcome> AddGroupsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::AddGroupsRequest&, const AddGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGroupsAsyncHandler;
@@ -120,6 +156,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetPersonResult> SetPersonOutcome;
typedef std::future<SetPersonOutcome> SetPersonOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::SetPersonRequest&, const SetPersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetPersonAsyncHandler;
typedef Outcome<Error, Model::VoiceIdentityCheckResult> VoiceIdentityCheckOutcome;
typedef std::future<VoiceIdentityCheckOutcome> VoiceIdentityCheckOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityCheckRequest&, const VoiceIdentityCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityCheckAsyncHandler;
typedef Outcome<Error, Model::TextFeedbackResult> TextFeedbackOutcome;
typedef std::future<TextFeedbackOutcome> TextFeedbackOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::TextFeedbackRequest&, const TextFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextFeedbackAsyncHandler;
@@ -129,6 +168,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteGroupsResult> DeleteGroupsOutcome;
typedef std::future<DeleteGroupsOutcome> DeleteGroupsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DeleteGroupsRequest&, const DeleteGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGroupsAsyncHandler;
typedef Outcome<Error, Model::VoiceIdentityStartCheckResult> VoiceIdentityStartCheckOutcome;
typedef std::future<VoiceIdentityStartCheckOutcome> VoiceIdentityStartCheckOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityStartCheckRequest&, const VoiceIdentityStartCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityStartCheckAsyncHandler;
typedef Outcome<Error, Model::AddVideoDnaGroupResult> AddVideoDnaGroupOutcome;
typedef std::future<AddVideoDnaGroupOutcome> AddVideoDnaGroupOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::AddVideoDnaGroupRequest&, const AddVideoDnaGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddVideoDnaGroupAsyncHandler;
typedef Outcome<Error, Model::ImageAsyncScanResult> ImageAsyncScanOutcome;
typedef std::future<ImageAsyncScanOutcome> ImageAsyncScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::ImageAsyncScanRequest&, const ImageAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageAsyncScanAsyncHandler;
@@ -147,21 +192,33 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VoiceAsyncScanResult> VoiceAsyncScanOutcome;
typedef std::future<VoiceAsyncScanOutcome> VoiceAsyncScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceAsyncScanRequest&, const VoiceAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceAsyncScanAsyncHandler;
typedef Outcome<Error, Model::VoiceCancelScanResult> VoiceCancelScanOutcome;
typedef std::future<VoiceCancelScanOutcome> VoiceCancelScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceCancelScanRequest&, const VoiceCancelScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceCancelScanAsyncHandler;
typedef Outcome<Error, Model::GetGroupsResult> GetGroupsOutcome;
typedef std::future<GetGroupsOutcome> GetGroupsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::GetGroupsRequest&, const GetGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetGroupsAsyncHandler;
typedef Outcome<Error, Model::TextScanResult> TextScanOutcome;
typedef std::future<TextScanOutcome> TextScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::TextScanRequest&, const TextScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextScanAsyncHandler;
typedef Outcome<Error, Model::VoiceIdentityRegisterResult> VoiceIdentityRegisterOutcome;
typedef std::future<VoiceIdentityRegisterOutcome> VoiceIdentityRegisterOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityRegisterRequest&, const VoiceIdentityRegisterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityRegisterAsyncHandler;
typedef Outcome<Error, Model::ImageScanFeedbackResult> ImageScanFeedbackOutcome;
typedef std::future<ImageScanFeedbackOutcome> ImageScanFeedbackOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::ImageScanFeedbackRequest&, const ImageScanFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageScanFeedbackAsyncHandler;
typedef Outcome<Error, Model::VoiceIdentityStartRegisterResult> VoiceIdentityStartRegisterOutcome;
typedef std::future<VoiceIdentityStartRegisterOutcome> VoiceIdentityStartRegisterOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityStartRegisterRequest&, const VoiceIdentityStartRegisterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityStartRegisterAsyncHandler;
typedef Outcome<Error, Model::DeleteSimilarityImageResult> DeleteSimilarityImageOutcome;
typedef std::future<DeleteSimilarityImageOutcome> DeleteSimilarityImageOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DeleteSimilarityImageRequest&, const DeleteSimilarityImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSimilarityImageAsyncHandler;
typedef Outcome<Error, Model::SearchPersonResult> SearchPersonOutcome;
typedef std::future<SearchPersonOutcome> SearchPersonOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::SearchPersonRequest&, const SearchPersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPersonAsyncHandler;
typedef Outcome<Error, Model::GetAddVideoDnaResultsResult> GetAddVideoDnaResultsOutcome;
typedef std::future<GetAddVideoDnaResultsOutcome> GetAddVideoDnaResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::GetAddVideoDnaResultsRequest&, const GetAddVideoDnaResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddVideoDnaResultsAsyncHandler;
typedef Outcome<Error, Model::AddPersonResult> AddPersonOutcome;
typedef std::future<AddPersonOutcome> AddPersonOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::AddPersonRequest&, const AddPersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPersonAsyncHandler;
@@ -171,6 +228,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddSimilarityImageResult> AddSimilarityImageOutcome;
typedef std::future<AddSimilarityImageOutcome> AddSimilarityImageOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::AddSimilarityImageRequest&, const AddSimilarityImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSimilarityImageAsyncHandler;
typedef Outcome<Error, Model::VoiceIdentityUnregisterResult> VoiceIdentityUnregisterOutcome;
typedef std::future<VoiceIdentityUnregisterOutcome> VoiceIdentityUnregisterOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityUnregisterRequest&, const VoiceIdentityUnregisterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityUnregisterAsyncHandler;
GreenClient(const Credentials &credentials, const ClientConfiguration &configuration);
GreenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -179,6 +239,9 @@ namespace AlibabaCloud
ImageSyncScanOutcome imageSyncScan(const Model::ImageSyncScanRequest &request)const;
void imageSyncScanAsync(const Model::ImageSyncScanRequest& request, const ImageSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImageSyncScanOutcomeCallable imageSyncScanCallable(const Model::ImageSyncScanRequest& request) const;
UploadCredentialsOutcome uploadCredentials(const Model::UploadCredentialsRequest &request)const;
void uploadCredentialsAsync(const Model::UploadCredentialsRequest& request, const UploadCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadCredentialsOutcomeCallable uploadCredentialsCallable(const Model::UploadCredentialsRequest& request) const;
GetPersonsOutcome getPersons(const Model::GetPersonsRequest &request)const;
void getPersonsAsync(const Model::GetPersonsRequest& request, const GetPersonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPersonsOutcomeCallable getPersonsCallable(const Model::GetPersonsRequest& request) const;
@@ -188,6 +251,12 @@ namespace AlibabaCloud
DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const;
void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const;
DeleteVideoDnaGroupOutcome deleteVideoDnaGroup(const Model::DeleteVideoDnaGroupRequest &request)const;
void deleteVideoDnaGroupAsync(const Model::DeleteVideoDnaGroupRequest& request, const DeleteVideoDnaGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVideoDnaGroupOutcomeCallable deleteVideoDnaGroupCallable(const Model::DeleteVideoDnaGroupRequest& request) const;
AddVideoDnaOutcome addVideoDna(const Model::AddVideoDnaRequest &request)const;
void addVideoDnaAsync(const Model::AddVideoDnaRequest& request, const AddVideoDnaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddVideoDnaOutcomeCallable addVideoDnaCallable(const Model::AddVideoDnaRequest& request) const;
VideoFeedbackOutcome videoFeedback(const Model::VideoFeedbackRequest &request)const;
void videoFeedbackAsync(const Model::VideoFeedbackRequest& request, const VideoFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoFeedbackOutcomeCallable videoFeedbackCallable(const Model::VideoFeedbackRequest& request) const;
@@ -200,6 +269,9 @@ namespace AlibabaCloud
VideoAsyncScanResultsOutcome videoAsyncScanResults(const Model::VideoAsyncScanResultsRequest &request)const;
void videoAsyncScanResultsAsync(const Model::VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoAsyncScanResultsOutcomeCallable videoAsyncScanResultsCallable(const Model::VideoAsyncScanResultsRequest& request) const;
DeleteVideoDnaOutcome deleteVideoDna(const Model::DeleteVideoDnaRequest &request)const;
void deleteVideoDnaAsync(const Model::DeleteVideoDnaRequest& request, const DeleteVideoDnaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVideoDnaOutcomeCallable deleteVideoDnaCallable(const Model::DeleteVideoDnaRequest& request) const;
AddGroupsOutcome addGroups(const Model::AddGroupsRequest &request)const;
void addGroupsAsync(const Model::AddGroupsRequest& request, const AddGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddGroupsOutcomeCallable addGroupsCallable(const Model::AddGroupsRequest& request) const;
@@ -209,6 +281,9 @@ namespace AlibabaCloud
SetPersonOutcome setPerson(const Model::SetPersonRequest &request)const;
void setPersonAsync(const Model::SetPersonRequest& request, const SetPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetPersonOutcomeCallable setPersonCallable(const Model::SetPersonRequest& request) const;
VoiceIdentityCheckOutcome voiceIdentityCheck(const Model::VoiceIdentityCheckRequest &request)const;
void voiceIdentityCheckAsync(const Model::VoiceIdentityCheckRequest& request, const VoiceIdentityCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceIdentityCheckOutcomeCallable voiceIdentityCheckCallable(const Model::VoiceIdentityCheckRequest& request) const;
TextFeedbackOutcome textFeedback(const Model::TextFeedbackRequest &request)const;
void textFeedbackAsync(const Model::TextFeedbackRequest& request, const TextFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TextFeedbackOutcomeCallable textFeedbackCallable(const Model::TextFeedbackRequest& request) const;
@@ -218,6 +293,12 @@ namespace AlibabaCloud
DeleteGroupsOutcome deleteGroups(const Model::DeleteGroupsRequest &request)const;
void deleteGroupsAsync(const Model::DeleteGroupsRequest& request, const DeleteGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteGroupsOutcomeCallable deleteGroupsCallable(const Model::DeleteGroupsRequest& request) const;
VoiceIdentityStartCheckOutcome voiceIdentityStartCheck(const Model::VoiceIdentityStartCheckRequest &request)const;
void voiceIdentityStartCheckAsync(const Model::VoiceIdentityStartCheckRequest& request, const VoiceIdentityStartCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceIdentityStartCheckOutcomeCallable voiceIdentityStartCheckCallable(const Model::VoiceIdentityStartCheckRequest& request) const;
AddVideoDnaGroupOutcome addVideoDnaGroup(const Model::AddVideoDnaGroupRequest &request)const;
void addVideoDnaGroupAsync(const Model::AddVideoDnaGroupRequest& request, const AddVideoDnaGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddVideoDnaGroupOutcomeCallable addVideoDnaGroupCallable(const Model::AddVideoDnaGroupRequest& request) const;
ImageAsyncScanOutcome imageAsyncScan(const Model::ImageAsyncScanRequest &request)const;
void imageAsyncScanAsync(const Model::ImageAsyncScanRequest& request, const ImageAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImageAsyncScanOutcomeCallable imageAsyncScanCallable(const Model::ImageAsyncScanRequest& request) const;
@@ -236,21 +317,33 @@ namespace AlibabaCloud
VoiceAsyncScanOutcome voiceAsyncScan(const Model::VoiceAsyncScanRequest &request)const;
void voiceAsyncScanAsync(const Model::VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceAsyncScanOutcomeCallable voiceAsyncScanCallable(const Model::VoiceAsyncScanRequest& request) const;
VoiceCancelScanOutcome voiceCancelScan(const Model::VoiceCancelScanRequest &request)const;
void voiceCancelScanAsync(const Model::VoiceCancelScanRequest& request, const VoiceCancelScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceCancelScanOutcomeCallable voiceCancelScanCallable(const Model::VoiceCancelScanRequest& request) const;
GetGroupsOutcome getGroups(const Model::GetGroupsRequest &request)const;
void getGroupsAsync(const Model::GetGroupsRequest& request, const GetGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetGroupsOutcomeCallable getGroupsCallable(const Model::GetGroupsRequest& request) const;
TextScanOutcome textScan(const Model::TextScanRequest &request)const;
void textScanAsync(const Model::TextScanRequest& request, const TextScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TextScanOutcomeCallable textScanCallable(const Model::TextScanRequest& request) const;
VoiceIdentityRegisterOutcome voiceIdentityRegister(const Model::VoiceIdentityRegisterRequest &request)const;
void voiceIdentityRegisterAsync(const Model::VoiceIdentityRegisterRequest& request, const VoiceIdentityRegisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceIdentityRegisterOutcomeCallable voiceIdentityRegisterCallable(const Model::VoiceIdentityRegisterRequest& request) const;
ImageScanFeedbackOutcome imageScanFeedback(const Model::ImageScanFeedbackRequest &request)const;
void imageScanFeedbackAsync(const Model::ImageScanFeedbackRequest& request, const ImageScanFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImageScanFeedbackOutcomeCallable imageScanFeedbackCallable(const Model::ImageScanFeedbackRequest& request) const;
VoiceIdentityStartRegisterOutcome voiceIdentityStartRegister(const Model::VoiceIdentityStartRegisterRequest &request)const;
void voiceIdentityStartRegisterAsync(const Model::VoiceIdentityStartRegisterRequest& request, const VoiceIdentityStartRegisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceIdentityStartRegisterOutcomeCallable voiceIdentityStartRegisterCallable(const Model::VoiceIdentityStartRegisterRequest& request) const;
DeleteSimilarityImageOutcome deleteSimilarityImage(const Model::DeleteSimilarityImageRequest &request)const;
void deleteSimilarityImageAsync(const Model::DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSimilarityImageOutcomeCallable deleteSimilarityImageCallable(const Model::DeleteSimilarityImageRequest& request) const;
SearchPersonOutcome searchPerson(const Model::SearchPersonRequest &request)const;
void searchPersonAsync(const Model::SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchPersonOutcomeCallable searchPersonCallable(const Model::SearchPersonRequest& request) const;
GetAddVideoDnaResultsOutcome getAddVideoDnaResults(const Model::GetAddVideoDnaResultsRequest &request)const;
void getAddVideoDnaResultsAsync(const Model::GetAddVideoDnaResultsRequest& request, const GetAddVideoDnaResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAddVideoDnaResultsOutcomeCallable getAddVideoDnaResultsCallable(const Model::GetAddVideoDnaResultsRequest& request) const;
AddPersonOutcome addPerson(const Model::AddPersonRequest &request)const;
void addPersonAsync(const Model::AddPersonRequest& request, const AddPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddPersonOutcomeCallable addPersonCallable(const Model::AddPersonRequest& request) const;
@@ -260,6 +353,9 @@ namespace AlibabaCloud
AddSimilarityImageOutcome addSimilarityImage(const Model::AddSimilarityImageRequest &request)const;
void addSimilarityImageAsync(const Model::AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddSimilarityImageOutcomeCallable addSimilarityImageCallable(const Model::AddSimilarityImageRequest& request) const;
VoiceIdentityUnregisterOutcome voiceIdentityUnregister(const Model::VoiceIdentityUnregisterRequest &request)const;
void voiceIdentityUnregisterAsync(const Model::VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceIdentityUnregisterOutcomeCallable voiceIdentityUnregisterCallable(const Model::VoiceIdentityUnregisterRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_ADDVIDEODNAGROUPREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNAGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddVideoDnaGroupRequest : public RoaServiceRequest
{
public:
AddVideoDnaGroupRequest();
~AddVideoDnaGroupRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNAGROUPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_ADDVIDEODNAGROUPRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNAGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddVideoDnaGroupResult : public ServiceResult
{
public:
AddVideoDnaGroupResult();
explicit AddVideoDnaGroupResult(const std::string &payload);
~AddVideoDnaGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNAGROUPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_ADDVIDEODNAREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddVideoDnaRequest : public RoaServiceRequest
{
public:
AddVideoDnaRequest();
~AddVideoDnaRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNAREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_ADDVIDEODNARESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddVideoDnaResult : public ServiceResult
{
public:
AddVideoDnaResult();
explicit AddVideoDnaResult(const std::string &payload);
~AddVideoDnaResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDVIDEODNARESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_DELETEVIDEODNAGROUPREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNAGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteVideoDnaGroupRequest : public RoaServiceRequest
{
public:
DeleteVideoDnaGroupRequest();
~DeleteVideoDnaGroupRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNAGROUPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETEVIDEODNAGROUPRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNAGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteVideoDnaGroupResult : public ServiceResult
{
public:
DeleteVideoDnaGroupResult();
explicit DeleteVideoDnaGroupResult(const std::string &payload);
~DeleteVideoDnaGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNAGROUPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_DELETEVIDEODNAREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteVideoDnaRequest : public RoaServiceRequest
{
public:
DeleteVideoDnaRequest();
~DeleteVideoDnaRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNAREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETEVIDEODNARESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteVideoDnaResult : public ServiceResult
{
public:
DeleteVideoDnaResult();
explicit DeleteVideoDnaResult(const std::string &payload);
~DeleteVideoDnaResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEVIDEODNARESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_GETADDVIDEODNARESULTSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_GETADDVIDEODNARESULTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT GetAddVideoDnaResultsRequest : public RoaServiceRequest
{
public:
GetAddVideoDnaResultsRequest();
~GetAddVideoDnaResultsRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_GETADDVIDEODNARESULTSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_GETADDVIDEODNARESULTSRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_GETADDVIDEODNARESULTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT GetAddVideoDnaResultsResult : public ServiceResult
{
public:
GetAddVideoDnaResultsResult();
explicit GetAddVideoDnaResultsResult(const std::string &payload);
~GetAddVideoDnaResultsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_GETADDVIDEODNARESULTSRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT UploadCredentialsRequest : public RoaServiceRequest
{
public:
UploadCredentialsRequest();
~UploadCredentialsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_UPLOADCREDENTIALSRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT UploadCredentialsResult : public ServiceResult
{
public:
UploadCredentialsResult();
explicit UploadCredentialsResult(const std::string &payload);
~UploadCredentialsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_VOICECANCELSCANREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICECANCELSCANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceCancelScanRequest : public RoaServiceRequest
{
public:
VoiceCancelScanRequest();
~VoiceCancelScanRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICECANCELSCANREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_VOICECANCELSCANRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICECANCELSCANRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceCancelScanResult : public ServiceResult
{
public:
VoiceCancelScanResult();
explicit VoiceCancelScanResult(const std::string &payload);
~VoiceCancelScanResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICECANCELSCANRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityCheckRequest : public RoaServiceRequest
{
public:
VoiceIdentityCheckRequest();
~VoiceIdentityCheckRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_VOICEIDENTITYCHECKRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityCheckResult : public ServiceResult
{
public:
VoiceIdentityCheckResult();
explicit VoiceIdentityCheckResult(const std::string &payload);
~VoiceIdentityCheckResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityRegisterRequest : public RoaServiceRequest
{
public:
VoiceIdentityRegisterRequest();
~VoiceIdentityRegisterRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_VOICEIDENTITYREGISTERRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityRegisterResult : public ServiceResult
{
public:
VoiceIdentityRegisterResult();
explicit VoiceIdentityRegisterResult(const std::string &payload);
~VoiceIdentityRegisterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityStartCheckRequest : public RoaServiceRequest
{
public:
VoiceIdentityStartCheckRequest();
~VoiceIdentityStartCheckRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_VOICEIDENTITYSTARTCHECKRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityStartCheckResult : public ServiceResult
{
public:
VoiceIdentityStartCheckResult();
explicit VoiceIdentityStartCheckResult(const std::string &payload);
~VoiceIdentityStartCheckResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityStartRegisterRequest : public RoaServiceRequest
{
public:
VoiceIdentityStartRegisterRequest();
~VoiceIdentityStartRegisterRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityStartRegisterResult : public ServiceResult
{
public:
VoiceIdentityStartRegisterResult();
explicit VoiceIdentityStartRegisterResult(const std::string &payload);
~VoiceIdentityStartRegisterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityUnregisterRequest : public RoaServiceRequest
{
public:
VoiceIdentityUnregisterRequest();
~VoiceIdentityUnregisterRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_VOICEIDENTITYUNREGISTERRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceIdentityUnregisterResult : public ServiceResult
{
public:
VoiceIdentityUnregisterResult();
explicit VoiceIdentityUnregisterResult(const std::string &payload);
~VoiceIdentityUnregisterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERRESULT_H_

View File

@@ -87,6 +87,42 @@ GreenClient::ImageSyncScanOutcomeCallable GreenClient::imageSyncScanCallable(con
return task->get_future();
}
GreenClient::UploadCredentialsOutcome GreenClient::uploadCredentials(const UploadCredentialsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UploadCredentialsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UploadCredentialsOutcome(UploadCredentialsResult(outcome.result()));
else
return UploadCredentialsOutcome(outcome.error());
}
void GreenClient::uploadCredentialsAsync(const UploadCredentialsRequest& request, const UploadCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, uploadCredentials(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::UploadCredentialsOutcomeCallable GreenClient::uploadCredentialsCallable(const UploadCredentialsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UploadCredentialsOutcome()>>(
[this, request]()
{
return this->uploadCredentials(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::GetPersonsOutcome GreenClient::getPersons(const GetPersonsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -195,6 +231,78 @@ GreenClient::DeleteFacesOutcomeCallable GreenClient::deleteFacesCallable(const D
return task->get_future();
}
GreenClient::DeleteVideoDnaGroupOutcome GreenClient::deleteVideoDnaGroup(const DeleteVideoDnaGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteVideoDnaGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteVideoDnaGroupOutcome(DeleteVideoDnaGroupResult(outcome.result()));
else
return DeleteVideoDnaGroupOutcome(outcome.error());
}
void GreenClient::deleteVideoDnaGroupAsync(const DeleteVideoDnaGroupRequest& request, const DeleteVideoDnaGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteVideoDnaGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::DeleteVideoDnaGroupOutcomeCallable GreenClient::deleteVideoDnaGroupCallable(const DeleteVideoDnaGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteVideoDnaGroupOutcome()>>(
[this, request]()
{
return this->deleteVideoDnaGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::AddVideoDnaOutcome GreenClient::addVideoDna(const AddVideoDnaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddVideoDnaOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddVideoDnaOutcome(AddVideoDnaResult(outcome.result()));
else
return AddVideoDnaOutcome(outcome.error());
}
void GreenClient::addVideoDnaAsync(const AddVideoDnaRequest& request, const AddVideoDnaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addVideoDna(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::AddVideoDnaOutcomeCallable GreenClient::addVideoDnaCallable(const AddVideoDnaRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddVideoDnaOutcome()>>(
[this, request]()
{
return this->addVideoDna(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::VideoFeedbackOutcome GreenClient::videoFeedback(const VideoFeedbackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,6 +447,42 @@ GreenClient::VideoAsyncScanResultsOutcomeCallable GreenClient::videoAsyncScanRes
return task->get_future();
}
GreenClient::DeleteVideoDnaOutcome GreenClient::deleteVideoDna(const DeleteVideoDnaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteVideoDnaOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteVideoDnaOutcome(DeleteVideoDnaResult(outcome.result()));
else
return DeleteVideoDnaOutcome(outcome.error());
}
void GreenClient::deleteVideoDnaAsync(const DeleteVideoDnaRequest& request, const DeleteVideoDnaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteVideoDna(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::DeleteVideoDnaOutcomeCallable GreenClient::deleteVideoDnaCallable(const DeleteVideoDnaRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteVideoDnaOutcome()>>(
[this, request]()
{
return this->deleteVideoDna(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::AddGroupsOutcome GreenClient::addGroups(const AddGroupsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,6 +591,42 @@ GreenClient::SetPersonOutcomeCallable GreenClient::setPersonCallable(const SetPe
return task->get_future();
}
GreenClient::VoiceIdentityCheckOutcome GreenClient::voiceIdentityCheck(const VoiceIdentityCheckRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceIdentityCheckOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceIdentityCheckOutcome(VoiceIdentityCheckResult(outcome.result()));
else
return VoiceIdentityCheckOutcome(outcome.error());
}
void GreenClient::voiceIdentityCheckAsync(const VoiceIdentityCheckRequest& request, const VoiceIdentityCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceIdentityCheck(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceIdentityCheckOutcomeCallable GreenClient::voiceIdentityCheckCallable(const VoiceIdentityCheckRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceIdentityCheckOutcome()>>(
[this, request]()
{
return this->voiceIdentityCheck(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::TextFeedbackOutcome GreenClient::textFeedback(const TextFeedbackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +735,78 @@ GreenClient::DeleteGroupsOutcomeCallable GreenClient::deleteGroupsCallable(const
return task->get_future();
}
GreenClient::VoiceIdentityStartCheckOutcome GreenClient::voiceIdentityStartCheck(const VoiceIdentityStartCheckRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceIdentityStartCheckOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceIdentityStartCheckOutcome(VoiceIdentityStartCheckResult(outcome.result()));
else
return VoiceIdentityStartCheckOutcome(outcome.error());
}
void GreenClient::voiceIdentityStartCheckAsync(const VoiceIdentityStartCheckRequest& request, const VoiceIdentityStartCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceIdentityStartCheck(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceIdentityStartCheckOutcomeCallable GreenClient::voiceIdentityStartCheckCallable(const VoiceIdentityStartCheckRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceIdentityStartCheckOutcome()>>(
[this, request]()
{
return this->voiceIdentityStartCheck(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::AddVideoDnaGroupOutcome GreenClient::addVideoDnaGroup(const AddVideoDnaGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddVideoDnaGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddVideoDnaGroupOutcome(AddVideoDnaGroupResult(outcome.result()));
else
return AddVideoDnaGroupOutcome(outcome.error());
}
void GreenClient::addVideoDnaGroupAsync(const AddVideoDnaGroupRequest& request, const AddVideoDnaGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addVideoDnaGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::AddVideoDnaGroupOutcomeCallable GreenClient::addVideoDnaGroupCallable(const AddVideoDnaGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddVideoDnaGroupOutcome()>>(
[this, request]()
{
return this->addVideoDnaGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::ImageAsyncScanOutcome GreenClient::imageAsyncScan(const ImageAsyncScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -771,6 +1023,42 @@ GreenClient::VoiceAsyncScanOutcomeCallable GreenClient::voiceAsyncScanCallable(c
return task->get_future();
}
GreenClient::VoiceCancelScanOutcome GreenClient::voiceCancelScan(const VoiceCancelScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceCancelScanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceCancelScanOutcome(VoiceCancelScanResult(outcome.result()));
else
return VoiceCancelScanOutcome(outcome.error());
}
void GreenClient::voiceCancelScanAsync(const VoiceCancelScanRequest& request, const VoiceCancelScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceCancelScan(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceCancelScanOutcomeCallable GreenClient::voiceCancelScanCallable(const VoiceCancelScanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceCancelScanOutcome()>>(
[this, request]()
{
return this->voiceCancelScan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::GetGroupsOutcome GreenClient::getGroups(const GetGroupsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -843,6 +1131,42 @@ GreenClient::TextScanOutcomeCallable GreenClient::textScanCallable(const TextSca
return task->get_future();
}
GreenClient::VoiceIdentityRegisterOutcome GreenClient::voiceIdentityRegister(const VoiceIdentityRegisterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceIdentityRegisterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceIdentityRegisterOutcome(VoiceIdentityRegisterResult(outcome.result()));
else
return VoiceIdentityRegisterOutcome(outcome.error());
}
void GreenClient::voiceIdentityRegisterAsync(const VoiceIdentityRegisterRequest& request, const VoiceIdentityRegisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceIdentityRegister(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceIdentityRegisterOutcomeCallable GreenClient::voiceIdentityRegisterCallable(const VoiceIdentityRegisterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceIdentityRegisterOutcome()>>(
[this, request]()
{
return this->voiceIdentityRegister(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::ImageScanFeedbackOutcome GreenClient::imageScanFeedback(const ImageScanFeedbackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +1203,42 @@ GreenClient::ImageScanFeedbackOutcomeCallable GreenClient::imageScanFeedbackCall
return task->get_future();
}
GreenClient::VoiceIdentityStartRegisterOutcome GreenClient::voiceIdentityStartRegister(const VoiceIdentityStartRegisterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceIdentityStartRegisterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceIdentityStartRegisterOutcome(VoiceIdentityStartRegisterResult(outcome.result()));
else
return VoiceIdentityStartRegisterOutcome(outcome.error());
}
void GreenClient::voiceIdentityStartRegisterAsync(const VoiceIdentityStartRegisterRequest& request, const VoiceIdentityStartRegisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceIdentityStartRegister(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceIdentityStartRegisterOutcomeCallable GreenClient::voiceIdentityStartRegisterCallable(const VoiceIdentityStartRegisterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceIdentityStartRegisterOutcome()>>(
[this, request]()
{
return this->voiceIdentityStartRegister(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::DeleteSimilarityImageOutcome GreenClient::deleteSimilarityImage(const DeleteSimilarityImageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,6 +1311,42 @@ GreenClient::SearchPersonOutcomeCallable GreenClient::searchPersonCallable(const
return task->get_future();
}
GreenClient::GetAddVideoDnaResultsOutcome GreenClient::getAddVideoDnaResults(const GetAddVideoDnaResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAddVideoDnaResultsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAddVideoDnaResultsOutcome(GetAddVideoDnaResultsResult(outcome.result()));
else
return GetAddVideoDnaResultsOutcome(outcome.error());
}
void GreenClient::getAddVideoDnaResultsAsync(const GetAddVideoDnaResultsRequest& request, const GetAddVideoDnaResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAddVideoDnaResults(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::GetAddVideoDnaResultsOutcomeCallable GreenClient::getAddVideoDnaResultsCallable(const GetAddVideoDnaResultsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAddVideoDnaResultsOutcome()>>(
[this, request]()
{
return this->getAddVideoDnaResults(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::AddPersonOutcome GreenClient::addPerson(const AddPersonRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1059,3 +1455,39 @@ GreenClient::AddSimilarityImageOutcomeCallable GreenClient::addSimilarityImageCa
return task->get_future();
}
GreenClient::VoiceIdentityUnregisterOutcome GreenClient::voiceIdentityUnregister(const VoiceIdentityUnregisterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceIdentityUnregisterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceIdentityUnregisterOutcome(VoiceIdentityUnregisterResult(outcome.result()));
else
return VoiceIdentityUnregisterOutcome(outcome.error());
}
void GreenClient::voiceIdentityUnregisterAsync(const VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceIdentityUnregister(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceIdentityUnregisterOutcomeCallable GreenClient::voiceIdentityUnregisterCallable(const VoiceIdentityUnregisterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceIdentityUnregisterOutcome()>>(
[this, request]()
{
return this->voiceIdentityUnregister(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,38 @@
/*
* 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/green/model/AddVideoDnaGroupRequest.h>
using AlibabaCloud::Green::Model::AddVideoDnaGroupRequest;
AddVideoDnaGroupRequest::AddVideoDnaGroupRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
AddVideoDnaGroupRequest::~AddVideoDnaGroupRequest()
{}
std::string AddVideoDnaGroupRequest::getClientInfo()const
{
return clientInfo_;
}
void AddVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/AddVideoDnaGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
AddVideoDnaGroupResult::AddVideoDnaGroupResult() :
ServiceResult()
{}
AddVideoDnaGroupResult::AddVideoDnaGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddVideoDnaGroupResult::~AddVideoDnaGroupResult()
{}
void AddVideoDnaGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/green/model/AddVideoDnaRequest.h>
using AlibabaCloud::Green::Model::AddVideoDnaRequest;
AddVideoDnaRequest::AddVideoDnaRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
AddVideoDnaRequest::~AddVideoDnaRequest()
{}
std::string AddVideoDnaRequest::getClientInfo()const
{
return clientInfo_;
}
void AddVideoDnaRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/AddVideoDnaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
AddVideoDnaResult::AddVideoDnaResult() :
ServiceResult()
{}
AddVideoDnaResult::AddVideoDnaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddVideoDnaResult::~AddVideoDnaResult()
{}
void AddVideoDnaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/green/model/DeleteVideoDnaGroupRequest.h>
using AlibabaCloud::Green::Model::DeleteVideoDnaGroupRequest;
DeleteVideoDnaGroupRequest::DeleteVideoDnaGroupRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
DeleteVideoDnaGroupRequest::~DeleteVideoDnaGroupRequest()
{}
std::string DeleteVideoDnaGroupRequest::getClientInfo()const
{
return clientInfo_;
}
void DeleteVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/DeleteVideoDnaGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
DeleteVideoDnaGroupResult::DeleteVideoDnaGroupResult() :
ServiceResult()
{}
DeleteVideoDnaGroupResult::DeleteVideoDnaGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteVideoDnaGroupResult::~DeleteVideoDnaGroupResult()
{}
void DeleteVideoDnaGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/green/model/DeleteVideoDnaRequest.h>
using AlibabaCloud::Green::Model::DeleteVideoDnaRequest;
DeleteVideoDnaRequest::DeleteVideoDnaRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
DeleteVideoDnaRequest::~DeleteVideoDnaRequest()
{}
std::string DeleteVideoDnaRequest::getClientInfo()const
{
return clientInfo_;
}
void DeleteVideoDnaRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/DeleteVideoDnaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
DeleteVideoDnaResult::DeleteVideoDnaResult() :
ServiceResult()
{}
DeleteVideoDnaResult::DeleteVideoDnaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteVideoDnaResult::~DeleteVideoDnaResult()
{}
void DeleteVideoDnaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/green/model/GetAddVideoDnaResultsRequest.h>
using AlibabaCloud::Green::Model::GetAddVideoDnaResultsRequest;
GetAddVideoDnaResultsRequest::GetAddVideoDnaResultsRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
GetAddVideoDnaResultsRequest::~GetAddVideoDnaResultsRequest()
{}
std::string GetAddVideoDnaResultsRequest::getClientInfo()const
{
return clientInfo_;
}
void GetAddVideoDnaResultsRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/GetAddVideoDnaResultsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
GetAddVideoDnaResultsResult::GetAddVideoDnaResultsResult() :
ServiceResult()
{}
GetAddVideoDnaResultsResult::GetAddVideoDnaResultsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAddVideoDnaResultsResult::~GetAddVideoDnaResultsResult()
{}
void GetAddVideoDnaResultsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* 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/green/model/UploadCredentialsRequest.h>
using AlibabaCloud::Green::Model::UploadCredentialsRequest;
UploadCredentialsRequest::UploadCredentialsRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
UploadCredentialsRequest::~UploadCredentialsRequest()
{}
std::string UploadCredentialsRequest::getRegionId()const
{
return regionId_;
}
void UploadCredentialsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string UploadCredentialsRequest::getClientInfo()const
{
return clientInfo_;
}
void UploadCredentialsRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/UploadCredentialsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
UploadCredentialsResult::UploadCredentialsResult() :
ServiceResult()
{}
UploadCredentialsResult::UploadCredentialsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UploadCredentialsResult::~UploadCredentialsResult()
{}
void UploadCredentialsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/green/model/VoiceCancelScanRequest.h>
using AlibabaCloud::Green::Model::VoiceCancelScanRequest;
VoiceCancelScanRequest::VoiceCancelScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VoiceCancelScanRequest::~VoiceCancelScanRequest()
{}
std::string VoiceCancelScanRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceCancelScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/VoiceCancelScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceCancelScanResult::VoiceCancelScanResult() :
ServiceResult()
{}
VoiceCancelScanResult::VoiceCancelScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceCancelScanResult::~VoiceCancelScanResult()
{}
void VoiceCancelScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* 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/green/model/VoiceIdentityCheckRequest.h>
using AlibabaCloud::Green::Model::VoiceIdentityCheckRequest;
VoiceIdentityCheckRequest::VoiceIdentityCheckRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VoiceIdentityCheckRequest::~VoiceIdentityCheckRequest()
{}
std::string VoiceIdentityCheckRequest::getRegionId()const
{
return regionId_;
}
void VoiceIdentityCheckRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string VoiceIdentityCheckRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceIdentityCheckRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/VoiceIdentityCheckResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceIdentityCheckResult::VoiceIdentityCheckResult() :
ServiceResult()
{}
VoiceIdentityCheckResult::VoiceIdentityCheckResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceIdentityCheckResult::~VoiceIdentityCheckResult()
{}
void VoiceIdentityCheckResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* 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/green/model/VoiceIdentityRegisterRequest.h>
using AlibabaCloud::Green::Model::VoiceIdentityRegisterRequest;
VoiceIdentityRegisterRequest::VoiceIdentityRegisterRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VoiceIdentityRegisterRequest::~VoiceIdentityRegisterRequest()
{}
std::string VoiceIdentityRegisterRequest::getRegionId()const
{
return regionId_;
}
void VoiceIdentityRegisterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string VoiceIdentityRegisterRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceIdentityRegisterRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/VoiceIdentityRegisterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceIdentityRegisterResult::VoiceIdentityRegisterResult() :
ServiceResult()
{}
VoiceIdentityRegisterResult::VoiceIdentityRegisterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceIdentityRegisterResult::~VoiceIdentityRegisterResult()
{}
void VoiceIdentityRegisterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* 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/green/model/VoiceIdentityStartCheckRequest.h>
using AlibabaCloud::Green::Model::VoiceIdentityStartCheckRequest;
VoiceIdentityStartCheckRequest::VoiceIdentityStartCheckRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VoiceIdentityStartCheckRequest::~VoiceIdentityStartCheckRequest()
{}
std::string VoiceIdentityStartCheckRequest::getRegionId()const
{
return regionId_;
}
void VoiceIdentityStartCheckRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string VoiceIdentityStartCheckRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceIdentityStartCheckRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/VoiceIdentityStartCheckResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceIdentityStartCheckResult::VoiceIdentityStartCheckResult() :
ServiceResult()
{}
VoiceIdentityStartCheckResult::VoiceIdentityStartCheckResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceIdentityStartCheckResult::~VoiceIdentityStartCheckResult()
{}
void VoiceIdentityStartCheckResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* 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/green/model/VoiceIdentityStartRegisterRequest.h>
using AlibabaCloud::Green::Model::VoiceIdentityStartRegisterRequest;
VoiceIdentityStartRegisterRequest::VoiceIdentityStartRegisterRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VoiceIdentityStartRegisterRequest::~VoiceIdentityStartRegisterRequest()
{}
std::string VoiceIdentityStartRegisterRequest::getRegionId()const
{
return regionId_;
}
void VoiceIdentityStartRegisterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string VoiceIdentityStartRegisterRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceIdentityStartRegisterRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/VoiceIdentityStartRegisterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceIdentityStartRegisterResult::VoiceIdentityStartRegisterResult() :
ServiceResult()
{}
VoiceIdentityStartRegisterResult::VoiceIdentityStartRegisterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceIdentityStartRegisterResult::~VoiceIdentityStartRegisterResult()
{}
void VoiceIdentityStartRegisterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* 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/green/model/VoiceIdentityUnregisterRequest.h>
using AlibabaCloud::Green::Model::VoiceIdentityUnregisterRequest;
VoiceIdentityUnregisterRequest::VoiceIdentityUnregisterRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VoiceIdentityUnregisterRequest::~VoiceIdentityUnregisterRequest()
{}
std::string VoiceIdentityUnregisterRequest::getRegionId()const
{
return regionId_;
}
void VoiceIdentityUnregisterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string VoiceIdentityUnregisterRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceIdentityUnregisterRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* 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/green/model/VoiceIdentityUnregisterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceIdentityUnregisterResult::VoiceIdentityUnregisterResult() :
ServiceResult()
{}
VoiceIdentityUnregisterResult::VoiceIdentityUnregisterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceIdentityUnregisterResult::~VoiceIdentityUnregisterResult()
{}
void VoiceIdentityUnregisterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}