diff --git a/CHANGELOG b/CHANGELOG index 193a39afc..e1736f4d4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-12-03 Version: patch +- Add new api. + 2020-12-03 Version: patch - Supported all language sdk. - Fixed some bugs for polardbx. diff --git a/qualitycheck/CMakeLists.txt b/qualitycheck/CMakeLists.txt new file mode 100644 index 000000000..1bebf88a4 --- /dev/null +++ b/qualitycheck/CMakeLists.txt @@ -0,0 +1,418 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(qualitycheck_public_header + include/alibabacloud/qualitycheck/QualitycheckClient.h + include/alibabacloud/qualitycheck/QualitycheckExport.h ) + +set(qualitycheck_public_header_model + include/alibabacloud/qualitycheck/model/AddBusinessCategoryRequest.h + include/alibabacloud/qualitycheck/model/AddBusinessCategoryResult.h + include/alibabacloud/qualitycheck/model/AddRuleCategoryRequest.h + include/alibabacloud/qualitycheck/model/AddRuleCategoryResult.h + include/alibabacloud/qualitycheck/model/AddThesaurusForApiRequest.h + 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 + include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigResult.h + include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleRequest.h + include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleResult.h + include/alibabacloud/qualitycheck/model/CreateUserRequest.h + include/alibabacloud/qualitycheck/model/CreateUserResult.h + include/alibabacloud/qualitycheck/model/CreateWarningConfigRequest.h + include/alibabacloud/qualitycheck/model/CreateWarningConfigResult.h + include/alibabacloud/qualitycheck/model/DelRuleCategoryRequest.h + include/alibabacloud/qualitycheck/model/DelRuleCategoryResult.h + include/alibabacloud/qualitycheck/model/DelThesaurusForApiRequest.h + include/alibabacloud/qualitycheck/model/DelThesaurusForApiResult.h + include/alibabacloud/qualitycheck/model/DeleteAsrVocabRequest.h + include/alibabacloud/qualitycheck/model/DeleteAsrVocabResult.h + include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryRequest.h + include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryResult.h + include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigRequest.h + include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigResult.h + include/alibabacloud/qualitycheck/model/DeleteDataSetRequest.h + include/alibabacloud/qualitycheck/model/DeleteDataSetResult.h + include/alibabacloud/qualitycheck/model/DeletePrecisionTaskRequest.h + include/alibabacloud/qualitycheck/model/DeletePrecisionTaskResult.h + include/alibabacloud/qualitycheck/model/DeleteScoreForApiRequest.h + include/alibabacloud/qualitycheck/model/DeleteScoreForApiResult.h + include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigRequest.h + include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigResult.h + include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiRequest.h + include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiResult.h + include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleRequest.h + include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleResult.h + include/alibabacloud/qualitycheck/model/DeleteUserRequest.h + include/alibabacloud/qualitycheck/model/DeleteUserResult.h + include/alibabacloud/qualitycheck/model/DeleteWarningConfigRequest.h + include/alibabacloud/qualitycheck/model/DeleteWarningConfigResult.h + include/alibabacloud/qualitycheck/model/EditThesaurusForApiRequest.h + include/alibabacloud/qualitycheck/model/EditThesaurusForApiResult.h + include/alibabacloud/qualitycheck/model/GetAsrVocabRequest.h + include/alibabacloud/qualitycheck/model/GetAsrVocabResult.h + include/alibabacloud/qualitycheck/model/GetBusinessCategoryListRequest.h + 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 + include/alibabacloud/qualitycheck/model/GetResultCallbackResult.h + include/alibabacloud/qualitycheck/model/GetResultToReviewRequest.h + include/alibabacloud/qualitycheck/model/GetResultToReviewResult.h + include/alibabacloud/qualitycheck/model/GetRuleRequest.h + include/alibabacloud/qualitycheck/model/GetRuleResult.h + include/alibabacloud/qualitycheck/model/GetRuleCategoryRequest.h + include/alibabacloud/qualitycheck/model/GetRuleCategoryResult.h + include/alibabacloud/qualitycheck/model/GetRuleDetailRequest.h + include/alibabacloud/qualitycheck/model/GetRuleDetailResult.h + include/alibabacloud/qualitycheck/model/GetScoreInfoRequest.h + include/alibabacloud/qualitycheck/model/GetScoreInfoResult.h + include/alibabacloud/qualitycheck/model/GetSkillGroupConfigRequest.h + include/alibabacloud/qualitycheck/model/GetSkillGroupConfigResult.h + include/alibabacloud/qualitycheck/model/GetSyncResultRequest.h + include/alibabacloud/qualitycheck/model/GetSyncResultResult.h + include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiRequest.h + include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiResult.h + include/alibabacloud/qualitycheck/model/HandleComplaintRequest.h + include/alibabacloud/qualitycheck/model/HandleComplaintResult.h + include/alibabacloud/qualitycheck/model/InsertScoreForApiRequest.h + include/alibabacloud/qualitycheck/model/InsertScoreForApiResult.h + include/alibabacloud/qualitycheck/model/InsertSubScoreForApiRequest.h + include/alibabacloud/qualitycheck/model/InsertSubScoreForApiResult.h + include/alibabacloud/qualitycheck/model/InvalidRuleRequest.h + include/alibabacloud/qualitycheck/model/InvalidRuleResult.h + include/alibabacloud/qualitycheck/model/ListAsrVocabRequest.h + include/alibabacloud/qualitycheck/model/ListAsrVocabResult.h + include/alibabacloud/qualitycheck/model/ListHotWordsTasksRequest.h + include/alibabacloud/qualitycheck/model/ListHotWordsTasksResult.h + include/alibabacloud/qualitycheck/model/ListPrecisionTaskRequest.h + include/alibabacloud/qualitycheck/model/ListPrecisionTaskResult.h + include/alibabacloud/qualitycheck/model/ListRolesRequest.h + include/alibabacloud/qualitycheck/model/ListRolesResult.h + include/alibabacloud/qualitycheck/model/ListRulesRequest.h + include/alibabacloud/qualitycheck/model/ListRulesResult.h + include/alibabacloud/qualitycheck/model/ListSkillGroupConfigRequest.h + include/alibabacloud/qualitycheck/model/ListSkillGroupConfigResult.h + include/alibabacloud/qualitycheck/model/ListTaskAssignRulesRequest.h + include/alibabacloud/qualitycheck/model/ListTaskAssignRulesResult.h + include/alibabacloud/qualitycheck/model/ListUsersRequest.h + 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 + include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskResult.h + include/alibabacloud/qualitycheck/model/SubmitReviewInfoRequest.h + include/alibabacloud/qualitycheck/model/SubmitReviewInfoResult.h + include/alibabacloud/qualitycheck/model/SyncQualityCheckRequest.h + include/alibabacloud/qualitycheck/model/SyncQualityCheckResult.h + include/alibabacloud/qualitycheck/model/UpdateAsrVocabRequest.h + 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 + include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigResult.h + include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiRequest.h + include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiResult.h + include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataRequest.h + include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataResult.h + include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleRequest.h + include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleResult.h + include/alibabacloud/qualitycheck/model/UpdateUserRequest.h + include/alibabacloud/qualitycheck/model/UpdateUserResult.h + include/alibabacloud/qualitycheck/model/UpdateUserConfigRequest.h + include/alibabacloud/qualitycheck/model/UpdateUserConfigResult.h + include/alibabacloud/qualitycheck/model/UpdateWarningConfigRequest.h + include/alibabacloud/qualitycheck/model/UpdateWarningConfigResult.h + include/alibabacloud/qualitycheck/model/UploadAudioDataRequest.h + include/alibabacloud/qualitycheck/model/UploadAudioDataResult.h + include/alibabacloud/qualitycheck/model/UploadDataRequest.h + include/alibabacloud/qualitycheck/model/UploadDataResult.h + include/alibabacloud/qualitycheck/model/UploadDataSyncRequest.h + 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 + include/alibabacloud/qualitycheck/model/VerifySentenceResult.h ) + +set(qualitycheck_src + src/QualitycheckClient.cc + src/model/AddBusinessCategoryRequest.cc + src/model/AddBusinessCategoryResult.cc + src/model/AddRuleCategoryRequest.cc + src/model/AddRuleCategoryResult.cc + src/model/AddThesaurusForApiRequest.cc + 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 + src/model/CreateSkillGroupConfigResult.cc + src/model/CreateTaskAssignRuleRequest.cc + src/model/CreateTaskAssignRuleResult.cc + src/model/CreateUserRequest.cc + src/model/CreateUserResult.cc + src/model/CreateWarningConfigRequest.cc + src/model/CreateWarningConfigResult.cc + src/model/DelRuleCategoryRequest.cc + src/model/DelRuleCategoryResult.cc + src/model/DelThesaurusForApiRequest.cc + src/model/DelThesaurusForApiResult.cc + src/model/DeleteAsrVocabRequest.cc + src/model/DeleteAsrVocabResult.cc + src/model/DeleteBusinessCategoryRequest.cc + src/model/DeleteBusinessCategoryResult.cc + src/model/DeleteCustomizationConfigRequest.cc + src/model/DeleteCustomizationConfigResult.cc + src/model/DeleteDataSetRequest.cc + src/model/DeleteDataSetResult.cc + src/model/DeletePrecisionTaskRequest.cc + src/model/DeletePrecisionTaskResult.cc + src/model/DeleteScoreForApiRequest.cc + src/model/DeleteScoreForApiResult.cc + src/model/DeleteSkillGroupConfigRequest.cc + src/model/DeleteSkillGroupConfigResult.cc + src/model/DeleteSubScoreForApiRequest.cc + src/model/DeleteSubScoreForApiResult.cc + src/model/DeleteTaskAssignRuleRequest.cc + src/model/DeleteTaskAssignRuleResult.cc + src/model/DeleteUserRequest.cc + src/model/DeleteUserResult.cc + src/model/DeleteWarningConfigRequest.cc + src/model/DeleteWarningConfigResult.cc + src/model/EditThesaurusForApiRequest.cc + src/model/EditThesaurusForApiResult.cc + src/model/GetAsrVocabRequest.cc + src/model/GetAsrVocabResult.cc + src/model/GetBusinessCategoryListRequest.cc + 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 + src/model/GetResultCallbackResult.cc + src/model/GetResultToReviewRequest.cc + src/model/GetResultToReviewResult.cc + src/model/GetRuleRequest.cc + src/model/GetRuleResult.cc + src/model/GetRuleCategoryRequest.cc + src/model/GetRuleCategoryResult.cc + src/model/GetRuleDetailRequest.cc + src/model/GetRuleDetailResult.cc + src/model/GetScoreInfoRequest.cc + src/model/GetScoreInfoResult.cc + src/model/GetSkillGroupConfigRequest.cc + src/model/GetSkillGroupConfigResult.cc + src/model/GetSyncResultRequest.cc + src/model/GetSyncResultResult.cc + src/model/GetThesaurusBySynonymForApiRequest.cc + src/model/GetThesaurusBySynonymForApiResult.cc + src/model/HandleComplaintRequest.cc + src/model/HandleComplaintResult.cc + src/model/InsertScoreForApiRequest.cc + src/model/InsertScoreForApiResult.cc + src/model/InsertSubScoreForApiRequest.cc + src/model/InsertSubScoreForApiResult.cc + src/model/InvalidRuleRequest.cc + src/model/InvalidRuleResult.cc + src/model/ListAsrVocabRequest.cc + src/model/ListAsrVocabResult.cc + src/model/ListHotWordsTasksRequest.cc + src/model/ListHotWordsTasksResult.cc + src/model/ListPrecisionTaskRequest.cc + src/model/ListPrecisionTaskResult.cc + src/model/ListRolesRequest.cc + src/model/ListRolesResult.cc + src/model/ListRulesRequest.cc + src/model/ListRulesResult.cc + src/model/ListSkillGroupConfigRequest.cc + src/model/ListSkillGroupConfigResult.cc + src/model/ListTaskAssignRulesRequest.cc + src/model/ListTaskAssignRulesResult.cc + src/model/ListUsersRequest.cc + 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 + src/model/SubmitQualityCheckTaskResult.cc + src/model/SubmitReviewInfoRequest.cc + src/model/SubmitReviewInfoResult.cc + src/model/SyncQualityCheckRequest.cc + src/model/SyncQualityCheckResult.cc + src/model/UpdateAsrVocabRequest.cc + 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 + src/model/UpdateSkillGroupConfigResult.cc + src/model/UpdateSubScoreForApiRequest.cc + src/model/UpdateSubScoreForApiResult.cc + src/model/UpdateSyncQualityCheckDataRequest.cc + src/model/UpdateSyncQualityCheckDataResult.cc + src/model/UpdateTaskAssignRuleRequest.cc + src/model/UpdateTaskAssignRuleResult.cc + src/model/UpdateUserRequest.cc + src/model/UpdateUserResult.cc + src/model/UpdateUserConfigRequest.cc + src/model/UpdateUserConfigResult.cc + src/model/UpdateWarningConfigRequest.cc + src/model/UpdateWarningConfigResult.cc + src/model/UploadAudioDataRequest.cc + src/model/UploadAudioDataResult.cc + src/model/UploadDataRequest.cc + src/model/UploadDataResult.cc + src/model/UploadDataSyncRequest.cc + 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 + src/model/VerifySentenceResult.cc ) + +add_library(qualitycheck ${LIB_TYPE} + ${qualitycheck_public_header} + ${qualitycheck_public_header_model} + ${qualitycheck_src}) + +set_target_properties(qualitycheck + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}qualitycheck + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(qualitycheck + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_QUALITYCHECK_LIBRARY) +endif() + +target_include_directories(qualitycheck + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(qualitycheck + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(qualitycheck + jsoncpp) + target_include_directories(qualitycheck + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(qualitycheck + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(qualitycheck + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(qualitycheck + PRIVATE /usr/include/jsoncpp) + target_link_libraries(qualitycheck + jsoncpp) +endif() + +install(FILES ${qualitycheck_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/qualitycheck) +install(FILES ${qualitycheck_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/qualitycheck/model) +install(TARGETS qualitycheck + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/QualitycheckClient.h b/qualitycheck/include/alibabacloud/qualitycheck/QualitycheckClient.h new file mode 100644 index 000000000..eea0dd078 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/QualitycheckClient.h @@ -0,0 +1,718 @@ +/* + * 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_QUALITYCHECKCLIENT_H_ +#define ALIBABACLOUD_QUALITYCHECK_QUALITYCHECKCLIENT_H_ + +#include +#include +#include +#include +#include "QualitycheckExport.h" +#include "model/AddBusinessCategoryRequest.h" +#include "model/AddBusinessCategoryResult.h" +#include "model/AddRuleCategoryRequest.h" +#include "model/AddRuleCategoryResult.h" +#include "model/AddThesaurusForApiRequest.h" +#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" +#include "model/CreateSkillGroupConfigResult.h" +#include "model/CreateTaskAssignRuleRequest.h" +#include "model/CreateTaskAssignRuleResult.h" +#include "model/CreateUserRequest.h" +#include "model/CreateUserResult.h" +#include "model/CreateWarningConfigRequest.h" +#include "model/CreateWarningConfigResult.h" +#include "model/DelRuleCategoryRequest.h" +#include "model/DelRuleCategoryResult.h" +#include "model/DelThesaurusForApiRequest.h" +#include "model/DelThesaurusForApiResult.h" +#include "model/DeleteAsrVocabRequest.h" +#include "model/DeleteAsrVocabResult.h" +#include "model/DeleteBusinessCategoryRequest.h" +#include "model/DeleteBusinessCategoryResult.h" +#include "model/DeleteCustomizationConfigRequest.h" +#include "model/DeleteCustomizationConfigResult.h" +#include "model/DeleteDataSetRequest.h" +#include "model/DeleteDataSetResult.h" +#include "model/DeletePrecisionTaskRequest.h" +#include "model/DeletePrecisionTaskResult.h" +#include "model/DeleteScoreForApiRequest.h" +#include "model/DeleteScoreForApiResult.h" +#include "model/DeleteSkillGroupConfigRequest.h" +#include "model/DeleteSkillGroupConfigResult.h" +#include "model/DeleteSubScoreForApiRequest.h" +#include "model/DeleteSubScoreForApiResult.h" +#include "model/DeleteTaskAssignRuleRequest.h" +#include "model/DeleteTaskAssignRuleResult.h" +#include "model/DeleteUserRequest.h" +#include "model/DeleteUserResult.h" +#include "model/DeleteWarningConfigRequest.h" +#include "model/DeleteWarningConfigResult.h" +#include "model/EditThesaurusForApiRequest.h" +#include "model/EditThesaurusForApiResult.h" +#include "model/GetAsrVocabRequest.h" +#include "model/GetAsrVocabResult.h" +#include "model/GetBusinessCategoryListRequest.h" +#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" +#include "model/GetResultCallbackResult.h" +#include "model/GetResultToReviewRequest.h" +#include "model/GetResultToReviewResult.h" +#include "model/GetRuleRequest.h" +#include "model/GetRuleResult.h" +#include "model/GetRuleCategoryRequest.h" +#include "model/GetRuleCategoryResult.h" +#include "model/GetRuleDetailRequest.h" +#include "model/GetRuleDetailResult.h" +#include "model/GetScoreInfoRequest.h" +#include "model/GetScoreInfoResult.h" +#include "model/GetSkillGroupConfigRequest.h" +#include "model/GetSkillGroupConfigResult.h" +#include "model/GetSyncResultRequest.h" +#include "model/GetSyncResultResult.h" +#include "model/GetThesaurusBySynonymForApiRequest.h" +#include "model/GetThesaurusBySynonymForApiResult.h" +#include "model/HandleComplaintRequest.h" +#include "model/HandleComplaintResult.h" +#include "model/InsertScoreForApiRequest.h" +#include "model/InsertScoreForApiResult.h" +#include "model/InsertSubScoreForApiRequest.h" +#include "model/InsertSubScoreForApiResult.h" +#include "model/InvalidRuleRequest.h" +#include "model/InvalidRuleResult.h" +#include "model/ListAsrVocabRequest.h" +#include "model/ListAsrVocabResult.h" +#include "model/ListHotWordsTasksRequest.h" +#include "model/ListHotWordsTasksResult.h" +#include "model/ListPrecisionTaskRequest.h" +#include "model/ListPrecisionTaskResult.h" +#include "model/ListRolesRequest.h" +#include "model/ListRolesResult.h" +#include "model/ListRulesRequest.h" +#include "model/ListRulesResult.h" +#include "model/ListSkillGroupConfigRequest.h" +#include "model/ListSkillGroupConfigResult.h" +#include "model/ListTaskAssignRulesRequest.h" +#include "model/ListTaskAssignRulesResult.h" +#include "model/ListUsersRequest.h" +#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" +#include "model/SubmitQualityCheckTaskResult.h" +#include "model/SubmitReviewInfoRequest.h" +#include "model/SubmitReviewInfoResult.h" +#include "model/SyncQualityCheckRequest.h" +#include "model/SyncQualityCheckResult.h" +#include "model/UpdateAsrVocabRequest.h" +#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" +#include "model/UpdateSkillGroupConfigResult.h" +#include "model/UpdateSubScoreForApiRequest.h" +#include "model/UpdateSubScoreForApiResult.h" +#include "model/UpdateSyncQualityCheckDataRequest.h" +#include "model/UpdateSyncQualityCheckDataResult.h" +#include "model/UpdateTaskAssignRuleRequest.h" +#include "model/UpdateTaskAssignRuleResult.h" +#include "model/UpdateUserRequest.h" +#include "model/UpdateUserResult.h" +#include "model/UpdateUserConfigRequest.h" +#include "model/UpdateUserConfigResult.h" +#include "model/UpdateWarningConfigRequest.h" +#include "model/UpdateWarningConfigResult.h" +#include "model/UploadAudioDataRequest.h" +#include "model/UploadAudioDataResult.h" +#include "model/UploadDataRequest.h" +#include "model/UploadDataResult.h" +#include "model/UploadDataSyncRequest.h" +#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" +#include "model/VerifySentenceResult.h" + + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT QualitycheckClient : public RpcServiceClient + { + public: + typedef Outcome AddBusinessCategoryOutcome; + typedef std::future AddBusinessCategoryOutcomeCallable; + typedef std::function&)> AddBusinessCategoryAsyncHandler; + typedef Outcome AddRuleCategoryOutcome; + typedef std::future AddRuleCategoryOutcomeCallable; + typedef std::function&)> AddRuleCategoryAsyncHandler; + typedef Outcome AddThesaurusForApiOutcome; + typedef std::future AddThesaurusForApiOutcomeCallable; + typedef std::function&)> AddThesaurusForApiAsyncHandler; + typedef Outcome AssignReviewerOutcome; + typedef std::future AssignReviewerOutcomeCallable; + typedef std::function&)> AssignReviewerAsyncHandler; + typedef Outcome CloseServiceOutcome; + typedef std::future CloseServiceOutcomeCallable; + typedef std::function&)> CloseServiceAsyncHandler; + typedef Outcome CreateAsrVocabOutcome; + typedef std::future CreateAsrVocabOutcomeCallable; + typedef std::function&)> CreateAsrVocabAsyncHandler; + typedef Outcome CreateSkillGroupConfigOutcome; + typedef std::future CreateSkillGroupConfigOutcomeCallable; + typedef std::function&)> CreateSkillGroupConfigAsyncHandler; + typedef Outcome CreateTaskAssignRuleOutcome; + typedef std::future CreateTaskAssignRuleOutcomeCallable; + typedef std::function&)> CreateTaskAssignRuleAsyncHandler; + typedef Outcome CreateUserOutcome; + typedef std::future CreateUserOutcomeCallable; + typedef std::function&)> CreateUserAsyncHandler; + typedef Outcome CreateWarningConfigOutcome; + typedef std::future CreateWarningConfigOutcomeCallable; + typedef std::function&)> CreateWarningConfigAsyncHandler; + typedef Outcome DelRuleCategoryOutcome; + typedef std::future DelRuleCategoryOutcomeCallable; + typedef std::function&)> DelRuleCategoryAsyncHandler; + typedef Outcome DelThesaurusForApiOutcome; + typedef std::future DelThesaurusForApiOutcomeCallable; + typedef std::function&)> DelThesaurusForApiAsyncHandler; + typedef Outcome DeleteAsrVocabOutcome; + typedef std::future DeleteAsrVocabOutcomeCallable; + typedef std::function&)> DeleteAsrVocabAsyncHandler; + typedef Outcome DeleteBusinessCategoryOutcome; + typedef std::future DeleteBusinessCategoryOutcomeCallable; + typedef std::function&)> DeleteBusinessCategoryAsyncHandler; + typedef Outcome DeleteCustomizationConfigOutcome; + typedef std::future DeleteCustomizationConfigOutcomeCallable; + typedef std::function&)> DeleteCustomizationConfigAsyncHandler; + typedef Outcome DeleteDataSetOutcome; + typedef std::future DeleteDataSetOutcomeCallable; + typedef std::function&)> DeleteDataSetAsyncHandler; + typedef Outcome DeletePrecisionTaskOutcome; + typedef std::future DeletePrecisionTaskOutcomeCallable; + typedef std::function&)> DeletePrecisionTaskAsyncHandler; + typedef Outcome DeleteScoreForApiOutcome; + typedef std::future DeleteScoreForApiOutcomeCallable; + typedef std::function&)> DeleteScoreForApiAsyncHandler; + typedef Outcome DeleteSkillGroupConfigOutcome; + typedef std::future DeleteSkillGroupConfigOutcomeCallable; + typedef std::function&)> DeleteSkillGroupConfigAsyncHandler; + typedef Outcome DeleteSubScoreForApiOutcome; + typedef std::future DeleteSubScoreForApiOutcomeCallable; + typedef std::function&)> DeleteSubScoreForApiAsyncHandler; + typedef Outcome DeleteTaskAssignRuleOutcome; + typedef std::future DeleteTaskAssignRuleOutcomeCallable; + typedef std::function&)> DeleteTaskAssignRuleAsyncHandler; + typedef Outcome DeleteUserOutcome; + typedef std::future DeleteUserOutcomeCallable; + typedef std::function&)> DeleteUserAsyncHandler; + typedef Outcome DeleteWarningConfigOutcome; + typedef std::future DeleteWarningConfigOutcomeCallable; + typedef std::function&)> DeleteWarningConfigAsyncHandler; + typedef Outcome EditThesaurusForApiOutcome; + typedef std::future EditThesaurusForApiOutcomeCallable; + typedef std::function&)> EditThesaurusForApiAsyncHandler; + typedef Outcome GetAsrVocabOutcome; + typedef std::future GetAsrVocabOutcomeCallable; + typedef std::function&)> GetAsrVocabAsyncHandler; + typedef Outcome GetBusinessCategoryListOutcome; + typedef std::future GetBusinessCategoryListOutcomeCallable; + typedef std::function&)> GetBusinessCategoryListAsyncHandler; + typedef Outcome GetCustomizationConfigListOutcome; + typedef std::future GetCustomizationConfigListOutcomeCallable; + typedef std::function&)> GetCustomizationConfigListAsyncHandler; + typedef Outcome GetDataSetListOutcome; + typedef std::future GetDataSetListOutcomeCallable; + typedef std::function&)> GetDataSetListAsyncHandler; + typedef Outcome GetHitResultOutcome; + typedef std::future GetHitResultOutcomeCallable; + typedef std::function&)> GetHitResultAsyncHandler; + typedef Outcome GetNextResultToVerifyOutcome; + typedef std::future GetNextResultToVerifyOutcomeCallable; + typedef std::function&)> GetNextResultToVerifyAsyncHandler; + typedef Outcome GetPrecisionTaskOutcome; + typedef std::future GetPrecisionTaskOutcomeCallable; + typedef std::function&)> GetPrecisionTaskAsyncHandler; + typedef Outcome GetRecognizeResultOutcome; + typedef std::future GetRecognizeResultOutcomeCallable; + typedef std::function&)> GetRecognizeResultAsyncHandler; + typedef Outcome GetResultOutcome; + typedef std::future GetResultOutcomeCallable; + typedef std::function&)> GetResultAsyncHandler; + typedef Outcome GetResultCallbackOutcome; + typedef std::future GetResultCallbackOutcomeCallable; + typedef std::function&)> GetResultCallbackAsyncHandler; + typedef Outcome GetResultToReviewOutcome; + typedef std::future GetResultToReviewOutcomeCallable; + typedef std::function&)> GetResultToReviewAsyncHandler; + typedef Outcome GetRuleOutcome; + typedef std::future GetRuleOutcomeCallable; + typedef std::function&)> GetRuleAsyncHandler; + typedef Outcome GetRuleCategoryOutcome; + typedef std::future GetRuleCategoryOutcomeCallable; + typedef std::function&)> GetRuleCategoryAsyncHandler; + typedef Outcome GetRuleDetailOutcome; + typedef std::future GetRuleDetailOutcomeCallable; + typedef std::function&)> GetRuleDetailAsyncHandler; + typedef Outcome GetScoreInfoOutcome; + typedef std::future GetScoreInfoOutcomeCallable; + typedef std::function&)> GetScoreInfoAsyncHandler; + typedef Outcome GetSkillGroupConfigOutcome; + typedef std::future GetSkillGroupConfigOutcomeCallable; + typedef std::function&)> GetSkillGroupConfigAsyncHandler; + typedef Outcome GetSyncResultOutcome; + typedef std::future GetSyncResultOutcomeCallable; + typedef std::function&)> GetSyncResultAsyncHandler; + typedef Outcome GetThesaurusBySynonymForApiOutcome; + typedef std::future GetThesaurusBySynonymForApiOutcomeCallable; + typedef std::function&)> GetThesaurusBySynonymForApiAsyncHandler; + typedef Outcome HandleComplaintOutcome; + typedef std::future HandleComplaintOutcomeCallable; + typedef std::function&)> HandleComplaintAsyncHandler; + typedef Outcome InsertScoreForApiOutcome; + typedef std::future InsertScoreForApiOutcomeCallable; + typedef std::function&)> InsertScoreForApiAsyncHandler; + typedef Outcome InsertSubScoreForApiOutcome; + typedef std::future InsertSubScoreForApiOutcomeCallable; + typedef std::function&)> InsertSubScoreForApiAsyncHandler; + typedef Outcome InvalidRuleOutcome; + typedef std::future InvalidRuleOutcomeCallable; + typedef std::function&)> InvalidRuleAsyncHandler; + typedef Outcome ListAsrVocabOutcome; + typedef std::future ListAsrVocabOutcomeCallable; + typedef std::function&)> ListAsrVocabAsyncHandler; + typedef Outcome ListHotWordsTasksOutcome; + typedef std::future ListHotWordsTasksOutcomeCallable; + typedef std::function&)> ListHotWordsTasksAsyncHandler; + typedef Outcome ListPrecisionTaskOutcome; + typedef std::future ListPrecisionTaskOutcomeCallable; + typedef std::function&)> ListPrecisionTaskAsyncHandler; + typedef Outcome ListRolesOutcome; + typedef std::future ListRolesOutcomeCallable; + typedef std::function&)> ListRolesAsyncHandler; + typedef Outcome ListRulesOutcome; + typedef std::future ListRulesOutcomeCallable; + typedef std::function&)> ListRulesAsyncHandler; + typedef Outcome ListSkillGroupConfigOutcome; + typedef std::future ListSkillGroupConfigOutcomeCallable; + typedef std::function&)> ListSkillGroupConfigAsyncHandler; + typedef Outcome ListTaskAssignRulesOutcome; + typedef std::future ListTaskAssignRulesOutcomeCallable; + typedef std::function&)> ListTaskAssignRulesAsyncHandler; + typedef Outcome ListUsersOutcome; + typedef std::future ListUsersOutcomeCallable; + typedef std::function&)> ListUsersAsyncHandler; + typedef Outcome ListWarningConfigOutcome; + typedef std::future ListWarningConfigOutcomeCallable; + typedef std::function&)> ListWarningConfigAsyncHandler; + typedef Outcome OpenServiceOutcome; + typedef std::future OpenServiceOutcomeCallable; + typedef std::function&)> OpenServiceAsyncHandler; + typedef Outcome RegisterNoticeOutcome; + typedef std::future RegisterNoticeOutcomeCallable; + typedef std::function&)> RegisterNoticeAsyncHandler; + typedef Outcome RestartAsrTaskOutcome; + typedef std::future RestartAsrTaskOutcomeCallable; + typedef std::function&)> RestartAsrTaskAsyncHandler; + typedef Outcome RetrySubmitAsrOutcome; + typedef std::future RetrySubmitAsrOutcomeCallable; + typedef std::function&)> RetrySubmitAsrAsyncHandler; + typedef Outcome SaveConfigDataSetOutcome; + typedef std::future SaveConfigDataSetOutcomeCallable; + typedef std::function&)> SaveConfigDataSetAsyncHandler; + typedef Outcome SubmitComplaintOutcome; + typedef std::future SubmitComplaintOutcomeCallable; + typedef std::function&)> SubmitComplaintAsyncHandler; + typedef Outcome SubmitModelTestTaskOutcome; + typedef std::future SubmitModelTestTaskOutcomeCallable; + typedef std::function&)> SubmitModelTestTaskAsyncHandler; + typedef Outcome SubmitPrecisionTaskOutcome; + typedef std::future SubmitPrecisionTaskOutcomeCallable; + typedef std::function&)> SubmitPrecisionTaskAsyncHandler; + typedef Outcome SubmitQualityCheckTaskOutcome; + typedef std::future SubmitQualityCheckTaskOutcomeCallable; + typedef std::function&)> SubmitQualityCheckTaskAsyncHandler; + typedef Outcome SubmitReviewInfoOutcome; + typedef std::future SubmitReviewInfoOutcomeCallable; + typedef std::function&)> SubmitReviewInfoAsyncHandler; + typedef Outcome SyncQualityCheckOutcome; + typedef std::future SyncQualityCheckOutcomeCallable; + typedef std::function&)> SyncQualityCheckAsyncHandler; + typedef Outcome UpdateAsrVocabOutcome; + typedef std::future UpdateAsrVocabOutcomeCallable; + typedef std::function&)> UpdateAsrVocabAsyncHandler; + typedef Outcome UpdateRuleOutcome; + typedef std::future UpdateRuleOutcomeCallable; + typedef std::function&)> UpdateRuleAsyncHandler; + typedef Outcome UpdateRuleForAntOutcome; + typedef std::future UpdateRuleForAntOutcomeCallable; + typedef std::function&)> UpdateRuleForAntAsyncHandler; + typedef Outcome UpdateScoreForApiOutcome; + typedef std::future UpdateScoreForApiOutcomeCallable; + typedef std::function&)> UpdateScoreForApiAsyncHandler; + typedef Outcome UpdateSkillGroupConfigOutcome; + typedef std::future UpdateSkillGroupConfigOutcomeCallable; + typedef std::function&)> UpdateSkillGroupConfigAsyncHandler; + typedef Outcome UpdateSubScoreForApiOutcome; + typedef std::future UpdateSubScoreForApiOutcomeCallable; + typedef std::function&)> UpdateSubScoreForApiAsyncHandler; + typedef Outcome UpdateSyncQualityCheckDataOutcome; + typedef std::future UpdateSyncQualityCheckDataOutcomeCallable; + typedef std::function&)> UpdateSyncQualityCheckDataAsyncHandler; + typedef Outcome UpdateTaskAssignRuleOutcome; + typedef std::future UpdateTaskAssignRuleOutcomeCallable; + typedef std::function&)> UpdateTaskAssignRuleAsyncHandler; + typedef Outcome UpdateUserOutcome; + typedef std::future UpdateUserOutcomeCallable; + typedef std::function&)> UpdateUserAsyncHandler; + typedef Outcome UpdateUserConfigOutcome; + typedef std::future UpdateUserConfigOutcomeCallable; + typedef std::function&)> UpdateUserConfigAsyncHandler; + typedef Outcome UpdateWarningConfigOutcome; + typedef std::future UpdateWarningConfigOutcomeCallable; + typedef std::function&)> UpdateWarningConfigAsyncHandler; + typedef Outcome UploadAudioDataOutcome; + typedef std::future UploadAudioDataOutcomeCallable; + typedef std::function&)> UploadAudioDataAsyncHandler; + typedef Outcome UploadDataOutcome; + typedef std::future UploadDataOutcomeCallable; + typedef std::function&)> UploadDataAsyncHandler; + typedef Outcome UploadDataSyncOutcome; + typedef std::future UploadDataSyncOutcomeCallable; + typedef std::function&)> UploadDataSyncAsyncHandler; + typedef Outcome UploadRuleOutcome; + typedef std::future UploadRuleOutcomeCallable; + typedef std::function&)> UploadRuleAsyncHandler; + typedef Outcome ValidateRoleSetOutcome; + typedef std::future ValidateRoleSetOutcomeCallable; + typedef std::function&)> ValidateRoleSetAsyncHandler; + typedef Outcome VerifyFileOutcome; + typedef std::future VerifyFileOutcomeCallable; + typedef std::function&)> VerifyFileAsyncHandler; + typedef Outcome VerifySentenceOutcome; + typedef std::future VerifySentenceOutcomeCallable; + typedef std::function&)> VerifySentenceAsyncHandler; + + QualitycheckClient(const Credentials &credentials, const ClientConfiguration &configuration); + QualitycheckClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + QualitycheckClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~QualitycheckClient(); + AddBusinessCategoryOutcome addBusinessCategory(const Model::AddBusinessCategoryRequest &request)const; + void addBusinessCategoryAsync(const Model::AddBusinessCategoryRequest& request, const AddBusinessCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddBusinessCategoryOutcomeCallable addBusinessCategoryCallable(const Model::AddBusinessCategoryRequest& request) const; + AddRuleCategoryOutcome addRuleCategory(const Model::AddRuleCategoryRequest &request)const; + void addRuleCategoryAsync(const Model::AddRuleCategoryRequest& request, const AddRuleCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddRuleCategoryOutcomeCallable addRuleCategoryCallable(const Model::AddRuleCategoryRequest& request) const; + AddThesaurusForApiOutcome addThesaurusForApi(const Model::AddThesaurusForApiRequest &request)const; + void addThesaurusForApiAsync(const Model::AddThesaurusForApiRequest& request, const AddThesaurusForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddThesaurusForApiOutcomeCallable addThesaurusForApiCallable(const Model::AddThesaurusForApiRequest& request) const; + AssignReviewerOutcome assignReviewer(const Model::AssignReviewerRequest &request)const; + void assignReviewerAsync(const Model::AssignReviewerRequest& request, const AssignReviewerAsyncHandler& handler, const std::shared_ptr& 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& 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& context = nullptr) const; + CreateAsrVocabOutcomeCallable createAsrVocabCallable(const Model::CreateAsrVocabRequest& request) const; + CreateSkillGroupConfigOutcome createSkillGroupConfig(const Model::CreateSkillGroupConfigRequest &request)const; + void createSkillGroupConfigAsync(const Model::CreateSkillGroupConfigRequest& request, const CreateSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSkillGroupConfigOutcomeCallable createSkillGroupConfigCallable(const Model::CreateSkillGroupConfigRequest& request) const; + CreateTaskAssignRuleOutcome createTaskAssignRule(const Model::CreateTaskAssignRuleRequest &request)const; + void createTaskAssignRuleAsync(const Model::CreateTaskAssignRuleRequest& request, const CreateTaskAssignRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTaskAssignRuleOutcomeCallable createTaskAssignRuleCallable(const Model::CreateTaskAssignRuleRequest& request) const; + CreateUserOutcome createUser(const Model::CreateUserRequest &request)const; + void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const; + CreateWarningConfigOutcome createWarningConfig(const Model::CreateWarningConfigRequest &request)const; + void createWarningConfigAsync(const Model::CreateWarningConfigRequest& request, const CreateWarningConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWarningConfigOutcomeCallable createWarningConfigCallable(const Model::CreateWarningConfigRequest& request) const; + DelRuleCategoryOutcome delRuleCategory(const Model::DelRuleCategoryRequest &request)const; + void delRuleCategoryAsync(const Model::DelRuleCategoryRequest& request, const DelRuleCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DelRuleCategoryOutcomeCallable delRuleCategoryCallable(const Model::DelRuleCategoryRequest& request) const; + DelThesaurusForApiOutcome delThesaurusForApi(const Model::DelThesaurusForApiRequest &request)const; + void delThesaurusForApiAsync(const Model::DelThesaurusForApiRequest& request, const DelThesaurusForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DelThesaurusForApiOutcomeCallable delThesaurusForApiCallable(const Model::DelThesaurusForApiRequest& request) const; + DeleteAsrVocabOutcome deleteAsrVocab(const Model::DeleteAsrVocabRequest &request)const; + void deleteAsrVocabAsync(const Model::DeleteAsrVocabRequest& request, const DeleteAsrVocabAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteAsrVocabOutcomeCallable deleteAsrVocabCallable(const Model::DeleteAsrVocabRequest& request) const; + DeleteBusinessCategoryOutcome deleteBusinessCategory(const Model::DeleteBusinessCategoryRequest &request)const; + void deleteBusinessCategoryAsync(const Model::DeleteBusinessCategoryRequest& request, const DeleteBusinessCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteBusinessCategoryOutcomeCallable deleteBusinessCategoryCallable(const Model::DeleteBusinessCategoryRequest& request) const; + DeleteCustomizationConfigOutcome deleteCustomizationConfig(const Model::DeleteCustomizationConfigRequest &request)const; + void deleteCustomizationConfigAsync(const Model::DeleteCustomizationConfigRequest& request, const DeleteCustomizationConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCustomizationConfigOutcomeCallable deleteCustomizationConfigCallable(const Model::DeleteCustomizationConfigRequest& request) const; + DeleteDataSetOutcome deleteDataSet(const Model::DeleteDataSetRequest &request)const; + void deleteDataSetAsync(const Model::DeleteDataSetRequest& request, const DeleteDataSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDataSetOutcomeCallable deleteDataSetCallable(const Model::DeleteDataSetRequest& request) const; + DeletePrecisionTaskOutcome deletePrecisionTask(const Model::DeletePrecisionTaskRequest &request)const; + void deletePrecisionTaskAsync(const Model::DeletePrecisionTaskRequest& request, const DeletePrecisionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePrecisionTaskOutcomeCallable deletePrecisionTaskCallable(const Model::DeletePrecisionTaskRequest& request) const; + DeleteScoreForApiOutcome deleteScoreForApi(const Model::DeleteScoreForApiRequest &request)const; + void deleteScoreForApiAsync(const Model::DeleteScoreForApiRequest& request, const DeleteScoreForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteScoreForApiOutcomeCallable deleteScoreForApiCallable(const Model::DeleteScoreForApiRequest& request) const; + DeleteSkillGroupConfigOutcome deleteSkillGroupConfig(const Model::DeleteSkillGroupConfigRequest &request)const; + void deleteSkillGroupConfigAsync(const Model::DeleteSkillGroupConfigRequest& request, const DeleteSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSkillGroupConfigOutcomeCallable deleteSkillGroupConfigCallable(const Model::DeleteSkillGroupConfigRequest& request) const; + DeleteSubScoreForApiOutcome deleteSubScoreForApi(const Model::DeleteSubScoreForApiRequest &request)const; + void deleteSubScoreForApiAsync(const Model::DeleteSubScoreForApiRequest& request, const DeleteSubScoreForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSubScoreForApiOutcomeCallable deleteSubScoreForApiCallable(const Model::DeleteSubScoreForApiRequest& request) const; + DeleteTaskAssignRuleOutcome deleteTaskAssignRule(const Model::DeleteTaskAssignRuleRequest &request)const; + void deleteTaskAssignRuleAsync(const Model::DeleteTaskAssignRuleRequest& request, const DeleteTaskAssignRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTaskAssignRuleOutcomeCallable deleteTaskAssignRuleCallable(const Model::DeleteTaskAssignRuleRequest& request) const; + DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; + void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; + DeleteWarningConfigOutcome deleteWarningConfig(const Model::DeleteWarningConfigRequest &request)const; + void deleteWarningConfigAsync(const Model::DeleteWarningConfigRequest& request, const DeleteWarningConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteWarningConfigOutcomeCallable deleteWarningConfigCallable(const Model::DeleteWarningConfigRequest& request) const; + EditThesaurusForApiOutcome editThesaurusForApi(const Model::EditThesaurusForApiRequest &request)const; + void editThesaurusForApiAsync(const Model::EditThesaurusForApiRequest& request, const EditThesaurusForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EditThesaurusForApiOutcomeCallable editThesaurusForApiCallable(const Model::EditThesaurusForApiRequest& request) const; + GetAsrVocabOutcome getAsrVocab(const Model::GetAsrVocabRequest &request)const; + void getAsrVocabAsync(const Model::GetAsrVocabRequest& request, const GetAsrVocabAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetAsrVocabOutcomeCallable getAsrVocabCallable(const Model::GetAsrVocabRequest& request) const; + GetBusinessCategoryListOutcome getBusinessCategoryList(const Model::GetBusinessCategoryListRequest &request)const; + void getBusinessCategoryListAsync(const Model::GetBusinessCategoryListRequest& request, const GetBusinessCategoryListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetBusinessCategoryListOutcomeCallable getBusinessCategoryListCallable(const Model::GetBusinessCategoryListRequest& request) const; + GetCustomizationConfigListOutcome getCustomizationConfigList(const Model::GetCustomizationConfigListRequest &request)const; + void getCustomizationConfigListAsync(const Model::GetCustomizationConfigListRequest& request, const GetCustomizationConfigListAsyncHandler& handler, const std::shared_ptr& 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& 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& context = nullptr) const; + GetHitResultOutcomeCallable getHitResultCallable(const Model::GetHitResultRequest& request) const; + GetNextResultToVerifyOutcome getNextResultToVerify(const Model::GetNextResultToVerifyRequest &request)const; + void getNextResultToVerifyAsync(const Model::GetNextResultToVerifyRequest& request, const GetNextResultToVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNextResultToVerifyOutcomeCallable getNextResultToVerifyCallable(const Model::GetNextResultToVerifyRequest& request) const; + GetPrecisionTaskOutcome getPrecisionTask(const Model::GetPrecisionTaskRequest &request)const; + void getPrecisionTaskAsync(const Model::GetPrecisionTaskRequest& request, const GetPrecisionTaskAsyncHandler& handler, const std::shared_ptr& 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& 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& context = nullptr) const; + GetResultOutcomeCallable getResultCallable(const Model::GetResultRequest& request) const; + GetResultCallbackOutcome getResultCallback(const Model::GetResultCallbackRequest &request)const; + void getResultCallbackAsync(const Model::GetResultCallbackRequest& request, const GetResultCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetResultCallbackOutcomeCallable getResultCallbackCallable(const Model::GetResultCallbackRequest& request) const; + GetResultToReviewOutcome getResultToReview(const Model::GetResultToReviewRequest &request)const; + void getResultToReviewAsync(const Model::GetResultToReviewRequest& request, const GetResultToReviewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetResultToReviewOutcomeCallable getResultToReviewCallable(const Model::GetResultToReviewRequest& request) const; + GetRuleOutcome getRule(const Model::GetRuleRequest &request)const; + void getRuleAsync(const Model::GetRuleRequest& request, const GetRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetRuleOutcomeCallable getRuleCallable(const Model::GetRuleRequest& request) const; + GetRuleCategoryOutcome getRuleCategory(const Model::GetRuleCategoryRequest &request)const; + void getRuleCategoryAsync(const Model::GetRuleCategoryRequest& request, const GetRuleCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetRuleCategoryOutcomeCallable getRuleCategoryCallable(const Model::GetRuleCategoryRequest& request) const; + GetRuleDetailOutcome getRuleDetail(const Model::GetRuleDetailRequest &request)const; + void getRuleDetailAsync(const Model::GetRuleDetailRequest& request, const GetRuleDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetRuleDetailOutcomeCallable getRuleDetailCallable(const Model::GetRuleDetailRequest& request) const; + GetScoreInfoOutcome getScoreInfo(const Model::GetScoreInfoRequest &request)const; + void getScoreInfoAsync(const Model::GetScoreInfoRequest& request, const GetScoreInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetScoreInfoOutcomeCallable getScoreInfoCallable(const Model::GetScoreInfoRequest& request) const; + GetSkillGroupConfigOutcome getSkillGroupConfig(const Model::GetSkillGroupConfigRequest &request)const; + void getSkillGroupConfigAsync(const Model::GetSkillGroupConfigRequest& request, const GetSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSkillGroupConfigOutcomeCallable getSkillGroupConfigCallable(const Model::GetSkillGroupConfigRequest& request) const; + GetSyncResultOutcome getSyncResult(const Model::GetSyncResultRequest &request)const; + void getSyncResultAsync(const Model::GetSyncResultRequest& request, const GetSyncResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSyncResultOutcomeCallable getSyncResultCallable(const Model::GetSyncResultRequest& request) const; + GetThesaurusBySynonymForApiOutcome getThesaurusBySynonymForApi(const Model::GetThesaurusBySynonymForApiRequest &request)const; + void getThesaurusBySynonymForApiAsync(const Model::GetThesaurusBySynonymForApiRequest& request, const GetThesaurusBySynonymForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetThesaurusBySynonymForApiOutcomeCallable getThesaurusBySynonymForApiCallable(const Model::GetThesaurusBySynonymForApiRequest& request) const; + HandleComplaintOutcome handleComplaint(const Model::HandleComplaintRequest &request)const; + void handleComplaintAsync(const Model::HandleComplaintRequest& request, const HandleComplaintAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + HandleComplaintOutcomeCallable handleComplaintCallable(const Model::HandleComplaintRequest& request) const; + InsertScoreForApiOutcome insertScoreForApi(const Model::InsertScoreForApiRequest &request)const; + void insertScoreForApiAsync(const Model::InsertScoreForApiRequest& request, const InsertScoreForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertScoreForApiOutcomeCallable insertScoreForApiCallable(const Model::InsertScoreForApiRequest& request) const; + InsertSubScoreForApiOutcome insertSubScoreForApi(const Model::InsertSubScoreForApiRequest &request)const; + void insertSubScoreForApiAsync(const Model::InsertSubScoreForApiRequest& request, const InsertSubScoreForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertSubScoreForApiOutcomeCallable insertSubScoreForApiCallable(const Model::InsertSubScoreForApiRequest& request) const; + InvalidRuleOutcome invalidRule(const Model::InvalidRuleRequest &request)const; + void invalidRuleAsync(const Model::InvalidRuleRequest& request, const InvalidRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InvalidRuleOutcomeCallable invalidRuleCallable(const Model::InvalidRuleRequest& request) const; + ListAsrVocabOutcome listAsrVocab(const Model::ListAsrVocabRequest &request)const; + void listAsrVocabAsync(const Model::ListAsrVocabRequest& request, const ListAsrVocabAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAsrVocabOutcomeCallable listAsrVocabCallable(const Model::ListAsrVocabRequest& request) const; + ListHotWordsTasksOutcome listHotWordsTasks(const Model::ListHotWordsTasksRequest &request)const; + void listHotWordsTasksAsync(const Model::ListHotWordsTasksRequest& request, const ListHotWordsTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHotWordsTasksOutcomeCallable listHotWordsTasksCallable(const Model::ListHotWordsTasksRequest& request) const; + ListPrecisionTaskOutcome listPrecisionTask(const Model::ListPrecisionTaskRequest &request)const; + void listPrecisionTaskAsync(const Model::ListPrecisionTaskRequest& request, const ListPrecisionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPrecisionTaskOutcomeCallable listPrecisionTaskCallable(const Model::ListPrecisionTaskRequest& request) const; + ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const; + void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const; + ListRulesOutcome listRules(const Model::ListRulesRequest &request)const; + void listRulesAsync(const Model::ListRulesRequest& request, const ListRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRulesOutcomeCallable listRulesCallable(const Model::ListRulesRequest& request) const; + ListSkillGroupConfigOutcome listSkillGroupConfig(const Model::ListSkillGroupConfigRequest &request)const; + void listSkillGroupConfigAsync(const Model::ListSkillGroupConfigRequest& request, const ListSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSkillGroupConfigOutcomeCallable listSkillGroupConfigCallable(const Model::ListSkillGroupConfigRequest& request) const; + ListTaskAssignRulesOutcome listTaskAssignRules(const Model::ListTaskAssignRulesRequest &request)const; + void listTaskAssignRulesAsync(const Model::ListTaskAssignRulesRequest& request, const ListTaskAssignRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskAssignRulesOutcomeCallable listTaskAssignRulesCallable(const Model::ListTaskAssignRulesRequest& request) const; + ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const; + void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const; + ListWarningConfigOutcome listWarningConfig(const Model::ListWarningConfigRequest &request)const; + void listWarningConfigAsync(const Model::ListWarningConfigRequest& request, const ListWarningConfigAsyncHandler& handler, const std::shared_ptr& 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& 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& 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& 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& 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& 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& 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& 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& context = nullptr) const; + SubmitPrecisionTaskOutcomeCallable submitPrecisionTaskCallable(const Model::SubmitPrecisionTaskRequest& request) const; + SubmitQualityCheckTaskOutcome submitQualityCheckTask(const Model::SubmitQualityCheckTaskRequest &request)const; + void submitQualityCheckTaskAsync(const Model::SubmitQualityCheckTaskRequest& request, const SubmitQualityCheckTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitQualityCheckTaskOutcomeCallable submitQualityCheckTaskCallable(const Model::SubmitQualityCheckTaskRequest& request) const; + SubmitReviewInfoOutcome submitReviewInfo(const Model::SubmitReviewInfoRequest &request)const; + void submitReviewInfoAsync(const Model::SubmitReviewInfoRequest& request, const SubmitReviewInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitReviewInfoOutcomeCallable submitReviewInfoCallable(const Model::SubmitReviewInfoRequest& request) const; + SyncQualityCheckOutcome syncQualityCheck(const Model::SyncQualityCheckRequest &request)const; + void syncQualityCheckAsync(const Model::SyncQualityCheckRequest& request, const SyncQualityCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SyncQualityCheckOutcomeCallable syncQualityCheckCallable(const Model::SyncQualityCheckRequest& request) const; + UpdateAsrVocabOutcome updateAsrVocab(const Model::UpdateAsrVocabRequest &request)const; + void updateAsrVocabAsync(const Model::UpdateAsrVocabRequest& request, const UpdateAsrVocabAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateAsrVocabOutcomeCallable updateAsrVocabCallable(const Model::UpdateAsrVocabRequest& request) const; + UpdateRuleOutcome updateRule(const Model::UpdateRuleRequest &request)const; + void updateRuleAsync(const Model::UpdateRuleRequest& request, const UpdateRuleAsyncHandler& handler, const std::shared_ptr& 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& 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& context = nullptr) const; + UpdateScoreForApiOutcomeCallable updateScoreForApiCallable(const Model::UpdateScoreForApiRequest& request) const; + UpdateSkillGroupConfigOutcome updateSkillGroupConfig(const Model::UpdateSkillGroupConfigRequest &request)const; + void updateSkillGroupConfigAsync(const Model::UpdateSkillGroupConfigRequest& request, const UpdateSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSkillGroupConfigOutcomeCallable updateSkillGroupConfigCallable(const Model::UpdateSkillGroupConfigRequest& request) const; + UpdateSubScoreForApiOutcome updateSubScoreForApi(const Model::UpdateSubScoreForApiRequest &request)const; + void updateSubScoreForApiAsync(const Model::UpdateSubScoreForApiRequest& request, const UpdateSubScoreForApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSubScoreForApiOutcomeCallable updateSubScoreForApiCallable(const Model::UpdateSubScoreForApiRequest& request) const; + UpdateSyncQualityCheckDataOutcome updateSyncQualityCheckData(const Model::UpdateSyncQualityCheckDataRequest &request)const; + void updateSyncQualityCheckDataAsync(const Model::UpdateSyncQualityCheckDataRequest& request, const UpdateSyncQualityCheckDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSyncQualityCheckDataOutcomeCallable updateSyncQualityCheckDataCallable(const Model::UpdateSyncQualityCheckDataRequest& request) const; + UpdateTaskAssignRuleOutcome updateTaskAssignRule(const Model::UpdateTaskAssignRuleRequest &request)const; + void updateTaskAssignRuleAsync(const Model::UpdateTaskAssignRuleRequest& request, const UpdateTaskAssignRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTaskAssignRuleOutcomeCallable updateTaskAssignRuleCallable(const Model::UpdateTaskAssignRuleRequest& request) const; + UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const; + void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const; + UpdateUserConfigOutcome updateUserConfig(const Model::UpdateUserConfigRequest &request)const; + void updateUserConfigAsync(const Model::UpdateUserConfigRequest& request, const UpdateUserConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserConfigOutcomeCallable updateUserConfigCallable(const Model::UpdateUserConfigRequest& request) const; + UpdateWarningConfigOutcome updateWarningConfig(const Model::UpdateWarningConfigRequest &request)const; + void updateWarningConfigAsync(const Model::UpdateWarningConfigRequest& request, const UpdateWarningConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWarningConfigOutcomeCallable updateWarningConfigCallable(const Model::UpdateWarningConfigRequest& request) const; + UploadAudioDataOutcome uploadAudioData(const Model::UploadAudioDataRequest &request)const; + void uploadAudioDataAsync(const Model::UploadAudioDataRequest& request, const UploadAudioDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadAudioDataOutcomeCallable uploadAudioDataCallable(const Model::UploadAudioDataRequest& request) const; + UploadDataOutcome uploadData(const Model::UploadDataRequest &request)const; + void uploadDataAsync(const Model::UploadDataRequest& request, const UploadDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadDataOutcomeCallable uploadDataCallable(const Model::UploadDataRequest& request) const; + UploadDataSyncOutcome uploadDataSync(const Model::UploadDataSyncRequest &request)const; + void uploadDataSyncAsync(const Model::UploadDataSyncRequest& request, const UploadDataSyncAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadDataSyncOutcomeCallable uploadDataSyncCallable(const Model::UploadDataSyncRequest& request) const; + UploadRuleOutcome uploadRule(const Model::UploadRuleRequest &request)const; + void uploadRuleAsync(const Model::UploadRuleRequest& request, const UploadRuleAsyncHandler& handler, const std::shared_ptr& 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& 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& context = nullptr) const; + VerifyFileOutcomeCallable verifyFileCallable(const Model::VerifyFileRequest& request) const; + VerifySentenceOutcome verifySentence(const Model::VerifySentenceRequest &request)const; + void verifySentenceAsync(const Model::VerifySentenceRequest& request, const VerifySentenceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifySentenceOutcomeCallable verifySentenceCallable(const Model::VerifySentenceRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_QUALITYCHECK_QUALITYCHECKCLIENT_H_ diff --git a/qualitycheck/include/alibabacloud/qualitycheck/QualitycheckExport.h b/qualitycheck/include/alibabacloud/qualitycheck/QualitycheckExport.h new file mode 100644 index 000000000..d91cb1ac6 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/QualitycheckExport.h @@ -0,0 +1,32 @@ +/* + * 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_QUALITYCHECKEXPORT_H_ +#define ALIBABACLOUD_QUALITYCHECK_QUALITYCHECKEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_QUALITYCHECK_LIBRARY) +# define ALIBABACLOUD_QUALITYCHECK_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_QUALITYCHECK_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_QUALITYCHECK_EXPORT +#endif + +#endif // !ALIBABACLOUD_QUALITYCHECK_QUALITYCHECKEXPORT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AddBusinessCategoryRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AddBusinessCategoryRequest.h new file mode 100644 index 000000000..9d7194727 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AddBusinessCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * 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_ADDBUSINESSCATEGORYREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ADDBUSINESSCATEGORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AddBusinessCategoryRequest : public RpcServiceRequest + { + + public: + AddBusinessCategoryRequest(); + ~AddBusinessCategoryRequest(); + + 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_ADDBUSINESSCATEGORYREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AddBusinessCategoryResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AddBusinessCategoryResult.h new file mode 100644 index 000000000..b8e1ecfed --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AddBusinessCategoryResult.h @@ -0,0 +1,57 @@ +/* + * 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_ADDBUSINESSCATEGORYRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ADDBUSINESSCATEGORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AddBusinessCategoryResult : public ServiceResult + { + public: + + + AddBusinessCategoryResult(); + explicit AddBusinessCategoryResult(const std::string &payload); + ~AddBusinessCategoryResult(); + 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_ADDBUSINESSCATEGORYRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AddRuleCategoryRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AddRuleCategoryRequest.h new file mode 100644 index 000000000..88b6bf0f0 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AddRuleCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * 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_ADDRULECATEGORYREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ADDRULECATEGORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AddRuleCategoryRequest : public RpcServiceRequest + { + + public: + AddRuleCategoryRequest(); + ~AddRuleCategoryRequest(); + + 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_ADDRULECATEGORYREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AddRuleCategoryResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AddRuleCategoryResult.h new file mode 100644 index 000000000..4ba2f416a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AddRuleCategoryResult.h @@ -0,0 +1,61 @@ +/* + * 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_ADDRULECATEGORYRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ADDRULECATEGORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AddRuleCategoryResult : public ServiceResult + { + public: + struct Data + { + bool select; + }; + + + AddRuleCategoryResult(); + explicit AddRuleCategoryResult(const std::string &payload); + ~AddRuleCategoryResult(); + 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_ADDRULECATEGORYRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AddThesaurusForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AddThesaurusForApiRequest.h new file mode 100644 index 000000000..8e74a35a9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AddThesaurusForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_ADDTHESAURUSFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ADDTHESAURUSFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AddThesaurusForApiRequest : public RpcServiceRequest + { + + public: + AddThesaurusForApiRequest(); + ~AddThesaurusForApiRequest(); + + 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_ADDTHESAURUSFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AddThesaurusForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AddThesaurusForApiResult.h new file mode 100644 index 000000000..db80f297f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AddThesaurusForApiResult.h @@ -0,0 +1,57 @@ +/* + * 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_ADDTHESAURUSFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ADDTHESAURUSFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AddThesaurusForApiResult : public ServiceResult + { + public: + + + AddThesaurusForApiResult(); + explicit AddThesaurusForApiResult(const std::string &payload); + ~AddThesaurusForApiResult(); + std::string getMessage()const; + long getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + long data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_ADDTHESAURUSFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AssignReviewerRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AssignReviewerRequest.h new file mode 100644 index 000000000..e9d66c04a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AssignReviewerRequest.h @@ -0,0 +1,54 @@ +/* + * 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_ASSIGNREVIEWERREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ASSIGNREVIEWERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AssignReviewerRequest : public RpcServiceRequest + { + + public: + AssignReviewerRequest(); + ~AssignReviewerRequest(); + + 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_ASSIGNREVIEWERREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/AssignReviewerResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/AssignReviewerResult.h new file mode 100644 index 000000000..6504f9d71 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/AssignReviewerResult.h @@ -0,0 +1,55 @@ +/* + * 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_ASSIGNREVIEWERRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_ASSIGNREVIEWERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT AssignReviewerResult : public ServiceResult + { + public: + + + AssignReviewerResult(); + explicit AssignReviewerResult(const std::string &payload); + ~AssignReviewerResult(); + 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_ASSIGNREVIEWERRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CloseServiceRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CloseServiceRequest.h new file mode 100644 index 000000000..a363b0b6d --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CloseServiceRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CloseServiceResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CloseServiceResult.h new file mode 100644 index 000000000..f43a6b563 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CloseServiceResult.h @@ -0,0 +1,55 @@ +/* + * 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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateAsrVocabRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateAsrVocabRequest.h new file mode 100644 index 000000000..6ee10904e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateAsrVocabRequest.h @@ -0,0 +1,54 @@ +/* + * 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_CREATEASRVOCABREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATEASRVOCABREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateAsrVocabRequest : public RpcServiceRequest + { + + public: + CreateAsrVocabRequest(); + ~CreateAsrVocabRequest(); + + 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_CREATEASRVOCABREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateAsrVocabResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateAsrVocabResult.h new file mode 100644 index 000000000..385af7a7c --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateAsrVocabResult.h @@ -0,0 +1,57 @@ +/* + * 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_CREATEASRVOCABRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATEASRVOCABRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateAsrVocabResult : public ServiceResult + { + public: + + + CreateAsrVocabResult(); + explicit CreateAsrVocabResult(const std::string &payload); + ~CreateAsrVocabResult(); + 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_CREATEASRVOCABRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigRequest.h new file mode 100644 index 000000000..34f902a47 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_CREATESKILLGROUPCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATESKILLGROUPCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateSkillGroupConfigRequest : public RpcServiceRequest + { + + public: + CreateSkillGroupConfigRequest(); + ~CreateSkillGroupConfigRequest(); + + 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_CREATESKILLGROUPCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigResult.h new file mode 100644 index 000000000..60a9059e4 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigResult.h @@ -0,0 +1,57 @@ +/* + * 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_CREATESKILLGROUPCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATESKILLGROUPCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateSkillGroupConfigResult : public ServiceResult + { + public: + + + CreateSkillGroupConfigResult(); + explicit CreateSkillGroupConfigResult(const std::string &payload); + ~CreateSkillGroupConfigResult(); + std::string getMessage()const; + long getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + long data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_CREATESKILLGROUPCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleRequest.h new file mode 100644 index 000000000..dc699af32 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_CREATETASKASSIGNRULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATETASKASSIGNRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateTaskAssignRuleRequest : public RpcServiceRequest + { + + public: + CreateTaskAssignRuleRequest(); + ~CreateTaskAssignRuleRequest(); + + 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_CREATETASKASSIGNRULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleResult.h new file mode 100644 index 000000000..59068b9d7 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateTaskAssignRuleResult.h @@ -0,0 +1,57 @@ +/* + * 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_CREATETASKASSIGNRULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATETASKASSIGNRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateTaskAssignRuleResult : public ServiceResult + { + public: + + + CreateTaskAssignRuleResult(); + explicit CreateTaskAssignRuleResult(const std::string &payload); + ~CreateTaskAssignRuleResult(); + 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_CREATETASKASSIGNRULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateUserRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateUserRequest.h new file mode 100644 index 000000000..be3ef2ba4 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateUserRequest.h @@ -0,0 +1,54 @@ +/* + * 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_CREATEUSERREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateUserRequest : public RpcServiceRequest + { + + public: + CreateUserRequest(); + ~CreateUserRequest(); + + 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_CREATEUSERREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateUserResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateUserResult.h new file mode 100644 index 000000000..8bae602a8 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateUserResult.h @@ -0,0 +1,55 @@ +/* + * 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_CREATEUSERRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateUserResult : public ServiceResult + { + public: + + + CreateUserResult(); + explicit CreateUserResult(const std::string &payload); + ~CreateUserResult(); + 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_CREATEUSERRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateWarningConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateWarningConfigRequest.h new file mode 100644 index 000000000..90a1871ab --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateWarningConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_CREATEWARNINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATEWARNINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateWarningConfigRequest : public RpcServiceRequest + { + + public: + CreateWarningConfigRequest(); + ~CreateWarningConfigRequest(); + + 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_CREATEWARNINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/CreateWarningConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateWarningConfigResult.h new file mode 100644 index 000000000..dd3d63479 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/CreateWarningConfigResult.h @@ -0,0 +1,57 @@ +/* + * 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_CREATEWARNINGCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_CREATEWARNINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT CreateWarningConfigResult : public ServiceResult + { + public: + + + CreateWarningConfigResult(); + explicit CreateWarningConfigResult(const std::string &payload); + ~CreateWarningConfigResult(); + 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_CREATEWARNINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DelRuleCategoryRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DelRuleCategoryRequest.h new file mode 100644 index 000000000..b1920c512 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DelRuleCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELRULECATEGORYREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELRULECATEGORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DelRuleCategoryRequest : public RpcServiceRequest + { + + public: + DelRuleCategoryRequest(); + ~DelRuleCategoryRequest(); + + 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_DELRULECATEGORYREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DelRuleCategoryResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DelRuleCategoryResult.h new file mode 100644 index 000000000..371b11582 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DelRuleCategoryResult.h @@ -0,0 +1,61 @@ +/* + * 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_DELRULECATEGORYRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELRULECATEGORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DelRuleCategoryResult : public ServiceResult + { + public: + struct Data + { + bool select; + }; + + + DelRuleCategoryResult(); + explicit DelRuleCategoryResult(const std::string &payload); + ~DelRuleCategoryResult(); + 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_DELRULECATEGORYRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DelThesaurusForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DelThesaurusForApiRequest.h new file mode 100644 index 000000000..5247c1c52 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DelThesaurusForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELTHESAURUSFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELTHESAURUSFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DelThesaurusForApiRequest : public RpcServiceRequest + { + + public: + DelThesaurusForApiRequest(); + ~DelThesaurusForApiRequest(); + + 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_DELTHESAURUSFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DelThesaurusForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DelThesaurusForApiResult.h new file mode 100644 index 000000000..0f491ca2c --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DelThesaurusForApiResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELTHESAURUSFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELTHESAURUSFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DelThesaurusForApiResult : public ServiceResult + { + public: + + + DelThesaurusForApiResult(); + explicit DelThesaurusForApiResult(const std::string &payload); + ~DelThesaurusForApiResult(); + 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_DELTHESAURUSFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteAsrVocabRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteAsrVocabRequest.h new file mode 100644 index 000000000..d89648134 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteAsrVocabRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETEASRVOCABREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEASRVOCABREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteAsrVocabRequest : public RpcServiceRequest + { + + public: + DeleteAsrVocabRequest(); + ~DeleteAsrVocabRequest(); + + 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_DELETEASRVOCABREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteAsrVocabResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteAsrVocabResult.h new file mode 100644 index 000000000..b857b541a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteAsrVocabResult.h @@ -0,0 +1,57 @@ +/* + * 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_DELETEASRVOCABRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEASRVOCABRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteAsrVocabResult : public ServiceResult + { + public: + + + DeleteAsrVocabResult(); + explicit DeleteAsrVocabResult(const std::string &payload); + ~DeleteAsrVocabResult(); + 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_DELETEASRVOCABRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryRequest.h new file mode 100644 index 000000000..e54e97864 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETEBUSINESSCATEGORYREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEBUSINESSCATEGORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteBusinessCategoryRequest : public RpcServiceRequest + { + + public: + DeleteBusinessCategoryRequest(); + ~DeleteBusinessCategoryRequest(); + + 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_DELETEBUSINESSCATEGORYREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryResult.h new file mode 100644 index 000000000..189805371 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteBusinessCategoryResult.h @@ -0,0 +1,57 @@ +/* + * 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_DELETEBUSINESSCATEGORYRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEBUSINESSCATEGORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteBusinessCategoryResult : public ServiceResult + { + public: + + + DeleteBusinessCategoryResult(); + explicit DeleteBusinessCategoryResult(const std::string &payload); + ~DeleteBusinessCategoryResult(); + 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_DELETEBUSINESSCATEGORYRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigRequest.h new file mode 100644 index 000000000..7f208df73 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETECUSTOMIZATIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETECUSTOMIZATIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteCustomizationConfigRequest : public RpcServiceRequest + { + + public: + DeleteCustomizationConfigRequest(); + ~DeleteCustomizationConfigRequest(); + + 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_DELETECUSTOMIZATIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigResult.h new file mode 100644 index 000000000..3cbf0873e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteCustomizationConfigResult.h @@ -0,0 +1,57 @@ +/* + * 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_DELETECUSTOMIZATIONCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETECUSTOMIZATIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteCustomizationConfigResult : public ServiceResult + { + public: + + + DeleteCustomizationConfigResult(); + explicit DeleteCustomizationConfigResult(const std::string &payload); + ~DeleteCustomizationConfigResult(); + 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_DELETECUSTOMIZATIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteDataSetRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteDataSetRequest.h new file mode 100644 index 000000000..c6f32f659 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteDataSetRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETEDATASETREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEDATASETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteDataSetRequest : public RpcServiceRequest + { + + public: + DeleteDataSetRequest(); + ~DeleteDataSetRequest(); + + 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_DELETEDATASETREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteDataSetResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteDataSetResult.h new file mode 100644 index 000000000..d725755b2 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteDataSetResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETEDATASETRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEDATASETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteDataSetResult : public ServiceResult + { + public: + + + DeleteDataSetResult(); + explicit DeleteDataSetResult(const std::string &payload); + ~DeleteDataSetResult(); + 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_DELETEDATASETRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeletePrecisionTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeletePrecisionTaskRequest.h new file mode 100644 index 000000000..24ab4983b --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeletePrecisionTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETEPRECISIONTASKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEPRECISIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeletePrecisionTaskRequest : public RpcServiceRequest + { + + public: + DeletePrecisionTaskRequest(); + ~DeletePrecisionTaskRequest(); + + 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_DELETEPRECISIONTASKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeletePrecisionTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeletePrecisionTaskResult.h new file mode 100644 index 000000000..9307e1502 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeletePrecisionTaskResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETEPRECISIONTASKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEPRECISIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeletePrecisionTaskResult : public ServiceResult + { + public: + + + DeletePrecisionTaskResult(); + explicit DeletePrecisionTaskResult(const std::string &payload); + ~DeletePrecisionTaskResult(); + 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_DELETEPRECISIONTASKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteScoreForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteScoreForApiRequest.h new file mode 100644 index 000000000..6efb9270f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteScoreForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETESCOREFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETESCOREFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteScoreForApiRequest : public RpcServiceRequest + { + + public: + DeleteScoreForApiRequest(); + ~DeleteScoreForApiRequest(); + + 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_DELETESCOREFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteScoreForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteScoreForApiResult.h new file mode 100644 index 000000000..bd9191ad0 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteScoreForApiResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETESCOREFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETESCOREFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteScoreForApiResult : public ServiceResult + { + public: + + + DeleteScoreForApiResult(); + explicit DeleteScoreForApiResult(const std::string &payload); + ~DeleteScoreForApiResult(); + 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_DELETESCOREFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigRequest.h new file mode 100644 index 000000000..92333872f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETESKILLGROUPCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETESKILLGROUPCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteSkillGroupConfigRequest : public RpcServiceRequest + { + + public: + DeleteSkillGroupConfigRequest(); + ~DeleteSkillGroupConfigRequest(); + + 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_DELETESKILLGROUPCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigResult.h new file mode 100644 index 000000000..8479159b9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSkillGroupConfigResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETESKILLGROUPCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETESKILLGROUPCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteSkillGroupConfigResult : public ServiceResult + { + public: + + + DeleteSkillGroupConfigResult(); + explicit DeleteSkillGroupConfigResult(const std::string &payload); + ~DeleteSkillGroupConfigResult(); + 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_DELETESKILLGROUPCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiRequest.h new file mode 100644 index 000000000..888070e34 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETESUBSCOREFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETESUBSCOREFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteSubScoreForApiRequest : public RpcServiceRequest + { + + public: + DeleteSubScoreForApiRequest(); + ~DeleteSubScoreForApiRequest(); + + 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_DELETESUBSCOREFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiResult.h new file mode 100644 index 000000000..75bc36c73 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteSubScoreForApiResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETESUBSCOREFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETESUBSCOREFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteSubScoreForApiResult : public ServiceResult + { + public: + + + DeleteSubScoreForApiResult(); + explicit DeleteSubScoreForApiResult(const std::string &payload); + ~DeleteSubScoreForApiResult(); + 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_DELETESUBSCOREFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleRequest.h new file mode 100644 index 000000000..7ab022f4e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETETASKASSIGNRULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETETASKASSIGNRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteTaskAssignRuleRequest : public RpcServiceRequest + { + + public: + DeleteTaskAssignRuleRequest(); + ~DeleteTaskAssignRuleRequest(); + + 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_DELETETASKASSIGNRULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleResult.h new file mode 100644 index 000000000..be359182a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteTaskAssignRuleResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETETASKASSIGNRULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETETASKASSIGNRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteTaskAssignRuleResult : public ServiceResult + { + public: + + + DeleteTaskAssignRuleResult(); + explicit DeleteTaskAssignRuleResult(const std::string &payload); + ~DeleteTaskAssignRuleResult(); + 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_DELETETASKASSIGNRULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteUserRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteUserRequest.h new file mode 100644 index 000000000..4dd2fc5f0 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteUserRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETEUSERREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteUserRequest : public RpcServiceRequest + { + + public: + DeleteUserRequest(); + ~DeleteUserRequest(); + + 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_DELETEUSERREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteUserResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteUserResult.h new file mode 100644 index 000000000..7849413de --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteUserResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETEUSERRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteUserResult : public ServiceResult + { + public: + + + DeleteUserResult(); + explicit DeleteUserResult(const std::string &payload); + ~DeleteUserResult(); + 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_DELETEUSERRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteWarningConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteWarningConfigRequest.h new file mode 100644 index 000000000..eb8e73466 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteWarningConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_DELETEWARNINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEWARNINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteWarningConfigRequest : public RpcServiceRequest + { + + public: + DeleteWarningConfigRequest(); + ~DeleteWarningConfigRequest(); + + 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_DELETEWARNINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteWarningConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteWarningConfigResult.h new file mode 100644 index 000000000..284661176 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/DeleteWarningConfigResult.h @@ -0,0 +1,55 @@ +/* + * 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_DELETEWARNINGCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_DELETEWARNINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT DeleteWarningConfigResult : public ServiceResult + { + public: + + + DeleteWarningConfigResult(); + explicit DeleteWarningConfigResult(const std::string &payload); + ~DeleteWarningConfigResult(); + 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_DELETEWARNINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/EditThesaurusForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/EditThesaurusForApiRequest.h new file mode 100644 index 000000000..efe16b46a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/EditThesaurusForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_EDITTHESAURUSFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_EDITTHESAURUSFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT EditThesaurusForApiRequest : public RpcServiceRequest + { + + public: + EditThesaurusForApiRequest(); + ~EditThesaurusForApiRequest(); + + 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_EDITTHESAURUSFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/EditThesaurusForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/EditThesaurusForApiResult.h new file mode 100644 index 000000000..c4bf94bce --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/EditThesaurusForApiResult.h @@ -0,0 +1,57 @@ +/* + * 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_EDITTHESAURUSFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_EDITTHESAURUSFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT EditThesaurusForApiResult : public ServiceResult + { + public: + + + EditThesaurusForApiResult(); + explicit EditThesaurusForApiResult(const std::string &payload); + ~EditThesaurusForApiResult(); + std::string getMessage()const; + long getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + long data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_EDITTHESAURUSFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetAsrVocabRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetAsrVocabRequest.h new file mode 100644 index 000000000..c37f5a960 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetAsrVocabRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETASRVOCABREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETASRVOCABREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetAsrVocabRequest : public RpcServiceRequest + { + + public: + GetAsrVocabRequest(); + ~GetAsrVocabRequest(); + + 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_GETASRVOCABREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetAsrVocabResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetAsrVocabResult.h new file mode 100644 index 000000000..43211ecc1 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetAsrVocabResult.h @@ -0,0 +1,67 @@ +/* + * 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_GETASRVOCABRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETASRVOCABRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetAsrVocabResult : public ServiceResult + { + public: + struct Data + { + struct Word + { + std::string word; + int weight; + }; + std::vector words; + std::string name; + }; + + + GetAsrVocabResult(); + explicit GetAsrVocabResult(const std::string &payload); + ~GetAsrVocabResult(); + 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_GETASRVOCABRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetBusinessCategoryListRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetBusinessCategoryListRequest.h new file mode 100644 index 000000000..912b0e33a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetBusinessCategoryListRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETBUSINESSCATEGORYLISTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETBUSINESSCATEGORYLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetBusinessCategoryListRequest : public RpcServiceRequest + { + + public: + GetBusinessCategoryListRequest(); + ~GetBusinessCategoryListRequest(); + + 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_GETBUSINESSCATEGORYLISTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetBusinessCategoryListResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetBusinessCategoryListResult.h new file mode 100644 index 000000000..d0a45e0c6 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetBusinessCategoryListResult.h @@ -0,0 +1,63 @@ +/* + * 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_GETBUSINESSCATEGORYLISTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETBUSINESSCATEGORYLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetBusinessCategoryListResult : public ServiceResult + { + public: + struct BusinessCategoryBasicInfo + { + std::string businessName; + int serviceType; + int bid; + }; + + + GetBusinessCategoryListResult(); + explicit GetBusinessCategoryListResult(const std::string &payload); + ~GetBusinessCategoryListResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETBUSINESSCATEGORYLISTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetCustomizationConfigListRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetCustomizationConfigListRequest.h new file mode 100644 index 000000000..f6c4ad150 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetCustomizationConfigListRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETCUSTOMIZATIONCONFIGLISTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETCUSTOMIZATIONCONFIGLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetCustomizationConfigListRequest : public RpcServiceRequest + { + + public: + GetCustomizationConfigListRequest(); + ~GetCustomizationConfigListRequest(); + + 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_GETCUSTOMIZATIONCONFIGLISTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetCustomizationConfigListResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetCustomizationConfigListResult.h new file mode 100644 index 000000000..72c3fd916 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetCustomizationConfigListResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_GETCUSTOMIZATIONCONFIGLISTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETCUSTOMIZATIONCONFIGLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetCustomizationConfigListResult : public ServiceResult + { + public: + struct ModelCustomizationDataSetPo + { + std::string modelName; + int taskType; + std::string createTime; + int modelStatus; + std::string modeCustomizationId; + long modelId; + }; + + + GetCustomizationConfigListResult(); + explicit GetCustomizationConfigListResult(const std::string &payload); + ~GetCustomizationConfigListResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETCUSTOMIZATIONCONFIGLISTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetDataSetListRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetDataSetListRequest.h new file mode 100644 index 000000000..abb31c3e1 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetDataSetListRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetDataSetListResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetDataSetListResult.h new file mode 100644 index 000000000..1cca102d1 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetDataSetListResult.h @@ -0,0 +1,73 @@ +/* + * 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 +#include +#include +#include +#include + +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 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 data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetHitResultRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetHitResultRequest.h new file mode 100644 index 000000000..4b7d13f01 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetHitResultRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETHITRESULTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETHITRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetHitResultRequest : public RpcServiceRequest + { + + public: + GetHitResultRequest(); + ~GetHitResultRequest(); + + 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_GETHITRESULTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetHitResultResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetHitResultResult.h new file mode 100644 index 000000000..9972ac87b --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetHitResultResult.h @@ -0,0 +1,68 @@ +/* + * 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_GETHITRESULTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETHITRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetHitResultResult : public ServiceResult + { + public: + struct ResultInfo + { + long rid; + std::string ruleName; + }; + + + GetHitResultResult(); + explicit GetHitResultResult(const std::string &payload); + ~GetHitResultResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETHITRESULTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetNextResultToVerifyRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetNextResultToVerifyRequest.h new file mode 100644 index 000000000..05626f340 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetNextResultToVerifyRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETNEXTRESULTTOVERIFYREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETNEXTRESULTTOVERIFYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetNextResultToVerifyRequest : public RpcServiceRequest + { + + public: + GetNextResultToVerifyRequest(); + ~GetNextResultToVerifyRequest(); + + 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_GETNEXTRESULTTOVERIFYREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetNextResultToVerifyResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetNextResultToVerifyResult.h new file mode 100644 index 000000000..5a6191dfb --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetNextResultToVerifyResult.h @@ -0,0 +1,107 @@ +/* + * 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_GETNEXTRESULTTOVERIFYRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETNEXTRESULTTOVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetNextResultToVerifyResult : public ServiceResult + { + public: + struct Data + { + struct Dialogue + { + struct Delta + { + struct Source + { + std::vector line; + int position; + }; + struct Target + { + int position; + std::vector line1; + }; + Target target; + std::string type; + Source source; + }; + std::string hourMinSec; + std::string sourceRole; + int incorrectWords; + std::string sourceWords; + std::string beginTime; + std::vector deltas; + std::string role; + int silenceDuration; + std::string words; + long begin; + long end; + std::string identity; + int speechRate; + int emotionValue; + }; + int status; + int incorrectWords; + std::vector dialogues; + std::string fileName; + int verifiedCount; + std::string audioScheme; + int duration; + int index; + bool verified; + int totalCount; + float precision; + std::string updateTime; + std::string fileId; + std::string audioURL; + }; + + + GetNextResultToVerifyResult(); + explicit GetNextResultToVerifyResult(const std::string &payload); + ~GetNextResultToVerifyResult(); + 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_GETNEXTRESULTTOVERIFYRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetPrecisionTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetPrecisionTaskRequest.h new file mode 100644 index 000000000..bc245bcf4 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetPrecisionTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETPRECISIONTASKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETPRECISIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetPrecisionTaskRequest : public RpcServiceRequest + { + + public: + GetPrecisionTaskRequest(); + ~GetPrecisionTaskRequest(); + + 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_GETPRECISIONTASKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetPrecisionTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetPrecisionTaskResult.h new file mode 100644 index 000000000..2c91599db --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetPrecisionTaskResult.h @@ -0,0 +1,80 @@ +/* + * 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_GETPRECISIONTASKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETPRECISIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetPrecisionTaskResult : public ServiceResult + { + public: + struct Data + { + struct Precision + { + int status; + std::string modelName; + std::string taskId; + float precision; + long modelId; + }; + int status; + int incorrectWords; + int totalCount; + std::string taskId; + std::string updateTime; + int verifiedCount; + std::vector precisions; + long dataSetId; + int duration; + int source; + std::string dataSetName; + std::string name; + }; + + + GetPrecisionTaskResult(); + explicit GetPrecisionTaskResult(const std::string &payload); + ~GetPrecisionTaskResult(); + 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_GETPRECISIONTASKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRecognizeResultRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRecognizeResultRequest.h new file mode 100644 index 000000000..c77d8e7fd --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRecognizeResultRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRecognizeResultResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRecognizeResultResult.h new file mode 100644 index 000000000..9cd1d7c02 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRecognizeResultResult.h @@ -0,0 +1,75 @@ +/* + * 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 +#include +#include +#include +#include + +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 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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultCallbackRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultCallbackRequest.h new file mode 100644 index 000000000..97dd8c493 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultCallbackRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETRESULTCALLBACKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTCALLBACKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetResultCallbackRequest : public RpcServiceRequest + { + + public: + GetResultCallbackRequest(); + ~GetResultCallbackRequest(); + + 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_GETRESULTCALLBACKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultCallbackResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultCallbackResult.h new file mode 100644 index 000000000..e640627c2 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultCallbackResult.h @@ -0,0 +1,55 @@ +/* + * 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_GETRESULTCALLBACKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTCALLBACKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetResultCallbackResult : public ServiceResult + { + public: + + + GetResultCallbackResult(); + explicit GetResultCallbackResult(const std::string &payload); + ~GetResultCallbackResult(); + 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_GETRESULTCALLBACKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultRequest.h new file mode 100644 index 000000000..b8e6be78e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETRESULTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetResultRequest : public RpcServiceRequest + { + + public: + GetResultRequest(); + ~GetResultRequest(); + + 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_GETRESULTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultResult.h new file mode 100644 index 000000000..a78eb420e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultResult.h @@ -0,0 +1,166 @@ +/* + * 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_GETRESULTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetResultResult : public ServiceResult + { + public: + struct ResultInfo + { + struct Recording + { + std::string callee; + std::string remark13; + std::string remark11; + std::string remark12; + int callType; + std::string url; + std::string dataSetName; + std::string name; + std::string remark6; + std::string remark7; + std::string remark4; + long remark5; + std::string remark2; + std::string remark3; + std::string remark1; + std::string remark8; + std::string business; + std::string remark9; + std::string callId; + long duration; + std::string caller; + std::string id; + std::string callTime; + std::string remark10; + std::string primaryId; + }; + struct Agent + { + std::string skillGroup; + std::string id; + std::string name; + }; + struct AsrResultItem + { + std::string role; + std::string words; + long begin; + long end; + int speechRate; + int emotionValue; + }; + struct HitResultItem + { + struct Hit + { + struct Phrase + { + std::string role; + std::string words; + long begin; + int end; + int emotionValue; + }; + struct KeyWord + { + std::string val; + int from; + int to; + std::string cid; + }; + Phrase phrase; + std::vector keyWords; + std::vector cid; + }; + std::vector hits; + std::string type; + int reviewResult; + std::string rid; + std::string name; + }; + struct HitScoreItem + { + std::string ruleId; + std::string scoreName; + std::string scoreNumber; + std::string scoreId; + }; + int status; + Agent agent; + std::string taskId; + std::string resolver; + std::string comments; + std::string createTime; + std::string reviewTime; + int reviewResult; + std::vector hitScore; + std::string createTimeLong; + std::string reviewer; + std::vector hitResult; + int score; + std::string taskName; + int reviewStatus; + std::string reviewTimeLong; + Recording recording; + std::string errorMessage; + std::vector asrResult; + }; + + + GetResultResult(); + explicit GetResultResult(const std::string &payload); + ~GetResultResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + std::string getResultCountId()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + std::string resultCountId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultToReviewRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultToReviewRequest.h new file mode 100644 index 000000000..92352830f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultToReviewRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETRESULTTOREVIEWREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTTOREVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetResultToReviewRequest : public RpcServiceRequest + { + + public: + GetResultToReviewRequest(); + ~GetResultToReviewRequest(); + + 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_GETRESULTTOREVIEWREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultToReviewResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultToReviewResult.h new file mode 100644 index 000000000..dc583a43b --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetResultToReviewResult.h @@ -0,0 +1,189 @@ +/* + * 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_GETRESULTTOREVIEWRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRESULTTOREVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetResultToReviewResult : 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; + }; + struct ScorePo + { + struct ScoreParam + { + std::string scoreSubName; + int hit; + long scoreSubId; + int scoreType; + int scoreNum; + }; + std::vector scoreInfos; + std::string scoreName; + long scoreId; + }; + struct HitRuleReviewInfo + { + struct ReviewInfo + { + std::string hitId; + std::string reviewTime; + int reviewResult; + long rid; + std::string reviewer; + }; + struct ConditionHitInfo + { + struct Phrase + { + std::string role; + std::string words; + long begin; + long end; + int pid; + std::string identity; + int emotionValue; + }; + struct KeyWord + { + std::string val; + int pid; + int from; + int to; + std::string tid; + std::string cid; + }; + Phrase phrase; + std::vector keyWords; + std::vector cid; + }; + struct ComplainHistoriesItem + { + std::string operatorName; + std::string comments; + long _operator; + int operationType; + std::string operationTime; + }; + bool complainable; + std::vector conditionHitInfoList; + int ruleScoreType; + int ruleType; + long scoreId; + long rid; + ReviewInfo reviewInfo; + std::vector complainHistories; + std::string scoreSubName; + long scoreSubId; + int totalNumber; + int autoReview; + int scoreNum; + std::string ruleName; + }; + struct HitRuleReviewInfo1 + { + struct ComplainHistoriesItem + { + std::string operatorName; + std::string comments; + long _operator; + int operationType; + std::string operationTime; + }; + std::string scoreSubName; + bool complainable; + std::vector complainHistories2; + long scoreSubId; + long scoreId; + int scoreNum; + }; + struct ReviewHistory + { + std::string operatorName; + int type; + int score; + std::string timeStr; + int complainResult; + int reviewResult; + int oldScore; + }; + std::vector dialogues; + int reviewNumber; + std::string comments; + std::vector manualScoreInfoList; + int businessType; + std::string fileMergeName; + std::string audioScheme; + std::vector hitRuleReviewInfoList; + std::vector reviewHistoryList; + std::string vid; + int hitNumber; + std::string fileId; + bool deleted; + int totalScore; + std::vector handScoreInfoList; + bool audio; + std::string audioURL; + }; + + + GetResultToReviewResult(); + explicit GetResultToReviewResult(const std::string &payload); + ~GetResultToReviewResult(); + 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_GETRESULTTOREVIEWRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleCategoryRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleCategoryRequest.h new file mode 100644 index 000000000..a58e8fa8f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleCategoryRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETRULECATEGORYREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULECATEGORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRuleCategoryRequest : public RpcServiceRequest + { + + public: + GetRuleCategoryRequest(); + ~GetRuleCategoryRequest(); + + 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_GETRULECATEGORYREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleCategoryResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleCategoryResult.h new file mode 100644 index 000000000..8fea065a3 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleCategoryResult.h @@ -0,0 +1,63 @@ +/* + * 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_GETRULECATEGORYRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULECATEGORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRuleCategoryResult : public ServiceResult + { + public: + struct RuleCountInfo + { + int type; + std::string typeName; + bool select; + }; + + + GetRuleCategoryResult(); + explicit GetRuleCategoryResult(const std::string &payload); + ~GetRuleCategoryResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULECATEGORYRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleDetailRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleDetailRequest.h new file mode 100644 index 000000000..0fc58cd6d --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleDetailRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETRULEDETAILREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRuleDetailRequest : public RpcServiceRequest + { + + public: + GetRuleDetailRequest(); + ~GetRuleDetailRequest(); + + 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_GETRULEDETAILREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleDetailResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleDetailResult.h new file mode 100644 index 000000000..d16eccf35 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleDetailResult.h @@ -0,0 +1,138 @@ +/* + * 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_GETRULEDETAILRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRuleDetailResult : public ServiceResult + { + public: + struct Data + { + struct ConditionBasicInfo + { + struct CheckRange + { + struct Anchor + { + int hitTime; + std::string anchorCid; + std::string location; + }; + struct Range + { + int from; + int to; + }; + std::string role; + Anchor anchor; + Range range; + bool absolute; + }; + struct OperatorBasicInfo + { + struct Param + { + std::vector operKeyWords; + std::vector similarlySentences; + bool differentRole; + std::vector excludes; + int maxEmotionChangeValue; + int target; + std::string regex; + std::string targetRole; + int hitTime; + float threshold; + int velocityInMint; + std::string beginType; + int minWordSize; + bool average; + std::string phrase; + int from; + int maxEmotionChangeValue2; + bool keywordExtension; + std::string compareOperator; + int score; + int checkType; + std::vector references; + bool contextChatMatch; + bool fromEnd; + int checkType1; + int interval; + bool inSentence; + int keywordMatchSize; + }; + std::string type; + std::string operName; + Param param; + std::string oid; + }; + std::vector operators; + std::string operLambda; + std::string conditionInfoCid; + CheckRange checkRange; + }; + struct RuleBasicInfo + { + struct BusinessCategoryBasicInfo + { + std::string businessName; + int serviceType; + int bid; + }; + std::vector businessCategories; + std::string ruleLambda; + std::vector triggers; + std::string rid; + }; + std::vector rules; + std::vector conditions; + }; + + + GetRuleDetailResult(); + explicit GetRuleDetailResult(const std::string &payload); + ~GetRuleDetailResult(); + 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_GETRULEDETAILRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleRequest.h new file mode 100644 index 000000000..64a0e97d2 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETRULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRuleRequest : public RpcServiceRequest + { + + public: + GetRuleRequest(); + ~GetRuleRequest(); + + 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_GETRULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleResult.h new file mode 100644 index 000000000..196637153 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetRuleResult.h @@ -0,0 +1,86 @@ +/* + * 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_GETRULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRuleResult : public ServiceResult + { + public: + struct Data + { + struct RuleInfo + { + int status; + std::string endTime; + int ruleScoreType; + std::string comments; + std::string createTime; + std::string startTime; + std::string scoreName; + std::string createEmpid; + int scoreId; + std::string rid; + std::string weight; + std::string name; + int isOnline; + std::string scoreSubName; + int type; + std::string lastUpdateTime; + std::string lastUpdateEmpid; + std::string ruleLambda; + int isDelete; + int scoreSubId; + int autoReview; + std::vector businessCategoryNameList; + }; + std::vector rules; + }; + + + GetRuleResult(); + explicit GetRuleResult(const std::string &payload); + ~GetRuleResult(); + 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_GETRULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetScoreInfoRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetScoreInfoRequest.h new file mode 100644 index 000000000..ea5d75117 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetScoreInfoRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETSCOREINFOREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETSCOREINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetScoreInfoRequest : public RpcServiceRequest + { + + public: + GetScoreInfoRequest(); + ~GetScoreInfoRequest(); + + 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_GETSCOREINFOREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetScoreInfoResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetScoreInfoResult.h new file mode 100644 index 000000000..89bac0cfa --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetScoreInfoResult.h @@ -0,0 +1,70 @@ +/* + * 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_GETSCOREINFORESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETSCOREINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetScoreInfoResult : public ServiceResult + { + public: + struct ScorePo + { + struct ScoreParam + { + std::string scoreSubName; + int scoreSubId; + int scoreType; + int scoreNum; + }; + std::vector scoreInfos; + std::string scoreName; + int scoreId; + }; + + + GetScoreInfoResult(); + explicit GetScoreInfoResult(const std::string &payload); + ~GetScoreInfoResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETSCOREINFORESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetSkillGroupConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSkillGroupConfigRequest.h new file mode 100644 index 000000000..f54882fbc --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSkillGroupConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETSKILLGROUPCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETSKILLGROUPCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetSkillGroupConfigRequest : public RpcServiceRequest + { + + public: + GetSkillGroupConfigRequest(); + ~GetSkillGroupConfigRequest(); + + 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_GETSKILLGROUPCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetSkillGroupConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSkillGroupConfigResult.h new file mode 100644 index 000000000..491881364 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSkillGroupConfigResult.h @@ -0,0 +1,85 @@ +/* + * 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_GETSKILLGROUPCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETSKILLGROUPCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetSkillGroupConfigResult : public ServiceResult + { + public: + struct Data + { + struct RuleNameInfo + { + long rid; + std::string ruleName; + }; + int status; + std::vector ruleList; + std::string modelName; + long vocabId; + int qualityCheckType; + std::string instanceId; + int allContentQualityCheck; + std::string createTime; + std::string skillGroupId; + std::string rid; + std::string vocabName; + std::string name; + int type; + std::string skillGroupName; + std::string updateTime; + long id; + long modelId; + std::string allRids; + std::vector allRuleList; + int skillGroupFrom; + }; + + + GetSkillGroupConfigResult(); + explicit GetSkillGroupConfigResult(const std::string &payload); + ~GetSkillGroupConfigResult(); + 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_GETSKILLGROUPCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetSyncResultRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSyncResultRequest.h new file mode 100644 index 000000000..3d7fc4cd3 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSyncResultRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_GETSYNCRESULTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETSYNCRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetSyncResultRequest : public RpcServiceRequest + { + + public: + GetSyncResultRequest(); + ~GetSyncResultRequest(); + + std::string getJsonStr()const; + void setJsonStr(const std::string& jsonStr); + + private: + std::string jsonStr_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETSYNCRESULTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetSyncResultResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSyncResultResult.h new file mode 100644 index 000000000..51d5b76fa --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetSyncResultResult.h @@ -0,0 +1,148 @@ +/* + * 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_GETSYNCRESULTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETSYNCRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetSyncResultResult : public ServiceResult + { + public: + struct ResultInfo + { + struct Recording + { + std::string callee; + std::string callId; + int callType; + long duration; + std::string url; + std::string dataSetName; + std::string name; + std::string remark2; + std::string caller; + std::string remark3; + std::string remark1; + std::string id; + std::string callTime; + std::string primaryId; + std::string business; + }; + struct Agent + { + std::string skillGroup; + std::string id; + std::string name; + }; + struct AsrResultItem + { + std::string role; + std::string words; + int silenceDuration; + long begin; + long end; + int speechRate; + int emotionValue; + }; + struct HitResultItem + { + struct Hit + { + struct Phrase + { + std::string role; + std::string words; + int silenceDuration; + long begin; + int end; + int speechRate; + int emotionValue; + }; + struct KeyWord + { + std::string val; + int from; + int to; + std::string cid; + }; + Phrase phrase; + std::vector keyWords; + std::vector cid; + }; + std::vector hits; + std::string type; + int reviewResult; + std::string rid; + std::string name; + }; + int status; + Agent agent; + std::string taskId; + std::string resolver; + std::string comments; + std::string createTime; + int reviewResult; + std::string reviewer; + std::vector hitResult; + int score; + std::string taskName; + int reviewStatus; + Recording recording; + std::string errorMessage; + std::vector asrResult; + }; + + + GetSyncResultResult(); + explicit GetSyncResultResult(const std::string &payload); + ~GetSyncResultResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + std::string getResultCountId()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + std::string resultCountId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETSYNCRESULTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiRequest.h new file mode 100644 index 000000000..0f6f07248 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_GETTHESAURUSBYSYNONYMFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETTHESAURUSBYSYNONYMFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetThesaurusBySynonymForApiRequest : public RpcServiceRequest + { + + public: + GetThesaurusBySynonymForApiRequest(); + ~GetThesaurusBySynonymForApiRequest(); + + 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_GETTHESAURUSBYSYNONYMFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiResult.h new file mode 100644 index 000000000..6cb03c120 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/GetThesaurusBySynonymForApiResult.h @@ -0,0 +1,63 @@ +/* + * 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_GETTHESAURUSBYSYNONYMFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETTHESAURUSBYSYNONYMFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT GetThesaurusBySynonymForApiResult : public ServiceResult + { + public: + struct ThesaurusPo + { + long id; + std::vector synonymList; + std::string business; + }; + + + GetThesaurusBySynonymForApiResult(); + explicit GetThesaurusBySynonymForApiResult(const std::string &payload); + ~GetThesaurusBySynonymForApiResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETTHESAURUSBYSYNONYMFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/HandleComplaintRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/HandleComplaintRequest.h new file mode 100644 index 000000000..e27e9e085 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/HandleComplaintRequest.h @@ -0,0 +1,54 @@ +/* + * 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_HANDLECOMPLAINTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_HANDLECOMPLAINTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT HandleComplaintRequest : public RpcServiceRequest + { + + public: + HandleComplaintRequest(); + ~HandleComplaintRequest(); + + 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_HANDLECOMPLAINTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/HandleComplaintResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/HandleComplaintResult.h new file mode 100644 index 000000000..be13b6a66 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/HandleComplaintResult.h @@ -0,0 +1,57 @@ +/* + * 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_HANDLECOMPLAINTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_HANDLECOMPLAINTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT HandleComplaintResult : public ServiceResult + { + public: + + + HandleComplaintResult(); + explicit HandleComplaintResult(const std::string &payload); + ~HandleComplaintResult(); + 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_HANDLECOMPLAINTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/InsertScoreForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertScoreForApiRequest.h new file mode 100644 index 000000000..0f3ef0c61 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertScoreForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_INSERTSCOREFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_INSERTSCOREFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT InsertScoreForApiRequest : public RpcServiceRequest + { + + public: + InsertScoreForApiRequest(); + ~InsertScoreForApiRequest(); + + 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_INSERTSCOREFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/InsertScoreForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertScoreForApiResult.h new file mode 100644 index 000000000..03a321ba3 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertScoreForApiResult.h @@ -0,0 +1,62 @@ +/* + * 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_INSERTSCOREFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_INSERTSCOREFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT InsertScoreForApiResult : public ServiceResult + { + public: + struct Data + { + std::string scoreName; + long scoreId; + }; + + + InsertScoreForApiResult(); + explicit InsertScoreForApiResult(const std::string &payload); + ~InsertScoreForApiResult(); + 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_INSERTSCOREFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/InsertSubScoreForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertSubScoreForApiRequest.h new file mode 100644 index 000000000..e0c76c923 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertSubScoreForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_INSERTSUBSCOREFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_INSERTSUBSCOREFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT InsertSubScoreForApiRequest : public RpcServiceRequest + { + + public: + InsertSubScoreForApiRequest(); + ~InsertSubScoreForApiRequest(); + + 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_INSERTSUBSCOREFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/InsertSubScoreForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertSubScoreForApiResult.h new file mode 100644 index 000000000..364cbb569 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/InsertSubScoreForApiResult.h @@ -0,0 +1,62 @@ +/* + * 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_INSERTSUBSCOREFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_INSERTSUBSCOREFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT InsertSubScoreForApiResult : public ServiceResult + { + public: + struct Data + { + std::string scoreSubName; + long scoreSubId; + }; + + + InsertSubScoreForApiResult(); + explicit InsertSubScoreForApiResult(const std::string &payload); + ~InsertSubScoreForApiResult(); + 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_INSERTSUBSCOREFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/InvalidRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/InvalidRuleRequest.h new file mode 100644 index 000000000..fcf6e44ee --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/InvalidRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_INVALIDRULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_INVALIDRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT InvalidRuleRequest : public RpcServiceRequest + { + + public: + InvalidRuleRequest(); + ~InvalidRuleRequest(); + + 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_INVALIDRULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/InvalidRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/InvalidRuleResult.h new file mode 100644 index 000000000..b9c47f163 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/InvalidRuleResult.h @@ -0,0 +1,57 @@ +/* + * 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_INVALIDRULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_INVALIDRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT InvalidRuleResult : public ServiceResult + { + public: + + + InvalidRuleResult(); + explicit InvalidRuleResult(const std::string &payload); + ~InvalidRuleResult(); + std::string getMessage()const; + bool getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_INVALIDRULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListAsrVocabRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListAsrVocabRequest.h new file mode 100644 index 000000000..d6dbd30ca --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListAsrVocabRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTASRVOCABREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTASRVOCABREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListAsrVocabRequest : public RpcServiceRequest + { + + public: + ListAsrVocabRequest(); + ~ListAsrVocabRequest(); + + 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_LISTASRVOCABREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListAsrVocabResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListAsrVocabResult.h new file mode 100644 index 000000000..3ea27de30 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListAsrVocabResult.h @@ -0,0 +1,65 @@ +/* + * 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_LISTASRVOCABRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTASRVOCABRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListAsrVocabResult : public ServiceResult + { + public: + struct AsrVocab + { + std::string vocabularyId; + std::string createTime; + std::string updateTime; + std::string id; + std::string name; + }; + + + ListAsrVocabResult(); + explicit ListAsrVocabResult(const std::string &payload); + ~ListAsrVocabResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTASRVOCABRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListHotWordsTasksRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListHotWordsTasksRequest.h new file mode 100644 index 000000000..882ba4050 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListHotWordsTasksRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTHOTWORDSTASKSREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTHOTWORDSTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListHotWordsTasksRequest : public RpcServiceRequest + { + + public: + ListHotWordsTasksRequest(); + ~ListHotWordsTasksRequest(); + + 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_LISTHOTWORDSTASKSREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListHotWordsTasksResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListHotWordsTasksResult.h new file mode 100644 index 000000000..b1d956ad4 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListHotWordsTasksResult.h @@ -0,0 +1,96 @@ +/* + * 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_LISTHOTWORDSTASKSRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTHOTWORDSTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListHotWordsTasksResult : public ServiceResult + { + public: + struct HotWordsTaskPo + { + struct DialogueParam + { + int role; + long dialogueId; + int startIndex; + std::string endTime; + int sourceType; + std::string startTime; + int endIndex; + std::string dataSetIds; + }; + struct WordsParam + { + std::string includes; + long extraConfigId; + std::string excludes; + }; + int status; + int timeInterval; + std::string endTime; + std::string message; + std::string startTime; + WordsParam wordsParam; + DialogueParam dialogueParam; + std::string name; + long taskConfigId; + int type; + int instanceStatus; + std::string lastExecutionTime; + int timeUnit; + }; + + + ListHotWordsTasksResult(); + explicit ListHotWordsTasksResult(const std::string &payload); + ~ListHotWordsTasksResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTHOTWORDSTASKSRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListPrecisionTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListPrecisionTaskRequest.h new file mode 100644 index 000000000..4cb248321 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListPrecisionTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTPRECISIONTASKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTPRECISIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListPrecisionTaskRequest : public RpcServiceRequest + { + + public: + ListPrecisionTaskRequest(); + ~ListPrecisionTaskRequest(); + + 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_LISTPRECISIONTASKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListPrecisionTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListPrecisionTaskResult.h new file mode 100644 index 000000000..f92d11159 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListPrecisionTaskResult.h @@ -0,0 +1,88 @@ +/* + * 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_LISTPRECISIONTASKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTPRECISIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListPrecisionTaskResult : public ServiceResult + { + public: + struct PrecisionTask + { + struct Precision + { + int status; + std::string modelName; + std::string taskId; + float precision; + std::string createTime; + long modelId; + }; + int status; + int incorrectWords; + std::string taskId; + std::string createTime; + int verifiedCount; + std::vector precisions; + long dataSetId; + int duration; + int source; + std::string dataSetName; + std::string name; + int totalCount; + std::string updateTime; + }; + + + ListPrecisionTaskResult(); + explicit ListPrecisionTaskResult(const std::string &payload); + ~ListPrecisionTaskResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTPRECISIONTASKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListRolesRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRolesRequest.h new file mode 100644 index 000000000..170c35214 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRolesRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTROLESREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTROLESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListRolesRequest : public RpcServiceRequest + { + + public: + ListRolesRequest(); + ~ListRolesRequest(); + + 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_LISTROLESREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListRolesResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRolesResult.h new file mode 100644 index 000000000..eb5e5ea1f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRolesResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_LISTROLESRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTROLESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListRolesResult : public ServiceResult + { + public: + struct Role + { + std::string createTime; + std::string displayName; + std::string updateTime; + int level; + long id; + std::string name; + }; + + + ListRolesResult(); + explicit ListRolesResult(const std::string &payload); + ~ListRolesResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTROLESRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListRulesRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRulesRequest.h new file mode 100644 index 000000000..6d57c1cdd --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRulesRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTRULESREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTRULESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListRulesRequest : public RpcServiceRequest + { + + public: + ListRulesRequest(); + ~ListRulesRequest(); + + 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_LISTRULESREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListRulesResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRulesResult.h new file mode 100644 index 000000000..2851bd648 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListRulesResult.h @@ -0,0 +1,74 @@ +/* + * 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_LISTRULESRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListRulesResult : public ServiceResult + { + public: + struct Rule + { + int type; + std::string typeName; + std::string comments; + std::string createTime; + int ruleType; + long rid; + std::string name; + std::vector businessCategoryNameList; + }; + + + ListRulesResult(); + explicit ListRulesResult(const std::string &payload); + ~ListRulesResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTRULESRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListSkillGroupConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListSkillGroupConfigRequest.h new file mode 100644 index 000000000..f2b68bffd --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListSkillGroupConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTSKILLGROUPCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTSKILLGROUPCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListSkillGroupConfigRequest : public RpcServiceRequest + { + + public: + ListSkillGroupConfigRequest(); + ~ListSkillGroupConfigRequest(); + + 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_LISTSKILLGROUPCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListSkillGroupConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListSkillGroupConfigResult.h new file mode 100644 index 000000000..f9b2f68d1 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListSkillGroupConfigResult.h @@ -0,0 +1,90 @@ +/* + * 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_LISTSKILLGROUPCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTSKILLGROUPCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListSkillGroupConfigResult : public ServiceResult + { + public: + struct SkillGroupConfig + { + struct RuleNameInfo + { + long rid; + std::string ruleName; + }; + struct RuleNameInfo + { + long rid; + std::string ruleName; + }; + int status; + std::vector ruleList; + std::string modelName; + long vocabId; + int qualityCheckType; + std::string instanceId; + int allContentQualityCheck; + std::string createTime; + std::string skillGroupId; + std::string rid; + std::string vocabName; + std::string name; + int type; + std::string skillGroupName; + std::string updateTime; + long id; + long modelId; + std::string allRids; + std::vector allRuleList; + int skillGroupFrom; + }; + + + ListSkillGroupConfigResult(); + explicit ListSkillGroupConfigResult(const std::string &payload); + ~ListSkillGroupConfigResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTSKILLGROUPCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListTaskAssignRulesRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListTaskAssignRulesRequest.h new file mode 100644 index 000000000..9040d9cca --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListTaskAssignRulesRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTTASKASSIGNRULESREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTTASKASSIGNRULESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListTaskAssignRulesRequest : public RpcServiceRequest + { + + public: + ListTaskAssignRulesRequest(); + ~ListTaskAssignRulesRequest(); + + 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_LISTTASKASSIGNRULESREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListTaskAssignRulesResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListTaskAssignRulesResult.h new file mode 100644 index 000000000..3431f74c5 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListTaskAssignRulesResult.h @@ -0,0 +1,100 @@ +/* + * 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_LISTTASKASSIGNRULESRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTTASKASSIGNRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListTaskAssignRulesResult : public ServiceResult + { + public: + struct TaskAssignRuleInfo + { + struct Agent + { + std::string agentId; + std::string agentName; + }; + struct SkillGroup + { + std::string skillName; + std::string skillId; + }; + struct Reviewer + { + std::string reviewerId; + std::string reviewerName; + }; + struct RuleBasicInfo + { + std::string rid; + std::string name; + }; + int priority; + long ruleId; + std::string createTime; + std::vector agents; + int callType; + std::vector skillGroups; + int enabled; + std::vector rules; + int durationMin; + std::string skillGroupsStr; + std::string updateTime; + std::string agentsStr; + int durationMax; + std::vector reviewers; + }; + + + ListTaskAssignRulesResult(); + explicit ListTaskAssignRulesResult(const std::string &payload); + ~ListTaskAssignRulesResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTTASKASSIGNRULESRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListUsersRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListUsersRequest.h new file mode 100644 index 000000000..40397d30c --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListUsersRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTUSERSREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTUSERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListUsersRequest : public RpcServiceRequest + { + + public: + ListUsersRequest(); + ~ListUsersRequest(); + + 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_LISTUSERSREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListUsersResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListUsersResult.h new file mode 100644 index 000000000..e66db8da9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListUsersResult.h @@ -0,0 +1,75 @@ +/* + * 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_LISTUSERSRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTUSERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListUsersResult : public ServiceResult + { + public: + struct User + { + std::string roleName; + std::string userName; + std::string description; + std::string createTime; + std::string displayName; + std::string updateTime; + long id; + int loginUserType; + std::string aliUid; + }; + + + ListUsersResult(); + explicit ListUsersResult(const std::string &payload); + ~ListUsersResult(); + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getData()const; + int getCount()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int pageSize_; + int pageNumber_; + std::vector data_; + int count_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTUSERSRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListWarningConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListWarningConfigRequest.h new file mode 100644 index 000000000..68ed7ab2d --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListWarningConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_LISTWARNINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTWARNINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListWarningConfigRequest : public RpcServiceRequest + { + + public: + ListWarningConfigRequest(); + ~ListWarningConfigRequest(); + + 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_LISTWARNINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ListWarningConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ListWarningConfigResult.h new file mode 100644 index 000000000..7c858cdd9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ListWarningConfigResult.h @@ -0,0 +1,78 @@ +/* + * 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_LISTWARNINGCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_LISTWARNINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT ListWarningConfigResult : public ServiceResult + { + public: + struct WarningConfigInfo + { + struct WarningRule + { + long rid; + std::string ruleName; + }; + struct Channel + { + int type; + std::string url; + }; + int status; + std::vector ruleList; + std::string configName; + std::string createTime; + std::string updateTime; + std::vector ridList; + long configId; + std::vector channels; + }; + + + ListWarningConfigResult(); + explicit ListWarningConfigResult(const std::string &payload); + ~ListWarningConfigResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_LISTWARNINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/OpenServiceRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/OpenServiceRequest.h new file mode 100644 index 000000000..da91658de --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/OpenServiceRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/OpenServiceResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/OpenServiceResult.h new file mode 100644 index 000000000..2207b55c4 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/OpenServiceResult.h @@ -0,0 +1,55 @@ +/* + * 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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/RegisterNoticeRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/RegisterNoticeRequest.h new file mode 100644 index 000000000..d26634738 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/RegisterNoticeRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/RegisterNoticeResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/RegisterNoticeResult.h new file mode 100644 index 000000000..882c1b4a2 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/RegisterNoticeResult.h @@ -0,0 +1,55 @@ +/* + * 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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/RestartAsrTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/RestartAsrTaskRequest.h new file mode 100644 index 000000000..c6198d36d --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/RestartAsrTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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_RESTARTASRTASKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_RESTARTASRTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT RestartAsrTaskRequest : public RpcServiceRequest + { + + public: + RestartAsrTaskRequest(); + ~RestartAsrTaskRequest(); + + 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_RESTARTASRTASKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/RestartAsrTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/RestartAsrTaskResult.h new file mode 100644 index 000000000..9e00d4d1a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/RestartAsrTaskResult.h @@ -0,0 +1,63 @@ +/* + * 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_RESTARTASRTASKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_RESTARTASRTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT RestartAsrTaskResult : public ServiceResult + { + public: + struct RestartResult + { + std::string message; + std::string data; + bool success; + }; + + + RestartAsrTaskResult(); + explicit RestartAsrTaskResult(const std::string &payload); + ~RestartAsrTaskResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_RESTARTASRTASKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/RetrySubmitAsrRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/RetrySubmitAsrRequest.h new file mode 100644 index 000000000..95ba0a52e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/RetrySubmitAsrRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h new file mode 100644 index 000000000..36bd7a176 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h @@ -0,0 +1,57 @@ +/* + * 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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SaveConfigDataSetRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SaveConfigDataSetRequest.h new file mode 100644 index 000000000..c3e6d2894 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SaveConfigDataSetRequest.h @@ -0,0 +1,54 @@ +/* + * 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_SAVECONFIGDATASETREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SAVECONFIGDATASETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SaveConfigDataSetRequest : public RpcServiceRequest + { + + public: + SaveConfigDataSetRequest(); + ~SaveConfigDataSetRequest(); + + 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_SAVECONFIGDATASETREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SaveConfigDataSetResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SaveConfigDataSetResult.h new file mode 100644 index 000000000..3c3c9dc9e --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SaveConfigDataSetResult.h @@ -0,0 +1,55 @@ +/* + * 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_SAVECONFIGDATASETRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SAVECONFIGDATASETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SaveConfigDataSetResult : public ServiceResult + { + public: + + + SaveConfigDataSetResult(); + explicit SaveConfigDataSetResult(const std::string &payload); + ~SaveConfigDataSetResult(); + 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_SAVECONFIGDATASETRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitComplaintRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitComplaintRequest.h new file mode 100644 index 000000000..0b2942939 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitComplaintRequest.h @@ -0,0 +1,54 @@ +/* + * 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_SUBMITCOMPLAINTREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITCOMPLAINTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitComplaintRequest : public RpcServiceRequest + { + + public: + SubmitComplaintRequest(); + ~SubmitComplaintRequest(); + + 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_SUBMITCOMPLAINTREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitComplaintResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitComplaintResult.h new file mode 100644 index 000000000..3e5a4fa6a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitComplaintResult.h @@ -0,0 +1,57 @@ +/* + * 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_SUBMITCOMPLAINTRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITCOMPLAINTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitComplaintResult : public ServiceResult + { + public: + + + SubmitComplaintResult(); + explicit SubmitComplaintResult(const std::string &payload); + ~SubmitComplaintResult(); + 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_SUBMITCOMPLAINTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitModelTestTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitModelTestTaskRequest.h new file mode 100644 index 000000000..e5a269943 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitModelTestTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitModelTestTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitModelTestTaskResult.h new file mode 100644 index 000000000..a19c10b66 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitModelTestTaskResult.h @@ -0,0 +1,62 @@ +/* + * 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 +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskRequest.h new file mode 100644 index 000000000..e05f6773a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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_SUBMITPRECISIONTASKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITPRECISIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitPrecisionTaskRequest : public RpcServiceRequest + { + + public: + SubmitPrecisionTaskRequest(); + ~SubmitPrecisionTaskRequest(); + + 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_SUBMITPRECISIONTASKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskResult.h new file mode 100644 index 000000000..dd173e455 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskResult.h @@ -0,0 +1,57 @@ +/* + * 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_SUBMITPRECISIONTASKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITPRECISIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitPrecisionTaskResult : public ServiceResult + { + public: + + + SubmitPrecisionTaskResult(); + explicit SubmitPrecisionTaskResult(const std::string &payload); + ~SubmitPrecisionTaskResult(); + 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_SUBMITPRECISIONTASKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskRequest.h new file mode 100644 index 000000000..cc9fb88ee --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskRequest.h @@ -0,0 +1,54 @@ +/* + * 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_SUBMITQUALITYCHECKTASKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITQUALITYCHECKTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitQualityCheckTaskRequest : public RpcServiceRequest + { + + public: + SubmitQualityCheckTaskRequest(); + ~SubmitQualityCheckTaskRequest(); + + 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_SUBMITQUALITYCHECKTASKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskResult.h new file mode 100644 index 000000000..a91adbe10 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskResult.h @@ -0,0 +1,57 @@ +/* + * 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_SUBMITQUALITYCHECKTASKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITQUALITYCHECKTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitQualityCheckTaskResult : public ServiceResult + { + public: + + + SubmitQualityCheckTaskResult(); + explicit SubmitQualityCheckTaskResult(const std::string &payload); + ~SubmitQualityCheckTaskResult(); + 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_SUBMITQUALITYCHECKTASKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitReviewInfoRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitReviewInfoRequest.h new file mode 100644 index 000000000..c0393f370 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitReviewInfoRequest.h @@ -0,0 +1,54 @@ +/* + * 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_SUBMITREVIEWINFOREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITREVIEWINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitReviewInfoRequest : public RpcServiceRequest + { + + public: + SubmitReviewInfoRequest(); + ~SubmitReviewInfoRequest(); + + 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_SUBMITREVIEWINFOREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitReviewInfoResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitReviewInfoResult.h new file mode 100644 index 000000000..264e6858d --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SubmitReviewInfoResult.h @@ -0,0 +1,57 @@ +/* + * 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_SUBMITREVIEWINFORESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITREVIEWINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitReviewInfoResult : public ServiceResult + { + public: + + + SubmitReviewInfoResult(); + explicit SubmitReviewInfoResult(const std::string &payload); + ~SubmitReviewInfoResult(); + 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_SUBMITREVIEWINFORESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SyncQualityCheckRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SyncQualityCheckRequest.h new file mode 100644 index 000000000..773f2bf49 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SyncQualityCheckRequest.h @@ -0,0 +1,54 @@ +/* + * 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_SYNCQUALITYCHECKREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SYNCQUALITYCHECKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SyncQualityCheckRequest : public RpcServiceRequest + { + + public: + SyncQualityCheckRequest(); + ~SyncQualityCheckRequest(); + + 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_SYNCQUALITYCHECKREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/SyncQualityCheckResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/SyncQualityCheckResult.h new file mode 100644 index 000000000..f385676a0 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/SyncQualityCheckResult.h @@ -0,0 +1,95 @@ +/* + * 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_SYNCQUALITYCHECKRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_SYNCQUALITYCHECKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT SyncQualityCheckResult : public ServiceResult + { + public: + struct Data + { + struct RuleHitInfo + { + struct ConditionHitInfo + { + struct Phrase + { + std::string role; + std::string words; + int silenceDuration; + long begin; + long end; + std::string identity; + int speechRate; + int emotionValue; + }; + struct HitKeyWord + { + std::string val; + int pid; + int from; + int to; + int cid; + }; + std::vector hitKeyWords; + Phrase phrase; + }; + std::vector hit; + std::string rid; + std::string ruleName; + }; + int score; + std::string taskId; + long beginTime; + std::vector rules; + std::string tid; + }; + + + SyncQualityCheckResult(); + explicit SyncQualityCheckResult(const std::string &payload); + ~SyncQualityCheckResult(); + 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_SYNCQUALITYCHECKRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateAsrVocabRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateAsrVocabRequest.h new file mode 100644 index 000000000..4e31bbcc9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateAsrVocabRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATEASRVOCABREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEASRVOCABREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateAsrVocabRequest : public RpcServiceRequest + { + + public: + UpdateAsrVocabRequest(); + ~UpdateAsrVocabRequest(); + + 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_UPDATEASRVOCABREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateAsrVocabResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateAsrVocabResult.h new file mode 100644 index 000000000..76a3d4785 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateAsrVocabResult.h @@ -0,0 +1,57 @@ +/* + * 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_UPDATEASRVOCABRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEASRVOCABRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateAsrVocabResult : public ServiceResult + { + public: + + + UpdateAsrVocabResult(); + explicit UpdateAsrVocabResult(const std::string &payload); + ~UpdateAsrVocabResult(); + 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_UPDATEASRVOCABRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleForAntRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleForAntRequest.h new file mode 100644 index 000000000..9f9e43092 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleForAntRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleForAntResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleForAntResult.h new file mode 100644 index 000000000..63580b413 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleForAntResult.h @@ -0,0 +1,57 @@ +/* + * 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 +#include +#include +#include +#include + +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 getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleRequest.h new file mode 100644 index 000000000..32c427d88 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATERULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateRuleRequest : public RpcServiceRequest + { + + public: + UpdateRuleRequest(); + ~UpdateRuleRequest(); + + 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_UPDATERULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleResult.h new file mode 100644 index 000000000..90b9f7f16 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateRuleResult.h @@ -0,0 +1,57 @@ +/* + * 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_UPDATERULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateRuleResult : public ServiceResult + { + public: + + + UpdateRuleResult(); + explicit UpdateRuleResult(const std::string &payload); + ~UpdateRuleResult(); + 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_UPDATERULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateScoreForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateScoreForApiRequest.h new file mode 100644 index 000000000..79db94fe5 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateScoreForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATESCOREFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESCOREFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateScoreForApiRequest : public RpcServiceRequest + { + + public: + UpdateScoreForApiRequest(); + ~UpdateScoreForApiRequest(); + + 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_UPDATESCOREFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateScoreForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateScoreForApiResult.h new file mode 100644 index 000000000..ce32a494b --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateScoreForApiResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATESCOREFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESCOREFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateScoreForApiResult : public ServiceResult + { + public: + + + UpdateScoreForApiResult(); + explicit UpdateScoreForApiResult(const std::string &payload); + ~UpdateScoreForApiResult(); + 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_UPDATESCOREFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigRequest.h new file mode 100644 index 000000000..96a36ae6a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATESKILLGROUPCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESKILLGROUPCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateSkillGroupConfigRequest : public RpcServiceRequest + { + + public: + UpdateSkillGroupConfigRequest(); + ~UpdateSkillGroupConfigRequest(); + + 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_UPDATESKILLGROUPCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigResult.h new file mode 100644 index 000000000..d82a642a5 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATESKILLGROUPCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESKILLGROUPCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateSkillGroupConfigResult : public ServiceResult + { + public: + + + UpdateSkillGroupConfigResult(); + explicit UpdateSkillGroupConfigResult(const std::string &payload); + ~UpdateSkillGroupConfigResult(); + 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_UPDATESKILLGROUPCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiRequest.h new file mode 100644 index 000000000..447e780ff --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATESUBSCOREFORAPIREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESUBSCOREFORAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateSubScoreForApiRequest : public RpcServiceRequest + { + + public: + UpdateSubScoreForApiRequest(); + ~UpdateSubScoreForApiRequest(); + + 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_UPDATESUBSCOREFORAPIREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiResult.h new file mode 100644 index 000000000..4ee4d10b1 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSubScoreForApiResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATESUBSCOREFORAPIRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESUBSCOREFORAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateSubScoreForApiResult : public ServiceResult + { + public: + + + UpdateSubScoreForApiResult(); + explicit UpdateSubScoreForApiResult(const std::string &payload); + ~UpdateSubScoreForApiResult(); + 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_UPDATESUBSCOREFORAPIRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataRequest.h new file mode 100644 index 000000000..77243ba2c --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATESYNCQUALITYCHECKDATAREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESYNCQUALITYCHECKDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateSyncQualityCheckDataRequest : public RpcServiceRequest + { + + public: + UpdateSyncQualityCheckDataRequest(); + ~UpdateSyncQualityCheckDataRequest(); + + 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_UPDATESYNCQUALITYCHECKDATAREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataResult.h new file mode 100644 index 000000000..0995fb5a9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateSyncQualityCheckDataResult.h @@ -0,0 +1,62 @@ +/* + * 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_UPDATESYNCQUALITYCHECKDATARESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATESYNCQUALITYCHECKDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateSyncQualityCheckDataResult : public ServiceResult + { + public: + struct Data + { + std::string taskId; + std::string tid; + }; + + + UpdateSyncQualityCheckDataResult(); + explicit UpdateSyncQualityCheckDataResult(const std::string &payload); + ~UpdateSyncQualityCheckDataResult(); + 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_UPDATESYNCQUALITYCHECKDATARESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleRequest.h new file mode 100644 index 000000000..3090ce838 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATETASKASSIGNRULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATETASKASSIGNRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateTaskAssignRuleRequest : public RpcServiceRequest + { + + public: + UpdateTaskAssignRuleRequest(); + ~UpdateTaskAssignRuleRequest(); + + 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_UPDATETASKASSIGNRULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleResult.h new file mode 100644 index 000000000..338be4871 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateTaskAssignRuleResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATETASKASSIGNRULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATETASKASSIGNRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateTaskAssignRuleResult : public ServiceResult + { + public: + + + UpdateTaskAssignRuleResult(); + explicit UpdateTaskAssignRuleResult(const std::string &payload); + ~UpdateTaskAssignRuleResult(); + 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_UPDATETASKASSIGNRULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserConfigRequest.h new file mode 100644 index 000000000..1b19bb646 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATEUSERCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEUSERCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateUserConfigRequest : public RpcServiceRequest + { + + public: + UpdateUserConfigRequest(); + ~UpdateUserConfigRequest(); + + 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_UPDATEUSERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserConfigResult.h new file mode 100644 index 000000000..9102df37a --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserConfigResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATEUSERCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEUSERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateUserConfigResult : public ServiceResult + { + public: + + + UpdateUserConfigResult(); + explicit UpdateUserConfigResult(const std::string &payload); + ~UpdateUserConfigResult(); + 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_UPDATEUSERCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserRequest.h new file mode 100644 index 000000000..f51534460 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATEUSERREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateUserRequest : public RpcServiceRequest + { + + public: + UpdateUserRequest(); + ~UpdateUserRequest(); + + 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_UPDATEUSERREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserResult.h new file mode 100644 index 000000000..8e7aa9863 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateUserResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATEUSERRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateUserResult : public ServiceResult + { + public: + + + UpdateUserResult(); + explicit UpdateUserResult(const std::string &payload); + ~UpdateUserResult(); + 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_UPDATEUSERRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateWarningConfigRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateWarningConfigRequest.h new file mode 100644 index 000000000..a1ea44cdf --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateWarningConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPDATEWARNINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEWARNINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateWarningConfigRequest : public RpcServiceRequest + { + + public: + UpdateWarningConfigRequest(); + ~UpdateWarningConfigRequest(); + + 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_UPDATEWARNINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateWarningConfigResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateWarningConfigResult.h new file mode 100644 index 000000000..2e8cd2169 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UpdateWarningConfigResult.h @@ -0,0 +1,55 @@ +/* + * 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_UPDATEWARNINGCONFIGRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATEWARNINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateWarningConfigResult : public ServiceResult + { + public: + + + UpdateWarningConfigResult(); + explicit UpdateWarningConfigResult(const std::string &payload); + ~UpdateWarningConfigResult(); + 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_UPDATEWARNINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadAudioDataRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadAudioDataRequest.h new file mode 100644 index 000000000..8df01f1b9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadAudioDataRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPLOADAUDIODATAREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADAUDIODATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadAudioDataRequest : public RpcServiceRequest + { + + public: + UploadAudioDataRequest(); + ~UploadAudioDataRequest(); + + 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_UPLOADAUDIODATAREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadAudioDataResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadAudioDataResult.h new file mode 100644 index 000000000..bdf7d8403 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadAudioDataResult.h @@ -0,0 +1,57 @@ +/* + * 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_UPLOADAUDIODATARESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADAUDIODATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadAudioDataResult : public ServiceResult + { + public: + + + UploadAudioDataResult(); + explicit UploadAudioDataResult(const std::string &payload); + ~UploadAudioDataResult(); + 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_UPLOADAUDIODATARESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataRequest.h new file mode 100644 index 000000000..90a60de83 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPLOADDATAREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadDataRequest : public RpcServiceRequest + { + + public: + UploadDataRequest(); + ~UploadDataRequest(); + + 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_UPLOADDATAREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataResult.h new file mode 100644 index 000000000..8c1c2f816 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataResult.h @@ -0,0 +1,57 @@ +/* + * 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_UPLOADDATARESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadDataResult : public ServiceResult + { + public: + + + UploadDataResult(); + explicit UploadDataResult(const std::string &payload); + ~UploadDataResult(); + 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_UPLOADDATARESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataSyncRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataSyncRequest.h new file mode 100644 index 000000000..042da4fb9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataSyncRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPLOADDATASYNCREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADDATASYNCREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadDataSyncRequest : public RpcServiceRequest + { + + public: + UploadDataSyncRequest(); + ~UploadDataSyncRequest(); + + 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_UPLOADDATASYNCREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataSyncResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataSyncResult.h new file mode 100644 index 000000000..7bad4eb71 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadDataSyncResult.h @@ -0,0 +1,97 @@ +/* + * 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_UPLOADDATASYNCRESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADDATASYNCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadDataSyncResult : public ServiceResult + { + public: + struct ResultInfo + { + struct RuleHitInfo + { + struct ConditionHitInfo + { + struct Phrase + { + std::string role; + std::string words; + long begin; + std::string beginTime; + long end; + std::string identity; + }; + struct HitKeyWord + { + std::string val; + int pid; + int from; + int to; + std::string tid; + }; + std::vector hitKeyWords; + std::vector hitCids; + Phrase phrase; + }; + struct ConditionBasicInfo + { + std::string conditionInfoCid; + }; + std::vector conditionInfo; + std::vector hit; + std::string rid; + std::string tid; + }; + int score; + std::vector handScoreIdList; + std::vector rules; + }; + + + UploadDataSyncResult(); + explicit UploadDataSyncResult(const std::string &payload); + ~UploadDataSyncResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADDATASYNCRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadRuleRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadRuleRequest.h new file mode 100644 index 000000000..d1cdef695 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadRuleRequest.h @@ -0,0 +1,54 @@ +/* + * 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_UPLOADRULEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadRuleRequest : public RpcServiceRequest + { + + public: + UploadRuleRequest(); + ~UploadRuleRequest(); + + 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_UPLOADRULEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/UploadRuleResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadRuleResult.h new file mode 100644 index 000000000..9296f4558 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/UploadRuleResult.h @@ -0,0 +1,57 @@ +/* + * 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_UPLOADRULERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT UploadRuleResult : public ServiceResult + { + public: + + + UploadRuleResult(); + explicit UploadRuleResult(const std::string &payload); + ~UploadRuleResult(); + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPLOADRULERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ValidateRoleSetRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ValidateRoleSetRequest.h new file mode 100644 index 000000000..21d3b4fca --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ValidateRoleSetRequest.h @@ -0,0 +1,54 @@ +/* + * 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 +#include +#include +#include + +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_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/ValidateRoleSetResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/ValidateRoleSetResult.h new file mode 100644 index 000000000..193d8e791 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/ValidateRoleSetResult.h @@ -0,0 +1,67 @@ +/* + * 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 +#include +#include +#include +#include + +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 getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/VerifyFileRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifyFileRequest.h new file mode 100644 index 000000000..e69281dad --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifyFileRequest.h @@ -0,0 +1,54 @@ +/* + * 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_VERIFYFILEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_VERIFYFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT VerifyFileRequest : public RpcServiceRequest + { + + public: + VerifyFileRequest(); + ~VerifyFileRequest(); + + 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_VERIFYFILEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/VerifyFileResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifyFileResult.h new file mode 100644 index 000000000..0257fa91f --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifyFileResult.h @@ -0,0 +1,57 @@ +/* + * 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_VERIFYFILERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_VERIFYFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT VerifyFileResult : public ServiceResult + { + public: + + + VerifyFileResult(); + explicit VerifyFileResult(const std::string &payload); + ~VerifyFileResult(); + std::string getMessage()const; + float getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + float data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VERIFYFILERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/VerifySentenceRequest.h b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifySentenceRequest.h new file mode 100644 index 000000000..a7d9f9aa9 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifySentenceRequest.h @@ -0,0 +1,54 @@ +/* + * 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_VERIFYSENTENCEREQUEST_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_VERIFYSENTENCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT VerifySentenceRequest : public RpcServiceRequest + { + + public: + VerifySentenceRequest(); + ~VerifySentenceRequest(); + + 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_VERIFYSENTENCEREQUEST_H_ \ No newline at end of file diff --git a/qualitycheck/include/alibabacloud/qualitycheck/model/VerifySentenceResult.h b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifySentenceResult.h new file mode 100644 index 000000000..363481303 --- /dev/null +++ b/qualitycheck/include/alibabacloud/qualitycheck/model/VerifySentenceResult.h @@ -0,0 +1,79 @@ +/* + * 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_VERIFYSENTENCERESULT_H_ +#define ALIBABACLOUD_QUALITYCHECK_MODEL_VERIFYSENTENCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Qualitycheck + { + namespace Model + { + class ALIBABACLOUD_QUALITYCHECK_EXPORT VerifySentenceResult : public ServiceResult + { + public: + struct Delta + { + struct Source + { + std::vector line; + int position; + }; + struct Target + { + int position; + std::vector line1; + }; + Target target; + std::string type; + Source source; + }; + + + VerifySentenceResult(); + explicit VerifySentenceResult(const std::string &payload); + ~VerifySentenceResult(); + int getSourceRole()const; + int getIncorrectWords()const; + std::string getMessage()const; + int getTargetRole()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int sourceRole_; + int incorrectWords_; + std::string message_; + int targetRole_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VERIFYSENTENCERESULT_H_ \ No newline at end of file diff --git a/qualitycheck/src/QualitycheckClient.cc b/qualitycheck/src/QualitycheckClient.cc new file mode 100644 index 000000000..56285655f --- /dev/null +++ b/qualitycheck/src/QualitycheckClient.cc @@ -0,0 +1,3077 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +namespace +{ + const std::string SERVICE_NAME = "Qualitycheck"; +} + +QualitycheckClient::QualitycheckClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "Qualitycheck"); +} + +QualitycheckClient::QualitycheckClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "Qualitycheck"); +} + +QualitycheckClient::QualitycheckClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "Qualitycheck"); +} + +QualitycheckClient::~QualitycheckClient() +{} + +QualitycheckClient::AddBusinessCategoryOutcome QualitycheckClient::addBusinessCategory(const AddBusinessCategoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddBusinessCategoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddBusinessCategoryOutcome(AddBusinessCategoryResult(outcome.result())); + else + return AddBusinessCategoryOutcome(outcome.error()); +} + +void QualitycheckClient::addBusinessCategoryAsync(const AddBusinessCategoryRequest& request, const AddBusinessCategoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addBusinessCategory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::AddBusinessCategoryOutcomeCallable QualitycheckClient::addBusinessCategoryCallable(const AddBusinessCategoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addBusinessCategory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::AddRuleCategoryOutcome QualitycheckClient::addRuleCategory(const AddRuleCategoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddRuleCategoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddRuleCategoryOutcome(AddRuleCategoryResult(outcome.result())); + else + return AddRuleCategoryOutcome(outcome.error()); +} + +void QualitycheckClient::addRuleCategoryAsync(const AddRuleCategoryRequest& request, const AddRuleCategoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addRuleCategory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::AddRuleCategoryOutcomeCallable QualitycheckClient::addRuleCategoryCallable(const AddRuleCategoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addRuleCategory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::AddThesaurusForApiOutcome QualitycheckClient::addThesaurusForApi(const AddThesaurusForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddThesaurusForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddThesaurusForApiOutcome(AddThesaurusForApiResult(outcome.result())); + else + return AddThesaurusForApiOutcome(outcome.error()); +} + +void QualitycheckClient::addThesaurusForApiAsync(const AddThesaurusForApiRequest& request, const AddThesaurusForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addThesaurusForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::AddThesaurusForApiOutcomeCallable QualitycheckClient::addThesaurusForApiCallable(const AddThesaurusForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addThesaurusForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::AssignReviewerOutcome QualitycheckClient::assignReviewer(const AssignReviewerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AssignReviewerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AssignReviewerOutcome(AssignReviewerResult(outcome.result())); + else + return AssignReviewerOutcome(outcome.error()); +} + +void QualitycheckClient::assignReviewerAsync(const AssignReviewerRequest& request, const AssignReviewerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, assignReviewer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::AssignReviewerOutcomeCallable QualitycheckClient::assignReviewerCallable(const AssignReviewerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->assignReviewer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return CreateAsrVocabOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAsrVocabOutcome(CreateAsrVocabResult(outcome.result())); + else + return CreateAsrVocabOutcome(outcome.error()); +} + +void QualitycheckClient::createAsrVocabAsync(const CreateAsrVocabRequest& request, const CreateAsrVocabAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAsrVocab(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::CreateAsrVocabOutcomeCallable QualitycheckClient::createAsrVocabCallable(const CreateAsrVocabRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAsrVocab(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::CreateSkillGroupConfigOutcome QualitycheckClient::createSkillGroupConfig(const CreateSkillGroupConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSkillGroupConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSkillGroupConfigOutcome(CreateSkillGroupConfigResult(outcome.result())); + else + return CreateSkillGroupConfigOutcome(outcome.error()); +} + +void QualitycheckClient::createSkillGroupConfigAsync(const CreateSkillGroupConfigRequest& request, const CreateSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSkillGroupConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::CreateSkillGroupConfigOutcomeCallable QualitycheckClient::createSkillGroupConfigCallable(const CreateSkillGroupConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSkillGroupConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::CreateTaskAssignRuleOutcome QualitycheckClient::createTaskAssignRule(const CreateTaskAssignRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTaskAssignRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTaskAssignRuleOutcome(CreateTaskAssignRuleResult(outcome.result())); + else + return CreateTaskAssignRuleOutcome(outcome.error()); +} + +void QualitycheckClient::createTaskAssignRuleAsync(const CreateTaskAssignRuleRequest& request, const CreateTaskAssignRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTaskAssignRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::CreateTaskAssignRuleOutcomeCallable QualitycheckClient::createTaskAssignRuleCallable(const CreateTaskAssignRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTaskAssignRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::CreateUserOutcome QualitycheckClient::createUser(const CreateUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserOutcome(CreateUserResult(outcome.result())); + else + return CreateUserOutcome(outcome.error()); +} + +void QualitycheckClient::createUserAsync(const CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::CreateUserOutcomeCallable QualitycheckClient::createUserCallable(const CreateUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::CreateWarningConfigOutcome QualitycheckClient::createWarningConfig(const CreateWarningConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateWarningConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateWarningConfigOutcome(CreateWarningConfigResult(outcome.result())); + else + return CreateWarningConfigOutcome(outcome.error()); +} + +void QualitycheckClient::createWarningConfigAsync(const CreateWarningConfigRequest& request, const CreateWarningConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createWarningConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::CreateWarningConfigOutcomeCallable QualitycheckClient::createWarningConfigCallable(const CreateWarningConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createWarningConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DelRuleCategoryOutcome QualitycheckClient::delRuleCategory(const DelRuleCategoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DelRuleCategoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DelRuleCategoryOutcome(DelRuleCategoryResult(outcome.result())); + else + return DelRuleCategoryOutcome(outcome.error()); +} + +void QualitycheckClient::delRuleCategoryAsync(const DelRuleCategoryRequest& request, const DelRuleCategoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, delRuleCategory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DelRuleCategoryOutcomeCallable QualitycheckClient::delRuleCategoryCallable(const DelRuleCategoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->delRuleCategory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DelThesaurusForApiOutcome QualitycheckClient::delThesaurusForApi(const DelThesaurusForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DelThesaurusForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DelThesaurusForApiOutcome(DelThesaurusForApiResult(outcome.result())); + else + return DelThesaurusForApiOutcome(outcome.error()); +} + +void QualitycheckClient::delThesaurusForApiAsync(const DelThesaurusForApiRequest& request, const DelThesaurusForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, delThesaurusForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DelThesaurusForApiOutcomeCallable QualitycheckClient::delThesaurusForApiCallable(const DelThesaurusForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->delThesaurusForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteAsrVocabOutcome QualitycheckClient::deleteAsrVocab(const DeleteAsrVocabRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteAsrVocabOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteAsrVocabOutcome(DeleteAsrVocabResult(outcome.result())); + else + return DeleteAsrVocabOutcome(outcome.error()); +} + +void QualitycheckClient::deleteAsrVocabAsync(const DeleteAsrVocabRequest& request, const DeleteAsrVocabAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteAsrVocab(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteAsrVocabOutcomeCallable QualitycheckClient::deleteAsrVocabCallable(const DeleteAsrVocabRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteAsrVocab(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteBusinessCategoryOutcome QualitycheckClient::deleteBusinessCategory(const DeleteBusinessCategoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBusinessCategoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBusinessCategoryOutcome(DeleteBusinessCategoryResult(outcome.result())); + else + return DeleteBusinessCategoryOutcome(outcome.error()); +} + +void QualitycheckClient::deleteBusinessCategoryAsync(const DeleteBusinessCategoryRequest& request, const DeleteBusinessCategoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBusinessCategory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteBusinessCategoryOutcomeCallable QualitycheckClient::deleteBusinessCategoryCallable(const DeleteBusinessCategoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBusinessCategory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteCustomizationConfigOutcome QualitycheckClient::deleteCustomizationConfig(const DeleteCustomizationConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCustomizationConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCustomizationConfigOutcome(DeleteCustomizationConfigResult(outcome.result())); + else + return DeleteCustomizationConfigOutcome(outcome.error()); +} + +void QualitycheckClient::deleteCustomizationConfigAsync(const DeleteCustomizationConfigRequest& request, const DeleteCustomizationConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCustomizationConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteCustomizationConfigOutcomeCallable QualitycheckClient::deleteCustomizationConfigCallable(const DeleteCustomizationConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCustomizationConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteDataSetOutcome QualitycheckClient::deleteDataSet(const DeleteDataSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDataSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDataSetOutcome(DeleteDataSetResult(outcome.result())); + else + return DeleteDataSetOutcome(outcome.error()); +} + +void QualitycheckClient::deleteDataSetAsync(const DeleteDataSetRequest& request, const DeleteDataSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDataSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteDataSetOutcomeCallable QualitycheckClient::deleteDataSetCallable(const DeleteDataSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDataSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeletePrecisionTaskOutcome QualitycheckClient::deletePrecisionTask(const DeletePrecisionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeletePrecisionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeletePrecisionTaskOutcome(DeletePrecisionTaskResult(outcome.result())); + else + return DeletePrecisionTaskOutcome(outcome.error()); +} + +void QualitycheckClient::deletePrecisionTaskAsync(const DeletePrecisionTaskRequest& request, const DeletePrecisionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deletePrecisionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeletePrecisionTaskOutcomeCallable QualitycheckClient::deletePrecisionTaskCallable(const DeletePrecisionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deletePrecisionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteScoreForApiOutcome QualitycheckClient::deleteScoreForApi(const DeleteScoreForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteScoreForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteScoreForApiOutcome(DeleteScoreForApiResult(outcome.result())); + else + return DeleteScoreForApiOutcome(outcome.error()); +} + +void QualitycheckClient::deleteScoreForApiAsync(const DeleteScoreForApiRequest& request, const DeleteScoreForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteScoreForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteScoreForApiOutcomeCallable QualitycheckClient::deleteScoreForApiCallable(const DeleteScoreForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteScoreForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteSkillGroupConfigOutcome QualitycheckClient::deleteSkillGroupConfig(const DeleteSkillGroupConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSkillGroupConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSkillGroupConfigOutcome(DeleteSkillGroupConfigResult(outcome.result())); + else + return DeleteSkillGroupConfigOutcome(outcome.error()); +} + +void QualitycheckClient::deleteSkillGroupConfigAsync(const DeleteSkillGroupConfigRequest& request, const DeleteSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSkillGroupConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteSkillGroupConfigOutcomeCallable QualitycheckClient::deleteSkillGroupConfigCallable(const DeleteSkillGroupConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSkillGroupConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteSubScoreForApiOutcome QualitycheckClient::deleteSubScoreForApi(const DeleteSubScoreForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSubScoreForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSubScoreForApiOutcome(DeleteSubScoreForApiResult(outcome.result())); + else + return DeleteSubScoreForApiOutcome(outcome.error()); +} + +void QualitycheckClient::deleteSubScoreForApiAsync(const DeleteSubScoreForApiRequest& request, const DeleteSubScoreForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSubScoreForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteSubScoreForApiOutcomeCallable QualitycheckClient::deleteSubScoreForApiCallable(const DeleteSubScoreForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSubScoreForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteTaskAssignRuleOutcome QualitycheckClient::deleteTaskAssignRule(const DeleteTaskAssignRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTaskAssignRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTaskAssignRuleOutcome(DeleteTaskAssignRuleResult(outcome.result())); + else + return DeleteTaskAssignRuleOutcome(outcome.error()); +} + +void QualitycheckClient::deleteTaskAssignRuleAsync(const DeleteTaskAssignRuleRequest& request, const DeleteTaskAssignRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTaskAssignRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteTaskAssignRuleOutcomeCallable QualitycheckClient::deleteTaskAssignRuleCallable(const DeleteTaskAssignRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTaskAssignRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteUserOutcome QualitycheckClient::deleteUser(const DeleteUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserOutcome(DeleteUserResult(outcome.result())); + else + return DeleteUserOutcome(outcome.error()); +} + +void QualitycheckClient::deleteUserAsync(const DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteUserOutcomeCallable QualitycheckClient::deleteUserCallable(const DeleteUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::DeleteWarningConfigOutcome QualitycheckClient::deleteWarningConfig(const DeleteWarningConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteWarningConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteWarningConfigOutcome(DeleteWarningConfigResult(outcome.result())); + else + return DeleteWarningConfigOutcome(outcome.error()); +} + +void QualitycheckClient::deleteWarningConfigAsync(const DeleteWarningConfigRequest& request, const DeleteWarningConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteWarningConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::DeleteWarningConfigOutcomeCallable QualitycheckClient::deleteWarningConfigCallable(const DeleteWarningConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteWarningConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::EditThesaurusForApiOutcome QualitycheckClient::editThesaurusForApi(const EditThesaurusForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EditThesaurusForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EditThesaurusForApiOutcome(EditThesaurusForApiResult(outcome.result())); + else + return EditThesaurusForApiOutcome(outcome.error()); +} + +void QualitycheckClient::editThesaurusForApiAsync(const EditThesaurusForApiRequest& request, const EditThesaurusForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, editThesaurusForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::EditThesaurusForApiOutcomeCallable QualitycheckClient::editThesaurusForApiCallable(const EditThesaurusForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->editThesaurusForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetAsrVocabOutcome QualitycheckClient::getAsrVocab(const GetAsrVocabRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetAsrVocabOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetAsrVocabOutcome(GetAsrVocabResult(outcome.result())); + else + return GetAsrVocabOutcome(outcome.error()); +} + +void QualitycheckClient::getAsrVocabAsync(const GetAsrVocabRequest& request, const GetAsrVocabAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getAsrVocab(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetAsrVocabOutcomeCallable QualitycheckClient::getAsrVocabCallable(const GetAsrVocabRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getAsrVocab(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetBusinessCategoryListOutcome QualitycheckClient::getBusinessCategoryList(const GetBusinessCategoryListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetBusinessCategoryListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetBusinessCategoryListOutcome(GetBusinessCategoryListResult(outcome.result())); + else + return GetBusinessCategoryListOutcome(outcome.error()); +} + +void QualitycheckClient::getBusinessCategoryListAsync(const GetBusinessCategoryListRequest& request, const GetBusinessCategoryListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getBusinessCategoryList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetBusinessCategoryListOutcomeCallable QualitycheckClient::getBusinessCategoryListCallable(const GetBusinessCategoryListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getBusinessCategoryList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetCustomizationConfigListOutcome QualitycheckClient::getCustomizationConfigList(const GetCustomizationConfigListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCustomizationConfigListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCustomizationConfigListOutcome(GetCustomizationConfigListResult(outcome.result())); + else + return GetCustomizationConfigListOutcome(outcome.error()); +} + +void QualitycheckClient::getCustomizationConfigListAsync(const GetCustomizationConfigListRequest& request, const GetCustomizationConfigListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCustomizationConfigList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetCustomizationConfigListOutcomeCallable QualitycheckClient::getCustomizationConfigListCallable(const GetCustomizationConfigListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCustomizationConfigList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return GetHitResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetHitResultOutcome(GetHitResultResult(outcome.result())); + else + return GetHitResultOutcome(outcome.error()); +} + +void QualitycheckClient::getHitResultAsync(const GetHitResultRequest& request, const GetHitResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getHitResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetHitResultOutcomeCallable QualitycheckClient::getHitResultCallable(const GetHitResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getHitResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetNextResultToVerifyOutcome QualitycheckClient::getNextResultToVerify(const GetNextResultToVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNextResultToVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNextResultToVerifyOutcome(GetNextResultToVerifyResult(outcome.result())); + else + return GetNextResultToVerifyOutcome(outcome.error()); +} + +void QualitycheckClient::getNextResultToVerifyAsync(const GetNextResultToVerifyRequest& request, const GetNextResultToVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNextResultToVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetNextResultToVerifyOutcomeCallable QualitycheckClient::getNextResultToVerifyCallable(const GetNextResultToVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNextResultToVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetPrecisionTaskOutcome QualitycheckClient::getPrecisionTask(const GetPrecisionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPrecisionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPrecisionTaskOutcome(GetPrecisionTaskResult(outcome.result())); + else + return GetPrecisionTaskOutcome(outcome.error()); +} + +void QualitycheckClient::getPrecisionTaskAsync(const GetPrecisionTaskRequest& request, const GetPrecisionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPrecisionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetPrecisionTaskOutcomeCallable QualitycheckClient::getPrecisionTaskCallable(const GetPrecisionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPrecisionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return GetResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetResultOutcome(GetResultResult(outcome.result())); + else + return GetResultOutcome(outcome.error()); +} + +void QualitycheckClient::getResultAsync(const GetResultRequest& request, const GetResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetResultOutcomeCallable QualitycheckClient::getResultCallable(const GetResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetResultCallbackOutcome QualitycheckClient::getResultCallback(const GetResultCallbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetResultCallbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetResultCallbackOutcome(GetResultCallbackResult(outcome.result())); + else + return GetResultCallbackOutcome(outcome.error()); +} + +void QualitycheckClient::getResultCallbackAsync(const GetResultCallbackRequest& request, const GetResultCallbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getResultCallback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetResultCallbackOutcomeCallable QualitycheckClient::getResultCallbackCallable(const GetResultCallbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getResultCallback(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetResultToReviewOutcome QualitycheckClient::getResultToReview(const GetResultToReviewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetResultToReviewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetResultToReviewOutcome(GetResultToReviewResult(outcome.result())); + else + return GetResultToReviewOutcome(outcome.error()); +} + +void QualitycheckClient::getResultToReviewAsync(const GetResultToReviewRequest& request, const GetResultToReviewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getResultToReview(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetResultToReviewOutcomeCallable QualitycheckClient::getResultToReviewCallable(const GetResultToReviewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getResultToReview(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetRuleOutcome QualitycheckClient::getRule(const GetRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetRuleOutcome(GetRuleResult(outcome.result())); + else + return GetRuleOutcome(outcome.error()); +} + +void QualitycheckClient::getRuleAsync(const GetRuleRequest& request, const GetRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetRuleOutcomeCallable QualitycheckClient::getRuleCallable(const GetRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetRuleCategoryOutcome QualitycheckClient::getRuleCategory(const GetRuleCategoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetRuleCategoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetRuleCategoryOutcome(GetRuleCategoryResult(outcome.result())); + else + return GetRuleCategoryOutcome(outcome.error()); +} + +void QualitycheckClient::getRuleCategoryAsync(const GetRuleCategoryRequest& request, const GetRuleCategoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getRuleCategory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetRuleCategoryOutcomeCallable QualitycheckClient::getRuleCategoryCallable(const GetRuleCategoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getRuleCategory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetRuleDetailOutcome QualitycheckClient::getRuleDetail(const GetRuleDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetRuleDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetRuleDetailOutcome(GetRuleDetailResult(outcome.result())); + else + return GetRuleDetailOutcome(outcome.error()); +} + +void QualitycheckClient::getRuleDetailAsync(const GetRuleDetailRequest& request, const GetRuleDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getRuleDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetRuleDetailOutcomeCallable QualitycheckClient::getRuleDetailCallable(const GetRuleDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getRuleDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetScoreInfoOutcome QualitycheckClient::getScoreInfo(const GetScoreInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetScoreInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetScoreInfoOutcome(GetScoreInfoResult(outcome.result())); + else + return GetScoreInfoOutcome(outcome.error()); +} + +void QualitycheckClient::getScoreInfoAsync(const GetScoreInfoRequest& request, const GetScoreInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getScoreInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetScoreInfoOutcomeCallable QualitycheckClient::getScoreInfoCallable(const GetScoreInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getScoreInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetSkillGroupConfigOutcome QualitycheckClient::getSkillGroupConfig(const GetSkillGroupConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSkillGroupConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSkillGroupConfigOutcome(GetSkillGroupConfigResult(outcome.result())); + else + return GetSkillGroupConfigOutcome(outcome.error()); +} + +void QualitycheckClient::getSkillGroupConfigAsync(const GetSkillGroupConfigRequest& request, const GetSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSkillGroupConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetSkillGroupConfigOutcomeCallable QualitycheckClient::getSkillGroupConfigCallable(const GetSkillGroupConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSkillGroupConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetSyncResultOutcome QualitycheckClient::getSyncResult(const GetSyncResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSyncResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSyncResultOutcome(GetSyncResultResult(outcome.result())); + else + return GetSyncResultOutcome(outcome.error()); +} + +void QualitycheckClient::getSyncResultAsync(const GetSyncResultRequest& request, const GetSyncResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSyncResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetSyncResultOutcomeCallable QualitycheckClient::getSyncResultCallable(const GetSyncResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSyncResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::GetThesaurusBySynonymForApiOutcome QualitycheckClient::getThesaurusBySynonymForApi(const GetThesaurusBySynonymForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetThesaurusBySynonymForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetThesaurusBySynonymForApiOutcome(GetThesaurusBySynonymForApiResult(outcome.result())); + else + return GetThesaurusBySynonymForApiOutcome(outcome.error()); +} + +void QualitycheckClient::getThesaurusBySynonymForApiAsync(const GetThesaurusBySynonymForApiRequest& request, const GetThesaurusBySynonymForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getThesaurusBySynonymForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::GetThesaurusBySynonymForApiOutcomeCallable QualitycheckClient::getThesaurusBySynonymForApiCallable(const GetThesaurusBySynonymForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getThesaurusBySynonymForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::HandleComplaintOutcome QualitycheckClient::handleComplaint(const HandleComplaintRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return HandleComplaintOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return HandleComplaintOutcome(HandleComplaintResult(outcome.result())); + else + return HandleComplaintOutcome(outcome.error()); +} + +void QualitycheckClient::handleComplaintAsync(const HandleComplaintRequest& request, const HandleComplaintAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, handleComplaint(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::HandleComplaintOutcomeCallable QualitycheckClient::handleComplaintCallable(const HandleComplaintRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->handleComplaint(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::InsertScoreForApiOutcome QualitycheckClient::insertScoreForApi(const InsertScoreForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertScoreForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertScoreForApiOutcome(InsertScoreForApiResult(outcome.result())); + else + return InsertScoreForApiOutcome(outcome.error()); +} + +void QualitycheckClient::insertScoreForApiAsync(const InsertScoreForApiRequest& request, const InsertScoreForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertScoreForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::InsertScoreForApiOutcomeCallable QualitycheckClient::insertScoreForApiCallable(const InsertScoreForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertScoreForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::InsertSubScoreForApiOutcome QualitycheckClient::insertSubScoreForApi(const InsertSubScoreForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertSubScoreForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertSubScoreForApiOutcome(InsertSubScoreForApiResult(outcome.result())); + else + return InsertSubScoreForApiOutcome(outcome.error()); +} + +void QualitycheckClient::insertSubScoreForApiAsync(const InsertSubScoreForApiRequest& request, const InsertSubScoreForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertSubScoreForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::InsertSubScoreForApiOutcomeCallable QualitycheckClient::insertSubScoreForApiCallable(const InsertSubScoreForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertSubScoreForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::InvalidRuleOutcome QualitycheckClient::invalidRule(const InvalidRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InvalidRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InvalidRuleOutcome(InvalidRuleResult(outcome.result())); + else + return InvalidRuleOutcome(outcome.error()); +} + +void QualitycheckClient::invalidRuleAsync(const InvalidRuleRequest& request, const InvalidRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, invalidRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::InvalidRuleOutcomeCallable QualitycheckClient::invalidRuleCallable(const InvalidRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->invalidRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListAsrVocabOutcome QualitycheckClient::listAsrVocab(const ListAsrVocabRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAsrVocabOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAsrVocabOutcome(ListAsrVocabResult(outcome.result())); + else + return ListAsrVocabOutcome(outcome.error()); +} + +void QualitycheckClient::listAsrVocabAsync(const ListAsrVocabRequest& request, const ListAsrVocabAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAsrVocab(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListAsrVocabOutcomeCallable QualitycheckClient::listAsrVocabCallable(const ListAsrVocabRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAsrVocab(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListHotWordsTasksOutcome QualitycheckClient::listHotWordsTasks(const ListHotWordsTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListHotWordsTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListHotWordsTasksOutcome(ListHotWordsTasksResult(outcome.result())); + else + return ListHotWordsTasksOutcome(outcome.error()); +} + +void QualitycheckClient::listHotWordsTasksAsync(const ListHotWordsTasksRequest& request, const ListHotWordsTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listHotWordsTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListHotWordsTasksOutcomeCallable QualitycheckClient::listHotWordsTasksCallable(const ListHotWordsTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listHotWordsTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListPrecisionTaskOutcome QualitycheckClient::listPrecisionTask(const ListPrecisionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPrecisionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPrecisionTaskOutcome(ListPrecisionTaskResult(outcome.result())); + else + return ListPrecisionTaskOutcome(outcome.error()); +} + +void QualitycheckClient::listPrecisionTaskAsync(const ListPrecisionTaskRequest& request, const ListPrecisionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPrecisionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListPrecisionTaskOutcomeCallable QualitycheckClient::listPrecisionTaskCallable(const ListPrecisionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPrecisionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListRolesOutcome QualitycheckClient::listRoles(const ListRolesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRolesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRolesOutcome(ListRolesResult(outcome.result())); + else + return ListRolesOutcome(outcome.error()); +} + +void QualitycheckClient::listRolesAsync(const ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRoles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListRolesOutcomeCallable QualitycheckClient::listRolesCallable(const ListRolesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRoles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListRulesOutcome QualitycheckClient::listRules(const ListRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRulesOutcome(ListRulesResult(outcome.result())); + else + return ListRulesOutcome(outcome.error()); +} + +void QualitycheckClient::listRulesAsync(const ListRulesRequest& request, const ListRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListRulesOutcomeCallable QualitycheckClient::listRulesCallable(const ListRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListSkillGroupConfigOutcome QualitycheckClient::listSkillGroupConfig(const ListSkillGroupConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSkillGroupConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSkillGroupConfigOutcome(ListSkillGroupConfigResult(outcome.result())); + else + return ListSkillGroupConfigOutcome(outcome.error()); +} + +void QualitycheckClient::listSkillGroupConfigAsync(const ListSkillGroupConfigRequest& request, const ListSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSkillGroupConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListSkillGroupConfigOutcomeCallable QualitycheckClient::listSkillGroupConfigCallable(const ListSkillGroupConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSkillGroupConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListTaskAssignRulesOutcome QualitycheckClient::listTaskAssignRules(const ListTaskAssignRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskAssignRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskAssignRulesOutcome(ListTaskAssignRulesResult(outcome.result())); + else + return ListTaskAssignRulesOutcome(outcome.error()); +} + +void QualitycheckClient::listTaskAssignRulesAsync(const ListTaskAssignRulesRequest& request, const ListTaskAssignRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskAssignRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListTaskAssignRulesOutcomeCallable QualitycheckClient::listTaskAssignRulesCallable(const ListTaskAssignRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskAssignRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListUsersOutcome QualitycheckClient::listUsers(const ListUsersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListUsersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListUsersOutcome(ListUsersResult(outcome.result())); + else + return ListUsersOutcome(outcome.error()); +} + +void QualitycheckClient::listUsersAsync(const ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listUsers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListUsersOutcomeCallable QualitycheckClient::listUsersCallable(const ListUsersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listUsers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::ListWarningConfigOutcome QualitycheckClient::listWarningConfig(const ListWarningConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListWarningConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListWarningConfigOutcome(ListWarningConfigResult(outcome.result())); + else + return ListWarningConfigOutcome(outcome.error()); +} + +void QualitycheckClient::listWarningConfigAsync(const ListWarningConfigRequest& request, const ListWarningConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listWarningConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::ListWarningConfigOutcomeCallable QualitycheckClient::listWarningConfigCallable(const ListWarningConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listWarningConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return RestartAsrTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RestartAsrTaskOutcome(RestartAsrTaskResult(outcome.result())); + else + return RestartAsrTaskOutcome(outcome.error()); +} + +void QualitycheckClient::restartAsrTaskAsync(const RestartAsrTaskRequest& request, const RestartAsrTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, restartAsrTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::RestartAsrTaskOutcomeCallable QualitycheckClient::restartAsrTaskCallable(const RestartAsrTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->restartAsrTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return SaveConfigDataSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveConfigDataSetOutcome(SaveConfigDataSetResult(outcome.result())); + else + return SaveConfigDataSetOutcome(outcome.error()); +} + +void QualitycheckClient::saveConfigDataSetAsync(const SaveConfigDataSetRequest& request, const SaveConfigDataSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveConfigDataSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::SaveConfigDataSetOutcomeCallable QualitycheckClient::saveConfigDataSetCallable(const SaveConfigDataSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveConfigDataSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::SubmitComplaintOutcome QualitycheckClient::submitComplaint(const SubmitComplaintRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitComplaintOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitComplaintOutcome(SubmitComplaintResult(outcome.result())); + else + return SubmitComplaintOutcome(outcome.error()); +} + +void QualitycheckClient::submitComplaintAsync(const SubmitComplaintRequest& request, const SubmitComplaintAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitComplaint(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::SubmitComplaintOutcomeCallable QualitycheckClient::submitComplaintCallable(const SubmitComplaintRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitComplaint(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return SubmitPrecisionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitPrecisionTaskOutcome(SubmitPrecisionTaskResult(outcome.result())); + else + return SubmitPrecisionTaskOutcome(outcome.error()); +} + +void QualitycheckClient::submitPrecisionTaskAsync(const SubmitPrecisionTaskRequest& request, const SubmitPrecisionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitPrecisionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::SubmitPrecisionTaskOutcomeCallable QualitycheckClient::submitPrecisionTaskCallable(const SubmitPrecisionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitPrecisionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::SubmitQualityCheckTaskOutcome QualitycheckClient::submitQualityCheckTask(const SubmitQualityCheckTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitQualityCheckTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitQualityCheckTaskOutcome(SubmitQualityCheckTaskResult(outcome.result())); + else + return SubmitQualityCheckTaskOutcome(outcome.error()); +} + +void QualitycheckClient::submitQualityCheckTaskAsync(const SubmitQualityCheckTaskRequest& request, const SubmitQualityCheckTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitQualityCheckTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::SubmitQualityCheckTaskOutcomeCallable QualitycheckClient::submitQualityCheckTaskCallable(const SubmitQualityCheckTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitQualityCheckTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::SubmitReviewInfoOutcome QualitycheckClient::submitReviewInfo(const SubmitReviewInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitReviewInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitReviewInfoOutcome(SubmitReviewInfoResult(outcome.result())); + else + return SubmitReviewInfoOutcome(outcome.error()); +} + +void QualitycheckClient::submitReviewInfoAsync(const SubmitReviewInfoRequest& request, const SubmitReviewInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitReviewInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::SubmitReviewInfoOutcomeCallable QualitycheckClient::submitReviewInfoCallable(const SubmitReviewInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitReviewInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::SyncQualityCheckOutcome QualitycheckClient::syncQualityCheck(const SyncQualityCheckRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SyncQualityCheckOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SyncQualityCheckOutcome(SyncQualityCheckResult(outcome.result())); + else + return SyncQualityCheckOutcome(outcome.error()); +} + +void QualitycheckClient::syncQualityCheckAsync(const SyncQualityCheckRequest& request, const SyncQualityCheckAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, syncQualityCheck(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::SyncQualityCheckOutcomeCallable QualitycheckClient::syncQualityCheckCallable(const SyncQualityCheckRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->syncQualityCheck(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateAsrVocabOutcome QualitycheckClient::updateAsrVocab(const UpdateAsrVocabRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateAsrVocabOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateAsrVocabOutcome(UpdateAsrVocabResult(outcome.result())); + else + return UpdateAsrVocabOutcome(outcome.error()); +} + +void QualitycheckClient::updateAsrVocabAsync(const UpdateAsrVocabRequest& request, const UpdateAsrVocabAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateAsrVocab(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateAsrVocabOutcomeCallable QualitycheckClient::updateAsrVocabCallable(const UpdateAsrVocabRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateAsrVocab(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateRuleOutcome QualitycheckClient::updateRule(const UpdateRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateRuleOutcome(UpdateRuleResult(outcome.result())); + else + return UpdateRuleOutcome(outcome.error()); +} + +void QualitycheckClient::updateRuleAsync(const UpdateRuleRequest& request, const UpdateRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateRuleOutcomeCallable QualitycheckClient::updateRuleCallable(const UpdateRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return UpdateScoreForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateScoreForApiOutcome(UpdateScoreForApiResult(outcome.result())); + else + return UpdateScoreForApiOutcome(outcome.error()); +} + +void QualitycheckClient::updateScoreForApiAsync(const UpdateScoreForApiRequest& request, const UpdateScoreForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateScoreForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateScoreForApiOutcomeCallable QualitycheckClient::updateScoreForApiCallable(const UpdateScoreForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateScoreForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateSkillGroupConfigOutcome QualitycheckClient::updateSkillGroupConfig(const UpdateSkillGroupConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSkillGroupConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSkillGroupConfigOutcome(UpdateSkillGroupConfigResult(outcome.result())); + else + return UpdateSkillGroupConfigOutcome(outcome.error()); +} + +void QualitycheckClient::updateSkillGroupConfigAsync(const UpdateSkillGroupConfigRequest& request, const UpdateSkillGroupConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSkillGroupConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateSkillGroupConfigOutcomeCallable QualitycheckClient::updateSkillGroupConfigCallable(const UpdateSkillGroupConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSkillGroupConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateSubScoreForApiOutcome QualitycheckClient::updateSubScoreForApi(const UpdateSubScoreForApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSubScoreForApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSubScoreForApiOutcome(UpdateSubScoreForApiResult(outcome.result())); + else + return UpdateSubScoreForApiOutcome(outcome.error()); +} + +void QualitycheckClient::updateSubScoreForApiAsync(const UpdateSubScoreForApiRequest& request, const UpdateSubScoreForApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSubScoreForApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateSubScoreForApiOutcomeCallable QualitycheckClient::updateSubScoreForApiCallable(const UpdateSubScoreForApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSubScoreForApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateSyncQualityCheckDataOutcome QualitycheckClient::updateSyncQualityCheckData(const UpdateSyncQualityCheckDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSyncQualityCheckDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSyncQualityCheckDataOutcome(UpdateSyncQualityCheckDataResult(outcome.result())); + else + return UpdateSyncQualityCheckDataOutcome(outcome.error()); +} + +void QualitycheckClient::updateSyncQualityCheckDataAsync(const UpdateSyncQualityCheckDataRequest& request, const UpdateSyncQualityCheckDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSyncQualityCheckData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateSyncQualityCheckDataOutcomeCallable QualitycheckClient::updateSyncQualityCheckDataCallable(const UpdateSyncQualityCheckDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSyncQualityCheckData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateTaskAssignRuleOutcome QualitycheckClient::updateTaskAssignRule(const UpdateTaskAssignRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTaskAssignRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTaskAssignRuleOutcome(UpdateTaskAssignRuleResult(outcome.result())); + else + return UpdateTaskAssignRuleOutcome(outcome.error()); +} + +void QualitycheckClient::updateTaskAssignRuleAsync(const UpdateTaskAssignRuleRequest& request, const UpdateTaskAssignRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTaskAssignRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateTaskAssignRuleOutcomeCallable QualitycheckClient::updateTaskAssignRuleCallable(const UpdateTaskAssignRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTaskAssignRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateUserOutcome QualitycheckClient::updateUser(const UpdateUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserOutcome(UpdateUserResult(outcome.result())); + else + return UpdateUserOutcome(outcome.error()); +} + +void QualitycheckClient::updateUserAsync(const UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateUserOutcomeCallable QualitycheckClient::updateUserCallable(const UpdateUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateUserConfigOutcome QualitycheckClient::updateUserConfig(const UpdateUserConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserConfigOutcome(UpdateUserConfigResult(outcome.result())); + else + return UpdateUserConfigOutcome(outcome.error()); +} + +void QualitycheckClient::updateUserConfigAsync(const UpdateUserConfigRequest& request, const UpdateUserConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUserConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateUserConfigOutcomeCallable QualitycheckClient::updateUserConfigCallable(const UpdateUserConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUserConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UpdateWarningConfigOutcome QualitycheckClient::updateWarningConfig(const UpdateWarningConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWarningConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWarningConfigOutcome(UpdateWarningConfigResult(outcome.result())); + else + return UpdateWarningConfigOutcome(outcome.error()); +} + +void QualitycheckClient::updateWarningConfigAsync(const UpdateWarningConfigRequest& request, const UpdateWarningConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWarningConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UpdateWarningConfigOutcomeCallable QualitycheckClient::updateWarningConfigCallable(const UpdateWarningConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWarningConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UploadAudioDataOutcome QualitycheckClient::uploadAudioData(const UploadAudioDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadAudioDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadAudioDataOutcome(UploadAudioDataResult(outcome.result())); + else + return UploadAudioDataOutcome(outcome.error()); +} + +void QualitycheckClient::uploadAudioDataAsync(const UploadAudioDataRequest& request, const UploadAudioDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadAudioData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UploadAudioDataOutcomeCallable QualitycheckClient::uploadAudioDataCallable(const UploadAudioDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadAudioData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UploadDataOutcome QualitycheckClient::uploadData(const UploadDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadDataOutcome(UploadDataResult(outcome.result())); + else + return UploadDataOutcome(outcome.error()); +} + +void QualitycheckClient::uploadDataAsync(const UploadDataRequest& request, const UploadDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UploadDataOutcomeCallable QualitycheckClient::uploadDataCallable(const UploadDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UploadDataSyncOutcome QualitycheckClient::uploadDataSync(const UploadDataSyncRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadDataSyncOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadDataSyncOutcome(UploadDataSyncResult(outcome.result())); + else + return UploadDataSyncOutcome(outcome.error()); +} + +void QualitycheckClient::uploadDataSyncAsync(const UploadDataSyncRequest& request, const UploadDataSyncAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadDataSync(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UploadDataSyncOutcomeCallable QualitycheckClient::uploadDataSyncCallable(const UploadDataSyncRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadDataSync(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::UploadRuleOutcome QualitycheckClient::uploadRule(const UploadRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadRuleOutcome(UploadRuleResult(outcome.result())); + else + return UploadRuleOutcome(outcome.error()); +} + +void QualitycheckClient::uploadRuleAsync(const UploadRuleRequest& request, const UploadRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::UploadRuleOutcomeCallable QualitycheckClient::uploadRuleCallable(const UploadRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [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(); + if (!endpointOutcome.isSuccess()) + return VerifyFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VerifyFileOutcome(VerifyFileResult(outcome.result())); + else + return VerifyFileOutcome(outcome.error()); +} + +void QualitycheckClient::verifyFileAsync(const VerifyFileRequest& request, const VerifyFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, verifyFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::VerifyFileOutcomeCallable QualitycheckClient::verifyFileCallable(const VerifyFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->verifyFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +QualitycheckClient::VerifySentenceOutcome QualitycheckClient::verifySentence(const VerifySentenceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VerifySentenceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VerifySentenceOutcome(VerifySentenceResult(outcome.result())); + else + return VerifySentenceOutcome(outcome.error()); +} + +void QualitycheckClient::verifySentenceAsync(const VerifySentenceRequest& request, const VerifySentenceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, verifySentence(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +QualitycheckClient::VerifySentenceOutcomeCallable QualitycheckClient::verifySentenceCallable(const VerifySentenceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->verifySentence(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/qualitycheck/src/model/AddBusinessCategoryRequest.cc b/qualitycheck/src/model/AddBusinessCategoryRequest.cc new file mode 100644 index 000000000..aaf8360a3 --- /dev/null +++ b/qualitycheck/src/model/AddBusinessCategoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::AddBusinessCategoryRequest; + +AddBusinessCategoryRequest::AddBusinessCategoryRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "AddBusinessCategory") +{ + setMethod(HttpRequest::Method::Post); +} + +AddBusinessCategoryRequest::~AddBusinessCategoryRequest() +{} + +long AddBusinessCategoryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void AddBusinessCategoryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string AddBusinessCategoryRequest::getJsonStr()const +{ + return jsonStr_; +} + +void AddBusinessCategoryRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string AddBusinessCategoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddBusinessCategoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/AddBusinessCategoryResult.cc b/qualitycheck/src/model/AddBusinessCategoryResult.cc new file mode 100644 index 000000000..13b383228 --- /dev/null +++ b/qualitycheck/src/model/AddBusinessCategoryResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +AddBusinessCategoryResult::AddBusinessCategoryResult() : + ServiceResult() +{} + +AddBusinessCategoryResult::AddBusinessCategoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddBusinessCategoryResult::~AddBusinessCategoryResult() +{} + +void AddBusinessCategoryResult::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 AddBusinessCategoryResult::getMessage()const +{ + return message_; +} + +std::string AddBusinessCategoryResult::getData()const +{ + return data_; +} + +std::string AddBusinessCategoryResult::getCode()const +{ + return code_; +} + +bool AddBusinessCategoryResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/AddRuleCategoryRequest.cc b/qualitycheck/src/model/AddRuleCategoryRequest.cc new file mode 100644 index 000000000..2679787cb --- /dev/null +++ b/qualitycheck/src/model/AddRuleCategoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::AddRuleCategoryRequest; + +AddRuleCategoryRequest::AddRuleCategoryRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "AddRuleCategory") +{ + setMethod(HttpRequest::Method::Post); +} + +AddRuleCategoryRequest::~AddRuleCategoryRequest() +{} + +long AddRuleCategoryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void AddRuleCategoryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string AddRuleCategoryRequest::getJsonStr()const +{ + return jsonStr_; +} + +void AddRuleCategoryRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string AddRuleCategoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddRuleCategoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/AddRuleCategoryResult.cc b/qualitycheck/src/model/AddRuleCategoryResult.cc new file mode 100644 index 000000000..ba32169f8 --- /dev/null +++ b/qualitycheck/src/model/AddRuleCategoryResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +AddRuleCategoryResult::AddRuleCategoryResult() : + ServiceResult() +{} + +AddRuleCategoryResult::AddRuleCategoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddRuleCategoryResult::~AddRuleCategoryResult() +{} + +void AddRuleCategoryResult::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["Select"].isNull()) + data_.select = dataNode["Select"].asString() == "true"; + 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 AddRuleCategoryResult::getMessage()const +{ + return message_; +} + +AddRuleCategoryResult::Data AddRuleCategoryResult::getData()const +{ + return data_; +} + +std::string AddRuleCategoryResult::getCode()const +{ + return code_; +} + +bool AddRuleCategoryResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/AddThesaurusForApiRequest.cc b/qualitycheck/src/model/AddThesaurusForApiRequest.cc new file mode 100644 index 000000000..0b129a488 --- /dev/null +++ b/qualitycheck/src/model/AddThesaurusForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::AddThesaurusForApiRequest; + +AddThesaurusForApiRequest::AddThesaurusForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "AddThesaurusForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +AddThesaurusForApiRequest::~AddThesaurusForApiRequest() +{} + +long AddThesaurusForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void AddThesaurusForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string AddThesaurusForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void AddThesaurusForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string AddThesaurusForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddThesaurusForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/AddThesaurusForApiResult.cc b/qualitycheck/src/model/AddThesaurusForApiResult.cc new file mode 100644 index 000000000..85858136d --- /dev/null +++ b/qualitycheck/src/model/AddThesaurusForApiResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +AddThesaurusForApiResult::AddThesaurusForApiResult() : + ServiceResult() +{} + +AddThesaurusForApiResult::AddThesaurusForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddThesaurusForApiResult::~AddThesaurusForApiResult() +{} + +void AddThesaurusForApiResult::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_ = std::stol(value["Data"].asString()); + +} + +std::string AddThesaurusForApiResult::getMessage()const +{ + return message_; +} + +long AddThesaurusForApiResult::getData()const +{ + return data_; +} + +std::string AddThesaurusForApiResult::getCode()const +{ + return code_; +} + +bool AddThesaurusForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/AssignReviewerRequest.cc b/qualitycheck/src/model/AssignReviewerRequest.cc new file mode 100644 index 000000000..e7931471b --- /dev/null +++ b/qualitycheck/src/model/AssignReviewerRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::AssignReviewerRequest; + +AssignReviewerRequest::AssignReviewerRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "AssignReviewer") +{ + setMethod(HttpRequest::Method::Post); +} + +AssignReviewerRequest::~AssignReviewerRequest() +{} + +long AssignReviewerRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void AssignReviewerRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string AssignReviewerRequest::getJsonStr()const +{ + return jsonStr_; +} + +void AssignReviewerRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string AssignReviewerRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AssignReviewerRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/AssignReviewerResult.cc b/qualitycheck/src/model/AssignReviewerResult.cc new file mode 100644 index 000000000..a11a191e5 --- /dev/null +++ b/qualitycheck/src/model/AssignReviewerResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +AssignReviewerResult::AssignReviewerResult() : + ServiceResult() +{} + +AssignReviewerResult::AssignReviewerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AssignReviewerResult::~AssignReviewerResult() +{} + +void AssignReviewerResult::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 AssignReviewerResult::getMessage()const +{ + return message_; +} + +std::string AssignReviewerResult::getCode()const +{ + return code_; +} + +bool AssignReviewerResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/CloseServiceRequest.cc b/qualitycheck/src/model/CloseServiceRequest.cc new file mode 100644 index 000000000..fbb5dce92 --- /dev/null +++ b/qualitycheck/src/model/CloseServiceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/CloseServiceResult.cc b/qualitycheck/src/model/CloseServiceResult.cc new file mode 100644 index 000000000..497a3a6f7 --- /dev/null +++ b/qualitycheck/src/model/CloseServiceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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_; +} + diff --git a/qualitycheck/src/model/CreateAsrVocabRequest.cc b/qualitycheck/src/model/CreateAsrVocabRequest.cc new file mode 100644 index 000000000..bb2ef6766 --- /dev/null +++ b/qualitycheck/src/model/CreateAsrVocabRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::CreateAsrVocabRequest; + +CreateAsrVocabRequest::CreateAsrVocabRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "CreateAsrVocab") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateAsrVocabRequest::~CreateAsrVocabRequest() +{} + +long CreateAsrVocabRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateAsrVocabRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateAsrVocabRequest::getJsonStr()const +{ + return jsonStr_; +} + +void CreateAsrVocabRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string CreateAsrVocabRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateAsrVocabRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/CreateAsrVocabResult.cc b/qualitycheck/src/model/CreateAsrVocabResult.cc new file mode 100644 index 000000000..dc5088cc2 --- /dev/null +++ b/qualitycheck/src/model/CreateAsrVocabResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +CreateAsrVocabResult::CreateAsrVocabResult() : + ServiceResult() +{} + +CreateAsrVocabResult::CreateAsrVocabResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAsrVocabResult::~CreateAsrVocabResult() +{} + +void CreateAsrVocabResult::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 CreateAsrVocabResult::getMessage()const +{ + return message_; +} + +std::string CreateAsrVocabResult::getData()const +{ + return data_; +} + +std::string CreateAsrVocabResult::getCode()const +{ + return code_; +} + +bool CreateAsrVocabResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/CreateSkillGroupConfigRequest.cc b/qualitycheck/src/model/CreateSkillGroupConfigRequest.cc new file mode 100644 index 000000000..00a888375 --- /dev/null +++ b/qualitycheck/src/model/CreateSkillGroupConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::CreateSkillGroupConfigRequest; + +CreateSkillGroupConfigRequest::CreateSkillGroupConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "CreateSkillGroupConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSkillGroupConfigRequest::~CreateSkillGroupConfigRequest() +{} + +long CreateSkillGroupConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateSkillGroupConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateSkillGroupConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void CreateSkillGroupConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string CreateSkillGroupConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateSkillGroupConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/CreateSkillGroupConfigResult.cc b/qualitycheck/src/model/CreateSkillGroupConfigResult.cc new file mode 100644 index 000000000..3c1fd5a87 --- /dev/null +++ b/qualitycheck/src/model/CreateSkillGroupConfigResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +CreateSkillGroupConfigResult::CreateSkillGroupConfigResult() : + ServiceResult() +{} + +CreateSkillGroupConfigResult::CreateSkillGroupConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSkillGroupConfigResult::~CreateSkillGroupConfigResult() +{} + +void CreateSkillGroupConfigResult::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_ = std::stol(value["Data"].asString()); + +} + +std::string CreateSkillGroupConfigResult::getMessage()const +{ + return message_; +} + +long CreateSkillGroupConfigResult::getData()const +{ + return data_; +} + +std::string CreateSkillGroupConfigResult::getCode()const +{ + return code_; +} + +bool CreateSkillGroupConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/CreateTaskAssignRuleRequest.cc b/qualitycheck/src/model/CreateTaskAssignRuleRequest.cc new file mode 100644 index 000000000..bfd30a918 --- /dev/null +++ b/qualitycheck/src/model/CreateTaskAssignRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::CreateTaskAssignRuleRequest; + +CreateTaskAssignRuleRequest::CreateTaskAssignRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "CreateTaskAssignRule") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateTaskAssignRuleRequest::~CreateTaskAssignRuleRequest() +{} + +long CreateTaskAssignRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateTaskAssignRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateTaskAssignRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void CreateTaskAssignRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string CreateTaskAssignRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateTaskAssignRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/CreateTaskAssignRuleResult.cc b/qualitycheck/src/model/CreateTaskAssignRuleResult.cc new file mode 100644 index 000000000..7900d3488 --- /dev/null +++ b/qualitycheck/src/model/CreateTaskAssignRuleResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +CreateTaskAssignRuleResult::CreateTaskAssignRuleResult() : + ServiceResult() +{} + +CreateTaskAssignRuleResult::CreateTaskAssignRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTaskAssignRuleResult::~CreateTaskAssignRuleResult() +{} + +void CreateTaskAssignRuleResult::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 CreateTaskAssignRuleResult::getMessage()const +{ + return message_; +} + +std::string CreateTaskAssignRuleResult::getData()const +{ + return data_; +} + +std::string CreateTaskAssignRuleResult::getCode()const +{ + return code_; +} + +bool CreateTaskAssignRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/CreateUserRequest.cc b/qualitycheck/src/model/CreateUserRequest.cc new file mode 100644 index 000000000..61e57db44 --- /dev/null +++ b/qualitycheck/src/model/CreateUserRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::CreateUserRequest; + +CreateUserRequest::CreateUserRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "CreateUser") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateUserRequest::~CreateUserRequest() +{} + +long CreateUserRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateUserRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateUserRequest::getJsonStr()const +{ + return jsonStr_; +} + +void CreateUserRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string CreateUserRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateUserRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/CreateUserResult.cc b/qualitycheck/src/model/CreateUserResult.cc new file mode 100644 index 000000000..31026acb4 --- /dev/null +++ b/qualitycheck/src/model/CreateUserResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +CreateUserResult::CreateUserResult() : + ServiceResult() +{} + +CreateUserResult::CreateUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserResult::~CreateUserResult() +{} + +void CreateUserResult::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 CreateUserResult::getMessage()const +{ + return message_; +} + +std::string CreateUserResult::getCode()const +{ + return code_; +} + +bool CreateUserResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/CreateWarningConfigRequest.cc b/qualitycheck/src/model/CreateWarningConfigRequest.cc new file mode 100644 index 000000000..9b4cb6645 --- /dev/null +++ b/qualitycheck/src/model/CreateWarningConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::CreateWarningConfigRequest; + +CreateWarningConfigRequest::CreateWarningConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "CreateWarningConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateWarningConfigRequest::~CreateWarningConfigRequest() +{} + +long CreateWarningConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateWarningConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateWarningConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void CreateWarningConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string CreateWarningConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateWarningConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/CreateWarningConfigResult.cc b/qualitycheck/src/model/CreateWarningConfigResult.cc new file mode 100644 index 000000000..cf7d63861 --- /dev/null +++ b/qualitycheck/src/model/CreateWarningConfigResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +CreateWarningConfigResult::CreateWarningConfigResult() : + ServiceResult() +{} + +CreateWarningConfigResult::CreateWarningConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWarningConfigResult::~CreateWarningConfigResult() +{} + +void CreateWarningConfigResult::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 CreateWarningConfigResult::getMessage()const +{ + return message_; +} + +std::string CreateWarningConfigResult::getData()const +{ + return data_; +} + +std::string CreateWarningConfigResult::getCode()const +{ + return code_; +} + +bool CreateWarningConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DelRuleCategoryRequest.cc b/qualitycheck/src/model/DelRuleCategoryRequest.cc new file mode 100644 index 000000000..5ac4560e9 --- /dev/null +++ b/qualitycheck/src/model/DelRuleCategoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DelRuleCategoryRequest; + +DelRuleCategoryRequest::DelRuleCategoryRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DelRuleCategory") +{ + setMethod(HttpRequest::Method::Post); +} + +DelRuleCategoryRequest::~DelRuleCategoryRequest() +{} + +long DelRuleCategoryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DelRuleCategoryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DelRuleCategoryRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DelRuleCategoryRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DelRuleCategoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DelRuleCategoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DelRuleCategoryResult.cc b/qualitycheck/src/model/DelRuleCategoryResult.cc new file mode 100644 index 000000000..b511efc61 --- /dev/null +++ b/qualitycheck/src/model/DelRuleCategoryResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DelRuleCategoryResult::DelRuleCategoryResult() : + ServiceResult() +{} + +DelRuleCategoryResult::DelRuleCategoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DelRuleCategoryResult::~DelRuleCategoryResult() +{} + +void DelRuleCategoryResult::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["Select"].isNull()) + data_.select = dataNode["Select"].asString() == "true"; + 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 DelRuleCategoryResult::getMessage()const +{ + return message_; +} + +DelRuleCategoryResult::Data DelRuleCategoryResult::getData()const +{ + return data_; +} + +std::string DelRuleCategoryResult::getCode()const +{ + return code_; +} + +bool DelRuleCategoryResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DelThesaurusForApiRequest.cc b/qualitycheck/src/model/DelThesaurusForApiRequest.cc new file mode 100644 index 000000000..faf769765 --- /dev/null +++ b/qualitycheck/src/model/DelThesaurusForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DelThesaurusForApiRequest; + +DelThesaurusForApiRequest::DelThesaurusForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DelThesaurusForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +DelThesaurusForApiRequest::~DelThesaurusForApiRequest() +{} + +long DelThesaurusForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DelThesaurusForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DelThesaurusForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DelThesaurusForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DelThesaurusForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DelThesaurusForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DelThesaurusForApiResult.cc b/qualitycheck/src/model/DelThesaurusForApiResult.cc new file mode 100644 index 000000000..4aeb5ecb6 --- /dev/null +++ b/qualitycheck/src/model/DelThesaurusForApiResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DelThesaurusForApiResult::DelThesaurusForApiResult() : + ServiceResult() +{} + +DelThesaurusForApiResult::DelThesaurusForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DelThesaurusForApiResult::~DelThesaurusForApiResult() +{} + +void DelThesaurusForApiResult::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 DelThesaurusForApiResult::getMessage()const +{ + return message_; +} + +std::string DelThesaurusForApiResult::getCode()const +{ + return code_; +} + +bool DelThesaurusForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteAsrVocabRequest.cc b/qualitycheck/src/model/DeleteAsrVocabRequest.cc new file mode 100644 index 000000000..658d8fc98 --- /dev/null +++ b/qualitycheck/src/model/DeleteAsrVocabRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteAsrVocabRequest; + +DeleteAsrVocabRequest::DeleteAsrVocabRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteAsrVocab") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteAsrVocabRequest::~DeleteAsrVocabRequest() +{} + +long DeleteAsrVocabRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteAsrVocabRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteAsrVocabRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteAsrVocabRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteAsrVocabRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteAsrVocabRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteAsrVocabResult.cc b/qualitycheck/src/model/DeleteAsrVocabResult.cc new file mode 100644 index 000000000..a1caea68d --- /dev/null +++ b/qualitycheck/src/model/DeleteAsrVocabResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteAsrVocabResult::DeleteAsrVocabResult() : + ServiceResult() +{} + +DeleteAsrVocabResult::DeleteAsrVocabResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAsrVocabResult::~DeleteAsrVocabResult() +{} + +void DeleteAsrVocabResult::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 DeleteAsrVocabResult::getMessage()const +{ + return message_; +} + +std::string DeleteAsrVocabResult::getData()const +{ + return data_; +} + +std::string DeleteAsrVocabResult::getCode()const +{ + return code_; +} + +bool DeleteAsrVocabResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteBusinessCategoryRequest.cc b/qualitycheck/src/model/DeleteBusinessCategoryRequest.cc new file mode 100644 index 000000000..eb803fdd8 --- /dev/null +++ b/qualitycheck/src/model/DeleteBusinessCategoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteBusinessCategoryRequest; + +DeleteBusinessCategoryRequest::DeleteBusinessCategoryRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteBusinessCategory") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteBusinessCategoryRequest::~DeleteBusinessCategoryRequest() +{} + +long DeleteBusinessCategoryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteBusinessCategoryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteBusinessCategoryRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteBusinessCategoryRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteBusinessCategoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteBusinessCategoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteBusinessCategoryResult.cc b/qualitycheck/src/model/DeleteBusinessCategoryResult.cc new file mode 100644 index 000000000..759585009 --- /dev/null +++ b/qualitycheck/src/model/DeleteBusinessCategoryResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteBusinessCategoryResult::DeleteBusinessCategoryResult() : + ServiceResult() +{} + +DeleteBusinessCategoryResult::DeleteBusinessCategoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBusinessCategoryResult::~DeleteBusinessCategoryResult() +{} + +void DeleteBusinessCategoryResult::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 DeleteBusinessCategoryResult::getMessage()const +{ + return message_; +} + +std::string DeleteBusinessCategoryResult::getData()const +{ + return data_; +} + +std::string DeleteBusinessCategoryResult::getCode()const +{ + return code_; +} + +bool DeleteBusinessCategoryResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteCustomizationConfigRequest.cc b/qualitycheck/src/model/DeleteCustomizationConfigRequest.cc new file mode 100644 index 000000000..98dbfddeb --- /dev/null +++ b/qualitycheck/src/model/DeleteCustomizationConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteCustomizationConfigRequest; + +DeleteCustomizationConfigRequest::DeleteCustomizationConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteCustomizationConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteCustomizationConfigRequest::~DeleteCustomizationConfigRequest() +{} + +long DeleteCustomizationConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteCustomizationConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteCustomizationConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteCustomizationConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteCustomizationConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteCustomizationConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteCustomizationConfigResult.cc b/qualitycheck/src/model/DeleteCustomizationConfigResult.cc new file mode 100644 index 000000000..dad1f1c61 --- /dev/null +++ b/qualitycheck/src/model/DeleteCustomizationConfigResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteCustomizationConfigResult::DeleteCustomizationConfigResult() : + ServiceResult() +{} + +DeleteCustomizationConfigResult::DeleteCustomizationConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCustomizationConfigResult::~DeleteCustomizationConfigResult() +{} + +void DeleteCustomizationConfigResult::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 DeleteCustomizationConfigResult::getMessage()const +{ + return message_; +} + +std::string DeleteCustomizationConfigResult::getData()const +{ + return data_; +} + +std::string DeleteCustomizationConfigResult::getCode()const +{ + return code_; +} + +bool DeleteCustomizationConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteDataSetRequest.cc b/qualitycheck/src/model/DeleteDataSetRequest.cc new file mode 100644 index 000000000..6369d6461 --- /dev/null +++ b/qualitycheck/src/model/DeleteDataSetRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteDataSetRequest; + +DeleteDataSetRequest::DeleteDataSetRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteDataSet") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDataSetRequest::~DeleteDataSetRequest() +{} + +long DeleteDataSetRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteDataSetRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteDataSetRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteDataSetRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteDataSetRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDataSetRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteDataSetResult.cc b/qualitycheck/src/model/DeleteDataSetResult.cc new file mode 100644 index 000000000..91e62a146 --- /dev/null +++ b/qualitycheck/src/model/DeleteDataSetResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteDataSetResult::DeleteDataSetResult() : + ServiceResult() +{} + +DeleteDataSetResult::DeleteDataSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDataSetResult::~DeleteDataSetResult() +{} + +void DeleteDataSetResult::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 DeleteDataSetResult::getMessage()const +{ + return message_; +} + +std::string DeleteDataSetResult::getCode()const +{ + return code_; +} + +bool DeleteDataSetResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeletePrecisionTaskRequest.cc b/qualitycheck/src/model/DeletePrecisionTaskRequest.cc new file mode 100644 index 000000000..3fd9e8b8e --- /dev/null +++ b/qualitycheck/src/model/DeletePrecisionTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeletePrecisionTaskRequest; + +DeletePrecisionTaskRequest::DeletePrecisionTaskRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeletePrecisionTask") +{ + setMethod(HttpRequest::Method::Post); +} + +DeletePrecisionTaskRequest::~DeletePrecisionTaskRequest() +{} + +long DeletePrecisionTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeletePrecisionTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeletePrecisionTaskRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeletePrecisionTaskRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeletePrecisionTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeletePrecisionTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeletePrecisionTaskResult.cc b/qualitycheck/src/model/DeletePrecisionTaskResult.cc new file mode 100644 index 000000000..cfa1a589e --- /dev/null +++ b/qualitycheck/src/model/DeletePrecisionTaskResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeletePrecisionTaskResult::DeletePrecisionTaskResult() : + ServiceResult() +{} + +DeletePrecisionTaskResult::DeletePrecisionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeletePrecisionTaskResult::~DeletePrecisionTaskResult() +{} + +void DeletePrecisionTaskResult::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 DeletePrecisionTaskResult::getMessage()const +{ + return message_; +} + +std::string DeletePrecisionTaskResult::getCode()const +{ + return code_; +} + +bool DeletePrecisionTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteScoreForApiRequest.cc b/qualitycheck/src/model/DeleteScoreForApiRequest.cc new file mode 100644 index 000000000..96566e49b --- /dev/null +++ b/qualitycheck/src/model/DeleteScoreForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteScoreForApiRequest; + +DeleteScoreForApiRequest::DeleteScoreForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteScoreForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteScoreForApiRequest::~DeleteScoreForApiRequest() +{} + +long DeleteScoreForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteScoreForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteScoreForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteScoreForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteScoreForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteScoreForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteScoreForApiResult.cc b/qualitycheck/src/model/DeleteScoreForApiResult.cc new file mode 100644 index 000000000..6aba204f9 --- /dev/null +++ b/qualitycheck/src/model/DeleteScoreForApiResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteScoreForApiResult::DeleteScoreForApiResult() : + ServiceResult() +{} + +DeleteScoreForApiResult::DeleteScoreForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteScoreForApiResult::~DeleteScoreForApiResult() +{} + +void DeleteScoreForApiResult::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 DeleteScoreForApiResult::getMessage()const +{ + return message_; +} + +std::string DeleteScoreForApiResult::getCode()const +{ + return code_; +} + +bool DeleteScoreForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteSkillGroupConfigRequest.cc b/qualitycheck/src/model/DeleteSkillGroupConfigRequest.cc new file mode 100644 index 000000000..46aa5e491 --- /dev/null +++ b/qualitycheck/src/model/DeleteSkillGroupConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteSkillGroupConfigRequest; + +DeleteSkillGroupConfigRequest::DeleteSkillGroupConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteSkillGroupConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteSkillGroupConfigRequest::~DeleteSkillGroupConfigRequest() +{} + +long DeleteSkillGroupConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteSkillGroupConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteSkillGroupConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteSkillGroupConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteSkillGroupConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteSkillGroupConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteSkillGroupConfigResult.cc b/qualitycheck/src/model/DeleteSkillGroupConfigResult.cc new file mode 100644 index 000000000..0ac959ba8 --- /dev/null +++ b/qualitycheck/src/model/DeleteSkillGroupConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteSkillGroupConfigResult::DeleteSkillGroupConfigResult() : + ServiceResult() +{} + +DeleteSkillGroupConfigResult::DeleteSkillGroupConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSkillGroupConfigResult::~DeleteSkillGroupConfigResult() +{} + +void DeleteSkillGroupConfigResult::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 DeleteSkillGroupConfigResult::getMessage()const +{ + return message_; +} + +std::string DeleteSkillGroupConfigResult::getCode()const +{ + return code_; +} + +bool DeleteSkillGroupConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteSubScoreForApiRequest.cc b/qualitycheck/src/model/DeleteSubScoreForApiRequest.cc new file mode 100644 index 000000000..3a34bbae3 --- /dev/null +++ b/qualitycheck/src/model/DeleteSubScoreForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteSubScoreForApiRequest; + +DeleteSubScoreForApiRequest::DeleteSubScoreForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteSubScoreForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteSubScoreForApiRequest::~DeleteSubScoreForApiRequest() +{} + +long DeleteSubScoreForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteSubScoreForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteSubScoreForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteSubScoreForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteSubScoreForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteSubScoreForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteSubScoreForApiResult.cc b/qualitycheck/src/model/DeleteSubScoreForApiResult.cc new file mode 100644 index 000000000..382470b16 --- /dev/null +++ b/qualitycheck/src/model/DeleteSubScoreForApiResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteSubScoreForApiResult::DeleteSubScoreForApiResult() : + ServiceResult() +{} + +DeleteSubScoreForApiResult::DeleteSubScoreForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSubScoreForApiResult::~DeleteSubScoreForApiResult() +{} + +void DeleteSubScoreForApiResult::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 DeleteSubScoreForApiResult::getMessage()const +{ + return message_; +} + +std::string DeleteSubScoreForApiResult::getCode()const +{ + return code_; +} + +bool DeleteSubScoreForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteTaskAssignRuleRequest.cc b/qualitycheck/src/model/DeleteTaskAssignRuleRequest.cc new file mode 100644 index 000000000..86fdc12b1 --- /dev/null +++ b/qualitycheck/src/model/DeleteTaskAssignRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteTaskAssignRuleRequest; + +DeleteTaskAssignRuleRequest::DeleteTaskAssignRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteTaskAssignRule") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteTaskAssignRuleRequest::~DeleteTaskAssignRuleRequest() +{} + +long DeleteTaskAssignRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteTaskAssignRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteTaskAssignRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteTaskAssignRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteTaskAssignRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteTaskAssignRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteTaskAssignRuleResult.cc b/qualitycheck/src/model/DeleteTaskAssignRuleResult.cc new file mode 100644 index 000000000..84179345d --- /dev/null +++ b/qualitycheck/src/model/DeleteTaskAssignRuleResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteTaskAssignRuleResult::DeleteTaskAssignRuleResult() : + ServiceResult() +{} + +DeleteTaskAssignRuleResult::DeleteTaskAssignRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTaskAssignRuleResult::~DeleteTaskAssignRuleResult() +{} + +void DeleteTaskAssignRuleResult::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 DeleteTaskAssignRuleResult::getMessage()const +{ + return message_; +} + +std::string DeleteTaskAssignRuleResult::getCode()const +{ + return code_; +} + +bool DeleteTaskAssignRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteUserRequest.cc b/qualitycheck/src/model/DeleteUserRequest.cc new file mode 100644 index 000000000..da3080a44 --- /dev/null +++ b/qualitycheck/src/model/DeleteUserRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteUserRequest; + +DeleteUserRequest::DeleteUserRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteUser") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserRequest::~DeleteUserRequest() +{} + +long DeleteUserRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteUserRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteUserRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteUserRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteUserRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteUserRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteUserResult.cc b/qualitycheck/src/model/DeleteUserResult.cc new file mode 100644 index 000000000..37c386140 --- /dev/null +++ b/qualitycheck/src/model/DeleteUserResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteUserResult::DeleteUserResult() : + ServiceResult() +{} + +DeleteUserResult::DeleteUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserResult::~DeleteUserResult() +{} + +void DeleteUserResult::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 DeleteUserResult::getMessage()const +{ + return message_; +} + +std::string DeleteUserResult::getCode()const +{ + return code_; +} + +bool DeleteUserResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/DeleteWarningConfigRequest.cc b/qualitycheck/src/model/DeleteWarningConfigRequest.cc new file mode 100644 index 000000000..dc3dbe9d3 --- /dev/null +++ b/qualitycheck/src/model/DeleteWarningConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::DeleteWarningConfigRequest; + +DeleteWarningConfigRequest::DeleteWarningConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "DeleteWarningConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteWarningConfigRequest::~DeleteWarningConfigRequest() +{} + +long DeleteWarningConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteWarningConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteWarningConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void DeleteWarningConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string DeleteWarningConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteWarningConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/DeleteWarningConfigResult.cc b/qualitycheck/src/model/DeleteWarningConfigResult.cc new file mode 100644 index 000000000..fd4c924ae --- /dev/null +++ b/qualitycheck/src/model/DeleteWarningConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +DeleteWarningConfigResult::DeleteWarningConfigResult() : + ServiceResult() +{} + +DeleteWarningConfigResult::DeleteWarningConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteWarningConfigResult::~DeleteWarningConfigResult() +{} + +void DeleteWarningConfigResult::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 DeleteWarningConfigResult::getMessage()const +{ + return message_; +} + +std::string DeleteWarningConfigResult::getCode()const +{ + return code_; +} + +bool DeleteWarningConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/EditThesaurusForApiRequest.cc b/qualitycheck/src/model/EditThesaurusForApiRequest.cc new file mode 100644 index 000000000..edffe68f8 --- /dev/null +++ b/qualitycheck/src/model/EditThesaurusForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::EditThesaurusForApiRequest; + +EditThesaurusForApiRequest::EditThesaurusForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "EditThesaurusForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +EditThesaurusForApiRequest::~EditThesaurusForApiRequest() +{} + +long EditThesaurusForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void EditThesaurusForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string EditThesaurusForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void EditThesaurusForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string EditThesaurusForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void EditThesaurusForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/EditThesaurusForApiResult.cc b/qualitycheck/src/model/EditThesaurusForApiResult.cc new file mode 100644 index 000000000..45fc45043 --- /dev/null +++ b/qualitycheck/src/model/EditThesaurusForApiResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +EditThesaurusForApiResult::EditThesaurusForApiResult() : + ServiceResult() +{} + +EditThesaurusForApiResult::EditThesaurusForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EditThesaurusForApiResult::~EditThesaurusForApiResult() +{} + +void EditThesaurusForApiResult::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_ = std::stol(value["Data"].asString()); + +} + +std::string EditThesaurusForApiResult::getMessage()const +{ + return message_; +} + +long EditThesaurusForApiResult::getData()const +{ + return data_; +} + +std::string EditThesaurusForApiResult::getCode()const +{ + return code_; +} + +bool EditThesaurusForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetAsrVocabRequest.cc b/qualitycheck/src/model/GetAsrVocabRequest.cc new file mode 100644 index 000000000..23159206e --- /dev/null +++ b/qualitycheck/src/model/GetAsrVocabRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetAsrVocabRequest; + +GetAsrVocabRequest::GetAsrVocabRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetAsrVocab") +{ + setMethod(HttpRequest::Method::Post); +} + +GetAsrVocabRequest::~GetAsrVocabRequest() +{} + +long GetAsrVocabRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetAsrVocabRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetAsrVocabRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetAsrVocabRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetAsrVocabRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetAsrVocabRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetAsrVocabResult.cc b/qualitycheck/src/model/GetAsrVocabResult.cc new file mode 100644 index 000000000..5827f7686 --- /dev/null +++ b/qualitycheck/src/model/GetAsrVocabResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetAsrVocabResult::GetAsrVocabResult() : + ServiceResult() +{} + +GetAsrVocabResult::GetAsrVocabResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetAsrVocabResult::~GetAsrVocabResult() +{} + +void GetAsrVocabResult::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["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + auto allWordsNode = dataNode["Words"]["Word"]; + for (auto dataNodeWordsWord : allWordsNode) + { + Data::Word wordObject; + if(!dataNodeWordsWord["Word"].isNull()) + wordObject.word = dataNodeWordsWord["Word"].asString(); + if(!dataNodeWordsWord["Weight"].isNull()) + wordObject.weight = std::stoi(dataNodeWordsWord["Weight"].asString()); + data_.words.push_back(wordObject); + } + 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 GetAsrVocabResult::getMessage()const +{ + return message_; +} + +GetAsrVocabResult::Data GetAsrVocabResult::getData()const +{ + return data_; +} + +std::string GetAsrVocabResult::getCode()const +{ + return code_; +} + +bool GetAsrVocabResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetBusinessCategoryListRequest.cc b/qualitycheck/src/model/GetBusinessCategoryListRequest.cc new file mode 100644 index 000000000..343f64185 --- /dev/null +++ b/qualitycheck/src/model/GetBusinessCategoryListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetBusinessCategoryListRequest; + +GetBusinessCategoryListRequest::GetBusinessCategoryListRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetBusinessCategoryList") +{ + setMethod(HttpRequest::Method::Post); +} + +GetBusinessCategoryListRequest::~GetBusinessCategoryListRequest() +{} + +long GetBusinessCategoryListRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetBusinessCategoryListRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetBusinessCategoryListRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetBusinessCategoryListRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetBusinessCategoryListRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetBusinessCategoryListRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetBusinessCategoryListResult.cc b/qualitycheck/src/model/GetBusinessCategoryListResult.cc new file mode 100644 index 000000000..b3fe8c59b --- /dev/null +++ b/qualitycheck/src/model/GetBusinessCategoryListResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetBusinessCategoryListResult::GetBusinessCategoryListResult() : + ServiceResult() +{} + +GetBusinessCategoryListResult::GetBusinessCategoryListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetBusinessCategoryListResult::~GetBusinessCategoryListResult() +{} + +void GetBusinessCategoryListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BusinessCategoryBasicInfo"]; + for (auto valueDataBusinessCategoryBasicInfo : allDataNode) + { + BusinessCategoryBasicInfo dataObject; + if(!valueDataBusinessCategoryBasicInfo["Bid"].isNull()) + dataObject.bid = std::stoi(valueDataBusinessCategoryBasicInfo["Bid"].asString()); + if(!valueDataBusinessCategoryBasicInfo["ServiceType"].isNull()) + dataObject.serviceType = std::stoi(valueDataBusinessCategoryBasicInfo["ServiceType"].asString()); + if(!valueDataBusinessCategoryBasicInfo["BusinessName"].isNull()) + dataObject.businessName = valueDataBusinessCategoryBasicInfo["BusinessName"].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 GetBusinessCategoryListResult::getMessage()const +{ + return message_; +} + +std::vector GetBusinessCategoryListResult::getData()const +{ + return data_; +} + +std::string GetBusinessCategoryListResult::getCode()const +{ + return code_; +} + +bool GetBusinessCategoryListResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetCustomizationConfigListRequest.cc b/qualitycheck/src/model/GetCustomizationConfigListRequest.cc new file mode 100644 index 000000000..912a1fef3 --- /dev/null +++ b/qualitycheck/src/model/GetCustomizationConfigListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetCustomizationConfigListRequest; + +GetCustomizationConfigListRequest::GetCustomizationConfigListRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetCustomizationConfigList") +{ + setMethod(HttpRequest::Method::Post); +} + +GetCustomizationConfigListRequest::~GetCustomizationConfigListRequest() +{} + +long GetCustomizationConfigListRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetCustomizationConfigListRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetCustomizationConfigListRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetCustomizationConfigListRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetCustomizationConfigListRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetCustomizationConfigListRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetCustomizationConfigListResult.cc b/qualitycheck/src/model/GetCustomizationConfigListResult.cc new file mode 100644 index 000000000..d6ec88cf5 --- /dev/null +++ b/qualitycheck/src/model/GetCustomizationConfigListResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetCustomizationConfigListResult::GetCustomizationConfigListResult() : + ServiceResult() +{} + +GetCustomizationConfigListResult::GetCustomizationConfigListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCustomizationConfigListResult::~GetCustomizationConfigListResult() +{} + +void GetCustomizationConfigListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ModelCustomizationDataSetPo"]; + for (auto valueDataModelCustomizationDataSetPo : allDataNode) + { + ModelCustomizationDataSetPo dataObject; + if(!valueDataModelCustomizationDataSetPo["ModelId"].isNull()) + dataObject.modelId = std::stol(valueDataModelCustomizationDataSetPo["ModelId"].asString()); + if(!valueDataModelCustomizationDataSetPo["ModeCustomizationId"].isNull()) + dataObject.modeCustomizationId = valueDataModelCustomizationDataSetPo["ModeCustomizationId"].asString(); + if(!valueDataModelCustomizationDataSetPo["ModelName"].isNull()) + dataObject.modelName = valueDataModelCustomizationDataSetPo["ModelName"].asString(); + if(!valueDataModelCustomizationDataSetPo["ModelStatus"].isNull()) + dataObject.modelStatus = std::stoi(valueDataModelCustomizationDataSetPo["ModelStatus"].asString()); + if(!valueDataModelCustomizationDataSetPo["TaskType"].isNull()) + dataObject.taskType = std::stoi(valueDataModelCustomizationDataSetPo["TaskType"].asString()); + if(!valueDataModelCustomizationDataSetPo["CreateTime"].isNull()) + dataObject.createTime = valueDataModelCustomizationDataSetPo["CreateTime"].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 GetCustomizationConfigListResult::getMessage()const +{ + return message_; +} + +std::vector GetCustomizationConfigListResult::getData()const +{ + return data_; +} + +std::string GetCustomizationConfigListResult::getCode()const +{ + return code_; +} + +bool GetCustomizationConfigListResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetDataSetListRequest.cc b/qualitycheck/src/model/GetDataSetListRequest.cc new file mode 100644 index 000000000..7693b1d8d --- /dev/null +++ b/qualitycheck/src/model/GetDataSetListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/GetDataSetListResult.cc b/qualitycheck/src/model/GetDataSetListResult.cc new file mode 100644 index 000000000..304115758 --- /dev/null +++ b/qualitycheck/src/model/GetDataSetListResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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::getData()const +{ + return data_; +} + +int GetDataSetListResult::getCount()const +{ + return count_; +} + +std::string GetDataSetListResult::getCode()const +{ + return code_; +} + +bool GetDataSetListResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetHitResultRequest.cc b/qualitycheck/src/model/GetHitResultRequest.cc new file mode 100644 index 000000000..ad9b34f68 --- /dev/null +++ b/qualitycheck/src/model/GetHitResultRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetHitResultRequest; + +GetHitResultRequest::GetHitResultRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetHitResult") +{ + setMethod(HttpRequest::Method::Post); +} + +GetHitResultRequest::~GetHitResultRequest() +{} + +long GetHitResultRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetHitResultRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetHitResultRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetHitResultRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetHitResultRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetHitResultRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetHitResultResult.cc b/qualitycheck/src/model/GetHitResultResult.cc new file mode 100644 index 000000000..e2b7d26ae --- /dev/null +++ b/qualitycheck/src/model/GetHitResultResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetHitResultResult::GetHitResultResult() : + ServiceResult() +{} + +GetHitResultResult::GetHitResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetHitResultResult::~GetHitResultResult() +{} + +void GetHitResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ResultInfo"]; + for (auto valueDataResultInfo : allDataNode) + { + ResultInfo dataObject; + if(!valueDataResultInfo["Rid"].isNull()) + dataObject.rid = std::stol(valueDataResultInfo["Rid"].asString()); + if(!valueDataResultInfo["RuleName"].isNull()) + dataObject.ruleName = valueDataResultInfo["RuleName"].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()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::string GetHitResultResult::getMessage()const +{ + return message_; +} + +int GetHitResultResult::getPageSize()const +{ + return pageSize_; +} + +int GetHitResultResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector GetHitResultResult::getData()const +{ + return data_; +} + +int GetHitResultResult::getCount()const +{ + return count_; +} + +std::string GetHitResultResult::getCode()const +{ + return code_; +} + +bool GetHitResultResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetNextResultToVerifyRequest.cc b/qualitycheck/src/model/GetNextResultToVerifyRequest.cc new file mode 100644 index 000000000..1d356b799 --- /dev/null +++ b/qualitycheck/src/model/GetNextResultToVerifyRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetNextResultToVerifyRequest; + +GetNextResultToVerifyRequest::GetNextResultToVerifyRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetNextResultToVerify") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNextResultToVerifyRequest::~GetNextResultToVerifyRequest() +{} + +long GetNextResultToVerifyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetNextResultToVerifyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetNextResultToVerifyRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetNextResultToVerifyRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetNextResultToVerifyRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetNextResultToVerifyRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetNextResultToVerifyResult.cc b/qualitycheck/src/model/GetNextResultToVerifyResult.cc new file mode 100644 index 000000000..81120a12e --- /dev/null +++ b/qualitycheck/src/model/GetNextResultToVerifyResult.cc @@ -0,0 +1,149 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetNextResultToVerifyResult::GetNextResultToVerifyResult() : + ServiceResult() +{} + +GetNextResultToVerifyResult::GetNextResultToVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNextResultToVerifyResult::~GetNextResultToVerifyResult() +{} + +void GetNextResultToVerifyResult::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["Status"].isNull()) + data_.status = std::stoi(dataNode["Status"].asString()); + if(!dataNode["AudioURL"].isNull()) + data_.audioURL = dataNode["AudioURL"].asString(); + if(!dataNode["AudioScheme"].isNull()) + data_.audioScheme = dataNode["AudioScheme"].asString(); + if(!dataNode["FileName"].isNull()) + data_.fileName = dataNode["FileName"].asString(); + if(!dataNode["FileId"].isNull()) + data_.fileId = dataNode["FileId"].asString(); + if(!dataNode["Verified"].isNull()) + data_.verified = dataNode["Verified"].asString() == "true"; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + if(!dataNode["VerifiedCount"].isNull()) + data_.verifiedCount = std::stoi(dataNode["VerifiedCount"].asString()); + if(!dataNode["IncorrectWords"].isNull()) + data_.incorrectWords = std::stoi(dataNode["IncorrectWords"].asString()); + if(!dataNode["Precision"].isNull()) + data_.precision = std::stof(dataNode["Precision"].asString()); + if(!dataNode["UpdateTime"].isNull()) + data_.updateTime = dataNode["UpdateTime"].asString(); + if(!dataNode["Duration"].isNull()) + data_.duration = std::stoi(dataNode["Duration"].asString()); + if(!dataNode["Index"].isNull()) + data_.index = std::stoi(dataNode["Index"].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["SourceRole"].isNull()) + dialogueObject.sourceRole = dataNodeDialoguesDialogue["SourceRole"].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(); + if(!dataNodeDialoguesDialogue["SourceWords"].isNull()) + dialogueObject.sourceWords = dataNodeDialoguesDialogue["SourceWords"].asString(); + if(!dataNodeDialoguesDialogue["IncorrectWords"].isNull()) + dialogueObject.incorrectWords = std::stoi(dataNodeDialoguesDialogue["IncorrectWords"].asString()); + auto allDeltasNode = dataNodeDialoguesDialogue["Deltas"]["Delta"]; + for (auto dataNodeDialoguesDialogueDeltasDelta : allDeltasNode) + { + Data::Dialogue::Delta deltasObject; + if(!dataNodeDialoguesDialogueDeltasDelta["Type"].isNull()) + deltasObject.type = dataNodeDialoguesDialogueDeltasDelta["Type"].asString(); + auto sourceNode = value["Source"]; + if(!sourceNode["Position"].isNull()) + deltasObject.source.position = std::stoi(sourceNode["Position"].asString()); + auto allLine = sourceNode["Line"]["Line"]; + for (auto value : allLine) + deltasObject.source.line.push_back(value.asString()); + auto targetNode = value["Target"]; + if(!targetNode["Position"].isNull()) + deltasObject.target.position = std::stoi(targetNode["Position"].asString()); + auto allLine1 = targetNode["Line"]["Line"]; + for (auto value : allLine1) + deltasObject.target.line1.push_back(value.asString()); + dialogueObject.deltas.push_back(deltasObject); + } + 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 GetNextResultToVerifyResult::getMessage()const +{ + return message_; +} + +GetNextResultToVerifyResult::Data GetNextResultToVerifyResult::getData()const +{ + return data_; +} + +std::string GetNextResultToVerifyResult::getCode()const +{ + return code_; +} + +bool GetNextResultToVerifyResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetPrecisionTaskRequest.cc b/qualitycheck/src/model/GetPrecisionTaskRequest.cc new file mode 100644 index 000000000..63217acb9 --- /dev/null +++ b/qualitycheck/src/model/GetPrecisionTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetPrecisionTaskRequest; + +GetPrecisionTaskRequest::GetPrecisionTaskRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetPrecisionTask") +{ + setMethod(HttpRequest::Method::Post); +} + +GetPrecisionTaskRequest::~GetPrecisionTaskRequest() +{} + +long GetPrecisionTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetPrecisionTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetPrecisionTaskRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetPrecisionTaskRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetPrecisionTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetPrecisionTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetPrecisionTaskResult.cc b/qualitycheck/src/model/GetPrecisionTaskResult.cc new file mode 100644 index 000000000..bd7259cbf --- /dev/null +++ b/qualitycheck/src/model/GetPrecisionTaskResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetPrecisionTaskResult::GetPrecisionTaskResult() : + ServiceResult() +{} + +GetPrecisionTaskResult::GetPrecisionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetPrecisionTaskResult::~GetPrecisionTaskResult() +{} + +void GetPrecisionTaskResult::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["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["Source"].isNull()) + data_.source = std::stoi(dataNode["Source"].asString()); + if(!dataNode["DataSetId"].isNull()) + data_.dataSetId = std::stol(dataNode["DataSetId"].asString()); + if(!dataNode["DataSetName"].isNull()) + data_.dataSetName = dataNode["DataSetName"].asString(); + if(!dataNode["TaskId"].isNull()) + data_.taskId = dataNode["TaskId"].asString(); + if(!dataNode["Duration"].isNull()) + data_.duration = std::stoi(dataNode["Duration"].asString()); + if(!dataNode["UpdateTime"].isNull()) + data_.updateTime = dataNode["UpdateTime"].asString(); + if(!dataNode["Status"].isNull()) + data_.status = std::stoi(dataNode["Status"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + if(!dataNode["VerifiedCount"].isNull()) + data_.verifiedCount = std::stoi(dataNode["VerifiedCount"].asString()); + if(!dataNode["IncorrectWords"].isNull()) + data_.incorrectWords = std::stoi(dataNode["IncorrectWords"].asString()); + auto allPrecisionsNode = dataNode["Precisions"]["Precision"]; + for (auto dataNodePrecisionsPrecision : allPrecisionsNode) + { + Data::Precision precisionObject; + if(!dataNodePrecisionsPrecision["ModelName"].isNull()) + precisionObject.modelName = dataNodePrecisionsPrecision["ModelName"].asString(); + if(!dataNodePrecisionsPrecision["ModelId"].isNull()) + precisionObject.modelId = std::stol(dataNodePrecisionsPrecision["ModelId"].asString()); + if(!dataNodePrecisionsPrecision["Precision"].isNull()) + precisionObject.precision = std::stof(dataNodePrecisionsPrecision["Precision"].asString()); + if(!dataNodePrecisionsPrecision["Status"].isNull()) + precisionObject.status = std::stoi(dataNodePrecisionsPrecision["Status"].asString()); + if(!dataNodePrecisionsPrecision["TaskId"].isNull()) + precisionObject.taskId = dataNodePrecisionsPrecision["TaskId"].asString(); + data_.precisions.push_back(precisionObject); + } + 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 GetPrecisionTaskResult::getMessage()const +{ + return message_; +} + +GetPrecisionTaskResult::Data GetPrecisionTaskResult::getData()const +{ + return data_; +} + +std::string GetPrecisionTaskResult::getCode()const +{ + return code_; +} + +bool GetPrecisionTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetRecognizeResultRequest.cc b/qualitycheck/src/model/GetRecognizeResultRequest.cc new file mode 100644 index 000000000..2f0c74f77 --- /dev/null +++ b/qualitycheck/src/model/GetRecognizeResultRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/GetRecognizeResultResult.cc b/qualitycheck/src/model/GetRecognizeResultResult.cc new file mode 100644 index 000000000..d71e1264d --- /dev/null +++ b/qualitycheck/src/model/GetRecognizeResultResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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_; +} + diff --git a/qualitycheck/src/model/GetResultCallbackRequest.cc b/qualitycheck/src/model/GetResultCallbackRequest.cc new file mode 100644 index 000000000..16780fb27 --- /dev/null +++ b/qualitycheck/src/model/GetResultCallbackRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetResultCallbackRequest; + +GetResultCallbackRequest::GetResultCallbackRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetResultCallback") +{ + setMethod(HttpRequest::Method::Post); +} + +GetResultCallbackRequest::~GetResultCallbackRequest() +{} + +long GetResultCallbackRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetResultCallbackRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetResultCallbackRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetResultCallbackRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetResultCallbackRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetResultCallbackRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetResultCallbackResult.cc b/qualitycheck/src/model/GetResultCallbackResult.cc new file mode 100644 index 000000000..0fbcf33da --- /dev/null +++ b/qualitycheck/src/model/GetResultCallbackResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetResultCallbackResult::GetResultCallbackResult() : + ServiceResult() +{} + +GetResultCallbackResult::GetResultCallbackResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetResultCallbackResult::~GetResultCallbackResult() +{} + +void GetResultCallbackResult::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 GetResultCallbackResult::getMessage()const +{ + return message_; +} + +std::string GetResultCallbackResult::getCode()const +{ + return code_; +} + +bool GetResultCallbackResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetResultRequest.cc b/qualitycheck/src/model/GetResultRequest.cc new file mode 100644 index 000000000..3ff9a753b --- /dev/null +++ b/qualitycheck/src/model/GetResultRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetResultRequest; + +GetResultRequest::GetResultRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetResult") +{ + setMethod(HttpRequest::Method::Post); +} + +GetResultRequest::~GetResultRequest() +{} + +long GetResultRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetResultRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetResultRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetResultRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetResultRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetResultRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetResultResult.cc b/qualitycheck/src/model/GetResultResult.cc new file mode 100644 index 000000000..556cebd7b --- /dev/null +++ b/qualitycheck/src/model/GetResultResult.cc @@ -0,0 +1,270 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetResultResult::GetResultResult() : + ServiceResult() +{} + +GetResultResult::GetResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetResultResult::~GetResultResult() +{} + +void GetResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ResultInfo"]; + for (auto valueDataResultInfo : allDataNode) + { + ResultInfo dataObject; + if(!valueDataResultInfo["Score"].isNull()) + dataObject.score = std::stoi(valueDataResultInfo["Score"].asString()); + if(!valueDataResultInfo["Comments"].isNull()) + dataObject.comments = valueDataResultInfo["Comments"].asString(); + if(!valueDataResultInfo["ErrorMessage"].isNull()) + dataObject.errorMessage = valueDataResultInfo["ErrorMessage"].asString(); + if(!valueDataResultInfo["Status"].isNull()) + dataObject.status = std::stoi(valueDataResultInfo["Status"].asString()); + if(!valueDataResultInfo["ReviewStatus"].isNull()) + dataObject.reviewStatus = std::stoi(valueDataResultInfo["ReviewStatus"].asString()); + if(!valueDataResultInfo["ReviewResult"].isNull()) + dataObject.reviewResult = std::stoi(valueDataResultInfo["ReviewResult"].asString()); + if(!valueDataResultInfo["TaskId"].isNull()) + dataObject.taskId = valueDataResultInfo["TaskId"].asString(); + if(!valueDataResultInfo["TaskName"].isNull()) + dataObject.taskName = valueDataResultInfo["TaskName"].asString(); + if(!valueDataResultInfo["CreateTime"].isNull()) + dataObject.createTime = valueDataResultInfo["CreateTime"].asString(); + if(!valueDataResultInfo["Reviewer"].isNull()) + dataObject.reviewer = valueDataResultInfo["Reviewer"].asString(); + if(!valueDataResultInfo["Resolver"].isNull()) + dataObject.resolver = valueDataResultInfo["Resolver"].asString(); + if(!valueDataResultInfo["ReviewTime"].isNull()) + dataObject.reviewTime = valueDataResultInfo["ReviewTime"].asString(); + if(!valueDataResultInfo["CreateTimeLong"].isNull()) + dataObject.createTimeLong = valueDataResultInfo["CreateTimeLong"].asString(); + if(!valueDataResultInfo["ReviewTimeLong"].isNull()) + dataObject.reviewTimeLong = valueDataResultInfo["ReviewTimeLong"].asString(); + auto allAsrResultNode = valueDataResultInfo["AsrResult"]["AsrResultItem"]; + for (auto valueDataResultInfoAsrResultAsrResultItem : allAsrResultNode) + { + ResultInfo::AsrResultItem asrResultObject; + if(!valueDataResultInfoAsrResultAsrResultItem["Role"].isNull()) + asrResultObject.role = valueDataResultInfoAsrResultAsrResultItem["Role"].asString(); + if(!valueDataResultInfoAsrResultAsrResultItem["Words"].isNull()) + asrResultObject.words = valueDataResultInfoAsrResultAsrResultItem["Words"].asString(); + if(!valueDataResultInfoAsrResultAsrResultItem["Begin"].isNull()) + asrResultObject.begin = std::stol(valueDataResultInfoAsrResultAsrResultItem["Begin"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["End"].isNull()) + asrResultObject.end = std::stol(valueDataResultInfoAsrResultAsrResultItem["End"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["EmotionValue"].isNull()) + asrResultObject.emotionValue = std::stoi(valueDataResultInfoAsrResultAsrResultItem["EmotionValue"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["SpeechRate"].isNull()) + asrResultObject.speechRate = std::stoi(valueDataResultInfoAsrResultAsrResultItem["SpeechRate"].asString()); + dataObject.asrResult.push_back(asrResultObject); + } + auto allHitResultNode = valueDataResultInfo["HitResult"]["HitResultItem"]; + for (auto valueDataResultInfoHitResultHitResultItem : allHitResultNode) + { + ResultInfo::HitResultItem hitResultObject; + if(!valueDataResultInfoHitResultHitResultItem["Rid"].isNull()) + hitResultObject.rid = valueDataResultInfoHitResultHitResultItem["Rid"].asString(); + if(!valueDataResultInfoHitResultHitResultItem["Name"].isNull()) + hitResultObject.name = valueDataResultInfoHitResultHitResultItem["Name"].asString(); + if(!valueDataResultInfoHitResultHitResultItem["Type"].isNull()) + hitResultObject.type = valueDataResultInfoHitResultHitResultItem["Type"].asString(); + if(!valueDataResultInfoHitResultHitResultItem["ReviewResult"].isNull()) + hitResultObject.reviewResult = std::stoi(valueDataResultInfoHitResultHitResultItem["ReviewResult"].asString()); + auto allHitsNode = valueDataResultInfoHitResultHitResultItem["Hits"]["Hit"]; + for (auto valueDataResultInfoHitResultHitResultItemHitsHit : allHitsNode) + { + ResultInfo::HitResultItem::Hit hitsObject; + auto allKeyWordsNode = valueDataResultInfoHitResultHitResultItemHitsHit["KeyWords"]["KeyWord"]; + for (auto valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord : allKeyWordsNode) + { + ResultInfo::HitResultItem::Hit::KeyWord keyWordsObject; + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Cid"].isNull()) + keyWordsObject.cid = valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Cid"].asString(); + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["From"].isNull()) + keyWordsObject.from = std::stoi(valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["From"].asString()); + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["To"].isNull()) + keyWordsObject.to = std::stoi(valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["To"].asString()); + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Val"].isNull()) + keyWordsObject.val = valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Val"].asString(); + hitsObject.keyWords.push_back(keyWordsObject); + } + auto phraseNode = value["Phrase"]; + if(!phraseNode["Role"].isNull()) + hitsObject.phrase.role = phraseNode["Role"].asString(); + if(!phraseNode["Words"].isNull()) + hitsObject.phrase.words = phraseNode["Words"].asString(); + if(!phraseNode["Begin"].isNull()) + hitsObject.phrase.begin = std::stol(phraseNode["Begin"].asString()); + if(!phraseNode["End"].isNull()) + hitsObject.phrase.end = std::stoi(phraseNode["End"].asString()); + if(!phraseNode["EmotionValue"].isNull()) + hitsObject.phrase.emotionValue = std::stoi(phraseNode["EmotionValue"].asString()); + auto allCid = value["Cid"]["Cid"]; + for (auto value : allCid) + hitsObject.cid.push_back(value.asString()); + hitResultObject.hits.push_back(hitsObject); + } + dataObject.hitResult.push_back(hitResultObject); + } + auto allHitScoreNode = valueDataResultInfo["HitScore"]["HitScoreItem"]; + for (auto valueDataResultInfoHitScoreHitScoreItem : allHitScoreNode) + { + ResultInfo::HitScoreItem hitScoreObject; + if(!valueDataResultInfoHitScoreHitScoreItem["ScoreId"].isNull()) + hitScoreObject.scoreId = valueDataResultInfoHitScoreHitScoreItem["ScoreId"].asString(); + if(!valueDataResultInfoHitScoreHitScoreItem["RuleId"].isNull()) + hitScoreObject.ruleId = valueDataResultInfoHitScoreHitScoreItem["RuleId"].asString(); + if(!valueDataResultInfoHitScoreHitScoreItem["ScoreName"].isNull()) + hitScoreObject.scoreName = valueDataResultInfoHitScoreHitScoreItem["ScoreName"].asString(); + if(!valueDataResultInfoHitScoreHitScoreItem["ScoreNumber"].isNull()) + hitScoreObject.scoreNumber = valueDataResultInfoHitScoreHitScoreItem["ScoreNumber"].asString(); + dataObject.hitScore.push_back(hitScoreObject); + } + auto recordingNode = value["Recording"]; + if(!recordingNode["Id"].isNull()) + dataObject.recording.id = recordingNode["Id"].asString(); + if(!recordingNode["PrimaryId"].isNull()) + dataObject.recording.primaryId = recordingNode["PrimaryId"].asString(); + if(!recordingNode["CallId"].isNull()) + dataObject.recording.callId = recordingNode["CallId"].asString(); + if(!recordingNode["Name"].isNull()) + dataObject.recording.name = recordingNode["Name"].asString(); + if(!recordingNode["Url"].isNull()) + dataObject.recording.url = recordingNode["Url"].asString(); + if(!recordingNode["DataSetName"].isNull()) + dataObject.recording.dataSetName = recordingNode["DataSetName"].asString(); + if(!recordingNode["Duration"].isNull()) + dataObject.recording.duration = std::stol(recordingNode["Duration"].asString()); + if(!recordingNode["Caller"].isNull()) + dataObject.recording.caller = recordingNode["Caller"].asString(); + if(!recordingNode["Callee"].isNull()) + dataObject.recording.callee = recordingNode["Callee"].asString(); + if(!recordingNode["CallTime"].isNull()) + dataObject.recording.callTime = recordingNode["CallTime"].asString(); + if(!recordingNode["CallType"].isNull()) + dataObject.recording.callType = std::stoi(recordingNode["CallType"].asString()); + if(!recordingNode["Business"].isNull()) + dataObject.recording.business = recordingNode["Business"].asString(); + if(!recordingNode["Remark1"].isNull()) + dataObject.recording.remark1 = recordingNode["Remark1"].asString(); + if(!recordingNode["Remark2"].isNull()) + dataObject.recording.remark2 = recordingNode["Remark2"].asString(); + if(!recordingNode["Remark3"].isNull()) + dataObject.recording.remark3 = recordingNode["Remark3"].asString(); + if(!recordingNode["Remark4"].isNull()) + dataObject.recording.remark4 = recordingNode["Remark4"].asString(); + if(!recordingNode["Remark5"].isNull()) + dataObject.recording.remark5 = std::stol(recordingNode["Remark5"].asString()); + if(!recordingNode["Remark6"].isNull()) + dataObject.recording.remark6 = recordingNode["Remark6"].asString(); + if(!recordingNode["Remark7"].isNull()) + dataObject.recording.remark7 = recordingNode["Remark7"].asString(); + if(!recordingNode["Remark8"].isNull()) + dataObject.recording.remark8 = recordingNode["Remark8"].asString(); + if(!recordingNode["Remark9"].isNull()) + dataObject.recording.remark9 = recordingNode["Remark9"].asString(); + if(!recordingNode["Remark10"].isNull()) + dataObject.recording.remark10 = recordingNode["Remark10"].asString(); + if(!recordingNode["Remark11"].isNull()) + dataObject.recording.remark11 = recordingNode["Remark11"].asString(); + if(!recordingNode["Remark12"].isNull()) + dataObject.recording.remark12 = recordingNode["Remark12"].asString(); + if(!recordingNode["Remark13"].isNull()) + dataObject.recording.remark13 = recordingNode["Remark13"].asString(); + auto agentNode = value["Agent"]; + if(!agentNode["Id"].isNull()) + dataObject.agent.id = agentNode["Id"].asString(); + if(!agentNode["Name"].isNull()) + dataObject.agent.name = agentNode["Name"].asString(); + if(!agentNode["SkillGroup"].isNull()) + dataObject.agent.skillGroup = agentNode["SkillGroup"].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()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["ResultCountId"].isNull()) + resultCountId_ = value["ResultCountId"].asString(); + +} + +std::string GetResultResult::getMessage()const +{ + return message_; +} + +int GetResultResult::getPageSize()const +{ + return pageSize_; +} + +int GetResultResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector GetResultResult::getData()const +{ + return data_; +} + +int GetResultResult::getCount()const +{ + return count_; +} + +std::string GetResultResult::getCode()const +{ + return code_; +} + +bool GetResultResult::getSuccess()const +{ + return success_; +} + +std::string GetResultResult::getResultCountId()const +{ + return resultCountId_; +} + diff --git a/qualitycheck/src/model/GetResultToReviewRequest.cc b/qualitycheck/src/model/GetResultToReviewRequest.cc new file mode 100644 index 000000000..d8961c61a --- /dev/null +++ b/qualitycheck/src/model/GetResultToReviewRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetResultToReviewRequest; + +GetResultToReviewRequest::GetResultToReviewRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetResultToReview") +{ + setMethod(HttpRequest::Method::Post); +} + +GetResultToReviewRequest::~GetResultToReviewRequest() +{} + +long GetResultToReviewRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetResultToReviewRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetResultToReviewRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetResultToReviewRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetResultToReviewRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetResultToReviewRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetResultToReviewResult.cc b/qualitycheck/src/model/GetResultToReviewResult.cc new file mode 100644 index 000000000..a5326820f --- /dev/null +++ b/qualitycheck/src/model/GetResultToReviewResult.cc @@ -0,0 +1,296 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetResultToReviewResult::GetResultToReviewResult() : + ServiceResult() +{} + +GetResultToReviewResult::GetResultToReviewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetResultToReviewResult::~GetResultToReviewResult() +{} + +void GetResultToReviewResult::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["Audio"].isNull()) + data_.audio = dataNode["Audio"].asString() == "true"; + if(!dataNode["AudioScheme"].isNull()) + data_.audioScheme = dataNode["AudioScheme"].asString(); + if(!dataNode["AudioURL"].isNull()) + data_.audioURL = dataNode["AudioURL"].asString(); + if(!dataNode["BusinessType"].isNull()) + data_.businessType = std::stoi(dataNode["BusinessType"].asString()); + if(!dataNode["Deleted"].isNull()) + data_.deleted = dataNode["Deleted"].asString() == "true"; + if(!dataNode["FileMergeName"].isNull()) + data_.fileMergeName = dataNode["FileMergeName"].asString(); + if(!dataNode["HitNumber"].isNull()) + data_.hitNumber = std::stoi(dataNode["HitNumber"].asString()); + if(!dataNode["ReviewNumber"].isNull()) + data_.reviewNumber = std::stoi(dataNode["ReviewNumber"].asString()); + if(!dataNode["TotalScore"].isNull()) + data_.totalScore = std::stoi(dataNode["TotalScore"].asString()); + if(!dataNode["Vid"].isNull()) + data_.vid = dataNode["Vid"].asString(); + if(!dataNode["Comments"].isNull()) + data_.comments = dataNode["Comments"].asString(); + if(!dataNode["FileId"].isNull()) + data_.fileId = dataNode["FileId"].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); + } + auto allHandScoreInfoListNode = dataNode["HandScoreInfoList"]["ScorePo"]; + for (auto dataNodeHandScoreInfoListScorePo : allHandScoreInfoListNode) + { + Data::ScorePo scorePoObject; + if(!dataNodeHandScoreInfoListScorePo["ScoreId"].isNull()) + scorePoObject.scoreId = std::stol(dataNodeHandScoreInfoListScorePo["ScoreId"].asString()); + if(!dataNodeHandScoreInfoListScorePo["ScoreName"].isNull()) + scorePoObject.scoreName = dataNodeHandScoreInfoListScorePo["ScoreName"].asString(); + auto allScoreInfosNode = dataNodeHandScoreInfoListScorePo["ScoreInfos"]["ScoreParam"]; + for (auto dataNodeHandScoreInfoListScorePoScoreInfosScoreParam : allScoreInfosNode) + { + Data::ScorePo::ScoreParam scoreInfosObject; + if(!dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["Hit"].isNull()) + scoreInfosObject.hit = std::stoi(dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["Hit"].asString()); + if(!dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreNum"].isNull()) + scoreInfosObject.scoreNum = std::stoi(dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreNum"].asString()); + if(!dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreSubId"].isNull()) + scoreInfosObject.scoreSubId = std::stol(dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreSubId"].asString()); + if(!dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreSubName"].isNull()) + scoreInfosObject.scoreSubName = dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreSubName"].asString(); + if(!dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreType"].isNull()) + scoreInfosObject.scoreType = std::stoi(dataNodeHandScoreInfoListScorePoScoreInfosScoreParam["ScoreType"].asString()); + scorePoObject.scoreInfos.push_back(scoreInfosObject); + } + data_.handScoreInfoList.push_back(scorePoObject); + } + auto allHitRuleReviewInfoListNode = dataNode["HitRuleReviewInfoList"]["HitRuleReviewInfo"]; + for (auto dataNodeHitRuleReviewInfoListHitRuleReviewInfo : allHitRuleReviewInfoListNode) + { + Data::HitRuleReviewInfo hitRuleReviewInfoObject; + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["AutoReview"].isNull()) + hitRuleReviewInfoObject.autoReview = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["AutoReview"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["Rid"].isNull()) + hitRuleReviewInfoObject.rid = std::stol(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["Rid"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["RuleName"].isNull()) + hitRuleReviewInfoObject.ruleName = dataNodeHitRuleReviewInfoListHitRuleReviewInfo["RuleName"].asString(); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["RuleScoreType"].isNull()) + hitRuleReviewInfoObject.ruleScoreType = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["RuleScoreType"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["RuleType"].isNull()) + hitRuleReviewInfoObject.ruleType = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["RuleType"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreId"].isNull()) + hitRuleReviewInfoObject.scoreId = std::stol(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreId"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreSubId"].isNull()) + hitRuleReviewInfoObject.scoreSubId = std::stol(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreSubId"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["TotalNumber"].isNull()) + hitRuleReviewInfoObject.totalNumber = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["TotalNumber"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreSubName"].isNull()) + hitRuleReviewInfoObject.scoreSubName = dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreSubName"].asString(); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreNum"].isNull()) + hitRuleReviewInfoObject.scoreNum = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ScoreNum"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfo["Complainable"].isNull()) + hitRuleReviewInfoObject.complainable = dataNodeHitRuleReviewInfoListHitRuleReviewInfo["Complainable"].asString() == "true"; + auto allConditionHitInfoListNode = dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ConditionHitInfoList"]["ConditionHitInfo"]; + for (auto dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfo : allConditionHitInfoListNode) + { + Data::HitRuleReviewInfo::ConditionHitInfo conditionHitInfoListObject; + auto allKeyWordsNode = dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfo["KeyWords"]["KeyWord"]; + for (auto dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord : allKeyWordsNode) + { + Data::HitRuleReviewInfo::ConditionHitInfo::KeyWord keyWordsObject; + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Val"].isNull()) + keyWordsObject.val = dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Val"].asString(); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Pid"].isNull()) + keyWordsObject.pid = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Pid"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["From"].isNull()) + keyWordsObject.from = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["From"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["To"].isNull()) + keyWordsObject.to = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["To"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Tid"].isNull()) + keyWordsObject.tid = dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Tid"].asString(); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Cid"].isNull()) + keyWordsObject.cid = dataNodeHitRuleReviewInfoListHitRuleReviewInfoConditionHitInfoListConditionHitInfoKeyWordsKeyWord["Cid"].asString(); + conditionHitInfoListObject.keyWords.push_back(keyWordsObject); + } + auto phraseNode = value["Phrase"]; + if(!phraseNode["Role"].isNull()) + conditionHitInfoListObject.phrase.role = phraseNode["Role"].asString(); + if(!phraseNode["Identity"].isNull()) + conditionHitInfoListObject.phrase.identity = phraseNode["Identity"].asString(); + if(!phraseNode["EmotionValue"].isNull()) + conditionHitInfoListObject.phrase.emotionValue = std::stoi(phraseNode["EmotionValue"].asString()); + if(!phraseNode["Words"].isNull()) + conditionHitInfoListObject.phrase.words = phraseNode["Words"].asString(); + if(!phraseNode["End"].isNull()) + conditionHitInfoListObject.phrase.end = std::stol(phraseNode["End"].asString()); + if(!phraseNode["Pid"].isNull()) + conditionHitInfoListObject.phrase.pid = std::stoi(phraseNode["Pid"].asString()); + if(!phraseNode["Begin"].isNull()) + conditionHitInfoListObject.phrase.begin = std::stol(phraseNode["Begin"].asString()); + auto allCid = value["Cid"]["Cid"]; + for (auto value : allCid) + conditionHitInfoListObject.cid.push_back(value.asString()); + hitRuleReviewInfoObject.conditionHitInfoList.push_back(conditionHitInfoListObject); + } + auto allComplainHistoriesNode = dataNodeHitRuleReviewInfoListHitRuleReviewInfo["ComplainHistories"]["ComplainHistoriesItem"]; + for (auto dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem : allComplainHistoriesNode) + { + Data::HitRuleReviewInfo::ComplainHistoriesItem complainHistoriesObject; + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Comments"].isNull()) + complainHistoriesObject.comments = dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Comments"].asString(); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperatorName"].isNull()) + complainHistoriesObject.operatorName = dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperatorName"].asString(); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Operator"].isNull()) + complainHistoriesObject._operator = std::stol(dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Operator"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationType"].isNull()) + complainHistoriesObject.operationType = std::stoi(dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationType"].asString()); + if(!dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationTime"].isNull()) + complainHistoriesObject.operationTime = dataNodeHitRuleReviewInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationTime"].asString(); + hitRuleReviewInfoObject.complainHistories.push_back(complainHistoriesObject); + } + auto reviewInfoNode = value["ReviewInfo"]; + if(!reviewInfoNode["HitId"].isNull()) + hitRuleReviewInfoObject.reviewInfo.hitId = reviewInfoNode["HitId"].asString(); + if(!reviewInfoNode["Rid"].isNull()) + hitRuleReviewInfoObject.reviewInfo.rid = std::stol(reviewInfoNode["Rid"].asString()); + if(!reviewInfoNode["ReviewResult"].isNull()) + hitRuleReviewInfoObject.reviewInfo.reviewResult = std::stoi(reviewInfoNode["ReviewResult"].asString()); + if(!reviewInfoNode["Reviewer"].isNull()) + hitRuleReviewInfoObject.reviewInfo.reviewer = reviewInfoNode["Reviewer"].asString(); + if(!reviewInfoNode["ReviewTime"].isNull()) + hitRuleReviewInfoObject.reviewInfo.reviewTime = reviewInfoNode["ReviewTime"].asString(); + data_.hitRuleReviewInfoList.push_back(hitRuleReviewInfoObject); + } + auto allManualScoreInfoListNode = dataNode["ManualScoreInfoList"]["HitRuleReviewInfo"]; + for (auto dataNodeManualScoreInfoListHitRuleReviewInfo : allManualScoreInfoListNode) + { + Data::HitRuleReviewInfo1 hitRuleReviewInfo1Object; + if(!dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreId"].isNull()) + hitRuleReviewInfo1Object.scoreId = std::stol(dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreId"].asString()); + if(!dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreSubId"].isNull()) + hitRuleReviewInfo1Object.scoreSubId = std::stol(dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreSubId"].asString()); + if(!dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreSubName"].isNull()) + hitRuleReviewInfo1Object.scoreSubName = dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreSubName"].asString(); + if(!dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreNum"].isNull()) + hitRuleReviewInfo1Object.scoreNum = std::stoi(dataNodeManualScoreInfoListHitRuleReviewInfo["ScoreNum"].asString()); + if(!dataNodeManualScoreInfoListHitRuleReviewInfo["Complainable"].isNull()) + hitRuleReviewInfo1Object.complainable = dataNodeManualScoreInfoListHitRuleReviewInfo["Complainable"].asString() == "true"; + auto allComplainHistories2Node = dataNodeManualScoreInfoListHitRuleReviewInfo["ComplainHistories"]["ComplainHistoriesItem"]; + for (auto dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem : allComplainHistories2Node) + { + Data::HitRuleReviewInfo1::ComplainHistoriesItem complainHistories2Object; + if(!dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Comments"].isNull()) + complainHistories2Object.comments = dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Comments"].asString(); + if(!dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperatorName"].isNull()) + complainHistories2Object.operatorName = dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperatorName"].asString(); + if(!dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Operator"].isNull()) + complainHistories2Object._operator = std::stol(dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["Operator"].asString()); + if(!dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationType"].isNull()) + complainHistories2Object.operationType = std::stoi(dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationType"].asString()); + if(!dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationTime"].isNull()) + complainHistories2Object.operationTime = dataNodeManualScoreInfoListHitRuleReviewInfoComplainHistoriesComplainHistoriesItem["OperationTime"].asString(); + hitRuleReviewInfo1Object.complainHistories2.push_back(complainHistories2Object); + } + data_.manualScoreInfoList.push_back(hitRuleReviewInfo1Object); + } + auto allReviewHistoryListNode = dataNode["ReviewHistoryList"]["ReviewHistory"]; + for (auto dataNodeReviewHistoryListReviewHistory : allReviewHistoryListNode) + { + Data::ReviewHistory reviewHistoryObject; + if(!dataNodeReviewHistoryListReviewHistory["TimeStr"].isNull()) + reviewHistoryObject.timeStr = dataNodeReviewHistoryListReviewHistory["TimeStr"].asString(); + if(!dataNodeReviewHistoryListReviewHistory["OperatorName"].isNull()) + reviewHistoryObject.operatorName = dataNodeReviewHistoryListReviewHistory["OperatorName"].asString(); + if(!dataNodeReviewHistoryListReviewHistory["Type"].isNull()) + reviewHistoryObject.type = std::stoi(dataNodeReviewHistoryListReviewHistory["Type"].asString()); + if(!dataNodeReviewHistoryListReviewHistory["ReviewResult"].isNull()) + reviewHistoryObject.reviewResult = std::stoi(dataNodeReviewHistoryListReviewHistory["ReviewResult"].asString()); + if(!dataNodeReviewHistoryListReviewHistory["ComplainResult"].isNull()) + reviewHistoryObject.complainResult = std::stoi(dataNodeReviewHistoryListReviewHistory["ComplainResult"].asString()); + if(!dataNodeReviewHistoryListReviewHistory["OldScore"].isNull()) + reviewHistoryObject.oldScore = std::stoi(dataNodeReviewHistoryListReviewHistory["OldScore"].asString()); + if(!dataNodeReviewHistoryListReviewHistory["Score"].isNull()) + reviewHistoryObject.score = std::stoi(dataNodeReviewHistoryListReviewHistory["Score"].asString()); + data_.reviewHistoryList.push_back(reviewHistoryObject); + } + 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 GetResultToReviewResult::getMessage()const +{ + return message_; +} + +GetResultToReviewResult::Data GetResultToReviewResult::getData()const +{ + return data_; +} + +std::string GetResultToReviewResult::getCode()const +{ + return code_; +} + +bool GetResultToReviewResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetRuleCategoryRequest.cc b/qualitycheck/src/model/GetRuleCategoryRequest.cc new file mode 100644 index 000000000..cb1d18130 --- /dev/null +++ b/qualitycheck/src/model/GetRuleCategoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetRuleCategoryRequest; + +GetRuleCategoryRequest::GetRuleCategoryRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetRuleCategory") +{ + setMethod(HttpRequest::Method::Post); +} + +GetRuleCategoryRequest::~GetRuleCategoryRequest() +{} + +long GetRuleCategoryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetRuleCategoryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetRuleCategoryRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetRuleCategoryRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetRuleCategoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetRuleCategoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetRuleCategoryResult.cc b/qualitycheck/src/model/GetRuleCategoryResult.cc new file mode 100644 index 000000000..4b5c8ffc2 --- /dev/null +++ b/qualitycheck/src/model/GetRuleCategoryResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetRuleCategoryResult::GetRuleCategoryResult() : + ServiceResult() +{} + +GetRuleCategoryResult::GetRuleCategoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetRuleCategoryResult::~GetRuleCategoryResult() +{} + +void GetRuleCategoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["RuleCountInfo"]; + for (auto valueDataRuleCountInfo : allDataNode) + { + RuleCountInfo dataObject; + if(!valueDataRuleCountInfo["Type"].isNull()) + dataObject.type = std::stoi(valueDataRuleCountInfo["Type"].asString()); + if(!valueDataRuleCountInfo["TypeName"].isNull()) + dataObject.typeName = valueDataRuleCountInfo["TypeName"].asString(); + if(!valueDataRuleCountInfo["Select"].isNull()) + dataObject.select = valueDataRuleCountInfo["Select"].asString() == "true"; + 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 GetRuleCategoryResult::getMessage()const +{ + return message_; +} + +std::vector GetRuleCategoryResult::getData()const +{ + return data_; +} + +std::string GetRuleCategoryResult::getCode()const +{ + return code_; +} + +bool GetRuleCategoryResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetRuleDetailRequest.cc b/qualitycheck/src/model/GetRuleDetailRequest.cc new file mode 100644 index 000000000..606d18299 --- /dev/null +++ b/qualitycheck/src/model/GetRuleDetailRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetRuleDetailRequest; + +GetRuleDetailRequest::GetRuleDetailRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetRuleDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +GetRuleDetailRequest::~GetRuleDetailRequest() +{} + +long GetRuleDetailRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetRuleDetailRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetRuleDetailRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetRuleDetailRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetRuleDetailRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetRuleDetailRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetRuleDetailResult.cc b/qualitycheck/src/model/GetRuleDetailResult.cc new file mode 100644 index 000000000..27cba6dfe --- /dev/null +++ b/qualitycheck/src/model/GetRuleDetailResult.cc @@ -0,0 +1,196 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetRuleDetailResult::GetRuleDetailResult() : + ServiceResult() +{} + +GetRuleDetailResult::GetRuleDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetRuleDetailResult::~GetRuleDetailResult() +{} + +void GetRuleDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allConditionsNode = dataNode["Conditions"]["ConditionBasicInfo"]; + for (auto dataNodeConditionsConditionBasicInfo : allConditionsNode) + { + Data::ConditionBasicInfo conditionBasicInfoObject; + if(!dataNodeConditionsConditionBasicInfo["ConditionInfoCid"].isNull()) + conditionBasicInfoObject.conditionInfoCid = dataNodeConditionsConditionBasicInfo["ConditionInfoCid"].asString(); + if(!dataNodeConditionsConditionBasicInfo["OperLambda"].isNull()) + conditionBasicInfoObject.operLambda = dataNodeConditionsConditionBasicInfo["OperLambda"].asString(); + auto allOperatorsNode = dataNodeConditionsConditionBasicInfo["Operators"]["OperatorBasicInfo"]; + for (auto dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo : allOperatorsNode) + { + Data::ConditionBasicInfo::OperatorBasicInfo operatorsObject; + if(!dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo["Oid"].isNull()) + operatorsObject.oid = dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo["Oid"].asString(); + if(!dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo["Type"].isNull()) + operatorsObject.type = dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo["Type"].asString(); + if(!dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo["OperName"].isNull()) + operatorsObject.operName = dataNodeConditionsConditionBasicInfoOperatorsOperatorBasicInfo["OperName"].asString(); + auto paramNode = value["Param"]; + if(!paramNode["Regex"].isNull()) + operatorsObject.param.regex = paramNode["Regex"].asString(); + if(!paramNode["Phrase"].isNull()) + operatorsObject.param.phrase = paramNode["Phrase"].asString(); + if(!paramNode["Interval"].isNull()) + operatorsObject.param.interval = std::stoi(paramNode["Interval"].asString()); + if(!paramNode["Threshold"].isNull()) + operatorsObject.param.threshold = std::stof(paramNode["Threshold"].asString()); + if(!paramNode["InSentence"].isNull()) + operatorsObject.param.inSentence = paramNode["InSentence"].asString() == "true"; + if(!paramNode["Target"].isNull()) + operatorsObject.param.target = std::stoi(paramNode["Target"].asString()); + if(!paramNode["FromEnd"].isNull()) + operatorsObject.param.fromEnd = paramNode["FromEnd"].asString() == "true"; + if(!paramNode["DifferentRole"].isNull()) + operatorsObject.param.differentRole = paramNode["DifferentRole"].asString() == "true"; + if(!paramNode["TargetRole"].isNull()) + operatorsObject.param.targetRole = paramNode["TargetRole"].asString(); + if(!paramNode["Score"].isNull()) + operatorsObject.param.score = std::stoi(paramNode["Score"].asString()); + if(!paramNode["ContextChatMatch"].isNull()) + operatorsObject.param.contextChatMatch = paramNode["ContextChatMatch"].asString() == "true"; + if(!paramNode["KeywordMatchSize"].isNull()) + operatorsObject.param.keywordMatchSize = std::stoi(paramNode["KeywordMatchSize"].asString()); + if(!paramNode["Average"].isNull()) + operatorsObject.param.average = paramNode["Average"].asString() == "true"; + if(!paramNode["VelocityInMint"].isNull()) + operatorsObject.param.velocityInMint = std::stoi(paramNode["VelocityInMint"].asString()); + if(!paramNode["MinWordSize"].isNull()) + operatorsObject.param.minWordSize = std::stoi(paramNode["MinWordSize"].asString()); + if(!paramNode["KeywordExtension"].isNull()) + operatorsObject.param.keywordExtension = paramNode["KeywordExtension"].asString() == "true"; + if(!paramNode["HitTime"].isNull()) + operatorsObject.param.hitTime = std::stoi(paramNode["HitTime"].asString()); + if(!paramNode["From"].isNull()) + operatorsObject.param.from = std::stoi(paramNode["From"].asString()); + if(!paramNode["BeginType"].isNull()) + operatorsObject.param.beginType = paramNode["BeginType"].asString(); + if(!paramNode["CompareOperator"].isNull()) + operatorsObject.param.compareOperator = paramNode["CompareOperator"].asString(); + if(!paramNode["CheckType"].isNull()) + operatorsObject.param.checkType = std::stoi(paramNode["CheckType"].asString()); + if(!paramNode["MaxEmotionChangeValue"].isNull()) + operatorsObject.param.maxEmotionChangeValue = std::stoi(paramNode["MaxEmotionChangeValue"].asString()); + if(!paramNode["CheckType"].isNull()) + operatorsObject.param.checkType1 = std::stoi(paramNode["CheckType"].asString()); + if(!paramNode["MaxEmotionChangeValue"].isNull()) + operatorsObject.param.maxEmotionChangeValue2 = std::stoi(paramNode["MaxEmotionChangeValue"].asString()); + auto allOperKeyWords = paramNode["OperKeyWords"]["OperKeyWord"]; + for (auto value : allOperKeyWords) + operatorsObject.param.operKeyWords.push_back(value.asString()); + auto allReferences = paramNode["References"]["Reference"]; + for (auto value : allReferences) + operatorsObject.param.references.push_back(value.asString()); + auto allSimilarlySentences = paramNode["SimilarlySentences"]["SimilarlySentence"]; + for (auto value : allSimilarlySentences) + operatorsObject.param.similarlySentences.push_back(value.asString()); + auto allExcludes = paramNode["Excludes"]["Excludes"]; + for (auto value : allExcludes) + operatorsObject.param.excludes.push_back(value.asString()); + conditionBasicInfoObject.operators.push_back(operatorsObject); + } + auto checkRangeNode = value["CheckRange"]; + if(!checkRangeNode["Role"].isNull()) + conditionBasicInfoObject.checkRange.role = checkRangeNode["Role"].asString(); + if(!checkRangeNode["Absolute"].isNull()) + conditionBasicInfoObject.checkRange.absolute = checkRangeNode["Absolute"].asString() == "true"; + auto anchorNode = checkRangeNode["Anchor"]; + if(!anchorNode["AnchorCid"].isNull()) + conditionBasicInfoObject.checkRange.anchor.anchorCid = anchorNode["AnchorCid"].asString(); + if(!anchorNode["Location"].isNull()) + conditionBasicInfoObject.checkRange.anchor.location = anchorNode["Location"].asString(); + if(!anchorNode["HitTime"].isNull()) + conditionBasicInfoObject.checkRange.anchor.hitTime = std::stoi(anchorNode["HitTime"].asString()); + auto rangeNode = checkRangeNode["Range"]; + if(!rangeNode["From"].isNull()) + conditionBasicInfoObject.checkRange.range.from = std::stoi(rangeNode["From"].asString()); + if(!rangeNode["To"].isNull()) + conditionBasicInfoObject.checkRange.range.to = std::stoi(rangeNode["To"].asString()); + data_.conditions.push_back(conditionBasicInfoObject); + } + auto allRulesNode = dataNode["Rules"]["RuleBasicInfo"]; + for (auto dataNodeRulesRuleBasicInfo : allRulesNode) + { + Data::RuleBasicInfo ruleBasicInfoObject; + if(!dataNodeRulesRuleBasicInfo["Rid"].isNull()) + ruleBasicInfoObject.rid = dataNodeRulesRuleBasicInfo["Rid"].asString(); + if(!dataNodeRulesRuleBasicInfo["RuleLambda"].isNull()) + ruleBasicInfoObject.ruleLambda = dataNodeRulesRuleBasicInfo["RuleLambda"].asString(); + auto allBusinessCategoriesNode = dataNodeRulesRuleBasicInfo["BusinessCategories"]["BusinessCategoryBasicInfo"]; + for (auto dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo : allBusinessCategoriesNode) + { + Data::RuleBasicInfo::BusinessCategoryBasicInfo businessCategoriesObject; + if(!dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo["Bid"].isNull()) + businessCategoriesObject.bid = std::stoi(dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo["Bid"].asString()); + if(!dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo["ServiceType"].isNull()) + businessCategoriesObject.serviceType = std::stoi(dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo["ServiceType"].asString()); + if(!dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo["BusinessName"].isNull()) + businessCategoriesObject.businessName = dataNodeRulesRuleBasicInfoBusinessCategoriesBusinessCategoryBasicInfo["BusinessName"].asString(); + ruleBasicInfoObject.businessCategories.push_back(businessCategoriesObject); + } + auto allTriggers = value["Triggers"]["Trigger"]; + for (auto value : allTriggers) + ruleBasicInfoObject.triggers.push_back(value.asString()); + data_.rules.push_back(ruleBasicInfoObject); + } + 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 GetRuleDetailResult::getMessage()const +{ + return message_; +} + +GetRuleDetailResult::Data GetRuleDetailResult::getData()const +{ + return data_; +} + +std::string GetRuleDetailResult::getCode()const +{ + return code_; +} + +bool GetRuleDetailResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetRuleRequest.cc b/qualitycheck/src/model/GetRuleRequest.cc new file mode 100644 index 000000000..d09e73953 --- /dev/null +++ b/qualitycheck/src/model/GetRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetRuleRequest; + +GetRuleRequest::GetRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetRule") +{ + setMethod(HttpRequest::Method::Post); +} + +GetRuleRequest::~GetRuleRequest() +{} + +long GetRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetRuleResult.cc b/qualitycheck/src/model/GetRuleResult.cc new file mode 100644 index 000000000..bf48880a8 --- /dev/null +++ b/qualitycheck/src/model/GetRuleResult.cc @@ -0,0 +1,122 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetRuleResult::GetRuleResult() : + ServiceResult() +{} + +GetRuleResult::GetRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetRuleResult::~GetRuleResult() +{} + +void GetRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allRulesNode = dataNode["Rules"]["RuleInfo"]; + for (auto dataNodeRulesRuleInfo : allRulesNode) + { + Data::RuleInfo ruleInfoObject; + if(!dataNodeRulesRuleInfo["Rid"].isNull()) + ruleInfoObject.rid = dataNodeRulesRuleInfo["Rid"].asString(); + if(!dataNodeRulesRuleInfo["RuleLambda"].isNull()) + ruleInfoObject.ruleLambda = dataNodeRulesRuleInfo["RuleLambda"].asString(); + if(!dataNodeRulesRuleInfo["Name"].isNull()) + ruleInfoObject.name = dataNodeRulesRuleInfo["Name"].asString(); + if(!dataNodeRulesRuleInfo["Type"].isNull()) + ruleInfoObject.type = std::stoi(dataNodeRulesRuleInfo["Type"].asString()); + if(!dataNodeRulesRuleInfo["Status"].isNull()) + ruleInfoObject.status = std::stoi(dataNodeRulesRuleInfo["Status"].asString()); + if(!dataNodeRulesRuleInfo["IsDelete"].isNull()) + ruleInfoObject.isDelete = std::stoi(dataNodeRulesRuleInfo["IsDelete"].asString()); + if(!dataNodeRulesRuleInfo["StartTime"].isNull()) + ruleInfoObject.startTime = dataNodeRulesRuleInfo["StartTime"].asString(); + if(!dataNodeRulesRuleInfo["EndTime"].isNull()) + ruleInfoObject.endTime = dataNodeRulesRuleInfo["EndTime"].asString(); + if(!dataNodeRulesRuleInfo["Weight"].isNull()) + ruleInfoObject.weight = dataNodeRulesRuleInfo["Weight"].asString(); + if(!dataNodeRulesRuleInfo["IsOnline"].isNull()) + ruleInfoObject.isOnline = std::stoi(dataNodeRulesRuleInfo["IsOnline"].asString()); + if(!dataNodeRulesRuleInfo["CreateEmpid"].isNull()) + ruleInfoObject.createEmpid = dataNodeRulesRuleInfo["CreateEmpid"].asString(); + if(!dataNodeRulesRuleInfo["CreateTime"].isNull()) + ruleInfoObject.createTime = dataNodeRulesRuleInfo["CreateTime"].asString(); + if(!dataNodeRulesRuleInfo["LastUpdateTime"].isNull()) + ruleInfoObject.lastUpdateTime = dataNodeRulesRuleInfo["LastUpdateTime"].asString(); + if(!dataNodeRulesRuleInfo["LastUpdateEmpid"].isNull()) + ruleInfoObject.lastUpdateEmpid = dataNodeRulesRuleInfo["LastUpdateEmpid"].asString(); + if(!dataNodeRulesRuleInfo["Comments"].isNull()) + ruleInfoObject.comments = dataNodeRulesRuleInfo["Comments"].asString(); + if(!dataNodeRulesRuleInfo["AutoReview"].isNull()) + ruleInfoObject.autoReview = std::stoi(dataNodeRulesRuleInfo["AutoReview"].asString()); + if(!dataNodeRulesRuleInfo["RuleScoreType"].isNull()) + ruleInfoObject.ruleScoreType = std::stoi(dataNodeRulesRuleInfo["RuleScoreType"].asString()); + if(!dataNodeRulesRuleInfo["ScoreName"].isNull()) + ruleInfoObject.scoreName = dataNodeRulesRuleInfo["ScoreName"].asString(); + if(!dataNodeRulesRuleInfo["ScoreSubName"].isNull()) + ruleInfoObject.scoreSubName = dataNodeRulesRuleInfo["ScoreSubName"].asString(); + if(!dataNodeRulesRuleInfo["ScoreId"].isNull()) + ruleInfoObject.scoreId = std::stoi(dataNodeRulesRuleInfo["ScoreId"].asString()); + if(!dataNodeRulesRuleInfo["ScoreSubId"].isNull()) + ruleInfoObject.scoreSubId = std::stoi(dataNodeRulesRuleInfo["ScoreSubId"].asString()); + auto allBusinessCategoryNameList = value["BusinessCategoryNameList"]["BusinessCategoryNameList"]; + for (auto value : allBusinessCategoryNameList) + ruleInfoObject.businessCategoryNameList.push_back(value.asString()); + data_.rules.push_back(ruleInfoObject); + } + 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 GetRuleResult::getMessage()const +{ + return message_; +} + +GetRuleResult::Data GetRuleResult::getData()const +{ + return data_; +} + +std::string GetRuleResult::getCode()const +{ + return code_; +} + +bool GetRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetScoreInfoRequest.cc b/qualitycheck/src/model/GetScoreInfoRequest.cc new file mode 100644 index 000000000..4dc3d1a41 --- /dev/null +++ b/qualitycheck/src/model/GetScoreInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetScoreInfoRequest; + +GetScoreInfoRequest::GetScoreInfoRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetScoreInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +GetScoreInfoRequest::~GetScoreInfoRequest() +{} + +long GetScoreInfoRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetScoreInfoRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetScoreInfoRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetScoreInfoRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetScoreInfoRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetScoreInfoRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetScoreInfoResult.cc b/qualitycheck/src/model/GetScoreInfoResult.cc new file mode 100644 index 000000000..0690f5072 --- /dev/null +++ b/qualitycheck/src/model/GetScoreInfoResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetScoreInfoResult::GetScoreInfoResult() : + ServiceResult() +{} + +GetScoreInfoResult::GetScoreInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetScoreInfoResult::~GetScoreInfoResult() +{} + +void GetScoreInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ScorePo"]; + for (auto valueDataScorePo : allDataNode) + { + ScorePo dataObject; + if(!valueDataScorePo["ScoreId"].isNull()) + dataObject.scoreId = std::stoi(valueDataScorePo["ScoreId"].asString()); + if(!valueDataScorePo["ScoreName"].isNull()) + dataObject.scoreName = valueDataScorePo["ScoreName"].asString(); + auto allScoreInfosNode = valueDataScorePo["ScoreInfos"]["ScoreParam"]; + for (auto valueDataScorePoScoreInfosScoreParam : allScoreInfosNode) + { + ScorePo::ScoreParam scoreInfosObject; + if(!valueDataScorePoScoreInfosScoreParam["ScoreNum"].isNull()) + scoreInfosObject.scoreNum = std::stoi(valueDataScorePoScoreInfosScoreParam["ScoreNum"].asString()); + if(!valueDataScorePoScoreInfosScoreParam["ScoreSubId"].isNull()) + scoreInfosObject.scoreSubId = std::stoi(valueDataScorePoScoreInfosScoreParam["ScoreSubId"].asString()); + if(!valueDataScorePoScoreInfosScoreParam["ScoreSubName"].isNull()) + scoreInfosObject.scoreSubName = valueDataScorePoScoreInfosScoreParam["ScoreSubName"].asString(); + if(!valueDataScorePoScoreInfosScoreParam["ScoreType"].isNull()) + scoreInfosObject.scoreType = std::stoi(valueDataScorePoScoreInfosScoreParam["ScoreType"].asString()); + dataObject.scoreInfos.push_back(scoreInfosObject); + } + 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 GetScoreInfoResult::getMessage()const +{ + return message_; +} + +std::vector GetScoreInfoResult::getData()const +{ + return data_; +} + +std::string GetScoreInfoResult::getCode()const +{ + return code_; +} + +bool GetScoreInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetSkillGroupConfigRequest.cc b/qualitycheck/src/model/GetSkillGroupConfigRequest.cc new file mode 100644 index 000000000..5c74fe533 --- /dev/null +++ b/qualitycheck/src/model/GetSkillGroupConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetSkillGroupConfigRequest; + +GetSkillGroupConfigRequest::GetSkillGroupConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetSkillGroupConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +GetSkillGroupConfigRequest::~GetSkillGroupConfigRequest() +{} + +long GetSkillGroupConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetSkillGroupConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetSkillGroupConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetSkillGroupConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetSkillGroupConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetSkillGroupConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetSkillGroupConfigResult.cc b/qualitycheck/src/model/GetSkillGroupConfigResult.cc new file mode 100644 index 000000000..adc7d0a04 --- /dev/null +++ b/qualitycheck/src/model/GetSkillGroupConfigResult.cc @@ -0,0 +1,127 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetSkillGroupConfigResult::GetSkillGroupConfigResult() : + ServiceResult() +{} + +GetSkillGroupConfigResult::GetSkillGroupConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSkillGroupConfigResult::~GetSkillGroupConfigResult() +{} + +void GetSkillGroupConfigResult::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["Id"].isNull()) + data_.id = std::stol(dataNode["Id"].asString()); + if(!dataNode["InstanceId"].isNull()) + data_.instanceId = dataNode["InstanceId"].asString(); + if(!dataNode["ModelId"].isNull()) + data_.modelId = std::stol(dataNode["ModelId"].asString()); + if(!dataNode["ModelName"].isNull()) + data_.modelName = dataNode["ModelName"].asString(); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["Rid"].isNull()) + data_.rid = dataNode["Rid"].asString(); + if(!dataNode["SkillGroupId"].isNull()) + data_.skillGroupId = dataNode["SkillGroupId"].asString(); + if(!dataNode["SkillGroupName"].isNull()) + data_.skillGroupName = dataNode["SkillGroupName"].asString(); + if(!dataNode["Status"].isNull()) + data_.status = std::stoi(dataNode["Status"].asString()); + if(!dataNode["Type"].isNull()) + data_.type = std::stoi(dataNode["Type"].asString()); + if(!dataNode["VocabId"].isNull()) + data_.vocabId = std::stol(dataNode["VocabId"].asString()); + if(!dataNode["VocabName"].isNull()) + data_.vocabName = dataNode["VocabName"].asString(); + if(!dataNode["CreateTime"].isNull()) + data_.createTime = dataNode["CreateTime"].asString(); + if(!dataNode["UpdateTime"].isNull()) + data_.updateTime = dataNode["UpdateTime"].asString(); + if(!dataNode["QualityCheckType"].isNull()) + data_.qualityCheckType = std::stoi(dataNode["QualityCheckType"].asString()); + if(!dataNode["AllContentQualityCheck"].isNull()) + data_.allContentQualityCheck = std::stoi(dataNode["AllContentQualityCheck"].asString()); + if(!dataNode["AllRids"].isNull()) + data_.allRids = dataNode["AllRids"].asString(); + if(!dataNode["SkillGroupFrom"].isNull()) + data_.skillGroupFrom = std::stoi(dataNode["SkillGroupFrom"].asString()); + auto allRuleListNode = dataNode["RuleList"]["RuleNameInfo"]; + for (auto dataNodeRuleListRuleNameInfo : allRuleListNode) + { + Data::RuleNameInfo ruleNameInfoObject; + if(!dataNodeRuleListRuleNameInfo["Rid"].isNull()) + ruleNameInfoObject.rid = std::stol(dataNodeRuleListRuleNameInfo["Rid"].asString()); + if(!dataNodeRuleListRuleNameInfo["RuleName"].isNull()) + ruleNameInfoObject.ruleName = dataNodeRuleListRuleNameInfo["RuleName"].asString(); + data_.ruleList.push_back(ruleNameInfoObject); + } + auto allAllRuleListNode = dataNode["AllRuleList"]["RuleNameInfo"]; + for (auto dataNodeAllRuleListRuleNameInfo : allAllRuleListNode) + { + Data::RuleNameInfo ruleNameInfoObject; + if(!dataNodeAllRuleListRuleNameInfo["Rid"].isNull()) + ruleNameInfoObject.rid = std::stol(dataNodeAllRuleListRuleNameInfo["Rid"].asString()); + if(!dataNodeAllRuleListRuleNameInfo["RuleName"].isNull()) + ruleNameInfoObject.ruleName = dataNodeAllRuleListRuleNameInfo["RuleName"].asString(); + data_.allRuleList.push_back(ruleNameInfoObject); + } + 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 GetSkillGroupConfigResult::getMessage()const +{ + return message_; +} + +GetSkillGroupConfigResult::Data GetSkillGroupConfigResult::getData()const +{ + return data_; +} + +std::string GetSkillGroupConfigResult::getCode()const +{ + return code_; +} + +bool GetSkillGroupConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/GetSyncResultRequest.cc b/qualitycheck/src/model/GetSyncResultRequest.cc new file mode 100644 index 000000000..7624cce74 --- /dev/null +++ b/qualitycheck/src/model/GetSyncResultRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetSyncResultRequest; + +GetSyncResultRequest::GetSyncResultRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetSyncResult") +{ + setMethod(HttpRequest::Method::Post); +} + +GetSyncResultRequest::~GetSyncResultRequest() +{} + +std::string GetSyncResultRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetSyncResultRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + diff --git a/qualitycheck/src/model/GetSyncResultResult.cc b/qualitycheck/src/model/GetSyncResultResult.cc new file mode 100644 index 000000000..8aa27cdd3 --- /dev/null +++ b/qualitycheck/src/model/GetSyncResultResult.cc @@ -0,0 +1,236 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetSyncResultResult::GetSyncResultResult() : + ServiceResult() +{} + +GetSyncResultResult::GetSyncResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSyncResultResult::~GetSyncResultResult() +{} + +void GetSyncResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ResultInfo"]; + for (auto valueDataResultInfo : allDataNode) + { + ResultInfo dataObject; + if(!valueDataResultInfo["Score"].isNull()) + dataObject.score = std::stoi(valueDataResultInfo["Score"].asString()); + if(!valueDataResultInfo["Comments"].isNull()) + dataObject.comments = valueDataResultInfo["Comments"].asString(); + if(!valueDataResultInfo["ErrorMessage"].isNull()) + dataObject.errorMessage = valueDataResultInfo["ErrorMessage"].asString(); + if(!valueDataResultInfo["Status"].isNull()) + dataObject.status = std::stoi(valueDataResultInfo["Status"].asString()); + if(!valueDataResultInfo["ReviewStatus"].isNull()) + dataObject.reviewStatus = std::stoi(valueDataResultInfo["ReviewStatus"].asString()); + if(!valueDataResultInfo["ReviewResult"].isNull()) + dataObject.reviewResult = std::stoi(valueDataResultInfo["ReviewResult"].asString()); + if(!valueDataResultInfo["TaskId"].isNull()) + dataObject.taskId = valueDataResultInfo["TaskId"].asString(); + if(!valueDataResultInfo["TaskName"].isNull()) + dataObject.taskName = valueDataResultInfo["TaskName"].asString(); + if(!valueDataResultInfo["CreateTime"].isNull()) + dataObject.createTime = valueDataResultInfo["CreateTime"].asString(); + if(!valueDataResultInfo["Reviewer"].isNull()) + dataObject.reviewer = valueDataResultInfo["Reviewer"].asString(); + if(!valueDataResultInfo["Resolver"].isNull()) + dataObject.resolver = valueDataResultInfo["Resolver"].asString(); + auto allAsrResultNode = valueDataResultInfo["AsrResult"]["AsrResultItem"]; + for (auto valueDataResultInfoAsrResultAsrResultItem : allAsrResultNode) + { + ResultInfo::AsrResultItem asrResultObject; + if(!valueDataResultInfoAsrResultAsrResultItem["Role"].isNull()) + asrResultObject.role = valueDataResultInfoAsrResultAsrResultItem["Role"].asString(); + if(!valueDataResultInfoAsrResultAsrResultItem["Words"].isNull()) + asrResultObject.words = valueDataResultInfoAsrResultAsrResultItem["Words"].asString(); + if(!valueDataResultInfoAsrResultAsrResultItem["Begin"].isNull()) + asrResultObject.begin = std::stol(valueDataResultInfoAsrResultAsrResultItem["Begin"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["End"].isNull()) + asrResultObject.end = std::stol(valueDataResultInfoAsrResultAsrResultItem["End"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["EmotionValue"].isNull()) + asrResultObject.emotionValue = std::stoi(valueDataResultInfoAsrResultAsrResultItem["EmotionValue"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["SilenceDuration"].isNull()) + asrResultObject.silenceDuration = std::stoi(valueDataResultInfoAsrResultAsrResultItem["SilenceDuration"].asString()); + if(!valueDataResultInfoAsrResultAsrResultItem["SpeechRate"].isNull()) + asrResultObject.speechRate = std::stoi(valueDataResultInfoAsrResultAsrResultItem["SpeechRate"].asString()); + dataObject.asrResult.push_back(asrResultObject); + } + auto allHitResultNode = valueDataResultInfo["HitResult"]["HitResultItem"]; + for (auto valueDataResultInfoHitResultHitResultItem : allHitResultNode) + { + ResultInfo::HitResultItem hitResultObject; + if(!valueDataResultInfoHitResultHitResultItem["Rid"].isNull()) + hitResultObject.rid = valueDataResultInfoHitResultHitResultItem["Rid"].asString(); + if(!valueDataResultInfoHitResultHitResultItem["Name"].isNull()) + hitResultObject.name = valueDataResultInfoHitResultHitResultItem["Name"].asString(); + if(!valueDataResultInfoHitResultHitResultItem["Type"].isNull()) + hitResultObject.type = valueDataResultInfoHitResultHitResultItem["Type"].asString(); + if(!valueDataResultInfoHitResultHitResultItem["ReviewResult"].isNull()) + hitResultObject.reviewResult = std::stoi(valueDataResultInfoHitResultHitResultItem["ReviewResult"].asString()); + auto allHitsNode = valueDataResultInfoHitResultHitResultItem["Hits"]["Hit"]; + for (auto valueDataResultInfoHitResultHitResultItemHitsHit : allHitsNode) + { + ResultInfo::HitResultItem::Hit hitsObject; + auto allKeyWordsNode = valueDataResultInfoHitResultHitResultItemHitsHit["KeyWords"]["KeyWord"]; + for (auto valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord : allKeyWordsNode) + { + ResultInfo::HitResultItem::Hit::KeyWord keyWordsObject; + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Cid"].isNull()) + keyWordsObject.cid = valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Cid"].asString(); + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["From"].isNull()) + keyWordsObject.from = std::stoi(valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["From"].asString()); + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["To"].isNull()) + keyWordsObject.to = std::stoi(valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["To"].asString()); + if(!valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Val"].isNull()) + keyWordsObject.val = valueDataResultInfoHitResultHitResultItemHitsHitKeyWordsKeyWord["Val"].asString(); + hitsObject.keyWords.push_back(keyWordsObject); + } + auto phraseNode = value["Phrase"]; + if(!phraseNode["Role"].isNull()) + hitsObject.phrase.role = phraseNode["Role"].asString(); + if(!phraseNode["Words"].isNull()) + hitsObject.phrase.words = phraseNode["Words"].asString(); + if(!phraseNode["Begin"].isNull()) + hitsObject.phrase.begin = std::stol(phraseNode["Begin"].asString()); + if(!phraseNode["End"].isNull()) + hitsObject.phrase.end = std::stoi(phraseNode["End"].asString()); + if(!phraseNode["EmotionValue"].isNull()) + hitsObject.phrase.emotionValue = std::stoi(phraseNode["EmotionValue"].asString()); + if(!phraseNode["SilenceDuration"].isNull()) + hitsObject.phrase.silenceDuration = std::stoi(phraseNode["SilenceDuration"].asString()); + if(!phraseNode["SpeechRate"].isNull()) + hitsObject.phrase.speechRate = std::stoi(phraseNode["SpeechRate"].asString()); + auto allCid = value["Cid"]["Cid"]; + for (auto value : allCid) + hitsObject.cid.push_back(value.asString()); + hitResultObject.hits.push_back(hitsObject); + } + dataObject.hitResult.push_back(hitResultObject); + } + auto recordingNode = value["Recording"]; + if(!recordingNode["Id"].isNull()) + dataObject.recording.id = recordingNode["Id"].asString(); + if(!recordingNode["PrimaryId"].isNull()) + dataObject.recording.primaryId = recordingNode["PrimaryId"].asString(); + if(!recordingNode["CallId"].isNull()) + dataObject.recording.callId = recordingNode["CallId"].asString(); + if(!recordingNode["Name"].isNull()) + dataObject.recording.name = recordingNode["Name"].asString(); + if(!recordingNode["Url"].isNull()) + dataObject.recording.url = recordingNode["Url"].asString(); + if(!recordingNode["DataSetName"].isNull()) + dataObject.recording.dataSetName = recordingNode["DataSetName"].asString(); + if(!recordingNode["Duration"].isNull()) + dataObject.recording.duration = std::stol(recordingNode["Duration"].asString()); + if(!recordingNode["Caller"].isNull()) + dataObject.recording.caller = recordingNode["Caller"].asString(); + if(!recordingNode["Callee"].isNull()) + dataObject.recording.callee = recordingNode["Callee"].asString(); + if(!recordingNode["CallTime"].isNull()) + dataObject.recording.callTime = recordingNode["CallTime"].asString(); + if(!recordingNode["CallType"].isNull()) + dataObject.recording.callType = std::stoi(recordingNode["CallType"].asString()); + if(!recordingNode["Business"].isNull()) + dataObject.recording.business = recordingNode["Business"].asString(); + if(!recordingNode["Remark1"].isNull()) + dataObject.recording.remark1 = recordingNode["Remark1"].asString(); + if(!recordingNode["Remark2"].isNull()) + dataObject.recording.remark2 = recordingNode["Remark2"].asString(); + if(!recordingNode["Remark3"].isNull()) + dataObject.recording.remark3 = recordingNode["Remark3"].asString(); + auto agentNode = value["Agent"]; + if(!agentNode["Id"].isNull()) + dataObject.agent.id = agentNode["Id"].asString(); + if(!agentNode["Name"].isNull()) + dataObject.agent.name = agentNode["Name"].asString(); + if(!agentNode["SkillGroup"].isNull()) + dataObject.agent.skillGroup = agentNode["SkillGroup"].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()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["ResultCountId"].isNull()) + resultCountId_ = value["ResultCountId"].asString(); + +} + +std::string GetSyncResultResult::getMessage()const +{ + return message_; +} + +int GetSyncResultResult::getPageSize()const +{ + return pageSize_; +} + +int GetSyncResultResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector GetSyncResultResult::getData()const +{ + return data_; +} + +int GetSyncResultResult::getCount()const +{ + return count_; +} + +std::string GetSyncResultResult::getCode()const +{ + return code_; +} + +bool GetSyncResultResult::getSuccess()const +{ + return success_; +} + +std::string GetSyncResultResult::getResultCountId()const +{ + return resultCountId_; +} + diff --git a/qualitycheck/src/model/GetThesaurusBySynonymForApiRequest.cc b/qualitycheck/src/model/GetThesaurusBySynonymForApiRequest.cc new file mode 100644 index 000000000..38152d2c8 --- /dev/null +++ b/qualitycheck/src/model/GetThesaurusBySynonymForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::GetThesaurusBySynonymForApiRequest; + +GetThesaurusBySynonymForApiRequest::GetThesaurusBySynonymForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "GetThesaurusBySynonymForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +GetThesaurusBySynonymForApiRequest::~GetThesaurusBySynonymForApiRequest() +{} + +long GetThesaurusBySynonymForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetThesaurusBySynonymForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetThesaurusBySynonymForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void GetThesaurusBySynonymForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string GetThesaurusBySynonymForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetThesaurusBySynonymForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/GetThesaurusBySynonymForApiResult.cc b/qualitycheck/src/model/GetThesaurusBySynonymForApiResult.cc new file mode 100644 index 000000000..0989fde62 --- /dev/null +++ b/qualitycheck/src/model/GetThesaurusBySynonymForApiResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +GetThesaurusBySynonymForApiResult::GetThesaurusBySynonymForApiResult() : + ServiceResult() +{} + +GetThesaurusBySynonymForApiResult::GetThesaurusBySynonymForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetThesaurusBySynonymForApiResult::~GetThesaurusBySynonymForApiResult() +{} + +void GetThesaurusBySynonymForApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ThesaurusPo"]; + for (auto valueDataThesaurusPo : allDataNode) + { + ThesaurusPo dataObject; + if(!valueDataThesaurusPo["Id"].isNull()) + dataObject.id = std::stol(valueDataThesaurusPo["Id"].asString()); + if(!valueDataThesaurusPo["Business"].isNull()) + dataObject.business = valueDataThesaurusPo["Business"].asString(); + auto allSynonymList = value["SynonymList"]["SynonymList"]; + for (auto value : allSynonymList) + dataObject.synonymList.push_back(value.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 GetThesaurusBySynonymForApiResult::getMessage()const +{ + return message_; +} + +std::vector GetThesaurusBySynonymForApiResult::getData()const +{ + return data_; +} + +std::string GetThesaurusBySynonymForApiResult::getCode()const +{ + return code_; +} + +bool GetThesaurusBySynonymForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/HandleComplaintRequest.cc b/qualitycheck/src/model/HandleComplaintRequest.cc new file mode 100644 index 000000000..e70ad778d --- /dev/null +++ b/qualitycheck/src/model/HandleComplaintRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::HandleComplaintRequest; + +HandleComplaintRequest::HandleComplaintRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "HandleComplaint") +{ + setMethod(HttpRequest::Method::Post); +} + +HandleComplaintRequest::~HandleComplaintRequest() +{} + +long HandleComplaintRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void HandleComplaintRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string HandleComplaintRequest::getJsonStr()const +{ + return jsonStr_; +} + +void HandleComplaintRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string HandleComplaintRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void HandleComplaintRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/HandleComplaintResult.cc b/qualitycheck/src/model/HandleComplaintResult.cc new file mode 100644 index 000000000..099760b28 --- /dev/null +++ b/qualitycheck/src/model/HandleComplaintResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +HandleComplaintResult::HandleComplaintResult() : + ServiceResult() +{} + +HandleComplaintResult::HandleComplaintResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +HandleComplaintResult::~HandleComplaintResult() +{} + +void HandleComplaintResult::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 HandleComplaintResult::getMessage()const +{ + return message_; +} + +std::string HandleComplaintResult::getData()const +{ + return data_; +} + +std::string HandleComplaintResult::getCode()const +{ + return code_; +} + +bool HandleComplaintResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/InsertScoreForApiRequest.cc b/qualitycheck/src/model/InsertScoreForApiRequest.cc new file mode 100644 index 000000000..bd2ef5b02 --- /dev/null +++ b/qualitycheck/src/model/InsertScoreForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::InsertScoreForApiRequest; + +InsertScoreForApiRequest::InsertScoreForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "InsertScoreForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +InsertScoreForApiRequest::~InsertScoreForApiRequest() +{} + +long InsertScoreForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void InsertScoreForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string InsertScoreForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void InsertScoreForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string InsertScoreForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void InsertScoreForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/InsertScoreForApiResult.cc b/qualitycheck/src/model/InsertScoreForApiResult.cc new file mode 100644 index 000000000..dcd9968df --- /dev/null +++ b/qualitycheck/src/model/InsertScoreForApiResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +InsertScoreForApiResult::InsertScoreForApiResult() : + ServiceResult() +{} + +InsertScoreForApiResult::InsertScoreForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertScoreForApiResult::~InsertScoreForApiResult() +{} + +void InsertScoreForApiResult::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["ScoreId"].isNull()) + data_.scoreId = std::stol(dataNode["ScoreId"].asString()); + if(!dataNode["ScoreName"].isNull()) + data_.scoreName = dataNode["ScoreName"].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 InsertScoreForApiResult::getMessage()const +{ + return message_; +} + +InsertScoreForApiResult::Data InsertScoreForApiResult::getData()const +{ + return data_; +} + +std::string InsertScoreForApiResult::getCode()const +{ + return code_; +} + +bool InsertScoreForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/InsertSubScoreForApiRequest.cc b/qualitycheck/src/model/InsertSubScoreForApiRequest.cc new file mode 100644 index 000000000..cbb638f21 --- /dev/null +++ b/qualitycheck/src/model/InsertSubScoreForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::InsertSubScoreForApiRequest; + +InsertSubScoreForApiRequest::InsertSubScoreForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "InsertSubScoreForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +InsertSubScoreForApiRequest::~InsertSubScoreForApiRequest() +{} + +long InsertSubScoreForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void InsertSubScoreForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string InsertSubScoreForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void InsertSubScoreForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string InsertSubScoreForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void InsertSubScoreForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/InsertSubScoreForApiResult.cc b/qualitycheck/src/model/InsertSubScoreForApiResult.cc new file mode 100644 index 000000000..f75d1cbc4 --- /dev/null +++ b/qualitycheck/src/model/InsertSubScoreForApiResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +InsertSubScoreForApiResult::InsertSubScoreForApiResult() : + ServiceResult() +{} + +InsertSubScoreForApiResult::InsertSubScoreForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertSubScoreForApiResult::~InsertSubScoreForApiResult() +{} + +void InsertSubScoreForApiResult::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["ScoreSubId"].isNull()) + data_.scoreSubId = std::stol(dataNode["ScoreSubId"].asString()); + if(!dataNode["ScoreSubName"].isNull()) + data_.scoreSubName = dataNode["ScoreSubName"].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 InsertSubScoreForApiResult::getMessage()const +{ + return message_; +} + +InsertSubScoreForApiResult::Data InsertSubScoreForApiResult::getData()const +{ + return data_; +} + +std::string InsertSubScoreForApiResult::getCode()const +{ + return code_; +} + +bool InsertSubScoreForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/InvalidRuleRequest.cc b/qualitycheck/src/model/InvalidRuleRequest.cc new file mode 100644 index 000000000..95ea39290 --- /dev/null +++ b/qualitycheck/src/model/InvalidRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::InvalidRuleRequest; + +InvalidRuleRequest::InvalidRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "InvalidRule") +{ + setMethod(HttpRequest::Method::Post); +} + +InvalidRuleRequest::~InvalidRuleRequest() +{} + +long InvalidRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void InvalidRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string InvalidRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void InvalidRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string InvalidRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void InvalidRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/InvalidRuleResult.cc b/qualitycheck/src/model/InvalidRuleResult.cc new file mode 100644 index 000000000..bf4abf0e5 --- /dev/null +++ b/qualitycheck/src/model/InvalidRuleResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +InvalidRuleResult::InvalidRuleResult() : + ServiceResult() +{} + +InvalidRuleResult::InvalidRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InvalidRuleResult::~InvalidRuleResult() +{} + +void InvalidRuleResult::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() == "true"; + +} + +std::string InvalidRuleResult::getMessage()const +{ + return message_; +} + +bool InvalidRuleResult::getData()const +{ + return data_; +} + +std::string InvalidRuleResult::getCode()const +{ + return code_; +} + +bool InvalidRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListAsrVocabRequest.cc b/qualitycheck/src/model/ListAsrVocabRequest.cc new file mode 100644 index 000000000..3cda22166 --- /dev/null +++ b/qualitycheck/src/model/ListAsrVocabRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListAsrVocabRequest; + +ListAsrVocabRequest::ListAsrVocabRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListAsrVocab") +{ + setMethod(HttpRequest::Method::Post); +} + +ListAsrVocabRequest::~ListAsrVocabRequest() +{} + +long ListAsrVocabRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListAsrVocabRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListAsrVocabRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListAsrVocabRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListAsrVocabRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListAsrVocabRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListAsrVocabResult.cc b/qualitycheck/src/model/ListAsrVocabResult.cc new file mode 100644 index 000000000..c61eac47a --- /dev/null +++ b/qualitycheck/src/model/ListAsrVocabResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListAsrVocabResult::ListAsrVocabResult() : + ServiceResult() +{} + +ListAsrVocabResult::ListAsrVocabResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAsrVocabResult::~ListAsrVocabResult() +{} + +void ListAsrVocabResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["AsrVocab"]; + for (auto valueDataAsrVocab : allDataNode) + { + AsrVocab dataObject; + if(!valueDataAsrVocab["Id"].isNull()) + dataObject.id = valueDataAsrVocab["Id"].asString(); + if(!valueDataAsrVocab["Name"].isNull()) + dataObject.name = valueDataAsrVocab["Name"].asString(); + if(!valueDataAsrVocab["CreateTime"].isNull()) + dataObject.createTime = valueDataAsrVocab["CreateTime"].asString(); + if(!valueDataAsrVocab["UpdateTime"].isNull()) + dataObject.updateTime = valueDataAsrVocab["UpdateTime"].asString(); + if(!valueDataAsrVocab["VocabularyId"].isNull()) + dataObject.vocabularyId = valueDataAsrVocab["VocabularyId"].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 ListAsrVocabResult::getMessage()const +{ + return message_; +} + +std::vector ListAsrVocabResult::getData()const +{ + return data_; +} + +std::string ListAsrVocabResult::getCode()const +{ + return code_; +} + +bool ListAsrVocabResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListHotWordsTasksRequest.cc b/qualitycheck/src/model/ListHotWordsTasksRequest.cc new file mode 100644 index 000000000..40de35761 --- /dev/null +++ b/qualitycheck/src/model/ListHotWordsTasksRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListHotWordsTasksRequest; + +ListHotWordsTasksRequest::ListHotWordsTasksRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListHotWordsTasks") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHotWordsTasksRequest::~ListHotWordsTasksRequest() +{} + +long ListHotWordsTasksRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListHotWordsTasksRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListHotWordsTasksRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListHotWordsTasksRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListHotWordsTasksRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListHotWordsTasksRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListHotWordsTasksResult.cc b/qualitycheck/src/model/ListHotWordsTasksResult.cc new file mode 100644 index 000000000..a16efe74b --- /dev/null +++ b/qualitycheck/src/model/ListHotWordsTasksResult.cc @@ -0,0 +1,143 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListHotWordsTasksResult::ListHotWordsTasksResult() : + ServiceResult() +{} + +ListHotWordsTasksResult::ListHotWordsTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHotWordsTasksResult::~ListHotWordsTasksResult() +{} + +void ListHotWordsTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["HotWordsTaskPo"]; + for (auto valueDataHotWordsTaskPo : allDataNode) + { + HotWordsTaskPo dataObject; + if(!valueDataHotWordsTaskPo["TaskConfigId"].isNull()) + dataObject.taskConfigId = std::stol(valueDataHotWordsTaskPo["TaskConfigId"].asString()); + if(!valueDataHotWordsTaskPo["Name"].isNull()) + dataObject.name = valueDataHotWordsTaskPo["Name"].asString(); + if(!valueDataHotWordsTaskPo["Status"].isNull()) + dataObject.status = std::stoi(valueDataHotWordsTaskPo["Status"].asString()); + if(!valueDataHotWordsTaskPo["Type"].isNull()) + dataObject.type = std::stoi(valueDataHotWordsTaskPo["Type"].asString()); + if(!valueDataHotWordsTaskPo["StartTime"].isNull()) + dataObject.startTime = valueDataHotWordsTaskPo["StartTime"].asString(); + if(!valueDataHotWordsTaskPo["TimeInterval"].isNull()) + dataObject.timeInterval = std::stoi(valueDataHotWordsTaskPo["TimeInterval"].asString()); + if(!valueDataHotWordsTaskPo["TimeUnit"].isNull()) + dataObject.timeUnit = std::stoi(valueDataHotWordsTaskPo["TimeUnit"].asString()); + if(!valueDataHotWordsTaskPo["EndTime"].isNull()) + dataObject.endTime = valueDataHotWordsTaskPo["EndTime"].asString(); + if(!valueDataHotWordsTaskPo["InstanceStatus"].isNull()) + dataObject.instanceStatus = std::stoi(valueDataHotWordsTaskPo["InstanceStatus"].asString()); + if(!valueDataHotWordsTaskPo["LastExecutionTime"].isNull()) + dataObject.lastExecutionTime = valueDataHotWordsTaskPo["LastExecutionTime"].asString(); + if(!valueDataHotWordsTaskPo["Message"].isNull()) + dataObject.message = valueDataHotWordsTaskPo["Message"].asString(); + auto dialogueParamNode = value["DialogueParam"]; + if(!dialogueParamNode["DialogueId"].isNull()) + dataObject.dialogueParam.dialogueId = std::stol(dialogueParamNode["DialogueId"].asString()); + if(!dialogueParamNode["Role"].isNull()) + dataObject.dialogueParam.role = std::stoi(dialogueParamNode["Role"].asString()); + if(!dialogueParamNode["StartIndex"].isNull()) + dataObject.dialogueParam.startIndex = std::stoi(dialogueParamNode["StartIndex"].asString()); + if(!dialogueParamNode["EndIndex"].isNull()) + dataObject.dialogueParam.endIndex = std::stoi(dialogueParamNode["EndIndex"].asString()); + if(!dialogueParamNode["SourceType"].isNull()) + dataObject.dialogueParam.sourceType = std::stoi(dialogueParamNode["SourceType"].asString()); + if(!dialogueParamNode["DataSetIds"].isNull()) + dataObject.dialogueParam.dataSetIds = dialogueParamNode["DataSetIds"].asString(); + if(!dialogueParamNode["StartTime"].isNull()) + dataObject.dialogueParam.startTime = dialogueParamNode["StartTime"].asString(); + if(!dialogueParamNode["EndTime"].isNull()) + dataObject.dialogueParam.endTime = dialogueParamNode["EndTime"].asString(); + auto wordsParamNode = value["WordsParam"]; + if(!wordsParamNode["ExtraConfigId"].isNull()) + dataObject.wordsParam.extraConfigId = std::stol(wordsParamNode["ExtraConfigId"].asString()); + if(!wordsParamNode["Excludes"].isNull()) + dataObject.wordsParam.excludes = wordsParamNode["Excludes"].asString(); + if(!wordsParamNode["Includes"].isNull()) + dataObject.wordsParam.includes = wordsParamNode["Includes"].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["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::string ListHotWordsTasksResult::getMessage()const +{ + return message_; +} + +int ListHotWordsTasksResult::getPageSize()const +{ + return pageSize_; +} + +int ListHotWordsTasksResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListHotWordsTasksResult::getData()const +{ + return data_; +} + +int ListHotWordsTasksResult::getCount()const +{ + return count_; +} + +std::string ListHotWordsTasksResult::getCode()const +{ + return code_; +} + +bool ListHotWordsTasksResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListPrecisionTaskRequest.cc b/qualitycheck/src/model/ListPrecisionTaskRequest.cc new file mode 100644 index 000000000..0e19a77ca --- /dev/null +++ b/qualitycheck/src/model/ListPrecisionTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListPrecisionTaskRequest; + +ListPrecisionTaskRequest::ListPrecisionTaskRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListPrecisionTask") +{ + setMethod(HttpRequest::Method::Post); +} + +ListPrecisionTaskRequest::~ListPrecisionTaskRequest() +{} + +long ListPrecisionTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListPrecisionTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListPrecisionTaskRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListPrecisionTaskRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListPrecisionTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListPrecisionTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListPrecisionTaskResult.cc b/qualitycheck/src/model/ListPrecisionTaskResult.cc new file mode 100644 index 000000000..dedbadbe7 --- /dev/null +++ b/qualitycheck/src/model/ListPrecisionTaskResult.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListPrecisionTaskResult::ListPrecisionTaskResult() : + ServiceResult() +{} + +ListPrecisionTaskResult::ListPrecisionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPrecisionTaskResult::~ListPrecisionTaskResult() +{} + +void ListPrecisionTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["PrecisionTask"]; + for (auto valueDataPrecisionTask : allDataNode) + { + PrecisionTask dataObject; + if(!valueDataPrecisionTask["Name"].isNull()) + dataObject.name = valueDataPrecisionTask["Name"].asString(); + if(!valueDataPrecisionTask["TaskId"].isNull()) + dataObject.taskId = valueDataPrecisionTask["TaskId"].asString(); + if(!valueDataPrecisionTask["Source"].isNull()) + dataObject.source = std::stoi(valueDataPrecisionTask["Source"].asString()); + if(!valueDataPrecisionTask["DataSetId"].isNull()) + dataObject.dataSetId = std::stol(valueDataPrecisionTask["DataSetId"].asString()); + if(!valueDataPrecisionTask["DataSetName"].isNull()) + dataObject.dataSetName = valueDataPrecisionTask["DataSetName"].asString(); + if(!valueDataPrecisionTask["Duration"].isNull()) + dataObject.duration = std::stoi(valueDataPrecisionTask["Duration"].asString()); + if(!valueDataPrecisionTask["Status"].isNull()) + dataObject.status = std::stoi(valueDataPrecisionTask["Status"].asString()); + if(!valueDataPrecisionTask["TotalCount"].isNull()) + dataObject.totalCount = std::stoi(valueDataPrecisionTask["TotalCount"].asString()); + if(!valueDataPrecisionTask["VerifiedCount"].isNull()) + dataObject.verifiedCount = std::stoi(valueDataPrecisionTask["VerifiedCount"].asString()); + if(!valueDataPrecisionTask["IncorrectWords"].isNull()) + dataObject.incorrectWords = std::stoi(valueDataPrecisionTask["IncorrectWords"].asString()); + if(!valueDataPrecisionTask["CreateTime"].isNull()) + dataObject.createTime = valueDataPrecisionTask["CreateTime"].asString(); + if(!valueDataPrecisionTask["UpdateTime"].isNull()) + dataObject.updateTime = valueDataPrecisionTask["UpdateTime"].asString(); + auto allPrecisionsNode = valueDataPrecisionTask["Precisions"]["Precision"]; + for (auto valueDataPrecisionTaskPrecisionsPrecision : allPrecisionsNode) + { + PrecisionTask::Precision precisionsObject; + if(!valueDataPrecisionTaskPrecisionsPrecision["ModelName"].isNull()) + precisionsObject.modelName = valueDataPrecisionTaskPrecisionsPrecision["ModelName"].asString(); + if(!valueDataPrecisionTaskPrecisionsPrecision["ModelId"].isNull()) + precisionsObject.modelId = std::stol(valueDataPrecisionTaskPrecisionsPrecision["ModelId"].asString()); + if(!valueDataPrecisionTaskPrecisionsPrecision["Precision"].isNull()) + precisionsObject.precision = std::stof(valueDataPrecisionTaskPrecisionsPrecision["Precision"].asString()); + if(!valueDataPrecisionTaskPrecisionsPrecision["Status"].isNull()) + precisionsObject.status = std::stoi(valueDataPrecisionTaskPrecisionsPrecision["Status"].asString()); + if(!valueDataPrecisionTaskPrecisionsPrecision["TaskId"].isNull()) + precisionsObject.taskId = valueDataPrecisionTaskPrecisionsPrecision["TaskId"].asString(); + if(!valueDataPrecisionTaskPrecisionsPrecision["CreateTime"].isNull()) + precisionsObject.createTime = valueDataPrecisionTaskPrecisionsPrecision["CreateTime"].asString(); + dataObject.precisions.push_back(precisionsObject); + } + 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["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::string ListPrecisionTaskResult::getMessage()const +{ + return message_; +} + +int ListPrecisionTaskResult::getPageSize()const +{ + return pageSize_; +} + +int ListPrecisionTaskResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListPrecisionTaskResult::getData()const +{ + return data_; +} + +int ListPrecisionTaskResult::getCount()const +{ + return count_; +} + +std::string ListPrecisionTaskResult::getCode()const +{ + return code_; +} + +bool ListPrecisionTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListRolesRequest.cc b/qualitycheck/src/model/ListRolesRequest.cc new file mode 100644 index 000000000..090985aca --- /dev/null +++ b/qualitycheck/src/model/ListRolesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListRolesRequest; + +ListRolesRequest::ListRolesRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListRoles") +{ + setMethod(HttpRequest::Method::Post); +} + +ListRolesRequest::~ListRolesRequest() +{} + +long ListRolesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListRolesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListRolesRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListRolesRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListRolesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListRolesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListRolesResult.cc b/qualitycheck/src/model/ListRolesResult.cc new file mode 100644 index 000000000..1c27994cf --- /dev/null +++ b/qualitycheck/src/model/ListRolesResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListRolesResult::ListRolesResult() : + ServiceResult() +{} + +ListRolesResult::ListRolesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRolesResult::~ListRolesResult() +{} + +void ListRolesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Role"]; + for (auto valueDataRole : allDataNode) + { + Role dataObject; + if(!valueDataRole["Id"].isNull()) + dataObject.id = std::stol(valueDataRole["Id"].asString()); + if(!valueDataRole["Name"].isNull()) + dataObject.name = valueDataRole["Name"].asString(); + if(!valueDataRole["DisplayName"].isNull()) + dataObject.displayName = valueDataRole["DisplayName"].asString(); + if(!valueDataRole["Level"].isNull()) + dataObject.level = std::stoi(valueDataRole["Level"].asString()); + if(!valueDataRole["CreateTime"].isNull()) + dataObject.createTime = valueDataRole["CreateTime"].asString(); + if(!valueDataRole["UpdateTime"].isNull()) + dataObject.updateTime = valueDataRole["UpdateTime"].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 ListRolesResult::getMessage()const +{ + return message_; +} + +std::vector ListRolesResult::getData()const +{ + return data_; +} + +std::string ListRolesResult::getCode()const +{ + return code_; +} + +bool ListRolesResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListRulesRequest.cc b/qualitycheck/src/model/ListRulesRequest.cc new file mode 100644 index 000000000..22526a673 --- /dev/null +++ b/qualitycheck/src/model/ListRulesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListRulesRequest; + +ListRulesRequest::ListRulesRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListRules") +{ + setMethod(HttpRequest::Method::Post); +} + +ListRulesRequest::~ListRulesRequest() +{} + +long ListRulesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListRulesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListRulesRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListRulesRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListRulesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListRulesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListRulesResult.cc b/qualitycheck/src/model/ListRulesResult.cc new file mode 100644 index 000000000..8248b2cd8 --- /dev/null +++ b/qualitycheck/src/model/ListRulesResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListRulesResult::ListRulesResult() : + ServiceResult() +{} + +ListRulesResult::ListRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRulesResult::~ListRulesResult() +{} + +void ListRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Rule"]; + for (auto valueDataRule : allDataNode) + { + Rule dataObject; + if(!valueDataRule["Name"].isNull()) + dataObject.name = valueDataRule["Name"].asString(); + if(!valueDataRule["Type"].isNull()) + dataObject.type = std::stoi(valueDataRule["Type"].asString()); + if(!valueDataRule["Comments"].isNull()) + dataObject.comments = valueDataRule["Comments"].asString(); + if(!valueDataRule["CreateTime"].isNull()) + dataObject.createTime = valueDataRule["CreateTime"].asString(); + if(!valueDataRule["TypeName"].isNull()) + dataObject.typeName = valueDataRule["TypeName"].asString(); + if(!valueDataRule["RuleType"].isNull()) + dataObject.ruleType = std::stoi(valueDataRule["RuleType"].asString()); + if(!valueDataRule["Rid"].isNull()) + dataObject.rid = std::stol(valueDataRule["Rid"].asString()); + auto allBusinessCategoryNameList = value["BusinessCategoryNameList"]["BusinessCategoryNameList"]; + for (auto value : allBusinessCategoryNameList) + dataObject.businessCategoryNameList.push_back(value.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()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::string ListRulesResult::getMessage()const +{ + return message_; +} + +int ListRulesResult::getPageSize()const +{ + return pageSize_; +} + +int ListRulesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListRulesResult::getData()const +{ + return data_; +} + +int ListRulesResult::getCount()const +{ + return count_; +} + +std::string ListRulesResult::getCode()const +{ + return code_; +} + +bool ListRulesResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListSkillGroupConfigRequest.cc b/qualitycheck/src/model/ListSkillGroupConfigRequest.cc new file mode 100644 index 000000000..2aa664c9b --- /dev/null +++ b/qualitycheck/src/model/ListSkillGroupConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListSkillGroupConfigRequest; + +ListSkillGroupConfigRequest::ListSkillGroupConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListSkillGroupConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ListSkillGroupConfigRequest::~ListSkillGroupConfigRequest() +{} + +long ListSkillGroupConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListSkillGroupConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListSkillGroupConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListSkillGroupConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListSkillGroupConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListSkillGroupConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListSkillGroupConfigResult.cc b/qualitycheck/src/model/ListSkillGroupConfigResult.cc new file mode 100644 index 000000000..2d398d926 --- /dev/null +++ b/qualitycheck/src/model/ListSkillGroupConfigResult.cc @@ -0,0 +1,132 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListSkillGroupConfigResult::ListSkillGroupConfigResult() : + ServiceResult() +{} + +ListSkillGroupConfigResult::ListSkillGroupConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSkillGroupConfigResult::~ListSkillGroupConfigResult() +{} + +void ListSkillGroupConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["SkillGroupConfig"]; + for (auto valueDataSkillGroupConfig : allDataNode) + { + SkillGroupConfig dataObject; + if(!valueDataSkillGroupConfig["Id"].isNull()) + dataObject.id = std::stol(valueDataSkillGroupConfig["Id"].asString()); + if(!valueDataSkillGroupConfig["InstanceId"].isNull()) + dataObject.instanceId = valueDataSkillGroupConfig["InstanceId"].asString(); + if(!valueDataSkillGroupConfig["ModelId"].isNull()) + dataObject.modelId = std::stol(valueDataSkillGroupConfig["ModelId"].asString()); + if(!valueDataSkillGroupConfig["ModelName"].isNull()) + dataObject.modelName = valueDataSkillGroupConfig["ModelName"].asString(); + if(!valueDataSkillGroupConfig["Name"].isNull()) + dataObject.name = valueDataSkillGroupConfig["Name"].asString(); + if(!valueDataSkillGroupConfig["Rid"].isNull()) + dataObject.rid = valueDataSkillGroupConfig["Rid"].asString(); + if(!valueDataSkillGroupConfig["SkillGroupId"].isNull()) + dataObject.skillGroupId = valueDataSkillGroupConfig["SkillGroupId"].asString(); + if(!valueDataSkillGroupConfig["SkillGroupName"].isNull()) + dataObject.skillGroupName = valueDataSkillGroupConfig["SkillGroupName"].asString(); + if(!valueDataSkillGroupConfig["Status"].isNull()) + dataObject.status = std::stoi(valueDataSkillGroupConfig["Status"].asString()); + if(!valueDataSkillGroupConfig["Type"].isNull()) + dataObject.type = std::stoi(valueDataSkillGroupConfig["Type"].asString()); + if(!valueDataSkillGroupConfig["VocabId"].isNull()) + dataObject.vocabId = std::stol(valueDataSkillGroupConfig["VocabId"].asString()); + if(!valueDataSkillGroupConfig["VocabName"].isNull()) + dataObject.vocabName = valueDataSkillGroupConfig["VocabName"].asString(); + if(!valueDataSkillGroupConfig["CreateTime"].isNull()) + dataObject.createTime = valueDataSkillGroupConfig["CreateTime"].asString(); + if(!valueDataSkillGroupConfig["UpdateTime"].isNull()) + dataObject.updateTime = valueDataSkillGroupConfig["UpdateTime"].asString(); + if(!valueDataSkillGroupConfig["QualityCheckType"].isNull()) + dataObject.qualityCheckType = std::stoi(valueDataSkillGroupConfig["QualityCheckType"].asString()); + if(!valueDataSkillGroupConfig["AllContentQualityCheck"].isNull()) + dataObject.allContentQualityCheck = std::stoi(valueDataSkillGroupConfig["AllContentQualityCheck"].asString()); + if(!valueDataSkillGroupConfig["AllRids"].isNull()) + dataObject.allRids = valueDataSkillGroupConfig["AllRids"].asString(); + if(!valueDataSkillGroupConfig["SkillGroupFrom"].isNull()) + dataObject.skillGroupFrom = std::stoi(valueDataSkillGroupConfig["SkillGroupFrom"].asString()); + auto allRuleListNode = valueDataSkillGroupConfig["RuleList"]["RuleNameInfo"]; + for (auto valueDataSkillGroupConfigRuleListRuleNameInfo : allRuleListNode) + { + SkillGroupConfig::RuleNameInfo ruleListObject; + if(!valueDataSkillGroupConfigRuleListRuleNameInfo["Rid"].isNull()) + ruleListObject.rid = std::stol(valueDataSkillGroupConfigRuleListRuleNameInfo["Rid"].asString()); + if(!valueDataSkillGroupConfigRuleListRuleNameInfo["RuleName"].isNull()) + ruleListObject.ruleName = valueDataSkillGroupConfigRuleListRuleNameInfo["RuleName"].asString(); + dataObject.ruleList.push_back(ruleListObject); + } + auto allAllRuleListNode = valueDataSkillGroupConfig["AllRuleList"]["RuleNameInfo"]; + for (auto valueDataSkillGroupConfigAllRuleListRuleNameInfo : allAllRuleListNode) + { + SkillGroupConfig::RuleNameInfo allRuleListObject; + if(!valueDataSkillGroupConfigAllRuleListRuleNameInfo["Rid"].isNull()) + allRuleListObject.rid = std::stol(valueDataSkillGroupConfigAllRuleListRuleNameInfo["Rid"].asString()); + if(!valueDataSkillGroupConfigAllRuleListRuleNameInfo["RuleName"].isNull()) + allRuleListObject.ruleName = valueDataSkillGroupConfigAllRuleListRuleNameInfo["RuleName"].asString(); + dataObject.allRuleList.push_back(allRuleListObject); + } + 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 ListSkillGroupConfigResult::getMessage()const +{ + return message_; +} + +std::vector ListSkillGroupConfigResult::getData()const +{ + return data_; +} + +std::string ListSkillGroupConfigResult::getCode()const +{ + return code_; +} + +bool ListSkillGroupConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListTaskAssignRulesRequest.cc b/qualitycheck/src/model/ListTaskAssignRulesRequest.cc new file mode 100644 index 000000000..bbc0467b3 --- /dev/null +++ b/qualitycheck/src/model/ListTaskAssignRulesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListTaskAssignRulesRequest; + +ListTaskAssignRulesRequest::ListTaskAssignRulesRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListTaskAssignRules") +{ + setMethod(HttpRequest::Method::Post); +} + +ListTaskAssignRulesRequest::~ListTaskAssignRulesRequest() +{} + +long ListTaskAssignRulesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListTaskAssignRulesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListTaskAssignRulesRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListTaskAssignRulesRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListTaskAssignRulesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListTaskAssignRulesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListTaskAssignRulesResult.cc b/qualitycheck/src/model/ListTaskAssignRulesResult.cc new file mode 100644 index 000000000..2da31531d --- /dev/null +++ b/qualitycheck/src/model/ListTaskAssignRulesResult.cc @@ -0,0 +1,157 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListTaskAssignRulesResult::ListTaskAssignRulesResult() : + ServiceResult() +{} + +ListTaskAssignRulesResult::ListTaskAssignRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskAssignRulesResult::~ListTaskAssignRulesResult() +{} + +void ListTaskAssignRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["TaskAssignRuleInfo"]; + for (auto valueDataTaskAssignRuleInfo : allDataNode) + { + TaskAssignRuleInfo dataObject; + if(!valueDataTaskAssignRuleInfo["RuleId"].isNull()) + dataObject.ruleId = std::stol(valueDataTaskAssignRuleInfo["RuleId"].asString()); + if(!valueDataTaskAssignRuleInfo["Enabled"].isNull()) + dataObject.enabled = std::stoi(valueDataTaskAssignRuleInfo["Enabled"].asString()); + if(!valueDataTaskAssignRuleInfo["CallType"].isNull()) + dataObject.callType = std::stoi(valueDataTaskAssignRuleInfo["CallType"].asString()); + if(!valueDataTaskAssignRuleInfo["Priority"].isNull()) + dataObject.priority = std::stoi(valueDataTaskAssignRuleInfo["Priority"].asString()); + if(!valueDataTaskAssignRuleInfo["DurationMin"].isNull()) + dataObject.durationMin = std::stoi(valueDataTaskAssignRuleInfo["DurationMin"].asString()); + if(!valueDataTaskAssignRuleInfo["DurationMax"].isNull()) + dataObject.durationMax = std::stoi(valueDataTaskAssignRuleInfo["DurationMax"].asString()); + if(!valueDataTaskAssignRuleInfo["CreateTime"].isNull()) + dataObject.createTime = valueDataTaskAssignRuleInfo["CreateTime"].asString(); + if(!valueDataTaskAssignRuleInfo["UpdateTime"].isNull()) + dataObject.updateTime = valueDataTaskAssignRuleInfo["UpdateTime"].asString(); + if(!valueDataTaskAssignRuleInfo["AgentsStr"].isNull()) + dataObject.agentsStr = valueDataTaskAssignRuleInfo["AgentsStr"].asString(); + if(!valueDataTaskAssignRuleInfo["SkillGroupsStr"].isNull()) + dataObject.skillGroupsStr = valueDataTaskAssignRuleInfo["SkillGroupsStr"].asString(); + auto allAgentsNode = valueDataTaskAssignRuleInfo["Agents"]["Agent"]; + for (auto valueDataTaskAssignRuleInfoAgentsAgent : allAgentsNode) + { + TaskAssignRuleInfo::Agent agentsObject; + if(!valueDataTaskAssignRuleInfoAgentsAgent["AgentId"].isNull()) + agentsObject.agentId = valueDataTaskAssignRuleInfoAgentsAgent["AgentId"].asString(); + if(!valueDataTaskAssignRuleInfoAgentsAgent["AgentName"].isNull()) + agentsObject.agentName = valueDataTaskAssignRuleInfoAgentsAgent["AgentName"].asString(); + dataObject.agents.push_back(agentsObject); + } + auto allSkillGroupsNode = valueDataTaskAssignRuleInfo["SkillGroups"]["SkillGroup"]; + for (auto valueDataTaskAssignRuleInfoSkillGroupsSkillGroup : allSkillGroupsNode) + { + TaskAssignRuleInfo::SkillGroup skillGroupsObject; + if(!valueDataTaskAssignRuleInfoSkillGroupsSkillGroup["SkillId"].isNull()) + skillGroupsObject.skillId = valueDataTaskAssignRuleInfoSkillGroupsSkillGroup["SkillId"].asString(); + if(!valueDataTaskAssignRuleInfoSkillGroupsSkillGroup["SkillName"].isNull()) + skillGroupsObject.skillName = valueDataTaskAssignRuleInfoSkillGroupsSkillGroup["SkillName"].asString(); + dataObject.skillGroups.push_back(skillGroupsObject); + } + auto allReviewersNode = valueDataTaskAssignRuleInfo["Reviewers"]["Reviewer"]; + for (auto valueDataTaskAssignRuleInfoReviewersReviewer : allReviewersNode) + { + TaskAssignRuleInfo::Reviewer reviewersObject; + if(!valueDataTaskAssignRuleInfoReviewersReviewer["ReviewerId"].isNull()) + reviewersObject.reviewerId = valueDataTaskAssignRuleInfoReviewersReviewer["ReviewerId"].asString(); + if(!valueDataTaskAssignRuleInfoReviewersReviewer["ReviewerName"].isNull()) + reviewersObject.reviewerName = valueDataTaskAssignRuleInfoReviewersReviewer["ReviewerName"].asString(); + dataObject.reviewers.push_back(reviewersObject); + } + auto allRulesNode = valueDataTaskAssignRuleInfo["Rules"]["RuleBasicInfo"]; + for (auto valueDataTaskAssignRuleInfoRulesRuleBasicInfo : allRulesNode) + { + TaskAssignRuleInfo::RuleBasicInfo rulesObject; + if(!valueDataTaskAssignRuleInfoRulesRuleBasicInfo["Rid"].isNull()) + rulesObject.rid = valueDataTaskAssignRuleInfoRulesRuleBasicInfo["Rid"].asString(); + if(!valueDataTaskAssignRuleInfoRulesRuleBasicInfo["Name"].isNull()) + rulesObject.name = valueDataTaskAssignRuleInfoRulesRuleBasicInfo["Name"].asString(); + dataObject.rules.push_back(rulesObject); + } + 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["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::string ListTaskAssignRulesResult::getMessage()const +{ + return message_; +} + +int ListTaskAssignRulesResult::getPageSize()const +{ + return pageSize_; +} + +int ListTaskAssignRulesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListTaskAssignRulesResult::getData()const +{ + return data_; +} + +int ListTaskAssignRulesResult::getCount()const +{ + return count_; +} + +std::string ListTaskAssignRulesResult::getCode()const +{ + return code_; +} + +bool ListTaskAssignRulesResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListUsersRequest.cc b/qualitycheck/src/model/ListUsersRequest.cc new file mode 100644 index 000000000..bb6e2f545 --- /dev/null +++ b/qualitycheck/src/model/ListUsersRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListUsersRequest; + +ListUsersRequest::ListUsersRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListUsers") +{ + setMethod(HttpRequest::Method::Post); +} + +ListUsersRequest::~ListUsersRequest() +{} + +long ListUsersRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListUsersRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListUsersRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListUsersRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListUsersRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListUsersRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListUsersResult.cc b/qualitycheck/src/model/ListUsersResult.cc new file mode 100644 index 000000000..cee2dd280 --- /dev/null +++ b/qualitycheck/src/model/ListUsersResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListUsersResult::ListUsersResult() : + ServiceResult() +{} + +ListUsersResult::ListUsersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListUsersResult::~ListUsersResult() +{} + +void ListUsersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["User"]; + for (auto valueDataUser : allDataNode) + { + User dataObject; + if(!valueDataUser["Id"].isNull()) + dataObject.id = std::stol(valueDataUser["Id"].asString()); + if(!valueDataUser["UserName"].isNull()) + dataObject.userName = valueDataUser["UserName"].asString(); + if(!valueDataUser["DisplayName"].isNull()) + dataObject.displayName = valueDataUser["DisplayName"].asString(); + if(!valueDataUser["CreateTime"].isNull()) + dataObject.createTime = valueDataUser["CreateTime"].asString(); + if(!valueDataUser["UpdateTime"].isNull()) + dataObject.updateTime = valueDataUser["UpdateTime"].asString(); + if(!valueDataUser["Description"].isNull()) + dataObject.description = valueDataUser["Description"].asString(); + if(!valueDataUser["AliUid"].isNull()) + dataObject.aliUid = valueDataUser["AliUid"].asString(); + if(!valueDataUser["RoleName"].isNull()) + dataObject.roleName = valueDataUser["RoleName"].asString(); + if(!valueDataUser["LoginUserType"].isNull()) + dataObject.loginUserType = std::stoi(valueDataUser["LoginUserType"].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["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::string ListUsersResult::getMessage()const +{ + return message_; +} + +int ListUsersResult::getPageSize()const +{ + return pageSize_; +} + +int ListUsersResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListUsersResult::getData()const +{ + return data_; +} + +int ListUsersResult::getCount()const +{ + return count_; +} + +std::string ListUsersResult::getCode()const +{ + return code_; +} + +bool ListUsersResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ListWarningConfigRequest.cc b/qualitycheck/src/model/ListWarningConfigRequest.cc new file mode 100644 index 000000000..11590a755 --- /dev/null +++ b/qualitycheck/src/model/ListWarningConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::ListWarningConfigRequest; + +ListWarningConfigRequest::ListWarningConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "ListWarningConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ListWarningConfigRequest::~ListWarningConfigRequest() +{} + +long ListWarningConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListWarningConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListWarningConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void ListWarningConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string ListWarningConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListWarningConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/ListWarningConfigResult.cc b/qualitycheck/src/model/ListWarningConfigResult.cc new file mode 100644 index 000000000..51d46989a --- /dev/null +++ b/qualitycheck/src/model/ListWarningConfigResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +ListWarningConfigResult::ListWarningConfigResult() : + ServiceResult() +{} + +ListWarningConfigResult::ListWarningConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListWarningConfigResult::~ListWarningConfigResult() +{} + +void ListWarningConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["WarningConfigInfo"]; + for (auto valueDataWarningConfigInfo : allDataNode) + { + WarningConfigInfo dataObject; + if(!valueDataWarningConfigInfo["ConfigId"].isNull()) + dataObject.configId = std::stol(valueDataWarningConfigInfo["ConfigId"].asString()); + if(!valueDataWarningConfigInfo["ConfigName"].isNull()) + dataObject.configName = valueDataWarningConfigInfo["ConfigName"].asString(); + if(!valueDataWarningConfigInfo["Status"].isNull()) + dataObject.status = std::stoi(valueDataWarningConfigInfo["Status"].asString()); + if(!valueDataWarningConfigInfo["CreateTime"].isNull()) + dataObject.createTime = valueDataWarningConfigInfo["CreateTime"].asString(); + if(!valueDataWarningConfigInfo["UpdateTime"].isNull()) + dataObject.updateTime = valueDataWarningConfigInfo["UpdateTime"].asString(); + auto allRuleListNode = valueDataWarningConfigInfo["RuleList"]["WarningRule"]; + for (auto valueDataWarningConfigInfoRuleListWarningRule : allRuleListNode) + { + WarningConfigInfo::WarningRule ruleListObject; + if(!valueDataWarningConfigInfoRuleListWarningRule["Rid"].isNull()) + ruleListObject.rid = std::stol(valueDataWarningConfigInfoRuleListWarningRule["Rid"].asString()); + if(!valueDataWarningConfigInfoRuleListWarningRule["RuleName"].isNull()) + ruleListObject.ruleName = valueDataWarningConfigInfoRuleListWarningRule["RuleName"].asString(); + dataObject.ruleList.push_back(ruleListObject); + } + auto allChannelsNode = valueDataWarningConfigInfo["Channels"]["Channel"]; + for (auto valueDataWarningConfigInfoChannelsChannel : allChannelsNode) + { + WarningConfigInfo::Channel channelsObject; + if(!valueDataWarningConfigInfoChannelsChannel["Type"].isNull()) + channelsObject.type = std::stoi(valueDataWarningConfigInfoChannelsChannel["Type"].asString()); + if(!valueDataWarningConfigInfoChannelsChannel["Url"].isNull()) + channelsObject.url = valueDataWarningConfigInfoChannelsChannel["Url"].asString(); + dataObject.channels.push_back(channelsObject); + } + auto allRidList = value["RidList"]["RidList"]; + for (auto value : allRidList) + dataObject.ridList.push_back(value.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 ListWarningConfigResult::getMessage()const +{ + return message_; +} + +std::vector ListWarningConfigResult::getData()const +{ + return data_; +} + +std::string ListWarningConfigResult::getCode()const +{ + return code_; +} + +bool ListWarningConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/OpenServiceRequest.cc b/qualitycheck/src/model/OpenServiceRequest.cc new file mode 100644 index 000000000..3f197390a --- /dev/null +++ b/qualitycheck/src/model/OpenServiceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/OpenServiceResult.cc b/qualitycheck/src/model/OpenServiceResult.cc new file mode 100644 index 000000000..2aa3a7451 --- /dev/null +++ b/qualitycheck/src/model/OpenServiceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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_; +} + diff --git a/qualitycheck/src/model/RegisterNoticeRequest.cc b/qualitycheck/src/model/RegisterNoticeRequest.cc new file mode 100644 index 000000000..d8a55f5f0 --- /dev/null +++ b/qualitycheck/src/model/RegisterNoticeRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/RegisterNoticeResult.cc b/qualitycheck/src/model/RegisterNoticeResult.cc new file mode 100644 index 000000000..2c32d85db --- /dev/null +++ b/qualitycheck/src/model/RegisterNoticeResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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_; +} + diff --git a/qualitycheck/src/model/RestartAsrTaskRequest.cc b/qualitycheck/src/model/RestartAsrTaskRequest.cc new file mode 100644 index 000000000..070274738 --- /dev/null +++ b/qualitycheck/src/model/RestartAsrTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::RestartAsrTaskRequest; + +RestartAsrTaskRequest::RestartAsrTaskRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "RestartAsrTask") +{ + setMethod(HttpRequest::Method::Post); +} + +RestartAsrTaskRequest::~RestartAsrTaskRequest() +{} + +long RestartAsrTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RestartAsrTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string RestartAsrTaskRequest::getJsonStr()const +{ + return jsonStr_; +} + +void RestartAsrTaskRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string RestartAsrTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RestartAsrTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/RestartAsrTaskResult.cc b/qualitycheck/src/model/RestartAsrTaskResult.cc new file mode 100644 index 000000000..33d824252 --- /dev/null +++ b/qualitycheck/src/model/RestartAsrTaskResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +RestartAsrTaskResult::RestartAsrTaskResult() : + ServiceResult() +{} + +RestartAsrTaskResult::RestartAsrTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RestartAsrTaskResult::~RestartAsrTaskResult() +{} + +void RestartAsrTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["RestartResult"]; + for (auto valueDataRestartResult : allDataNode) + { + RestartResult dataObject; + if(!valueDataRestartResult["Success"].isNull()) + dataObject.success = valueDataRestartResult["Success"].asString() == "true"; + if(!valueDataRestartResult["Data"].isNull()) + dataObject.data = valueDataRestartResult["Data"].asString(); + if(!valueDataRestartResult["Message"].isNull()) + dataObject.message = valueDataRestartResult["Message"].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 RestartAsrTaskResult::getMessage()const +{ + return message_; +} + +std::vector RestartAsrTaskResult::getData()const +{ + return data_; +} + +std::string RestartAsrTaskResult::getCode()const +{ + return code_; +} + +bool RestartAsrTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/RetrySubmitAsrRequest.cc b/qualitycheck/src/model/RetrySubmitAsrRequest.cc new file mode 100644 index 000000000..f6e93691c --- /dev/null +++ b/qualitycheck/src/model/RetrySubmitAsrRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/RetrySubmitAsrResult.cc b/qualitycheck/src/model/RetrySubmitAsrResult.cc new file mode 100644 index 000000000..a2616004b --- /dev/null +++ b/qualitycheck/src/model/RetrySubmitAsrResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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_; +} + diff --git a/qualitycheck/src/model/SaveConfigDataSetRequest.cc b/qualitycheck/src/model/SaveConfigDataSetRequest.cc new file mode 100644 index 000000000..c42109e78 --- /dev/null +++ b/qualitycheck/src/model/SaveConfigDataSetRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::SaveConfigDataSetRequest; + +SaveConfigDataSetRequest::SaveConfigDataSetRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "SaveConfigDataSet") +{ + setMethod(HttpRequest::Method::Post); +} + +SaveConfigDataSetRequest::~SaveConfigDataSetRequest() +{} + +long SaveConfigDataSetRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SaveConfigDataSetRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SaveConfigDataSetRequest::getJsonStr()const +{ + return jsonStr_; +} + +void SaveConfigDataSetRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string SaveConfigDataSetRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SaveConfigDataSetRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/SaveConfigDataSetResult.cc b/qualitycheck/src/model/SaveConfigDataSetResult.cc new file mode 100644 index 000000000..287bec0f6 --- /dev/null +++ b/qualitycheck/src/model/SaveConfigDataSetResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +SaveConfigDataSetResult::SaveConfigDataSetResult() : + ServiceResult() +{} + +SaveConfigDataSetResult::SaveConfigDataSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveConfigDataSetResult::~SaveConfigDataSetResult() +{} + +void SaveConfigDataSetResult::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 SaveConfigDataSetResult::getMessage()const +{ + return message_; +} + +std::string SaveConfigDataSetResult::getCode()const +{ + return code_; +} + +bool SaveConfigDataSetResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/SubmitComplaintRequest.cc b/qualitycheck/src/model/SubmitComplaintRequest.cc new file mode 100644 index 000000000..cf901563c --- /dev/null +++ b/qualitycheck/src/model/SubmitComplaintRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::SubmitComplaintRequest; + +SubmitComplaintRequest::SubmitComplaintRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "SubmitComplaint") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitComplaintRequest::~SubmitComplaintRequest() +{} + +long SubmitComplaintRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SubmitComplaintRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SubmitComplaintRequest::getJsonStr()const +{ + return jsonStr_; +} + +void SubmitComplaintRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string SubmitComplaintRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SubmitComplaintRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/SubmitComplaintResult.cc b/qualitycheck/src/model/SubmitComplaintResult.cc new file mode 100644 index 000000000..72feebe79 --- /dev/null +++ b/qualitycheck/src/model/SubmitComplaintResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +SubmitComplaintResult::SubmitComplaintResult() : + ServiceResult() +{} + +SubmitComplaintResult::SubmitComplaintResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitComplaintResult::~SubmitComplaintResult() +{} + +void SubmitComplaintResult::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 SubmitComplaintResult::getMessage()const +{ + return message_; +} + +std::string SubmitComplaintResult::getData()const +{ + return data_; +} + +std::string SubmitComplaintResult::getCode()const +{ + return code_; +} + +bool SubmitComplaintResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/SubmitModelTestTaskRequest.cc b/qualitycheck/src/model/SubmitModelTestTaskRequest.cc new file mode 100644 index 000000000..9f3c08e02 --- /dev/null +++ b/qualitycheck/src/model/SubmitModelTestTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/SubmitModelTestTaskResult.cc b/qualitycheck/src/model/SubmitModelTestTaskResult.cc new file mode 100644 index 000000000..23b9ad759 --- /dev/null +++ b/qualitycheck/src/model/SubmitModelTestTaskResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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_; +} + diff --git a/qualitycheck/src/model/SubmitPrecisionTaskRequest.cc b/qualitycheck/src/model/SubmitPrecisionTaskRequest.cc new file mode 100644 index 000000000..a32b6959a --- /dev/null +++ b/qualitycheck/src/model/SubmitPrecisionTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::SubmitPrecisionTaskRequest; + +SubmitPrecisionTaskRequest::SubmitPrecisionTaskRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "SubmitPrecisionTask") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitPrecisionTaskRequest::~SubmitPrecisionTaskRequest() +{} + +long SubmitPrecisionTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SubmitPrecisionTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SubmitPrecisionTaskRequest::getJsonStr()const +{ + return jsonStr_; +} + +void SubmitPrecisionTaskRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string SubmitPrecisionTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SubmitPrecisionTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/SubmitPrecisionTaskResult.cc b/qualitycheck/src/model/SubmitPrecisionTaskResult.cc new file mode 100644 index 000000000..2168370a9 --- /dev/null +++ b/qualitycheck/src/model/SubmitPrecisionTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +SubmitPrecisionTaskResult::SubmitPrecisionTaskResult() : + ServiceResult() +{} + +SubmitPrecisionTaskResult::SubmitPrecisionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitPrecisionTaskResult::~SubmitPrecisionTaskResult() +{} + +void SubmitPrecisionTaskResult::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 SubmitPrecisionTaskResult::getMessage()const +{ + return message_; +} + +std::string SubmitPrecisionTaskResult::getData()const +{ + return data_; +} + +std::string SubmitPrecisionTaskResult::getCode()const +{ + return code_; +} + +bool SubmitPrecisionTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/SubmitQualityCheckTaskRequest.cc b/qualitycheck/src/model/SubmitQualityCheckTaskRequest.cc new file mode 100644 index 000000000..c00eda01e --- /dev/null +++ b/qualitycheck/src/model/SubmitQualityCheckTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::SubmitQualityCheckTaskRequest; + +SubmitQualityCheckTaskRequest::SubmitQualityCheckTaskRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "SubmitQualityCheckTask") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitQualityCheckTaskRequest::~SubmitQualityCheckTaskRequest() +{} + +long SubmitQualityCheckTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SubmitQualityCheckTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SubmitQualityCheckTaskRequest::getJsonStr()const +{ + return jsonStr_; +} + +void SubmitQualityCheckTaskRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string SubmitQualityCheckTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SubmitQualityCheckTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/SubmitQualityCheckTaskResult.cc b/qualitycheck/src/model/SubmitQualityCheckTaskResult.cc new file mode 100644 index 000000000..118e1bb31 --- /dev/null +++ b/qualitycheck/src/model/SubmitQualityCheckTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +SubmitQualityCheckTaskResult::SubmitQualityCheckTaskResult() : + ServiceResult() +{} + +SubmitQualityCheckTaskResult::SubmitQualityCheckTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitQualityCheckTaskResult::~SubmitQualityCheckTaskResult() +{} + +void SubmitQualityCheckTaskResult::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 SubmitQualityCheckTaskResult::getMessage()const +{ + return message_; +} + +std::string SubmitQualityCheckTaskResult::getData()const +{ + return data_; +} + +std::string SubmitQualityCheckTaskResult::getCode()const +{ + return code_; +} + +bool SubmitQualityCheckTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/SubmitReviewInfoRequest.cc b/qualitycheck/src/model/SubmitReviewInfoRequest.cc new file mode 100644 index 000000000..fea1d77f4 --- /dev/null +++ b/qualitycheck/src/model/SubmitReviewInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::SubmitReviewInfoRequest; + +SubmitReviewInfoRequest::SubmitReviewInfoRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "SubmitReviewInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitReviewInfoRequest::~SubmitReviewInfoRequest() +{} + +long SubmitReviewInfoRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SubmitReviewInfoRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SubmitReviewInfoRequest::getJsonStr()const +{ + return jsonStr_; +} + +void SubmitReviewInfoRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string SubmitReviewInfoRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SubmitReviewInfoRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/SubmitReviewInfoResult.cc b/qualitycheck/src/model/SubmitReviewInfoResult.cc new file mode 100644 index 000000000..5387af0ac --- /dev/null +++ b/qualitycheck/src/model/SubmitReviewInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +SubmitReviewInfoResult::SubmitReviewInfoResult() : + ServiceResult() +{} + +SubmitReviewInfoResult::SubmitReviewInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitReviewInfoResult::~SubmitReviewInfoResult() +{} + +void SubmitReviewInfoResult::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 SubmitReviewInfoResult::getMessage()const +{ + return message_; +} + +std::string SubmitReviewInfoResult::getData()const +{ + return data_; +} + +std::string SubmitReviewInfoResult::getCode()const +{ + return code_; +} + +bool SubmitReviewInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/SyncQualityCheckRequest.cc b/qualitycheck/src/model/SyncQualityCheckRequest.cc new file mode 100644 index 000000000..339f0f1bf --- /dev/null +++ b/qualitycheck/src/model/SyncQualityCheckRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::SyncQualityCheckRequest; + +SyncQualityCheckRequest::SyncQualityCheckRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "SyncQualityCheck") +{ + setMethod(HttpRequest::Method::Post); +} + +SyncQualityCheckRequest::~SyncQualityCheckRequest() +{} + +long SyncQualityCheckRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SyncQualityCheckRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SyncQualityCheckRequest::getJsonStr()const +{ + return jsonStr_; +} + +void SyncQualityCheckRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string SyncQualityCheckRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SyncQualityCheckRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/SyncQualityCheckResult.cc b/qualitycheck/src/model/SyncQualityCheckResult.cc new file mode 100644 index 000000000..f63451948 --- /dev/null +++ b/qualitycheck/src/model/SyncQualityCheckResult.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +SyncQualityCheckResult::SyncQualityCheckResult() : + ServiceResult() +{} + +SyncQualityCheckResult::SyncQualityCheckResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SyncQualityCheckResult::~SyncQualityCheckResult() +{} + +void SyncQualityCheckResult::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["Score"].isNull()) + data_.score = std::stoi(dataNode["Score"].asString()); + if(!dataNode["Tid"].isNull()) + data_.tid = dataNode["Tid"].asString(); + if(!dataNode["BeginTime"].isNull()) + data_.beginTime = std::stol(dataNode["BeginTime"].asString()); + if(!dataNode["TaskId"].isNull()) + data_.taskId = dataNode["TaskId"].asString(); + auto allRulesNode = dataNode["Rules"]["RuleHitInfo"]; + for (auto dataNodeRulesRuleHitInfo : allRulesNode) + { + Data::RuleHitInfo ruleHitInfoObject; + if(!dataNodeRulesRuleHitInfo["Rid"].isNull()) + ruleHitInfoObject.rid = dataNodeRulesRuleHitInfo["Rid"].asString(); + if(!dataNodeRulesRuleHitInfo["RuleName"].isNull()) + ruleHitInfoObject.ruleName = dataNodeRulesRuleHitInfo["RuleName"].asString(); + auto allHitNode = dataNodeRulesRuleHitInfo["Hit"]["ConditionHitInfo"]; + for (auto dataNodeRulesRuleHitInfoHitConditionHitInfo : allHitNode) + { + Data::RuleHitInfo::ConditionHitInfo hitObject; + auto allHitKeyWordsNode = dataNodeRulesRuleHitInfoHitConditionHitInfo["HitKeyWords"]["HitKeyWord"]; + for (auto dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord : allHitKeyWordsNode) + { + Data::RuleHitInfo::ConditionHitInfo::HitKeyWord hitKeyWordsObject; + if(!dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Val"].isNull()) + hitKeyWordsObject.val = dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Val"].asString(); + if(!dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Pid"].isNull()) + hitKeyWordsObject.pid = std::stoi(dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Pid"].asString()); + if(!dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["From"].isNull()) + hitKeyWordsObject.from = std::stoi(dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["From"].asString()); + if(!dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["To"].isNull()) + hitKeyWordsObject.to = std::stoi(dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["To"].asString()); + if(!dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Cid"].isNull()) + hitKeyWordsObject.cid = std::stoi(dataNodeRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Cid"].asString()); + hitObject.hitKeyWords.push_back(hitKeyWordsObject); + } + auto phraseNode = value["Phrase"]; + if(!phraseNode["Role"].isNull()) + hitObject.phrase.role = phraseNode["Role"].asString(); + if(!phraseNode["Identity"].isNull()) + hitObject.phrase.identity = phraseNode["Identity"].asString(); + if(!phraseNode["Words"].isNull()) + hitObject.phrase.words = phraseNode["Words"].asString(); + if(!phraseNode["Begin"].isNull()) + hitObject.phrase.begin = std::stol(phraseNode["Begin"].asString()); + if(!phraseNode["End"].isNull()) + hitObject.phrase.end = std::stol(phraseNode["End"].asString()); + if(!phraseNode["EmotionValue"].isNull()) + hitObject.phrase.emotionValue = std::stoi(phraseNode["EmotionValue"].asString()); + if(!phraseNode["SpeechRate"].isNull()) + hitObject.phrase.speechRate = std::stoi(phraseNode["SpeechRate"].asString()); + if(!phraseNode["SilenceDuration"].isNull()) + hitObject.phrase.silenceDuration = std::stoi(phraseNode["SilenceDuration"].asString()); + ruleHitInfoObject.hit.push_back(hitObject); + } + data_.rules.push_back(ruleHitInfoObject); + } + 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 SyncQualityCheckResult::getMessage()const +{ + return message_; +} + +SyncQualityCheckResult::Data SyncQualityCheckResult::getData()const +{ + return data_; +} + +std::string SyncQualityCheckResult::getCode()const +{ + return code_; +} + +bool SyncQualityCheckResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateAsrVocabRequest.cc b/qualitycheck/src/model/UpdateAsrVocabRequest.cc new file mode 100644 index 000000000..334f09820 --- /dev/null +++ b/qualitycheck/src/model/UpdateAsrVocabRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateAsrVocabRequest; + +UpdateAsrVocabRequest::UpdateAsrVocabRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateAsrVocab") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateAsrVocabRequest::~UpdateAsrVocabRequest() +{} + +long UpdateAsrVocabRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateAsrVocabRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateAsrVocabRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateAsrVocabRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateAsrVocabRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateAsrVocabRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateAsrVocabResult.cc b/qualitycheck/src/model/UpdateAsrVocabResult.cc new file mode 100644 index 000000000..36bd37970 --- /dev/null +++ b/qualitycheck/src/model/UpdateAsrVocabResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateAsrVocabResult::UpdateAsrVocabResult() : + ServiceResult() +{} + +UpdateAsrVocabResult::UpdateAsrVocabResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateAsrVocabResult::~UpdateAsrVocabResult() +{} + +void UpdateAsrVocabResult::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 UpdateAsrVocabResult::getMessage()const +{ + return message_; +} + +std::string UpdateAsrVocabResult::getData()const +{ + return data_; +} + +std::string UpdateAsrVocabResult::getCode()const +{ + return code_; +} + +bool UpdateAsrVocabResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateRuleForAntRequest.cc b/qualitycheck/src/model/UpdateRuleForAntRequest.cc new file mode 100644 index 000000000..242f645d4 --- /dev/null +++ b/qualitycheck/src/model/UpdateRuleForAntRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/UpdateRuleForAntResult.cc b/qualitycheck/src/model/UpdateRuleForAntResult.cc new file mode 100644 index 000000000..abe28e28d --- /dev/null +++ b/qualitycheck/src/model/UpdateRuleForAntResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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 UpdateRuleForAntResult::getData()const +{ + return data_; +} + +std::string UpdateRuleForAntResult::getCode()const +{ + return code_; +} + +bool UpdateRuleForAntResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateRuleRequest.cc b/qualitycheck/src/model/UpdateRuleRequest.cc new file mode 100644 index 000000000..a101187d0 --- /dev/null +++ b/qualitycheck/src/model/UpdateRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateRuleRequest; + +UpdateRuleRequest::UpdateRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateRule") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateRuleRequest::~UpdateRuleRequest() +{} + +long UpdateRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateRuleResult.cc b/qualitycheck/src/model/UpdateRuleResult.cc new file mode 100644 index 000000000..841343573 --- /dev/null +++ b/qualitycheck/src/model/UpdateRuleResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateRuleResult::UpdateRuleResult() : + ServiceResult() +{} + +UpdateRuleResult::UpdateRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateRuleResult::~UpdateRuleResult() +{} + +void UpdateRuleResult::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 UpdateRuleResult::getMessage()const +{ + return message_; +} + +std::string UpdateRuleResult::getData()const +{ + return data_; +} + +std::string UpdateRuleResult::getCode()const +{ + return code_; +} + +bool UpdateRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateScoreForApiRequest.cc b/qualitycheck/src/model/UpdateScoreForApiRequest.cc new file mode 100644 index 000000000..2500e5e56 --- /dev/null +++ b/qualitycheck/src/model/UpdateScoreForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateScoreForApiRequest; + +UpdateScoreForApiRequest::UpdateScoreForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateScoreForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateScoreForApiRequest::~UpdateScoreForApiRequest() +{} + +long UpdateScoreForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateScoreForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateScoreForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateScoreForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateScoreForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateScoreForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateScoreForApiResult.cc b/qualitycheck/src/model/UpdateScoreForApiResult.cc new file mode 100644 index 000000000..2ece6ba23 --- /dev/null +++ b/qualitycheck/src/model/UpdateScoreForApiResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateScoreForApiResult::UpdateScoreForApiResult() : + ServiceResult() +{} + +UpdateScoreForApiResult::UpdateScoreForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateScoreForApiResult::~UpdateScoreForApiResult() +{} + +void UpdateScoreForApiResult::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 UpdateScoreForApiResult::getMessage()const +{ + return message_; +} + +std::string UpdateScoreForApiResult::getCode()const +{ + return code_; +} + +bool UpdateScoreForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateSkillGroupConfigRequest.cc b/qualitycheck/src/model/UpdateSkillGroupConfigRequest.cc new file mode 100644 index 000000000..a324dc7db --- /dev/null +++ b/qualitycheck/src/model/UpdateSkillGroupConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateSkillGroupConfigRequest; + +UpdateSkillGroupConfigRequest::UpdateSkillGroupConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateSkillGroupConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateSkillGroupConfigRequest::~UpdateSkillGroupConfigRequest() +{} + +long UpdateSkillGroupConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateSkillGroupConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateSkillGroupConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateSkillGroupConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateSkillGroupConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateSkillGroupConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateSkillGroupConfigResult.cc b/qualitycheck/src/model/UpdateSkillGroupConfigResult.cc new file mode 100644 index 000000000..670a96515 --- /dev/null +++ b/qualitycheck/src/model/UpdateSkillGroupConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateSkillGroupConfigResult::UpdateSkillGroupConfigResult() : + ServiceResult() +{} + +UpdateSkillGroupConfigResult::UpdateSkillGroupConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSkillGroupConfigResult::~UpdateSkillGroupConfigResult() +{} + +void UpdateSkillGroupConfigResult::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 UpdateSkillGroupConfigResult::getMessage()const +{ + return message_; +} + +std::string UpdateSkillGroupConfigResult::getCode()const +{ + return code_; +} + +bool UpdateSkillGroupConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateSubScoreForApiRequest.cc b/qualitycheck/src/model/UpdateSubScoreForApiRequest.cc new file mode 100644 index 000000000..f77193c73 --- /dev/null +++ b/qualitycheck/src/model/UpdateSubScoreForApiRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateSubScoreForApiRequest; + +UpdateSubScoreForApiRequest::UpdateSubScoreForApiRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateSubScoreForApi") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateSubScoreForApiRequest::~UpdateSubScoreForApiRequest() +{} + +long UpdateSubScoreForApiRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateSubScoreForApiRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateSubScoreForApiRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateSubScoreForApiRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateSubScoreForApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateSubScoreForApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateSubScoreForApiResult.cc b/qualitycheck/src/model/UpdateSubScoreForApiResult.cc new file mode 100644 index 000000000..6053a06c3 --- /dev/null +++ b/qualitycheck/src/model/UpdateSubScoreForApiResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateSubScoreForApiResult::UpdateSubScoreForApiResult() : + ServiceResult() +{} + +UpdateSubScoreForApiResult::UpdateSubScoreForApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSubScoreForApiResult::~UpdateSubScoreForApiResult() +{} + +void UpdateSubScoreForApiResult::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 UpdateSubScoreForApiResult::getMessage()const +{ + return message_; +} + +std::string UpdateSubScoreForApiResult::getCode()const +{ + return code_; +} + +bool UpdateSubScoreForApiResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateSyncQualityCheckDataRequest.cc b/qualitycheck/src/model/UpdateSyncQualityCheckDataRequest.cc new file mode 100644 index 000000000..bca8047e5 --- /dev/null +++ b/qualitycheck/src/model/UpdateSyncQualityCheckDataRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateSyncQualityCheckDataRequest; + +UpdateSyncQualityCheckDataRequest::UpdateSyncQualityCheckDataRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateSyncQualityCheckData") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateSyncQualityCheckDataRequest::~UpdateSyncQualityCheckDataRequest() +{} + +long UpdateSyncQualityCheckDataRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateSyncQualityCheckDataRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateSyncQualityCheckDataRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateSyncQualityCheckDataRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateSyncQualityCheckDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateSyncQualityCheckDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateSyncQualityCheckDataResult.cc b/qualitycheck/src/model/UpdateSyncQualityCheckDataResult.cc new file mode 100644 index 000000000..474392413 --- /dev/null +++ b/qualitycheck/src/model/UpdateSyncQualityCheckDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateSyncQualityCheckDataResult::UpdateSyncQualityCheckDataResult() : + ServiceResult() +{} + +UpdateSyncQualityCheckDataResult::UpdateSyncQualityCheckDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSyncQualityCheckDataResult::~UpdateSyncQualityCheckDataResult() +{} + +void UpdateSyncQualityCheckDataResult::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["Tid"].isNull()) + data_.tid = dataNode["Tid"].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 UpdateSyncQualityCheckDataResult::getMessage()const +{ + return message_; +} + +UpdateSyncQualityCheckDataResult::Data UpdateSyncQualityCheckDataResult::getData()const +{ + return data_; +} + +std::string UpdateSyncQualityCheckDataResult::getCode()const +{ + return code_; +} + +bool UpdateSyncQualityCheckDataResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateTaskAssignRuleRequest.cc b/qualitycheck/src/model/UpdateTaskAssignRuleRequest.cc new file mode 100644 index 000000000..a773cec52 --- /dev/null +++ b/qualitycheck/src/model/UpdateTaskAssignRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateTaskAssignRuleRequest; + +UpdateTaskAssignRuleRequest::UpdateTaskAssignRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateTaskAssignRule") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateTaskAssignRuleRequest::~UpdateTaskAssignRuleRequest() +{} + +long UpdateTaskAssignRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateTaskAssignRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateTaskAssignRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateTaskAssignRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateTaskAssignRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateTaskAssignRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateTaskAssignRuleResult.cc b/qualitycheck/src/model/UpdateTaskAssignRuleResult.cc new file mode 100644 index 000000000..5fd1c2488 --- /dev/null +++ b/qualitycheck/src/model/UpdateTaskAssignRuleResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateTaskAssignRuleResult::UpdateTaskAssignRuleResult() : + ServiceResult() +{} + +UpdateTaskAssignRuleResult::UpdateTaskAssignRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTaskAssignRuleResult::~UpdateTaskAssignRuleResult() +{} + +void UpdateTaskAssignRuleResult::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 UpdateTaskAssignRuleResult::getMessage()const +{ + return message_; +} + +std::string UpdateTaskAssignRuleResult::getCode()const +{ + return code_; +} + +bool UpdateTaskAssignRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateUserConfigRequest.cc b/qualitycheck/src/model/UpdateUserConfigRequest.cc new file mode 100644 index 000000000..97787fc65 --- /dev/null +++ b/qualitycheck/src/model/UpdateUserConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateUserConfigRequest; + +UpdateUserConfigRequest::UpdateUserConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateUserConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserConfigRequest::~UpdateUserConfigRequest() +{} + +long UpdateUserConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateUserConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateUserConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateUserConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateUserConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateUserConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateUserConfigResult.cc b/qualitycheck/src/model/UpdateUserConfigResult.cc new file mode 100644 index 000000000..fbf7f1e39 --- /dev/null +++ b/qualitycheck/src/model/UpdateUserConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateUserConfigResult::UpdateUserConfigResult() : + ServiceResult() +{} + +UpdateUserConfigResult::UpdateUserConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserConfigResult::~UpdateUserConfigResult() +{} + +void UpdateUserConfigResult::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 UpdateUserConfigResult::getMessage()const +{ + return message_; +} + +std::string UpdateUserConfigResult::getCode()const +{ + return code_; +} + +bool UpdateUserConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateUserRequest.cc b/qualitycheck/src/model/UpdateUserRequest.cc new file mode 100644 index 000000000..cd80bec46 --- /dev/null +++ b/qualitycheck/src/model/UpdateUserRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateUserRequest; + +UpdateUserRequest::UpdateUserRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateUser") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserRequest::~UpdateUserRequest() +{} + +long UpdateUserRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateUserRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateUserRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateUserRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateUserRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateUserRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateUserResult.cc b/qualitycheck/src/model/UpdateUserResult.cc new file mode 100644 index 000000000..4b345c57b --- /dev/null +++ b/qualitycheck/src/model/UpdateUserResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateUserResult::UpdateUserResult() : + ServiceResult() +{} + +UpdateUserResult::UpdateUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserResult::~UpdateUserResult() +{} + +void UpdateUserResult::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 UpdateUserResult::getMessage()const +{ + return message_; +} + +std::string UpdateUserResult::getCode()const +{ + return code_; +} + +bool UpdateUserResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UpdateWarningConfigRequest.cc b/qualitycheck/src/model/UpdateWarningConfigRequest.cc new file mode 100644 index 000000000..d48dc0d2e --- /dev/null +++ b/qualitycheck/src/model/UpdateWarningConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UpdateWarningConfigRequest; + +UpdateWarningConfigRequest::UpdateWarningConfigRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateWarningConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateWarningConfigRequest::~UpdateWarningConfigRequest() +{} + +long UpdateWarningConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateWarningConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateWarningConfigRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UpdateWarningConfigRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UpdateWarningConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateWarningConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UpdateWarningConfigResult.cc b/qualitycheck/src/model/UpdateWarningConfigResult.cc new file mode 100644 index 000000000..c87689e22 --- /dev/null +++ b/qualitycheck/src/model/UpdateWarningConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UpdateWarningConfigResult::UpdateWarningConfigResult() : + ServiceResult() +{} + +UpdateWarningConfigResult::UpdateWarningConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWarningConfigResult::~UpdateWarningConfigResult() +{} + +void UpdateWarningConfigResult::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 UpdateWarningConfigResult::getMessage()const +{ + return message_; +} + +std::string UpdateWarningConfigResult::getCode()const +{ + return code_; +} + +bool UpdateWarningConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UploadAudioDataRequest.cc b/qualitycheck/src/model/UploadAudioDataRequest.cc new file mode 100644 index 000000000..e62e7e7df --- /dev/null +++ b/qualitycheck/src/model/UploadAudioDataRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UploadAudioDataRequest; + +UploadAudioDataRequest::UploadAudioDataRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UploadAudioData") +{ + setMethod(HttpRequest::Method::Post); +} + +UploadAudioDataRequest::~UploadAudioDataRequest() +{} + +long UploadAudioDataRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UploadAudioDataRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UploadAudioDataRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UploadAudioDataRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UploadAudioDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UploadAudioDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UploadAudioDataResult.cc b/qualitycheck/src/model/UploadAudioDataResult.cc new file mode 100644 index 000000000..d264abcf6 --- /dev/null +++ b/qualitycheck/src/model/UploadAudioDataResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UploadAudioDataResult::UploadAudioDataResult() : + ServiceResult() +{} + +UploadAudioDataResult::UploadAudioDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadAudioDataResult::~UploadAudioDataResult() +{} + +void UploadAudioDataResult::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 UploadAudioDataResult::getMessage()const +{ + return message_; +} + +std::string UploadAudioDataResult::getData()const +{ + return data_; +} + +std::string UploadAudioDataResult::getCode()const +{ + return code_; +} + +bool UploadAudioDataResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UploadDataRequest.cc b/qualitycheck/src/model/UploadDataRequest.cc new file mode 100644 index 000000000..e06df465b --- /dev/null +++ b/qualitycheck/src/model/UploadDataRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UploadDataRequest; + +UploadDataRequest::UploadDataRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UploadData") +{ + setMethod(HttpRequest::Method::Post); +} + +UploadDataRequest::~UploadDataRequest() +{} + +long UploadDataRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UploadDataRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UploadDataRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UploadDataRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UploadDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UploadDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UploadDataResult.cc b/qualitycheck/src/model/UploadDataResult.cc new file mode 100644 index 000000000..ab60f91a6 --- /dev/null +++ b/qualitycheck/src/model/UploadDataResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UploadDataResult::UploadDataResult() : + ServiceResult() +{} + +UploadDataResult::UploadDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadDataResult::~UploadDataResult() +{} + +void UploadDataResult::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 UploadDataResult::getMessage()const +{ + return message_; +} + +std::string UploadDataResult::getData()const +{ + return data_; +} + +std::string UploadDataResult::getCode()const +{ + return code_; +} + +bool UploadDataResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UploadDataSyncRequest.cc b/qualitycheck/src/model/UploadDataSyncRequest.cc new file mode 100644 index 000000000..f389d465f --- /dev/null +++ b/qualitycheck/src/model/UploadDataSyncRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UploadDataSyncRequest; + +UploadDataSyncRequest::UploadDataSyncRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UploadDataSync") +{ + setMethod(HttpRequest::Method::Post); +} + +UploadDataSyncRequest::~UploadDataSyncRequest() +{} + +long UploadDataSyncRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UploadDataSyncRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UploadDataSyncRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UploadDataSyncRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UploadDataSyncRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UploadDataSyncRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UploadDataSyncResult.cc b/qualitycheck/src/model/UploadDataSyncResult.cc new file mode 100644 index 000000000..11b7bbd2d --- /dev/null +++ b/qualitycheck/src/model/UploadDataSyncResult.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UploadDataSyncResult::UploadDataSyncResult() : + ServiceResult() +{} + +UploadDataSyncResult::UploadDataSyncResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadDataSyncResult::~UploadDataSyncResult() +{} + +void UploadDataSyncResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ResultInfo"]; + for (auto valueDataResultInfo : allDataNode) + { + ResultInfo dataObject; + if(!valueDataResultInfo["Score"].isNull()) + dataObject.score = std::stoi(valueDataResultInfo["Score"].asString()); + auto allRulesNode = valueDataResultInfo["Rules"]["RuleHitInfo"]; + for (auto valueDataResultInfoRulesRuleHitInfo : allRulesNode) + { + ResultInfo::RuleHitInfo rulesObject; + if(!valueDataResultInfoRulesRuleHitInfo["Rid"].isNull()) + rulesObject.rid = valueDataResultInfoRulesRuleHitInfo["Rid"].asString(); + if(!valueDataResultInfoRulesRuleHitInfo["Tid"].isNull()) + rulesObject.tid = valueDataResultInfoRulesRuleHitInfo["Tid"].asString(); + auto allHitNode = valueDataResultInfoRulesRuleHitInfo["Hit"]["ConditionHitInfo"]; + for (auto valueDataResultInfoRulesRuleHitInfoHitConditionHitInfo : allHitNode) + { + ResultInfo::RuleHitInfo::ConditionHitInfo hitObject; + auto allHitKeyWordsNode = valueDataResultInfoRulesRuleHitInfoHitConditionHitInfo["HitKeyWords"]["HitKeyWord"]; + for (auto valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord : allHitKeyWordsNode) + { + ResultInfo::RuleHitInfo::ConditionHitInfo::HitKeyWord hitKeyWordsObject; + if(!valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Val"].isNull()) + hitKeyWordsObject.val = valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Val"].asString(); + if(!valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Pid"].isNull()) + hitKeyWordsObject.pid = std::stoi(valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Pid"].asString()); + if(!valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["From"].isNull()) + hitKeyWordsObject.from = std::stoi(valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["From"].asString()); + if(!valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["To"].isNull()) + hitKeyWordsObject.to = std::stoi(valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["To"].asString()); + if(!valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Tid"].isNull()) + hitKeyWordsObject.tid = valueDataResultInfoRulesRuleHitInfoHitConditionHitInfoHitKeyWordsHitKeyWord["Tid"].asString(); + hitObject.hitKeyWords.push_back(hitKeyWordsObject); + } + auto phraseNode = value["Phrase"]; + if(!phraseNode["Role"].isNull()) + hitObject.phrase.role = phraseNode["Role"].asString(); + if(!phraseNode["Identity"].isNull()) + hitObject.phrase.identity = phraseNode["Identity"].asString(); + if(!phraseNode["Words"].isNull()) + hitObject.phrase.words = phraseNode["Words"].asString(); + if(!phraseNode["Begin"].isNull()) + hitObject.phrase.begin = std::stol(phraseNode["Begin"].asString()); + if(!phraseNode["End"].isNull()) + hitObject.phrase.end = std::stol(phraseNode["End"].asString()); + if(!phraseNode["BeginTime"].isNull()) + hitObject.phrase.beginTime = phraseNode["BeginTime"].asString(); + auto allHitCids = value["HitCids"]["CidItem"]; + for (auto value : allHitCids) + hitObject.hitCids.push_back(value.asString()); + rulesObject.hit.push_back(hitObject); + } + auto allConditionInfoNode = valueDataResultInfoRulesRuleHitInfo["ConditionInfo"]["ConditionBasicInfo"]; + for (auto valueDataResultInfoRulesRuleHitInfoConditionInfoConditionBasicInfo : allConditionInfoNode) + { + ResultInfo::RuleHitInfo::ConditionBasicInfo conditionInfoObject; + if(!valueDataResultInfoRulesRuleHitInfoConditionInfoConditionBasicInfo["ConditionInfoCid"].isNull()) + conditionInfoObject.conditionInfoCid = valueDataResultInfoRulesRuleHitInfoConditionInfoConditionBasicInfo["ConditionInfoCid"].asString(); + rulesObject.conditionInfo.push_back(conditionInfoObject); + } + dataObject.rules.push_back(rulesObject); + } + auto allHandScoreIdList = value["HandScoreIdList"]["HandScoreIdList"]; + for (auto value : allHandScoreIdList) + dataObject.handScoreIdList.push_back(value.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 UploadDataSyncResult::getMessage()const +{ + return message_; +} + +std::vector UploadDataSyncResult::getData()const +{ + return data_; +} + +std::string UploadDataSyncResult::getCode()const +{ + return code_; +} + +bool UploadDataSyncResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/UploadRuleRequest.cc b/qualitycheck/src/model/UploadRuleRequest.cc new file mode 100644 index 000000000..2745f68e3 --- /dev/null +++ b/qualitycheck/src/model/UploadRuleRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::UploadRuleRequest; + +UploadRuleRequest::UploadRuleRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "UploadRule") +{ + setMethod(HttpRequest::Method::Post); +} + +UploadRuleRequest::~UploadRuleRequest() +{} + +long UploadRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UploadRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UploadRuleRequest::getJsonStr()const +{ + return jsonStr_; +} + +void UploadRuleRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string UploadRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UploadRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/UploadRuleResult.cc b/qualitycheck/src/model/UploadRuleResult.cc new file mode 100644 index 000000000..771e19f02 --- /dev/null +++ b/qualitycheck/src/model/UploadRuleResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +UploadRuleResult::UploadRuleResult() : + ServiceResult() +{} + +UploadRuleResult::UploadRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadRuleResult::~UploadRuleResult() +{} + +void UploadRuleResult::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 UploadRuleResult::getMessage()const +{ + return message_; +} + +std::vector UploadRuleResult::getData()const +{ + return data_; +} + +std::string UploadRuleResult::getCode()const +{ + return code_; +} + +bool UploadRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/ValidateRoleSetRequest.cc b/qualitycheck/src/model/ValidateRoleSetRequest.cc new file mode 100644 index 000000000..51f3f49dd --- /dev/null +++ b/qualitycheck/src/model/ValidateRoleSetRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::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); +} + diff --git a/qualitycheck/src/model/ValidateRoleSetResult.cc b/qualitycheck/src/model/ValidateRoleSetResult.cc new file mode 100644 index 000000000..ea42c590d --- /dev/null +++ b/qualitycheck/src/model/ValidateRoleSetResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::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::getData()const +{ + return data_; +} + +std::string ValidateRoleSetResult::getCode()const +{ + return code_; +} + +bool ValidateRoleSetResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/VerifyFileRequest.cc b/qualitycheck/src/model/VerifyFileRequest.cc new file mode 100644 index 000000000..c26d03268 --- /dev/null +++ b/qualitycheck/src/model/VerifyFileRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::VerifyFileRequest; + +VerifyFileRequest::VerifyFileRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "VerifyFile") +{ + setMethod(HttpRequest::Method::Post); +} + +VerifyFileRequest::~VerifyFileRequest() +{} + +long VerifyFileRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void VerifyFileRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string VerifyFileRequest::getJsonStr()const +{ + return jsonStr_; +} + +void VerifyFileRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string VerifyFileRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void VerifyFileRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/VerifyFileResult.cc b/qualitycheck/src/model/VerifyFileResult.cc new file mode 100644 index 000000000..23eeb96c4 --- /dev/null +++ b/qualitycheck/src/model/VerifyFileResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +VerifyFileResult::VerifyFileResult() : + ServiceResult() +{} + +VerifyFileResult::VerifyFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyFileResult::~VerifyFileResult() +{} + +void VerifyFileResult::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_ = std::stof(value["Data"].asString()); + +} + +std::string VerifyFileResult::getMessage()const +{ + return message_; +} + +float VerifyFileResult::getData()const +{ + return data_; +} + +std::string VerifyFileResult::getCode()const +{ + return code_; +} + +bool VerifyFileResult::getSuccess()const +{ + return success_; +} + diff --git a/qualitycheck/src/model/VerifySentenceRequest.cc b/qualitycheck/src/model/VerifySentenceRequest.cc new file mode 100644 index 000000000..6d92be5e0 --- /dev/null +++ b/qualitycheck/src/model/VerifySentenceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Qualitycheck::Model::VerifySentenceRequest; + +VerifySentenceRequest::VerifySentenceRequest() : + RpcServiceRequest("qualitycheck", "2019-01-15", "VerifySentence") +{ + setMethod(HttpRequest::Method::Post); +} + +VerifySentenceRequest::~VerifySentenceRequest() +{} + +long VerifySentenceRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void VerifySentenceRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string VerifySentenceRequest::getJsonStr()const +{ + return jsonStr_; +} + +void VerifySentenceRequest::setJsonStr(const std::string& jsonStr) +{ + jsonStr_ = jsonStr; + setParameter("JsonStr", jsonStr); +} + +std::string VerifySentenceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void VerifySentenceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/qualitycheck/src/model/VerifySentenceResult.cc b/qualitycheck/src/model/VerifySentenceResult.cc new file mode 100644 index 000000000..3fd6d98f3 --- /dev/null +++ b/qualitycheck/src/model/VerifySentenceResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Qualitycheck; +using namespace AlibabaCloud::Qualitycheck::Model; + +VerifySentenceResult::VerifySentenceResult() : + ServiceResult() +{} + +VerifySentenceResult::VerifySentenceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifySentenceResult::~VerifySentenceResult() +{} + +void VerifySentenceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Delta"]; + for (auto valueDataDelta : allDataNode) + { + Delta dataObject; + if(!valueDataDelta["Type"].isNull()) + dataObject.type = valueDataDelta["Type"].asString(); + auto sourceNode = value["Source"]; + if(!sourceNode["Position"].isNull()) + dataObject.source.position = std::stoi(sourceNode["Position"].asString()); + auto allLine = sourceNode["Line"]["Line"]; + for (auto value : allLine) + dataObject.source.line.push_back(value.asString()); + auto targetNode = value["Target"]; + if(!targetNode["Position"].isNull()) + dataObject.target.position = std::stoi(targetNode["Position"].asString()); + auto allLine1 = targetNode["Line"]["Line"]; + for (auto value : allLine1) + dataObject.target.line1.push_back(value.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["SourceRole"].isNull()) + sourceRole_ = std::stoi(value["SourceRole"].asString()); + if(!value["TargetRole"].isNull()) + targetRole_ = std::stoi(value["TargetRole"].asString()); + if(!value["IncorrectWords"].isNull()) + incorrectWords_ = std::stoi(value["IncorrectWords"].asString()); + +} + +int VerifySentenceResult::getSourceRole()const +{ + return sourceRole_; +} + +int VerifySentenceResult::getIncorrectWords()const +{ + return incorrectWords_; +} + +std::string VerifySentenceResult::getMessage()const +{ + return message_; +} + +int VerifySentenceResult::getTargetRole()const +{ + return targetRole_; +} + +std::vector VerifySentenceResult::getData()const +{ + return data_; +} + +std::string VerifySentenceResult::getCode()const +{ + return code_; +} + +bool VerifySentenceResult::getSuccess()const +{ + return success_; +} +