diff --git a/CHANGELOG b/CHANGELOG index 105bd237a..24994dc9c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2018-09-03 Version: 1.24.2 +1, voice identify interface +2, client upload credentials interface + 2018-09-03 Version: 1.24.1 1, Add new service API:FindServiceStatisticalData, which can support query service statistical data. diff --git a/VERSION b/VERSION index 3e940eb72..0b4c970ea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.24.1 \ No newline at end of file +1.24.2 \ No newline at end of file diff --git a/green/CMakeLists.txt b/green/CMakeLists.txt index 726ebf1bb..fa8b96ccf 100644 --- a/green/CMakeLists.txt +++ b/green/CMakeLists.txt @@ -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} diff --git a/green/include/alibabacloud/green/GreenClient.h b/green/include/alibabacloud/green/GreenClient.h index 4305e3ff3..9035daa72 100644 --- a/green/include/alibabacloud/green/GreenClient.h +++ b/green/include/alibabacloud/green/GreenClient.h @@ -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 ImageSyncScanOutcome; typedef std::future ImageSyncScanOutcomeCallable; typedef std::function&)> ImageSyncScanAsyncHandler; + typedef Outcome UploadCredentialsOutcome; + typedef std::future UploadCredentialsOutcomeCallable; + typedef std::function&)> UploadCredentialsAsyncHandler; typedef Outcome GetPersonsOutcome; typedef std::future GetPersonsOutcomeCallable; typedef std::function&)> GetPersonsAsyncHandler; @@ -99,6 +126,12 @@ namespace AlibabaCloud typedef Outcome DeleteFacesOutcome; typedef std::future DeleteFacesOutcomeCallable; typedef std::function&)> DeleteFacesAsyncHandler; + typedef Outcome DeleteVideoDnaGroupOutcome; + typedef std::future DeleteVideoDnaGroupOutcomeCallable; + typedef std::function&)> DeleteVideoDnaGroupAsyncHandler; + typedef Outcome AddVideoDnaOutcome; + typedef std::future AddVideoDnaOutcomeCallable; + typedef std::function&)> AddVideoDnaAsyncHandler; typedef Outcome VideoFeedbackOutcome; typedef std::future VideoFeedbackOutcomeCallable; typedef std::function&)> VideoFeedbackAsyncHandler; @@ -111,6 +144,9 @@ namespace AlibabaCloud typedef Outcome VideoAsyncScanResultsOutcome; typedef std::future VideoAsyncScanResultsOutcomeCallable; typedef std::function&)> VideoAsyncScanResultsAsyncHandler; + typedef Outcome DeleteVideoDnaOutcome; + typedef std::future DeleteVideoDnaOutcomeCallable; + typedef std::function&)> DeleteVideoDnaAsyncHandler; typedef Outcome AddGroupsOutcome; typedef std::future AddGroupsOutcomeCallable; typedef std::function&)> AddGroupsAsyncHandler; @@ -120,6 +156,9 @@ namespace AlibabaCloud typedef Outcome SetPersonOutcome; typedef std::future SetPersonOutcomeCallable; typedef std::function&)> SetPersonAsyncHandler; + typedef Outcome VoiceIdentityCheckOutcome; + typedef std::future VoiceIdentityCheckOutcomeCallable; + typedef std::function&)> VoiceIdentityCheckAsyncHandler; typedef Outcome TextFeedbackOutcome; typedef std::future TextFeedbackOutcomeCallable; typedef std::function&)> TextFeedbackAsyncHandler; @@ -129,6 +168,12 @@ namespace AlibabaCloud typedef Outcome DeleteGroupsOutcome; typedef std::future DeleteGroupsOutcomeCallable; typedef std::function&)> DeleteGroupsAsyncHandler; + typedef Outcome VoiceIdentityStartCheckOutcome; + typedef std::future VoiceIdentityStartCheckOutcomeCallable; + typedef std::function&)> VoiceIdentityStartCheckAsyncHandler; + typedef Outcome AddVideoDnaGroupOutcome; + typedef std::future AddVideoDnaGroupOutcomeCallable; + typedef std::function&)> AddVideoDnaGroupAsyncHandler; typedef Outcome ImageAsyncScanOutcome; typedef std::future ImageAsyncScanOutcomeCallable; typedef std::function&)> ImageAsyncScanAsyncHandler; @@ -147,21 +192,33 @@ namespace AlibabaCloud typedef Outcome VoiceAsyncScanOutcome; typedef std::future VoiceAsyncScanOutcomeCallable; typedef std::function&)> VoiceAsyncScanAsyncHandler; + typedef Outcome VoiceCancelScanOutcome; + typedef std::future VoiceCancelScanOutcomeCallable; + typedef std::function&)> VoiceCancelScanAsyncHandler; typedef Outcome GetGroupsOutcome; typedef std::future GetGroupsOutcomeCallable; typedef std::function&)> GetGroupsAsyncHandler; typedef Outcome TextScanOutcome; typedef std::future TextScanOutcomeCallable; typedef std::function&)> TextScanAsyncHandler; + typedef Outcome VoiceIdentityRegisterOutcome; + typedef std::future VoiceIdentityRegisterOutcomeCallable; + typedef std::function&)> VoiceIdentityRegisterAsyncHandler; typedef Outcome ImageScanFeedbackOutcome; typedef std::future ImageScanFeedbackOutcomeCallable; typedef std::function&)> ImageScanFeedbackAsyncHandler; + typedef Outcome VoiceIdentityStartRegisterOutcome; + typedef std::future VoiceIdentityStartRegisterOutcomeCallable; + typedef std::function&)> VoiceIdentityStartRegisterAsyncHandler; typedef Outcome DeleteSimilarityImageOutcome; typedef std::future DeleteSimilarityImageOutcomeCallable; typedef std::function&)> DeleteSimilarityImageAsyncHandler; typedef Outcome SearchPersonOutcome; typedef std::future SearchPersonOutcomeCallable; typedef std::function&)> SearchPersonAsyncHandler; + typedef Outcome GetAddVideoDnaResultsOutcome; + typedef std::future GetAddVideoDnaResultsOutcomeCallable; + typedef std::function&)> GetAddVideoDnaResultsAsyncHandler; typedef Outcome AddPersonOutcome; typedef std::future AddPersonOutcomeCallable; typedef std::function&)> AddPersonAsyncHandler; @@ -171,6 +228,9 @@ namespace AlibabaCloud typedef Outcome AddSimilarityImageOutcome; typedef std::future AddSimilarityImageOutcomeCallable; typedef std::function&)> AddSimilarityImageAsyncHandler; + typedef Outcome VoiceIdentityUnregisterOutcome; + typedef std::future VoiceIdentityUnregisterOutcomeCallable; + typedef std::function&)> VoiceIdentityUnregisterAsyncHandler; GreenClient(const Credentials &credentials, const ClientConfiguration &configuration); GreenClient(const std::shared_ptr &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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& context = nullptr) const; + VoiceIdentityUnregisterOutcomeCallable voiceIdentityUnregisterCallable(const Model::VoiceIdentityUnregisterRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/green/include/alibabacloud/green/model/AddVideoDnaGroupRequest.h b/green/include/alibabacloud/green/model/AddVideoDnaGroupRequest.h new file mode 100644 index 000000000..cadf0c17c --- /dev/null +++ b/green/include/alibabacloud/green/model/AddVideoDnaGroupRequest.h @@ -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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/AddVideoDnaGroupResult.h b/green/include/alibabacloud/green/model/AddVideoDnaGroupResult.h new file mode 100644 index 000000000..2018ffa35 --- /dev/null +++ b/green/include/alibabacloud/green/model/AddVideoDnaGroupResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/AddVideoDnaRequest.h b/green/include/alibabacloud/green/model/AddVideoDnaRequest.h new file mode 100644 index 000000000..158501fa6 --- /dev/null +++ b/green/include/alibabacloud/green/model/AddVideoDnaRequest.h @@ -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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/AddVideoDnaResult.h b/green/include/alibabacloud/green/model/AddVideoDnaResult.h new file mode 100644 index 000000000..7b171a389 --- /dev/null +++ b/green/include/alibabacloud/green/model/AddVideoDnaResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h b/green/include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h new file mode 100644 index 000000000..3120e231a --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h @@ -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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h b/green/include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h new file mode 100644 index 000000000..098faf8d8 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteVideoDnaRequest.h b/green/include/alibabacloud/green/model/DeleteVideoDnaRequest.h new file mode 100644 index 000000000..7f5592321 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteVideoDnaRequest.h @@ -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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteVideoDnaResult.h b/green/include/alibabacloud/green/model/DeleteVideoDnaResult.h new file mode 100644 index 000000000..461de9f0e --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteVideoDnaResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h b/green/include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h new file mode 100644 index 000000000..6914fae51 --- /dev/null +++ b/green/include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h @@ -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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h b/green/include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h new file mode 100644 index 000000000..5eb5b006d --- /dev/null +++ b/green/include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UploadCredentialsRequest.h b/green/include/alibabacloud/green/model/UploadCredentialsRequest.h new file mode 100644 index 000000000..eae386d17 --- /dev/null +++ b/green/include/alibabacloud/green/model/UploadCredentialsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPLOADCREDENTIALSREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UploadCredentialsResult.h b/green/include/alibabacloud/green/model/UploadCredentialsResult.h new file mode 100644 index 000000000..759111979 --- /dev/null +++ b/green/include/alibabacloud/green/model/UploadCredentialsResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceCancelScanRequest.h b/green/include/alibabacloud/green/model/VoiceCancelScanRequest.h new file mode 100644 index 000000000..13cb16589 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceCancelScanRequest.h @@ -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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceCancelScanResult.h b/green/include/alibabacloud/green/model/VoiceCancelScanResult.h new file mode 100644 index 000000000..5e41b746f --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceCancelScanResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityCheckRequest.h b/green/include/alibabacloud/green/model/VoiceIdentityCheckRequest.h new file mode 100644 index 000000000..62f2ac224 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityCheckRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYCHECKREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityCheckResult.h b/green/include/alibabacloud/green/model/VoiceIdentityCheckResult.h new file mode 100644 index 000000000..9173d1896 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityCheckResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h b/green/include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h new file mode 100644 index 000000000..3098f6333 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYREGISTERREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityRegisterResult.h b/green/include/alibabacloud/green/model/VoiceIdentityRegisterResult.h new file mode 100644 index 000000000..bcb70fc66 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityRegisterResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h b/green/include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h new file mode 100644 index 000000000..4dabf0747 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTCHECKREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h b/green/include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h new file mode 100644 index 000000000..7f53db5e1 --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h b/green/include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h new file mode 100644 index 000000000..040ebe41b --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYSTARTREGISTERREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h b/green/include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h new file mode 100644 index 000000000..401ced6fb --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h b/green/include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h new file mode 100644 index 000000000..33fe17d4b --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VOICEIDENTITYUNREGISTERREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h b/green/include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h new file mode 100644 index 000000000..9616595af --- /dev/null +++ b/green/include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h @@ -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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/green/src/GreenClient.cc b/green/src/GreenClient.cc index adfb4a536..809d47e6a 100644 --- a/green/src/GreenClient.cc +++ b/green/src/GreenClient.cc @@ -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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [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& 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>( + [this, request]() + { + return this->voiceIdentityUnregister(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/green/src/model/AddVideoDnaGroupRequest.cc b/green/src/model/AddVideoDnaGroupRequest.cc new file mode 100644 index 000000000..4999d0794 --- /dev/null +++ b/green/src/model/AddVideoDnaGroupRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/AddVideoDnaGroupResult.cc b/green/src/model/AddVideoDnaGroupResult.cc new file mode 100644 index 000000000..ce352f74e --- /dev/null +++ b/green/src/model/AddVideoDnaGroupResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/AddVideoDnaRequest.cc b/green/src/model/AddVideoDnaRequest.cc new file mode 100644 index 000000000..dd258c724 --- /dev/null +++ b/green/src/model/AddVideoDnaRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/AddVideoDnaResult.cc b/green/src/model/AddVideoDnaResult.cc new file mode 100644 index 000000000..a5c890342 --- /dev/null +++ b/green/src/model/AddVideoDnaResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/DeleteVideoDnaGroupRequest.cc b/green/src/model/DeleteVideoDnaGroupRequest.cc new file mode 100644 index 000000000..42471cd54 --- /dev/null +++ b/green/src/model/DeleteVideoDnaGroupRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/DeleteVideoDnaGroupResult.cc b/green/src/model/DeleteVideoDnaGroupResult.cc new file mode 100644 index 000000000..52ca420e3 --- /dev/null +++ b/green/src/model/DeleteVideoDnaGroupResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/DeleteVideoDnaRequest.cc b/green/src/model/DeleteVideoDnaRequest.cc new file mode 100644 index 000000000..f2940e3be --- /dev/null +++ b/green/src/model/DeleteVideoDnaRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/DeleteVideoDnaResult.cc b/green/src/model/DeleteVideoDnaResult.cc new file mode 100644 index 000000000..124e796dd --- /dev/null +++ b/green/src/model/DeleteVideoDnaResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/GetAddVideoDnaResultsRequest.cc b/green/src/model/GetAddVideoDnaResultsRequest.cc new file mode 100644 index 000000000..f92e61f26 --- /dev/null +++ b/green/src/model/GetAddVideoDnaResultsRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/GetAddVideoDnaResultsResult.cc b/green/src/model/GetAddVideoDnaResultsResult.cc new file mode 100644 index 000000000..3dd6557a3 --- /dev/null +++ b/green/src/model/GetAddVideoDnaResultsResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/UploadCredentialsRequest.cc b/green/src/model/UploadCredentialsRequest.cc new file mode 100644 index 000000000..ba2d637f0 --- /dev/null +++ b/green/src/model/UploadCredentialsRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/UploadCredentialsResult.cc b/green/src/model/UploadCredentialsResult.cc new file mode 100644 index 000000000..24c75b304 --- /dev/null +++ b/green/src/model/UploadCredentialsResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/VoiceCancelScanRequest.cc b/green/src/model/VoiceCancelScanRequest.cc new file mode 100644 index 000000000..7acdd3de0 --- /dev/null +++ b/green/src/model/VoiceCancelScanRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/VoiceCancelScanResult.cc b/green/src/model/VoiceCancelScanResult.cc new file mode 100644 index 000000000..b7c7f5d0f --- /dev/null +++ b/green/src/model/VoiceCancelScanResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/VoiceIdentityCheckRequest.cc b/green/src/model/VoiceIdentityCheckRequest.cc new file mode 100644 index 000000000..0db259e02 --- /dev/null +++ b/green/src/model/VoiceIdentityCheckRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/VoiceIdentityCheckResult.cc b/green/src/model/VoiceIdentityCheckResult.cc new file mode 100644 index 000000000..0d54e992c --- /dev/null +++ b/green/src/model/VoiceIdentityCheckResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/VoiceIdentityRegisterRequest.cc b/green/src/model/VoiceIdentityRegisterRequest.cc new file mode 100644 index 000000000..8693e9961 --- /dev/null +++ b/green/src/model/VoiceIdentityRegisterRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/VoiceIdentityRegisterResult.cc b/green/src/model/VoiceIdentityRegisterResult.cc new file mode 100644 index 000000000..a64ba700d --- /dev/null +++ b/green/src/model/VoiceIdentityRegisterResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/VoiceIdentityStartCheckRequest.cc b/green/src/model/VoiceIdentityStartCheckRequest.cc new file mode 100644 index 000000000..5fae3719a --- /dev/null +++ b/green/src/model/VoiceIdentityStartCheckRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/VoiceIdentityStartCheckResult.cc b/green/src/model/VoiceIdentityStartCheckResult.cc new file mode 100644 index 000000000..25a75c114 --- /dev/null +++ b/green/src/model/VoiceIdentityStartCheckResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/VoiceIdentityStartRegisterRequest.cc b/green/src/model/VoiceIdentityStartRegisterRequest.cc new file mode 100644 index 000000000..f4245221e --- /dev/null +++ b/green/src/model/VoiceIdentityStartRegisterRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/VoiceIdentityStartRegisterResult.cc b/green/src/model/VoiceIdentityStartRegisterResult.cc new file mode 100644 index 000000000..4d529dfd7 --- /dev/null +++ b/green/src/model/VoiceIdentityStartRegisterResult.cc @@ -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 +#include + +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()); + +} + diff --git a/green/src/model/VoiceIdentityUnregisterRequest.cc b/green/src/model/VoiceIdentityUnregisterRequest.cc new file mode 100644 index 000000000..9696a308c --- /dev/null +++ b/green/src/model/VoiceIdentityUnregisterRequest.cc @@ -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 + +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); +} + diff --git a/green/src/model/VoiceIdentityUnregisterResult.cc b/green/src/model/VoiceIdentityUnregisterResult.cc new file mode 100644 index 000000000..9bc876d0e --- /dev/null +++ b/green/src/model/VoiceIdentityUnregisterResult.cc @@ -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 +#include + +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()); + +} +