Update api.

This commit is contained in:
sdk-team
2021-03-26 06:38:23 +00:00
parent 89a8603f07
commit fe3d15f458
45 changed files with 41 additions and 2742 deletions

View File

@@ -29,8 +29,6 @@ set(qualitycheck_public_header_model
include/alibabacloud/qualitycheck/model/AddThesaurusForApiResult.h
include/alibabacloud/qualitycheck/model/AssignReviewerRequest.h
include/alibabacloud/qualitycheck/model/AssignReviewerResult.h
include/alibabacloud/qualitycheck/model/CloseServiceRequest.h
include/alibabacloud/qualitycheck/model/CloseServiceResult.h
include/alibabacloud/qualitycheck/model/CreateAsrVocabRequest.h
include/alibabacloud/qualitycheck/model/CreateAsrVocabResult.h
include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigRequest.h
@@ -75,16 +73,12 @@ set(qualitycheck_public_header_model
include/alibabacloud/qualitycheck/model/GetBusinessCategoryListResult.h
include/alibabacloud/qualitycheck/model/GetCustomizationConfigListRequest.h
include/alibabacloud/qualitycheck/model/GetCustomizationConfigListResult.h
include/alibabacloud/qualitycheck/model/GetDataSetListRequest.h
include/alibabacloud/qualitycheck/model/GetDataSetListResult.h
include/alibabacloud/qualitycheck/model/GetHitResultRequest.h
include/alibabacloud/qualitycheck/model/GetHitResultResult.h
include/alibabacloud/qualitycheck/model/GetNextResultToVerifyRequest.h
include/alibabacloud/qualitycheck/model/GetNextResultToVerifyResult.h
include/alibabacloud/qualitycheck/model/GetPrecisionTaskRequest.h
include/alibabacloud/qualitycheck/model/GetPrecisionTaskResult.h
include/alibabacloud/qualitycheck/model/GetRecognizeResultRequest.h
include/alibabacloud/qualitycheck/model/GetRecognizeResultResult.h
include/alibabacloud/qualitycheck/model/GetResultRequest.h
include/alibabacloud/qualitycheck/model/GetResultResult.h
include/alibabacloud/qualitycheck/model/GetResultCallbackRequest.h
@@ -131,20 +125,12 @@ set(qualitycheck_public_header_model
include/alibabacloud/qualitycheck/model/ListUsersResult.h
include/alibabacloud/qualitycheck/model/ListWarningConfigRequest.h
include/alibabacloud/qualitycheck/model/ListWarningConfigResult.h
include/alibabacloud/qualitycheck/model/OpenServiceRequest.h
include/alibabacloud/qualitycheck/model/OpenServiceResult.h
include/alibabacloud/qualitycheck/model/RegisterNoticeRequest.h
include/alibabacloud/qualitycheck/model/RegisterNoticeResult.h
include/alibabacloud/qualitycheck/model/RestartAsrTaskRequest.h
include/alibabacloud/qualitycheck/model/RestartAsrTaskResult.h
include/alibabacloud/qualitycheck/model/RetrySubmitAsrRequest.h
include/alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h
include/alibabacloud/qualitycheck/model/SaveConfigDataSetRequest.h
include/alibabacloud/qualitycheck/model/SaveConfigDataSetResult.h
include/alibabacloud/qualitycheck/model/SubmitComplaintRequest.h
include/alibabacloud/qualitycheck/model/SubmitComplaintResult.h
include/alibabacloud/qualitycheck/model/SubmitModelTestTaskRequest.h
include/alibabacloud/qualitycheck/model/SubmitModelTestTaskResult.h
include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskRequest.h
include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskResult.h
include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskRequest.h
@@ -157,8 +143,6 @@ set(qualitycheck_public_header_model
include/alibabacloud/qualitycheck/model/UpdateAsrVocabResult.h
include/alibabacloud/qualitycheck/model/UpdateRuleRequest.h
include/alibabacloud/qualitycheck/model/UpdateRuleResult.h
include/alibabacloud/qualitycheck/model/UpdateRuleForAntRequest.h
include/alibabacloud/qualitycheck/model/UpdateRuleForAntResult.h
include/alibabacloud/qualitycheck/model/UpdateScoreForApiRequest.h
include/alibabacloud/qualitycheck/model/UpdateScoreForApiResult.h
include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigRequest.h
@@ -183,8 +167,6 @@ set(qualitycheck_public_header_model
include/alibabacloud/qualitycheck/model/UploadDataSyncResult.h
include/alibabacloud/qualitycheck/model/UploadRuleRequest.h
include/alibabacloud/qualitycheck/model/UploadRuleResult.h
include/alibabacloud/qualitycheck/model/ValidateRoleSetRequest.h
include/alibabacloud/qualitycheck/model/ValidateRoleSetResult.h
include/alibabacloud/qualitycheck/model/VerifyFileRequest.h
include/alibabacloud/qualitycheck/model/VerifyFileResult.h
include/alibabacloud/qualitycheck/model/VerifySentenceRequest.h
@@ -200,8 +182,6 @@ set(qualitycheck_src
src/model/AddThesaurusForApiResult.cc
src/model/AssignReviewerRequest.cc
src/model/AssignReviewerResult.cc
src/model/CloseServiceRequest.cc
src/model/CloseServiceResult.cc
src/model/CreateAsrVocabRequest.cc
src/model/CreateAsrVocabResult.cc
src/model/CreateSkillGroupConfigRequest.cc
@@ -246,16 +226,12 @@ set(qualitycheck_src
src/model/GetBusinessCategoryListResult.cc
src/model/GetCustomizationConfigListRequest.cc
src/model/GetCustomizationConfigListResult.cc
src/model/GetDataSetListRequest.cc
src/model/GetDataSetListResult.cc
src/model/GetHitResultRequest.cc
src/model/GetHitResultResult.cc
src/model/GetNextResultToVerifyRequest.cc
src/model/GetNextResultToVerifyResult.cc
src/model/GetPrecisionTaskRequest.cc
src/model/GetPrecisionTaskResult.cc
src/model/GetRecognizeResultRequest.cc
src/model/GetRecognizeResultResult.cc
src/model/GetResultRequest.cc
src/model/GetResultResult.cc
src/model/GetResultCallbackRequest.cc
@@ -302,20 +278,12 @@ set(qualitycheck_src
src/model/ListUsersResult.cc
src/model/ListWarningConfigRequest.cc
src/model/ListWarningConfigResult.cc
src/model/OpenServiceRequest.cc
src/model/OpenServiceResult.cc
src/model/RegisterNoticeRequest.cc
src/model/RegisterNoticeResult.cc
src/model/RestartAsrTaskRequest.cc
src/model/RestartAsrTaskResult.cc
src/model/RetrySubmitAsrRequest.cc
src/model/RetrySubmitAsrResult.cc
src/model/SaveConfigDataSetRequest.cc
src/model/SaveConfigDataSetResult.cc
src/model/SubmitComplaintRequest.cc
src/model/SubmitComplaintResult.cc
src/model/SubmitModelTestTaskRequest.cc
src/model/SubmitModelTestTaskResult.cc
src/model/SubmitPrecisionTaskRequest.cc
src/model/SubmitPrecisionTaskResult.cc
src/model/SubmitQualityCheckTaskRequest.cc
@@ -328,8 +296,6 @@ set(qualitycheck_src
src/model/UpdateAsrVocabResult.cc
src/model/UpdateRuleRequest.cc
src/model/UpdateRuleResult.cc
src/model/UpdateRuleForAntRequest.cc
src/model/UpdateRuleForAntResult.cc
src/model/UpdateScoreForApiRequest.cc
src/model/UpdateScoreForApiResult.cc
src/model/UpdateSkillGroupConfigRequest.cc
@@ -354,8 +320,6 @@ set(qualitycheck_src
src/model/UploadDataSyncResult.cc
src/model/UploadRuleRequest.cc
src/model/UploadRuleResult.cc
src/model/ValidateRoleSetRequest.cc
src/model/ValidateRoleSetResult.cc
src/model/VerifyFileRequest.cc
src/model/VerifyFileResult.cc
src/model/VerifySentenceRequest.cc

View File

@@ -30,8 +30,6 @@
#include "model/AddThesaurusForApiResult.h"
#include "model/AssignReviewerRequest.h"
#include "model/AssignReviewerResult.h"
#include "model/CloseServiceRequest.h"
#include "model/CloseServiceResult.h"
#include "model/CreateAsrVocabRequest.h"
#include "model/CreateAsrVocabResult.h"
#include "model/CreateSkillGroupConfigRequest.h"
@@ -76,16 +74,12 @@
#include "model/GetBusinessCategoryListResult.h"
#include "model/GetCustomizationConfigListRequest.h"
#include "model/GetCustomizationConfigListResult.h"
#include "model/GetDataSetListRequest.h"
#include "model/GetDataSetListResult.h"
#include "model/GetHitResultRequest.h"
#include "model/GetHitResultResult.h"
#include "model/GetNextResultToVerifyRequest.h"
#include "model/GetNextResultToVerifyResult.h"
#include "model/GetPrecisionTaskRequest.h"
#include "model/GetPrecisionTaskResult.h"
#include "model/GetRecognizeResultRequest.h"
#include "model/GetRecognizeResultResult.h"
#include "model/GetResultRequest.h"
#include "model/GetResultResult.h"
#include "model/GetResultCallbackRequest.h"
@@ -132,20 +126,12 @@
#include "model/ListUsersResult.h"
#include "model/ListWarningConfigRequest.h"
#include "model/ListWarningConfigResult.h"
#include "model/OpenServiceRequest.h"
#include "model/OpenServiceResult.h"
#include "model/RegisterNoticeRequest.h"
#include "model/RegisterNoticeResult.h"
#include "model/RestartAsrTaskRequest.h"
#include "model/RestartAsrTaskResult.h"
#include "model/RetrySubmitAsrRequest.h"
#include "model/RetrySubmitAsrResult.h"
#include "model/SaveConfigDataSetRequest.h"
#include "model/SaveConfigDataSetResult.h"
#include "model/SubmitComplaintRequest.h"
#include "model/SubmitComplaintResult.h"
#include "model/SubmitModelTestTaskRequest.h"
#include "model/SubmitModelTestTaskResult.h"
#include "model/SubmitPrecisionTaskRequest.h"
#include "model/SubmitPrecisionTaskResult.h"
#include "model/SubmitQualityCheckTaskRequest.h"
@@ -158,8 +144,6 @@
#include "model/UpdateAsrVocabResult.h"
#include "model/UpdateRuleRequest.h"
#include "model/UpdateRuleResult.h"
#include "model/UpdateRuleForAntRequest.h"
#include "model/UpdateRuleForAntResult.h"
#include "model/UpdateScoreForApiRequest.h"
#include "model/UpdateScoreForApiResult.h"
#include "model/UpdateSkillGroupConfigRequest.h"
@@ -184,8 +168,6 @@
#include "model/UploadDataSyncResult.h"
#include "model/UploadRuleRequest.h"
#include "model/UploadRuleResult.h"
#include "model/ValidateRoleSetRequest.h"
#include "model/ValidateRoleSetResult.h"
#include "model/VerifyFileRequest.h"
#include "model/VerifyFileResult.h"
#include "model/VerifySentenceRequest.h"
@@ -211,9 +193,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AssignReviewerResult> AssignReviewerOutcome;
typedef std::future<AssignReviewerOutcome> AssignReviewerOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::AssignReviewerRequest&, const AssignReviewerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignReviewerAsyncHandler;
typedef Outcome<Error, Model::CloseServiceResult> CloseServiceOutcome;
typedef std::future<CloseServiceOutcome> CloseServiceOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::CloseServiceRequest&, const CloseServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseServiceAsyncHandler;
typedef Outcome<Error, Model::CreateAsrVocabResult> CreateAsrVocabOutcome;
typedef std::future<CreateAsrVocabOutcome> CreateAsrVocabOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::CreateAsrVocabRequest&, const CreateAsrVocabOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAsrVocabAsyncHandler;
@@ -280,9 +259,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCustomizationConfigListResult> GetCustomizationConfigListOutcome;
typedef std::future<GetCustomizationConfigListOutcome> GetCustomizationConfigListOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::GetCustomizationConfigListRequest&, const GetCustomizationConfigListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomizationConfigListAsyncHandler;
typedef Outcome<Error, Model::GetDataSetListResult> GetDataSetListOutcome;
typedef std::future<GetDataSetListOutcome> GetDataSetListOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::GetDataSetListRequest&, const GetDataSetListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDataSetListAsyncHandler;
typedef Outcome<Error, Model::GetHitResultResult> GetHitResultOutcome;
typedef std::future<GetHitResultOutcome> GetHitResultOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::GetHitResultRequest&, const GetHitResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHitResultAsyncHandler;
@@ -292,9 +268,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPrecisionTaskResult> GetPrecisionTaskOutcome;
typedef std::future<GetPrecisionTaskOutcome> GetPrecisionTaskOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::GetPrecisionTaskRequest&, const GetPrecisionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrecisionTaskAsyncHandler;
typedef Outcome<Error, Model::GetRecognizeResultResult> GetRecognizeResultOutcome;
typedef std::future<GetRecognizeResultOutcome> GetRecognizeResultOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::GetRecognizeResultRequest&, const GetRecognizeResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRecognizeResultAsyncHandler;
typedef Outcome<Error, Model::GetResultResult> GetResultOutcome;
typedef std::future<GetResultOutcome> GetResultOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::GetResultRequest&, const GetResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResultAsyncHandler;
@@ -364,27 +337,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListWarningConfigResult> ListWarningConfigOutcome;
typedef std::future<ListWarningConfigOutcome> ListWarningConfigOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::ListWarningConfigRequest&, const ListWarningConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListWarningConfigAsyncHandler;
typedef Outcome<Error, Model::OpenServiceResult> OpenServiceOutcome;
typedef std::future<OpenServiceOutcome> OpenServiceOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::OpenServiceRequest&, const OpenServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenServiceAsyncHandler;
typedef Outcome<Error, Model::RegisterNoticeResult> RegisterNoticeOutcome;
typedef std::future<RegisterNoticeOutcome> RegisterNoticeOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::RegisterNoticeRequest&, const RegisterNoticeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterNoticeAsyncHandler;
typedef Outcome<Error, Model::RestartAsrTaskResult> RestartAsrTaskOutcome;
typedef std::future<RestartAsrTaskOutcome> RestartAsrTaskOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::RestartAsrTaskRequest&, const RestartAsrTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartAsrTaskAsyncHandler;
typedef Outcome<Error, Model::RetrySubmitAsrResult> RetrySubmitAsrOutcome;
typedef std::future<RetrySubmitAsrOutcome> RetrySubmitAsrOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::RetrySubmitAsrRequest&, const RetrySubmitAsrOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetrySubmitAsrAsyncHandler;
typedef Outcome<Error, Model::SaveConfigDataSetResult> SaveConfigDataSetOutcome;
typedef std::future<SaveConfigDataSetOutcome> SaveConfigDataSetOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::SaveConfigDataSetRequest&, const SaveConfigDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveConfigDataSetAsyncHandler;
typedef Outcome<Error, Model::SubmitComplaintResult> SubmitComplaintOutcome;
typedef std::future<SubmitComplaintOutcome> SubmitComplaintOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::SubmitComplaintRequest&, const SubmitComplaintOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitComplaintAsyncHandler;
typedef Outcome<Error, Model::SubmitModelTestTaskResult> SubmitModelTestTaskOutcome;
typedef std::future<SubmitModelTestTaskOutcome> SubmitModelTestTaskOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::SubmitModelTestTaskRequest&, const SubmitModelTestTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitModelTestTaskAsyncHandler;
typedef Outcome<Error, Model::SubmitPrecisionTaskResult> SubmitPrecisionTaskOutcome;
typedef std::future<SubmitPrecisionTaskOutcome> SubmitPrecisionTaskOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::SubmitPrecisionTaskRequest&, const SubmitPrecisionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitPrecisionTaskAsyncHandler;
@@ -403,9 +364,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateRuleResult> UpdateRuleOutcome;
typedef std::future<UpdateRuleOutcome> UpdateRuleOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UpdateRuleRequest&, const UpdateRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRuleAsyncHandler;
typedef Outcome<Error, Model::UpdateRuleForAntResult> UpdateRuleForAntOutcome;
typedef std::future<UpdateRuleForAntOutcome> UpdateRuleForAntOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UpdateRuleForAntRequest&, const UpdateRuleForAntOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRuleForAntAsyncHandler;
typedef Outcome<Error, Model::UpdateScoreForApiResult> UpdateScoreForApiOutcome;
typedef std::future<UpdateScoreForApiOutcome> UpdateScoreForApiOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UpdateScoreForApiRequest&, const UpdateScoreForApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateScoreForApiAsyncHandler;
@@ -442,9 +400,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UploadRuleResult> UploadRuleOutcome;
typedef std::future<UploadRuleOutcome> UploadRuleOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::UploadRuleRequest&, const UploadRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadRuleAsyncHandler;
typedef Outcome<Error, Model::ValidateRoleSetResult> ValidateRoleSetOutcome;
typedef std::future<ValidateRoleSetOutcome> ValidateRoleSetOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::ValidateRoleSetRequest&, const ValidateRoleSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateRoleSetAsyncHandler;
typedef Outcome<Error, Model::VerifyFileResult> VerifyFileOutcome;
typedef std::future<VerifyFileOutcome> VerifyFileOutcomeCallable;
typedef std::function<void(const QualitycheckClient*, const Model::VerifyFileRequest&, const VerifyFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyFileAsyncHandler;
@@ -468,9 +423,6 @@ namespace AlibabaCloud
AssignReviewerOutcome assignReviewer(const Model::AssignReviewerRequest &request)const;
void assignReviewerAsync(const Model::AssignReviewerRequest& request, const AssignReviewerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssignReviewerOutcomeCallable assignReviewerCallable(const Model::AssignReviewerRequest& request) const;
CloseServiceOutcome closeService(const Model::CloseServiceRequest &request)const;
void closeServiceAsync(const Model::CloseServiceRequest& request, const CloseServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseServiceOutcomeCallable closeServiceCallable(const Model::CloseServiceRequest& request) const;
CreateAsrVocabOutcome createAsrVocab(const Model::CreateAsrVocabRequest &request)const;
void createAsrVocabAsync(const Model::CreateAsrVocabRequest& request, const CreateAsrVocabAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAsrVocabOutcomeCallable createAsrVocabCallable(const Model::CreateAsrVocabRequest& request) const;
@@ -537,9 +489,6 @@ namespace AlibabaCloud
GetCustomizationConfigListOutcome getCustomizationConfigList(const Model::GetCustomizationConfigListRequest &request)const;
void getCustomizationConfigListAsync(const Model::GetCustomizationConfigListRequest& request, const GetCustomizationConfigListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCustomizationConfigListOutcomeCallable getCustomizationConfigListCallable(const Model::GetCustomizationConfigListRequest& request) const;
GetDataSetListOutcome getDataSetList(const Model::GetDataSetListRequest &request)const;
void getDataSetListAsync(const Model::GetDataSetListRequest& request, const GetDataSetListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDataSetListOutcomeCallable getDataSetListCallable(const Model::GetDataSetListRequest& request) const;
GetHitResultOutcome getHitResult(const Model::GetHitResultRequest &request)const;
void getHitResultAsync(const Model::GetHitResultRequest& request, const GetHitResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHitResultOutcomeCallable getHitResultCallable(const Model::GetHitResultRequest& request) const;
@@ -549,9 +498,6 @@ namespace AlibabaCloud
GetPrecisionTaskOutcome getPrecisionTask(const Model::GetPrecisionTaskRequest &request)const;
void getPrecisionTaskAsync(const Model::GetPrecisionTaskRequest& request, const GetPrecisionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrecisionTaskOutcomeCallable getPrecisionTaskCallable(const Model::GetPrecisionTaskRequest& request) const;
GetRecognizeResultOutcome getRecognizeResult(const Model::GetRecognizeResultRequest &request)const;
void getRecognizeResultAsync(const Model::GetRecognizeResultRequest& request, const GetRecognizeResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRecognizeResultOutcomeCallable getRecognizeResultCallable(const Model::GetRecognizeResultRequest& request) const;
GetResultOutcome getResult(const Model::GetResultRequest &request)const;
void getResultAsync(const Model::GetResultRequest& request, const GetResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResultOutcomeCallable getResultCallable(const Model::GetResultRequest& request) const;
@@ -621,27 +567,15 @@ namespace AlibabaCloud
ListWarningConfigOutcome listWarningConfig(const Model::ListWarningConfigRequest &request)const;
void listWarningConfigAsync(const Model::ListWarningConfigRequest& request, const ListWarningConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListWarningConfigOutcomeCallable listWarningConfigCallable(const Model::ListWarningConfigRequest& request) const;
OpenServiceOutcome openService(const Model::OpenServiceRequest &request)const;
void openServiceAsync(const Model::OpenServiceRequest& request, const OpenServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenServiceOutcomeCallable openServiceCallable(const Model::OpenServiceRequest& request) const;
RegisterNoticeOutcome registerNotice(const Model::RegisterNoticeRequest &request)const;
void registerNoticeAsync(const Model::RegisterNoticeRequest& request, const RegisterNoticeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterNoticeOutcomeCallable registerNoticeCallable(const Model::RegisterNoticeRequest& request) const;
RestartAsrTaskOutcome restartAsrTask(const Model::RestartAsrTaskRequest &request)const;
void restartAsrTaskAsync(const Model::RestartAsrTaskRequest& request, const RestartAsrTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestartAsrTaskOutcomeCallable restartAsrTaskCallable(const Model::RestartAsrTaskRequest& request) const;
RetrySubmitAsrOutcome retrySubmitAsr(const Model::RetrySubmitAsrRequest &request)const;
void retrySubmitAsrAsync(const Model::RetrySubmitAsrRequest& request, const RetrySubmitAsrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RetrySubmitAsrOutcomeCallable retrySubmitAsrCallable(const Model::RetrySubmitAsrRequest& request) const;
SaveConfigDataSetOutcome saveConfigDataSet(const Model::SaveConfigDataSetRequest &request)const;
void saveConfigDataSetAsync(const Model::SaveConfigDataSetRequest& request, const SaveConfigDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveConfigDataSetOutcomeCallable saveConfigDataSetCallable(const Model::SaveConfigDataSetRequest& request) const;
SubmitComplaintOutcome submitComplaint(const Model::SubmitComplaintRequest &request)const;
void submitComplaintAsync(const Model::SubmitComplaintRequest& request, const SubmitComplaintAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitComplaintOutcomeCallable submitComplaintCallable(const Model::SubmitComplaintRequest& request) const;
SubmitModelTestTaskOutcome submitModelTestTask(const Model::SubmitModelTestTaskRequest &request)const;
void submitModelTestTaskAsync(const Model::SubmitModelTestTaskRequest& request, const SubmitModelTestTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitModelTestTaskOutcomeCallable submitModelTestTaskCallable(const Model::SubmitModelTestTaskRequest& request) const;
SubmitPrecisionTaskOutcome submitPrecisionTask(const Model::SubmitPrecisionTaskRequest &request)const;
void submitPrecisionTaskAsync(const Model::SubmitPrecisionTaskRequest& request, const SubmitPrecisionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitPrecisionTaskOutcomeCallable submitPrecisionTaskCallable(const Model::SubmitPrecisionTaskRequest& request) const;
@@ -660,9 +594,6 @@ namespace AlibabaCloud
UpdateRuleOutcome updateRule(const Model::UpdateRuleRequest &request)const;
void updateRuleAsync(const Model::UpdateRuleRequest& request, const UpdateRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateRuleOutcomeCallable updateRuleCallable(const Model::UpdateRuleRequest& request) const;
UpdateRuleForAntOutcome updateRuleForAnt(const Model::UpdateRuleForAntRequest &request)const;
void updateRuleForAntAsync(const Model::UpdateRuleForAntRequest& request, const UpdateRuleForAntAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateRuleForAntOutcomeCallable updateRuleForAntCallable(const Model::UpdateRuleForAntRequest& request) const;
UpdateScoreForApiOutcome updateScoreForApi(const Model::UpdateScoreForApiRequest &request)const;
void updateScoreForApiAsync(const Model::UpdateScoreForApiRequest& request, const UpdateScoreForApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateScoreForApiOutcomeCallable updateScoreForApiCallable(const Model::UpdateScoreForApiRequest& request) const;
@@ -699,9 +630,6 @@ namespace AlibabaCloud
UploadRuleOutcome uploadRule(const Model::UploadRuleRequest &request)const;
void uploadRuleAsync(const Model::UploadRuleRequest& request, const UploadRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadRuleOutcomeCallable uploadRuleCallable(const Model::UploadRuleRequest& request) const;
ValidateRoleSetOutcome validateRoleSet(const Model::ValidateRoleSetRequest &request)const;
void validateRoleSetAsync(const Model::ValidateRoleSetRequest& request, const ValidateRoleSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateRoleSetOutcomeCallable validateRoleSetCallable(const Model::ValidateRoleSetRequest& request) const;
VerifyFileOutcome verifyFile(const Model::VerifyFileRequest &request)const;
void verifyFileAsync(const Model::VerifyFileRequest& request, const VerifyFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyFileOutcomeCallable verifyFileCallable(const Model::VerifyFileRequest& request) const;

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_CLOSESERVICEREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT CloseServiceRequest : public RpcServiceRequest
{
public:
CloseServiceRequest();
~CloseServiceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_CLOSESERVICERESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT CloseServiceResult : public ServiceResult
{
public:
CloseServiceResult();
explicit CloseServiceResult(const std::string &payload);
~CloseServiceResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICERESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_GETDATASETLISTREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetDataSetListRequest : public RpcServiceRequest
{
public:
GetDataSetListRequest();
~GetDataSetListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTREQUEST_H_

View File

@@ -1,73 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetDataSetListResult : public ServiceResult
{
public:
struct DataSet
{
std::string setDomain;
std::string setRoleArn;
std::string createTime;
int createType;
std::string updateTime;
std::string setName;
long setId;
int setNumber;
std::string setFolderName;
int channelType;
std::string setBucketName;
};
GetDataSetListResult();
explicit GetDataSetListResult(const std::string &payload);
~GetDataSetListResult();
std::string getMessage()const;
std::vector<DataSet> getData()const;
int getCount()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<DataSet> data_;
int count_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_GETRECOGNIZERESULTREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRecognizeResultRequest : public RpcServiceRequest
{
public:
GetRecognizeResultRequest();
~GetRecognizeResultRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTREQUEST_H_

View File

@@ -1,75 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_GETRECOGNIZERESULTRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRecognizeResultResult : public ServiceResult
{
public:
struct Data
{
struct Dialogue
{
std::string hourMinSec;
std::string role;
int silenceDuration;
std::string words;
long begin;
std::string beginTime;
long end;
std::string identity;
int speechRate;
int emotionValue;
};
long taskAsrRequestId;
std::vector<Dialogue> dialogues;
};
GetRecognizeResultResult();
explicit GetRecognizeResultResult(const std::string &payload);
~GetRecognizeResultResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTRESULT_H_

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string remark11;
std::string remark12;
int callType;
int dialogueSize;
std::string url;
std::string dataSetName;
std::string name;
@@ -127,11 +128,14 @@ namespace AlibabaCloud
std::vector<ResultInfo::HitResultItem> hitResult;
int score;
std::string taskName;
std::string assignmentTime;
int reviewStatus;
std::string lastDataId;
std::string reviewTimeLong;
Recording recording;
std::string errorMessage;
std::vector<ResultInfo::AsrResultItem> asrResult;
int reviewType;
};

View File

@@ -44,8 +44,16 @@ namespace AlibabaCloud
long rid;
std::string ruleName;
};
struct SkillGroupScreen
{
int symbol;
std::string value;
int dataType;
std::string name;
};
int status;
std::vector<SkillGroupConfig::RuleNameInfo> ruleList;
bool screenSwitch;
std::string modelName;
long vocabId;
int qualityCheckType;
@@ -57,6 +65,7 @@ namespace AlibabaCloud
std::string vocabName;
std::string name;
int type;
std::vector<SkillGroupConfig::SkillGroupScreen> skillGroupScreens;
std::string skillGroupName;
std::string updateTime;
long id;

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_OPENSERVICEREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT OpenServiceRequest : public RpcServiceRequest
{
public:
OpenServiceRequest();
~OpenServiceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_OPENSERVICERESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT OpenServiceResult : public ServiceResult
{
public:
OpenServiceResult();
explicit OpenServiceResult(const std::string &payload);
~OpenServiceResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICERESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_REGISTERNOTICEREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT RegisterNoticeRequest : public RpcServiceRequest
{
public:
RegisterNoticeRequest();
~RegisterNoticeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_REGISTERNOTICERESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT RegisterNoticeResult : public ServiceResult
{
public:
RegisterNoticeResult();
explicit RegisterNoticeResult(const std::string &payload);
~RegisterNoticeResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICERESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_RETRYSUBMITASRREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT RetrySubmitAsrRequest : public RpcServiceRequest
{
public:
RetrySubmitAsrRequest();
~RetrySubmitAsrRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_RETRYSUBMITASRRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT RetrySubmitAsrResult : public ServiceResult
{
public:
RetrySubmitAsrResult();
explicit RetrySubmitAsrResult(const std::string &payload);
~RetrySubmitAsrResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitModelTestTaskRequest : public RpcServiceRequest
{
public:
SubmitModelTestTaskRequest();
~SubmitModelTestTaskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKREQUEST_H_

View File

@@ -1,62 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitModelTestTaskResult : public ServiceResult
{
public:
struct Data
{
std::string taskId;
int taskType;
};
SubmitModelTestTaskResult();
explicit SubmitModelTestTaskResult(const std::string &payload);
~SubmitModelTestTaskResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_UPDATERULEFORANTREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateRuleForAntRequest : public RpcServiceRequest
{
public:
UpdateRuleForAntRequest();
~UpdateRuleForAntRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateRuleForAntResult : public ServiceResult
{
public:
UpdateRuleForAntResult();
explicit UpdateRuleForAntResult(const std::string &payload);
~UpdateRuleForAntResult();
std::string getMessage()const;
std::vector<std::string> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<std::string> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_VALIDATEROLESETREQUEST_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT ValidateRoleSetRequest : public RpcServiceRequest
{
public:
ValidateRoleSetRequest();
~ValidateRoleSetRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getJsonStr()const;
void setJsonStr(const std::string& jsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string jsonStr_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETREQUEST_H_

View File

@@ -1,67 +0,0 @@
/*
* 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_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_
#define ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
namespace AlibabaCloud
{
namespace Qualitycheck
{
namespace Model
{
class ALIBABACLOUD_QUALITYCHECK_EXPORT ValidateRoleSetResult : public ServiceResult
{
public:
struct SentenceResult
{
long endTime;
int silenceDuration;
long beginTime;
std::string text;
int channelId;
int speechRate;
int emotionValue;
};
ValidateRoleSetResult();
explicit ValidateRoleSetResult(const std::string &payload);
~ValidateRoleSetResult();
std::string getMessage()const;
std::vector<SentenceResult> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<SentenceResult> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_

View File

@@ -195,42 +195,6 @@ QualitycheckClient::AssignReviewerOutcomeCallable QualitycheckClient::assignRevi
return task->get_future();
}
QualitycheckClient::CloseServiceOutcome QualitycheckClient::closeService(const CloseServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CloseServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CloseServiceOutcome(CloseServiceResult(outcome.result()));
else
return CloseServiceOutcome(outcome.error());
}
void QualitycheckClient::closeServiceAsync(const CloseServiceRequest& request, const CloseServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, closeService(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::CloseServiceOutcomeCallable QualitycheckClient::closeServiceCallable(const CloseServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CloseServiceOutcome()>>(
[this, request]()
{
return this->closeService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::CreateAsrVocabOutcome QualitycheckClient::createAsrVocab(const CreateAsrVocabRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1023,42 +987,6 @@ QualitycheckClient::GetCustomizationConfigListOutcomeCallable QualitycheckClient
return task->get_future();
}
QualitycheckClient::GetDataSetListOutcome QualitycheckClient::getDataSetList(const GetDataSetListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetDataSetListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetDataSetListOutcome(GetDataSetListResult(outcome.result()));
else
return GetDataSetListOutcome(outcome.error());
}
void QualitycheckClient::getDataSetListAsync(const GetDataSetListRequest& request, const GetDataSetListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getDataSetList(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::GetDataSetListOutcomeCallable QualitycheckClient::getDataSetListCallable(const GetDataSetListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetDataSetListOutcome()>>(
[this, request]()
{
return this->getDataSetList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::GetHitResultOutcome QualitycheckClient::getHitResult(const GetHitResultRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1167,42 +1095,6 @@ QualitycheckClient::GetPrecisionTaskOutcomeCallable QualitycheckClient::getPreci
return task->get_future();
}
QualitycheckClient::GetRecognizeResultOutcome QualitycheckClient::getRecognizeResult(const GetRecognizeResultRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetRecognizeResultOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetRecognizeResultOutcome(GetRecognizeResultResult(outcome.result()));
else
return GetRecognizeResultOutcome(outcome.error());
}
void QualitycheckClient::getRecognizeResultAsync(const GetRecognizeResultRequest& request, const GetRecognizeResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getRecognizeResult(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::GetRecognizeResultOutcomeCallable QualitycheckClient::getRecognizeResultCallable(const GetRecognizeResultRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetRecognizeResultOutcome()>>(
[this, request]()
{
return this->getRecognizeResult(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::GetResultOutcome QualitycheckClient::getResult(const GetResultRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2031,78 +1923,6 @@ QualitycheckClient::ListWarningConfigOutcomeCallable QualitycheckClient::listWar
return task->get_future();
}
QualitycheckClient::OpenServiceOutcome QualitycheckClient::openService(const OpenServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return OpenServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return OpenServiceOutcome(OpenServiceResult(outcome.result()));
else
return OpenServiceOutcome(outcome.error());
}
void QualitycheckClient::openServiceAsync(const OpenServiceRequest& request, const OpenServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, openService(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::OpenServiceOutcomeCallable QualitycheckClient::openServiceCallable(const OpenServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<OpenServiceOutcome()>>(
[this, request]()
{
return this->openService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::RegisterNoticeOutcome QualitycheckClient::registerNotice(const RegisterNoticeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RegisterNoticeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RegisterNoticeOutcome(RegisterNoticeResult(outcome.result()));
else
return RegisterNoticeOutcome(outcome.error());
}
void QualitycheckClient::registerNoticeAsync(const RegisterNoticeRequest& request, const RegisterNoticeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, registerNotice(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::RegisterNoticeOutcomeCallable QualitycheckClient::registerNoticeCallable(const RegisterNoticeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RegisterNoticeOutcome()>>(
[this, request]()
{
return this->registerNotice(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::RestartAsrTaskOutcome QualitycheckClient::restartAsrTask(const RestartAsrTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2139,42 +1959,6 @@ QualitycheckClient::RestartAsrTaskOutcomeCallable QualitycheckClient::restartAsr
return task->get_future();
}
QualitycheckClient::RetrySubmitAsrOutcome QualitycheckClient::retrySubmitAsr(const RetrySubmitAsrRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RetrySubmitAsrOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RetrySubmitAsrOutcome(RetrySubmitAsrResult(outcome.result()));
else
return RetrySubmitAsrOutcome(outcome.error());
}
void QualitycheckClient::retrySubmitAsrAsync(const RetrySubmitAsrRequest& request, const RetrySubmitAsrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, retrySubmitAsr(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::RetrySubmitAsrOutcomeCallable QualitycheckClient::retrySubmitAsrCallable(const RetrySubmitAsrRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RetrySubmitAsrOutcome()>>(
[this, request]()
{
return this->retrySubmitAsr(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::SaveConfigDataSetOutcome QualitycheckClient::saveConfigDataSet(const SaveConfigDataSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2247,42 +2031,6 @@ QualitycheckClient::SubmitComplaintOutcomeCallable QualitycheckClient::submitCom
return task->get_future();
}
QualitycheckClient::SubmitModelTestTaskOutcome QualitycheckClient::submitModelTestTask(const SubmitModelTestTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SubmitModelTestTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SubmitModelTestTaskOutcome(SubmitModelTestTaskResult(outcome.result()));
else
return SubmitModelTestTaskOutcome(outcome.error());
}
void QualitycheckClient::submitModelTestTaskAsync(const SubmitModelTestTaskRequest& request, const SubmitModelTestTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, submitModelTestTask(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::SubmitModelTestTaskOutcomeCallable QualitycheckClient::submitModelTestTaskCallable(const SubmitModelTestTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SubmitModelTestTaskOutcome()>>(
[this, request]()
{
return this->submitModelTestTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::SubmitPrecisionTaskOutcome QualitycheckClient::submitPrecisionTask(const SubmitPrecisionTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2499,42 +2247,6 @@ QualitycheckClient::UpdateRuleOutcomeCallable QualitycheckClient::updateRuleCall
return task->get_future();
}
QualitycheckClient::UpdateRuleForAntOutcome QualitycheckClient::updateRuleForAnt(const UpdateRuleForAntRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateRuleForAntOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateRuleForAntOutcome(UpdateRuleForAntResult(outcome.result()));
else
return UpdateRuleForAntOutcome(outcome.error());
}
void QualitycheckClient::updateRuleForAntAsync(const UpdateRuleForAntRequest& request, const UpdateRuleForAntAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateRuleForAnt(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::UpdateRuleForAntOutcomeCallable QualitycheckClient::updateRuleForAntCallable(const UpdateRuleForAntRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateRuleForAntOutcome()>>(
[this, request]()
{
return this->updateRuleForAnt(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::UpdateScoreForApiOutcome QualitycheckClient::updateScoreForApi(const UpdateScoreForApiRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2967,42 +2679,6 @@ QualitycheckClient::UploadRuleOutcomeCallable QualitycheckClient::uploadRuleCall
return task->get_future();
}
QualitycheckClient::ValidateRoleSetOutcome QualitycheckClient::validateRoleSet(const ValidateRoleSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ValidateRoleSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ValidateRoleSetOutcome(ValidateRoleSetResult(outcome.result()));
else
return ValidateRoleSetOutcome(outcome.error());
}
void QualitycheckClient::validateRoleSetAsync(const ValidateRoleSetRequest& request, const ValidateRoleSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, validateRoleSet(request), context);
};
asyncExecute(new Runnable(fn));
}
QualitycheckClient::ValidateRoleSetOutcomeCallable QualitycheckClient::validateRoleSetCallable(const ValidateRoleSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ValidateRoleSetOutcome()>>(
[this, request]()
{
return this->validateRoleSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
QualitycheckClient::VerifyFileOutcome QualitycheckClient::verifyFile(const VerifyFileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/CloseServiceRequest.h>
using AlibabaCloud::Qualitycheck::Model::CloseServiceRequest;
CloseServiceRequest::CloseServiceRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "CloseService")
{
setMethod(HttpRequest::Method::Post);
}
CloseServiceRequest::~CloseServiceRequest()
{}
long CloseServiceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CloseServiceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CloseServiceRequest::getJsonStr()const
{
return jsonStr_;
}
void CloseServiceRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string CloseServiceRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CloseServiceRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/CloseServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
CloseServiceResult::CloseServiceResult() :
ServiceResult()
{}
CloseServiceResult::CloseServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CloseServiceResult::~CloseServiceResult()
{}
void CloseServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string CloseServiceResult::getMessage()const
{
return message_;
}
std::string CloseServiceResult::getCode()const
{
return code_;
}
bool CloseServiceResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/GetDataSetListRequest.h>
using AlibabaCloud::Qualitycheck::Model::GetDataSetListRequest;
GetDataSetListRequest::GetDataSetListRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "GetDataSetList")
{
setMethod(HttpRequest::Method::Post);
}
GetDataSetListRequest::~GetDataSetListRequest()
{}
long GetDataSetListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetDataSetListRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetDataSetListRequest::getJsonStr()const
{
return jsonStr_;
}
void GetDataSetListRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string GetDataSetListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetDataSetListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,105 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/GetDataSetListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
GetDataSetListResult::GetDataSetListResult() :
ServiceResult()
{}
GetDataSetListResult::GetDataSetListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDataSetListResult::~GetDataSetListResult()
{}
void GetDataSetListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataSet"];
for (auto valueDataDataSet : allDataNode)
{
DataSet dataObject;
if(!valueDataDataSet["SetId"].isNull())
dataObject.setId = std::stol(valueDataDataSet["SetId"].asString());
if(!valueDataDataSet["SetName"].isNull())
dataObject.setName = valueDataDataSet["SetName"].asString();
if(!valueDataDataSet["SetDomain"].isNull())
dataObject.setDomain = valueDataDataSet["SetDomain"].asString();
if(!valueDataDataSet["SetRoleArn"].isNull())
dataObject.setRoleArn = valueDataDataSet["SetRoleArn"].asString();
if(!valueDataDataSet["SetBucketName"].isNull())
dataObject.setBucketName = valueDataDataSet["SetBucketName"].asString();
if(!valueDataDataSet["SetFolderName"].isNull())
dataObject.setFolderName = valueDataDataSet["SetFolderName"].asString();
if(!valueDataDataSet["ChannelType"].isNull())
dataObject.channelType = std::stoi(valueDataDataSet["ChannelType"].asString());
if(!valueDataDataSet["CreateType"].isNull())
dataObject.createType = std::stoi(valueDataDataSet["CreateType"].asString());
if(!valueDataDataSet["CreateTime"].isNull())
dataObject.createTime = valueDataDataSet["CreateTime"].asString();
if(!valueDataDataSet["UpdateTime"].isNull())
dataObject.updateTime = valueDataDataSet["UpdateTime"].asString();
if(!valueDataDataSet["SetNumber"].isNull())
dataObject.setNumber = std::stoi(valueDataDataSet["SetNumber"].asString());
data_.push_back(dataObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Count"].isNull())
count_ = std::stoi(value["Count"].asString());
}
std::string GetDataSetListResult::getMessage()const
{
return message_;
}
std::vector<GetDataSetListResult::DataSet> GetDataSetListResult::getData()const
{
return data_;
}
int GetDataSetListResult::getCount()const
{
return count_;
}
std::string GetDataSetListResult::getCode()const
{
return code_;
}
bool GetDataSetListResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/GetRecognizeResultRequest.h>
using AlibabaCloud::Qualitycheck::Model::GetRecognizeResultRequest;
GetRecognizeResultRequest::GetRecognizeResultRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "GetRecognizeResult")
{
setMethod(HttpRequest::Method::Post);
}
GetRecognizeResultRequest::~GetRecognizeResultRequest()
{}
long GetRecognizeResultRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetRecognizeResultRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetRecognizeResultRequest::getJsonStr()const
{
return jsonStr_;
}
void GetRecognizeResultRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string GetRecognizeResultRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetRecognizeResultRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,99 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/GetRecognizeResultResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
GetRecognizeResultResult::GetRecognizeResultResult() :
ServiceResult()
{}
GetRecognizeResultResult::GetRecognizeResultResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRecognizeResultResult::~GetRecognizeResultResult()
{}
void GetRecognizeResultResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TaskAsrRequestId"].isNull())
data_.taskAsrRequestId = std::stol(dataNode["TaskAsrRequestId"].asString());
auto allDialoguesNode = dataNode["Dialogues"]["Dialogue"];
for (auto dataNodeDialoguesDialogue : allDialoguesNode)
{
Data::Dialogue dialogueObject;
if(!dataNodeDialoguesDialogue["Begin"].isNull())
dialogueObject.begin = std::stol(dataNodeDialoguesDialogue["Begin"].asString());
if(!dataNodeDialoguesDialogue["BeginTime"].isNull())
dialogueObject.beginTime = dataNodeDialoguesDialogue["BeginTime"].asString();
if(!dataNodeDialoguesDialogue["EmotionValue"].isNull())
dialogueObject.emotionValue = std::stoi(dataNodeDialoguesDialogue["EmotionValue"].asString());
if(!dataNodeDialoguesDialogue["End"].isNull())
dialogueObject.end = std::stol(dataNodeDialoguesDialogue["End"].asString());
if(!dataNodeDialoguesDialogue["HourMinSec"].isNull())
dialogueObject.hourMinSec = dataNodeDialoguesDialogue["HourMinSec"].asString();
if(!dataNodeDialoguesDialogue["Identity"].isNull())
dialogueObject.identity = dataNodeDialoguesDialogue["Identity"].asString();
if(!dataNodeDialoguesDialogue["Role"].isNull())
dialogueObject.role = dataNodeDialoguesDialogue["Role"].asString();
if(!dataNodeDialoguesDialogue["SilenceDuration"].isNull())
dialogueObject.silenceDuration = std::stoi(dataNodeDialoguesDialogue["SilenceDuration"].asString());
if(!dataNodeDialoguesDialogue["SpeechRate"].isNull())
dialogueObject.speechRate = std::stoi(dataNodeDialoguesDialogue["SpeechRate"].asString());
if(!dataNodeDialoguesDialogue["Words"].isNull())
dialogueObject.words = dataNodeDialoguesDialogue["Words"].asString();
data_.dialogues.push_back(dialogueObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetRecognizeResultResult::getMessage()const
{
return message_;
}
GetRecognizeResultResult::Data GetRecognizeResultResult::getData()const
{
return data_;
}
std::string GetRecognizeResultResult::getCode()const
{
return code_;
}
bool GetRecognizeResultResult::getSuccess()const
{
return success_;
}

View File

@@ -71,6 +71,12 @@ void GetResultResult::parse(const std::string &payload)
dataObject.createTimeLong = valueDataResultInfo["CreateTimeLong"].asString();
if(!valueDataResultInfo["ReviewTimeLong"].isNull())
dataObject.reviewTimeLong = valueDataResultInfo["ReviewTimeLong"].asString();
if(!valueDataResultInfo["ReviewType"].isNull())
dataObject.reviewType = std::stoi(valueDataResultInfo["ReviewType"].asString());
if(!valueDataResultInfo["AssignmentTime"].isNull())
dataObject.assignmentTime = valueDataResultInfo["AssignmentTime"].asString();
if(!valueDataResultInfo["LastDataId"].isNull())
dataObject.lastDataId = valueDataResultInfo["LastDataId"].asString();
auto allAsrResultNode = valueDataResultInfo["AsrResult"]["AsrResultItem"];
for (auto valueDataResultInfoAsrResultAsrResultItem : allAsrResultNode)
{
@@ -202,6 +208,8 @@ void GetResultResult::parse(const std::string &payload)
dataObject.recording.remark12 = recordingNode["Remark12"].asString();
if(!recordingNode["Remark13"].isNull())
dataObject.recording.remark13 = recordingNode["Remark13"].asString();
if(!recordingNode["DialogueSize"].isNull())
dataObject.recording.dialogueSize = std::stoi(recordingNode["DialogueSize"].asString());
auto agentNode = value["Agent"];
if(!agentNode["Id"].isNull())
dataObject.agent.id = agentNode["Id"].asString();

View File

@@ -79,6 +79,8 @@ void ListSkillGroupConfigResult::parse(const std::string &payload)
dataObject.allRids = valueDataSkillGroupConfig["AllRids"].asString();
if(!valueDataSkillGroupConfig["SkillGroupFrom"].isNull())
dataObject.skillGroupFrom = std::stoi(valueDataSkillGroupConfig["SkillGroupFrom"].asString());
if(!valueDataSkillGroupConfig["ScreenSwitch"].isNull())
dataObject.screenSwitch = valueDataSkillGroupConfig["ScreenSwitch"].asString() == "true";
auto allRuleListNode = valueDataSkillGroupConfig["RuleList"]["RuleNameInfo"];
for (auto valueDataSkillGroupConfigRuleListRuleNameInfo : allRuleListNode)
{
@@ -99,6 +101,20 @@ void ListSkillGroupConfigResult::parse(const std::string &payload)
allRuleListObject.ruleName = valueDataSkillGroupConfigAllRuleListRuleNameInfo["RuleName"].asString();
dataObject.allRuleList.push_back(allRuleListObject);
}
auto allSkillGroupScreensNode = valueDataSkillGroupConfig["SkillGroupScreens"]["SkillGroupScreen"];
for (auto valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen : allSkillGroupScreensNode)
{
SkillGroupConfig::SkillGroupScreen skillGroupScreensObject;
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Name"].isNull())
skillGroupScreensObject.name = valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Name"].asString();
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["DataType"].isNull())
skillGroupScreensObject.dataType = std::stoi(valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["DataType"].asString());
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Symbol"].isNull())
skillGroupScreensObject.symbol = std::stoi(valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Symbol"].asString());
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Value"].isNull())
skillGroupScreensObject.value = valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Value"].asString();
dataObject.skillGroupScreens.push_back(skillGroupScreensObject);
}
data_.push_back(dataObject);
}
if(!value["Success"].isNull())

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/OpenServiceRequest.h>
using AlibabaCloud::Qualitycheck::Model::OpenServiceRequest;
OpenServiceRequest::OpenServiceRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "OpenService")
{
setMethod(HttpRequest::Method::Post);
}
OpenServiceRequest::~OpenServiceRequest()
{}
long OpenServiceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void OpenServiceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string OpenServiceRequest::getJsonStr()const
{
return jsonStr_;
}
void OpenServiceRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string OpenServiceRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void OpenServiceRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/OpenServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
OpenServiceResult::OpenServiceResult() :
ServiceResult()
{}
OpenServiceResult::OpenServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
OpenServiceResult::~OpenServiceResult()
{}
void OpenServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string OpenServiceResult::getMessage()const
{
return message_;
}
std::string OpenServiceResult::getCode()const
{
return code_;
}
bool OpenServiceResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/RegisterNoticeRequest.h>
using AlibabaCloud::Qualitycheck::Model::RegisterNoticeRequest;
RegisterNoticeRequest::RegisterNoticeRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "RegisterNotice")
{
setMethod(HttpRequest::Method::Post);
}
RegisterNoticeRequest::~RegisterNoticeRequest()
{}
long RegisterNoticeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void RegisterNoticeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string RegisterNoticeRequest::getJsonStr()const
{
return jsonStr_;
}
void RegisterNoticeRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string RegisterNoticeRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void RegisterNoticeRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/RegisterNoticeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
RegisterNoticeResult::RegisterNoticeResult() :
ServiceResult()
{}
RegisterNoticeResult::RegisterNoticeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RegisterNoticeResult::~RegisterNoticeResult()
{}
void RegisterNoticeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string RegisterNoticeResult::getMessage()const
{
return message_;
}
std::string RegisterNoticeResult::getCode()const
{
return code_;
}
bool RegisterNoticeResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/RetrySubmitAsrRequest.h>
using AlibabaCloud::Qualitycheck::Model::RetrySubmitAsrRequest;
RetrySubmitAsrRequest::RetrySubmitAsrRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "RetrySubmitAsr")
{
setMethod(HttpRequest::Method::Post);
}
RetrySubmitAsrRequest::~RetrySubmitAsrRequest()
{}
long RetrySubmitAsrRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void RetrySubmitAsrRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string RetrySubmitAsrRequest::getJsonStr()const
{
return jsonStr_;
}
void RetrySubmitAsrRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string RetrySubmitAsrRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void RetrySubmitAsrRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
RetrySubmitAsrResult::RetrySubmitAsrResult() :
ServiceResult()
{}
RetrySubmitAsrResult::RetrySubmitAsrResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RetrySubmitAsrResult::~RetrySubmitAsrResult()
{}
void RetrySubmitAsrResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string RetrySubmitAsrResult::getMessage()const
{
return message_;
}
std::string RetrySubmitAsrResult::getData()const
{
return data_;
}
std::string RetrySubmitAsrResult::getCode()const
{
return code_;
}
bool RetrySubmitAsrResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/SubmitModelTestTaskRequest.h>
using AlibabaCloud::Qualitycheck::Model::SubmitModelTestTaskRequest;
SubmitModelTestTaskRequest::SubmitModelTestTaskRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "SubmitModelTestTask")
{
setMethod(HttpRequest::Method::Post);
}
SubmitModelTestTaskRequest::~SubmitModelTestTaskRequest()
{}
long SubmitModelTestTaskRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void SubmitModelTestTaskRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string SubmitModelTestTaskRequest::getJsonStr()const
{
return jsonStr_;
}
void SubmitModelTestTaskRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string SubmitModelTestTaskRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void SubmitModelTestTaskRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,75 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/SubmitModelTestTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
SubmitModelTestTaskResult::SubmitModelTestTaskResult() :
ServiceResult()
{}
SubmitModelTestTaskResult::SubmitModelTestTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SubmitModelTestTaskResult::~SubmitModelTestTaskResult()
{}
void SubmitModelTestTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TaskId"].isNull())
data_.taskId = dataNode["TaskId"].asString();
if(!dataNode["TaskType"].isNull())
data_.taskType = std::stoi(dataNode["TaskType"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string SubmitModelTestTaskResult::getMessage()const
{
return message_;
}
SubmitModelTestTaskResult::Data SubmitModelTestTaskResult::getData()const
{
return data_;
}
std::string SubmitModelTestTaskResult::getCode()const
{
return code_;
}
bool SubmitModelTestTaskResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/UpdateRuleForAntRequest.h>
using AlibabaCloud::Qualitycheck::Model::UpdateRuleForAntRequest;
UpdateRuleForAntRequest::UpdateRuleForAntRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateRuleForAnt")
{
setMethod(HttpRequest::Method::Post);
}
UpdateRuleForAntRequest::~UpdateRuleForAntRequest()
{}
long UpdateRuleForAntRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void UpdateRuleForAntRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string UpdateRuleForAntRequest::getJsonStr()const
{
return jsonStr_;
}
void UpdateRuleForAntRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string UpdateRuleForAntRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void UpdateRuleForAntRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/UpdateRuleForAntResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
UpdateRuleForAntResult::UpdateRuleForAntResult() :
ServiceResult()
{}
UpdateRuleForAntResult::UpdateRuleForAntResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateRuleForAntResult::~UpdateRuleForAntResult()
{}
void UpdateRuleForAntResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["RidInfo"];
for (const auto &item : allData)
data_.push_back(item.asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string UpdateRuleForAntResult::getMessage()const
{
return message_;
}
std::vector<std::string> UpdateRuleForAntResult::getData()const
{
return data_;
}
std::string UpdateRuleForAntResult::getCode()const
{
return code_;
}
bool UpdateRuleForAntResult::getSuccess()const
{
return success_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/ValidateRoleSetRequest.h>
using AlibabaCloud::Qualitycheck::Model::ValidateRoleSetRequest;
ValidateRoleSetRequest::ValidateRoleSetRequest() :
RpcServiceRequest("qualitycheck", "2019-01-15", "ValidateRoleSet")
{
setMethod(HttpRequest::Method::Post);
}
ValidateRoleSetRequest::~ValidateRoleSetRequest()
{}
long ValidateRoleSetRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ValidateRoleSetRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ValidateRoleSetRequest::getJsonStr()const
{
return jsonStr_;
}
void ValidateRoleSetRequest::setJsonStr(const std::string& jsonStr)
{
jsonStr_ = jsonStr;
setParameter("JsonStr", jsonStr);
}
std::string ValidateRoleSetRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ValidateRoleSetRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,90 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/qualitycheck/model/ValidateRoleSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Qualitycheck;
using namespace AlibabaCloud::Qualitycheck::Model;
ValidateRoleSetResult::ValidateRoleSetResult() :
ServiceResult()
{}
ValidateRoleSetResult::ValidateRoleSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ValidateRoleSetResult::~ValidateRoleSetResult()
{}
void ValidateRoleSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["SentenceResult"];
for (auto valueDataSentenceResult : allDataNode)
{
SentenceResult dataObject;
if(!valueDataSentenceResult["BeginTime"].isNull())
dataObject.beginTime = std::stol(valueDataSentenceResult["BeginTime"].asString());
if(!valueDataSentenceResult["ChannelId"].isNull())
dataObject.channelId = std::stoi(valueDataSentenceResult["ChannelId"].asString());
if(!valueDataSentenceResult["EndTime"].isNull())
dataObject.endTime = std::stol(valueDataSentenceResult["EndTime"].asString());
if(!valueDataSentenceResult["Text"].isNull())
dataObject.text = valueDataSentenceResult["Text"].asString();
if(!valueDataSentenceResult["EmotionValue"].isNull())
dataObject.emotionValue = std::stoi(valueDataSentenceResult["EmotionValue"].asString());
if(!valueDataSentenceResult["SilenceDuration"].isNull())
dataObject.silenceDuration = std::stoi(valueDataSentenceResult["SilenceDuration"].asString());
if(!valueDataSentenceResult["SpeechRate"].isNull())
dataObject.speechRate = std::stoi(valueDataSentenceResult["SpeechRate"].asString());
data_.push_back(dataObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string ValidateRoleSetResult::getMessage()const
{
return message_;
}
std::vector<ValidateRoleSetResult::SentenceResult> ValidateRoleSetResult::getData()const
{
return data_;
}
std::string ValidateRoleSetResult::getCode()const
{
return code_;
}
bool ValidateRoleSetResult::getSuccess()const
{
return success_;
}