MTS SDK Auto Released By shenshi,Version:1.34.25
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -21,24 +21,26 @@ set(mts_public_header
|
||||
include/alibabacloud/mts/MtsExport.h )
|
||||
|
||||
set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/QueryAuthConfigRequest.h
|
||||
include/alibabacloud/mts/model/QueryAuthConfigResult.h
|
||||
include/alibabacloud/mts/model/QuerySnapshotJobListRequest.h
|
||||
include/alibabacloud/mts/model/QuerySnapshotJobListResult.h
|
||||
include/alibabacloud/mts/model/DeleteCategoryRequest.h
|
||||
include/alibabacloud/mts/model/DeleteCategoryResult.h
|
||||
include/alibabacloud/mts/model/QuerySnapshotJobListRequest.h
|
||||
include/alibabacloud/mts/model/QuerySnapshotJobListResult.h
|
||||
include/alibabacloud/mts/model/QueryAuthConfigRequest.h
|
||||
include/alibabacloud/mts/model/QueryAuthConfigResult.h
|
||||
include/alibabacloud/mts/model/QueryTagJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryTagJobListResult.h
|
||||
include/alibabacloud/mts/model/QueryAsrPipelineListRequest.h
|
||||
include/alibabacloud/mts/model/QueryAsrPipelineListResult.h
|
||||
include/alibabacloud/mts/model/SubmitMediaCensorJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitMediaCensorJobResult.h
|
||||
include/alibabacloud/mts/model/CreateSessionRequest.h
|
||||
include/alibabacloud/mts/model/CreateSessionResult.h
|
||||
include/alibabacloud/mts/model/ListAsrPipelineRequest.h
|
||||
include/alibabacloud/mts/model/ListAsrPipelineResult.h
|
||||
include/alibabacloud/mts/model/ListJobRequest.h
|
||||
include/alibabacloud/mts/model/ListJobResult.h
|
||||
include/alibabacloud/mts/model/UpdateMediaPublishStateRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMediaPublishStateResult.h
|
||||
include/alibabacloud/mts/model/ListJobRequest.h
|
||||
include/alibabacloud/mts/model/ListJobResult.h
|
||||
include/alibabacloud/mts/model/ListAsrPipelineRequest.h
|
||||
include/alibabacloud/mts/model/ListAsrPipelineResult.h
|
||||
include/alibabacloud/mts/model/AddMediaTagRequest.h
|
||||
include/alibabacloud/mts/model/AddMediaTagResult.h
|
||||
include/alibabacloud/mts/model/UnbindInputBucketRequest.h
|
||||
@@ -55,6 +57,8 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/CancelJobResult.h
|
||||
include/alibabacloud/mts/model/ReportCensorJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportCensorJobResultResult.h
|
||||
include/alibabacloud/mts/model/DeleteMcuJobRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMcuJobResult.h
|
||||
include/alibabacloud/mts/model/ListAllCategoryRequest.h
|
||||
include/alibabacloud/mts/model/ListAllCategoryResult.h
|
||||
include/alibabacloud/mts/model/CheckResourceRequest.h
|
||||
@@ -65,12 +69,12 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/ReportTerrorismJobResultResult.h
|
||||
include/alibabacloud/mts/model/ListAllMediaBucketRequest.h
|
||||
include/alibabacloud/mts/model/ListAllMediaBucketResult.h
|
||||
include/alibabacloud/mts/model/UnbindOutputBucketRequest.h
|
||||
include/alibabacloud/mts/model/UnbindOutputBucketResult.h
|
||||
include/alibabacloud/mts/model/SearchPipelineRequest.h
|
||||
include/alibabacloud/mts/model/SearchPipelineResult.h
|
||||
include/alibabacloud/mts/model/UpdateMediaCategoryRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMediaCategoryResult.h
|
||||
include/alibabacloud/mts/model/UnbindOutputBucketRequest.h
|
||||
include/alibabacloud/mts/model/UnbindOutputBucketResult.h
|
||||
include/alibabacloud/mts/model/QueryComplexJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryComplexJobListResult.h
|
||||
include/alibabacloud/mts/model/QueryJobListRequest.h
|
||||
@@ -85,10 +89,10 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/QueryFpShotJobListResult.h
|
||||
include/alibabacloud/mts/model/ListMediaWorkflowExecutionsRequest.h
|
||||
include/alibabacloud/mts/model/ListMediaWorkflowExecutionsResult.h
|
||||
include/alibabacloud/mts/model/DeleteMediaTagRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMediaTagResult.h
|
||||
include/alibabacloud/mts/model/DeletePipelineRequest.h
|
||||
include/alibabacloud/mts/model/DeletePipelineResult.h
|
||||
include/alibabacloud/mts/model/DeleteMediaTagRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMediaTagResult.h
|
||||
include/alibabacloud/mts/model/UpdateAsrPipelineRequest.h
|
||||
include/alibabacloud/mts/model/UpdateAsrPipelineResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaDetailJobListRequest.h
|
||||
@@ -97,20 +101,24 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/UpdatePornPipelineResult.h
|
||||
include/alibabacloud/mts/model/DeleteWaterMarkTemplateRequest.h
|
||||
include/alibabacloud/mts/model/DeleteWaterMarkTemplateResult.h
|
||||
include/alibabacloud/mts/model/DecryptKeyRequest.h
|
||||
include/alibabacloud/mts/model/DecryptKeyResult.h
|
||||
include/alibabacloud/mts/model/AddCoverPipelineRequest.h
|
||||
include/alibabacloud/mts/model/AddCoverPipelineResult.h
|
||||
include/alibabacloud/mts/model/DecryptKeyRequest.h
|
||||
include/alibabacloud/mts/model/DecryptKeyResult.h
|
||||
include/alibabacloud/mts/model/DeleteTemplateRequest.h
|
||||
include/alibabacloud/mts/model/DeleteTemplateResult.h
|
||||
include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h
|
||||
include/alibabacloud/mts/model/QueryTemplateListRequest.h
|
||||
include/alibabacloud/mts/model/QueryTemplateListResult.h
|
||||
include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaListByURLRequest.h
|
||||
include/alibabacloud/mts/model/QueryMediaListByURLResult.h
|
||||
include/alibabacloud/mts/model/QueryMCTemplateListRequest.h
|
||||
include/alibabacloud/mts/model/QueryMCTemplateListResult.h
|
||||
include/alibabacloud/mts/model/UpdateMediaRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMediaResult.h
|
||||
include/alibabacloud/mts/model/SubmitMediaFpDeleteJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitMediaFpDeleteJobResult.h
|
||||
include/alibabacloud/mts/model/ListCensorPipelineRequest.h
|
||||
include/alibabacloud/mts/model/ListCensorPipelineResult.h
|
||||
include/alibabacloud/mts/model/QuerySubtitleJobListRequest.h
|
||||
@@ -121,44 +129,62 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/QueryVideoGifJobListResult.h
|
||||
include/alibabacloud/mts/model/PhysicalDeleteResourceRequest.h
|
||||
include/alibabacloud/mts/model/PhysicalDeleteResourceResult.h
|
||||
include/alibabacloud/mts/model/UpdatePipelineRequest.h
|
||||
include/alibabacloud/mts/model/UpdatePipelineResult.h
|
||||
include/alibabacloud/mts/model/DeleteMCTemplateRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMCTemplateResult.h
|
||||
include/alibabacloud/mts/model/QueryEditingJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryEditingJobListResult.h
|
||||
include/alibabacloud/mts/model/UpdatePipelineRequest.h
|
||||
include/alibabacloud/mts/model/UpdatePipelineResult.h
|
||||
include/alibabacloud/mts/model/UpdateMCTemplateRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMCTemplateResult.h
|
||||
include/alibabacloud/mts/model/DeleteMediaRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMediaResult.h
|
||||
include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitImageQualityJobResult.h
|
||||
include/alibabacloud/mts/model/ReportCoverJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportCoverJobResultResult.h
|
||||
include/alibabacloud/mts/model/SearchTemplateRequest.h
|
||||
include/alibabacloud/mts/model/SearchTemplateResult.h
|
||||
include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitImageQualityJobResult.h
|
||||
include/alibabacloud/mts/model/AddMCTemplateRequest.h
|
||||
include/alibabacloud/mts/model/AddMCTemplateResult.h
|
||||
include/alibabacloud/mts/model/BindOutputBucketRequest.h
|
||||
include/alibabacloud/mts/model/BindOutputBucketResult.h
|
||||
include/alibabacloud/mts/model/SearchTemplateRequest.h
|
||||
include/alibabacloud/mts/model/SearchTemplateResult.h
|
||||
include/alibabacloud/mts/model/UpdateMcuTemplateRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMcuTemplateResult.h
|
||||
include/alibabacloud/mts/model/QueryMCJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryMCJobListResult.h
|
||||
include/alibabacloud/mts/model/AddPipelineRequest.h
|
||||
include/alibabacloud/mts/model/AddPipelineResult.h
|
||||
include/alibabacloud/mts/model/SubmitFacerecogJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitFacerecogJobResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaListRequest.h
|
||||
include/alibabacloud/mts/model/QueryMediaListResult.h
|
||||
include/alibabacloud/mts/model/SubmitMediaInfoJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitMediaInfoJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitEditingJobsRequest.h
|
||||
include/alibabacloud/mts/model/SubmitEditingJobsResult.h
|
||||
include/alibabacloud/mts/model/SubmitMediaInfoJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitMediaInfoJobResult.h
|
||||
include/alibabacloud/mts/model/QueryPornJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryPornJobListResult.h
|
||||
include/alibabacloud/mts/model/ReportVideoSplitJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportVideoSplitJobResultResult.h
|
||||
include/alibabacloud/mts/model/UpdateCategoryNameRequest.h
|
||||
include/alibabacloud/mts/model/UpdateCategoryNameResult.h
|
||||
include/alibabacloud/mts/model/QueryPornJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryPornJobListResult.h
|
||||
include/alibabacloud/mts/model/DeleteMediaWorkflowRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMediaWorkflowResult.h
|
||||
include/alibabacloud/mts/model/QueryMcuJobRequest.h
|
||||
include/alibabacloud/mts/model/QueryMcuJobResult.h
|
||||
include/alibabacloud/mts/model/ListCoverPipelineRequest.h
|
||||
include/alibabacloud/mts/model/ListCoverPipelineResult.h
|
||||
include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaCensorJobDetailRequest.h
|
||||
include/alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h
|
||||
include/alibabacloud/mts/model/CreateMcuTemplateRequest.h
|
||||
include/alibabacloud/mts/model/CreateMcuTemplateResult.h
|
||||
include/alibabacloud/mts/model/QueryImageSearchJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryImageSearchJobListResult.h
|
||||
include/alibabacloud/mts/model/ReportFpShotJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportFpShotJobResultResult.h
|
||||
include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitVideoGifJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitVideoGifJobResult.h
|
||||
include/alibabacloud/mts/model/QueryAnnotationJobListRequest.h
|
||||
@@ -167,16 +193,22 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/SubmitMediaDetailJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitPornJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitPornJobResult.h
|
||||
include/alibabacloud/mts/model/QueryFpImportResultRequest.h
|
||||
include/alibabacloud/mts/model/QueryFpImportResultResult.h
|
||||
include/alibabacloud/mts/model/SubmitMCJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitMCJobResult.h
|
||||
include/alibabacloud/mts/model/AddTemplateRequest.h
|
||||
include/alibabacloud/mts/model/AddTemplateResult.h
|
||||
include/alibabacloud/mts/model/ReportPornJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportPornJobResultResult.h
|
||||
include/alibabacloud/mts/model/QueryWaterMarkTemplateListRequest.h
|
||||
include/alibabacloud/mts/model/QueryWaterMarkTemplateListResult.h
|
||||
include/alibabacloud/mts/model/ReportPornJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportPornJobResultResult.h
|
||||
include/alibabacloud/mts/model/UpdateMediaWorkflowRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMediaWorkflowResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaInfoJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryMediaInfoJobListResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryMediaFpDeleteJobListResult.h
|
||||
include/alibabacloud/mts/model/QueryMediaWorkflowListRequest.h
|
||||
include/alibabacloud/mts/model/QueryMediaWorkflowListResult.h
|
||||
include/alibabacloud/mts/model/ReportTagJobResultRequest.h
|
||||
@@ -185,12 +217,10 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/AddPornPipelineResult.h
|
||||
include/alibabacloud/mts/model/GetLicenseRequest.h
|
||||
include/alibabacloud/mts/model/GetLicenseResult.h
|
||||
include/alibabacloud/mts/model/QueryPornPipelineListRequest.h
|
||||
include/alibabacloud/mts/model/QueryPornPipelineListResult.h
|
||||
include/alibabacloud/mts/model/QueryVideoSummaryJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryVideoSummaryJobListResult.h
|
||||
include/alibabacloud/mts/model/SubmitCensorJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitCensorJobResult.h
|
||||
include/alibabacloud/mts/model/QueryPornPipelineListRequest.h
|
||||
include/alibabacloud/mts/model/QueryPornPipelineListResult.h
|
||||
include/alibabacloud/mts/model/QueryTerrorismJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryTerrorismJobListResult.h
|
||||
include/alibabacloud/mts/model/SubmitJobsRequest.h
|
||||
@@ -205,6 +235,10 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/GetPackageResult.h
|
||||
include/alibabacloud/mts/model/UpdateWaterMarkTemplateRequest.h
|
||||
include/alibabacloud/mts/model/UpdateWaterMarkTemplateResult.h
|
||||
include/alibabacloud/mts/model/SubmitImageSearchJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitImageSearchJobResult.h
|
||||
include/alibabacloud/mts/model/QueryMcuTemplateRequest.h
|
||||
include/alibabacloud/mts/model/QueryMcuTemplateResult.h
|
||||
include/alibabacloud/mts/model/UpdateMediaWorkflowTriggerModeRequest.h
|
||||
include/alibabacloud/mts/model/UpdateMediaWorkflowTriggerModeResult.h
|
||||
include/alibabacloud/mts/model/SearchMediaRequest.h
|
||||
@@ -227,30 +261,34 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/QueryFacerecogJobListResult.h
|
||||
include/alibabacloud/mts/model/AddMediaRequest.h
|
||||
include/alibabacloud/mts/model/AddMediaResult.h
|
||||
include/alibabacloud/mts/model/DeleteMcuTemplateRequest.h
|
||||
include/alibabacloud/mts/model/DeleteMcuTemplateResult.h
|
||||
include/alibabacloud/mts/model/SubmitAnnotationJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitAnnotationJobResult.h
|
||||
include/alibabacloud/mts/model/ReportMediaDetailJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportMediaDetailJobResultResult.h
|
||||
include/alibabacloud/mts/model/RegisterMediaDetailScenarioRequest.h
|
||||
include/alibabacloud/mts/model/RegisterMediaDetailScenarioResult.h
|
||||
include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h
|
||||
include/alibabacloud/mts/model/ReportAnnotationJobResultRequest.h
|
||||
include/alibabacloud/mts/model/ReportAnnotationJobResultResult.h
|
||||
include/alibabacloud/mts/model/ListPornPipelineRequest.h
|
||||
include/alibabacloud/mts/model/ListPornPipelineResult.h
|
||||
include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h
|
||||
include/alibabacloud/mts/model/BindInputBucketRequest.h
|
||||
include/alibabacloud/mts/model/BindInputBucketResult.h
|
||||
include/alibabacloud/mts/model/AddTerrorismPipelineRequest.h
|
||||
include/alibabacloud/mts/model/AddTerrorismPipelineResult.h
|
||||
include/alibabacloud/mts/model/UpdateTemplateRequest.h
|
||||
include/alibabacloud/mts/model/UpdateTemplateResult.h
|
||||
include/alibabacloud/mts/model/QueryPipelineListRequest.h
|
||||
include/alibabacloud/mts/model/QueryPipelineListResult.h
|
||||
include/alibabacloud/mts/model/UpdateTemplateRequest.h
|
||||
include/alibabacloud/mts/model/UpdateTemplateResult.h
|
||||
include/alibabacloud/mts/model/UpdateCoverPipelineRequest.h
|
||||
include/alibabacloud/mts/model/UpdateCoverPipelineResult.h
|
||||
include/alibabacloud/mts/model/UpdateTerrorismPipelineRequest.h
|
||||
include/alibabacloud/mts/model/UpdateTerrorismPipelineResult.h
|
||||
include/alibabacloud/mts/model/QueryVideoPoseJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h
|
||||
include/alibabacloud/mts/model/SubmitAnalysisJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitAnalysisJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitFpShotJobRequest.h
|
||||
@@ -259,28 +297,32 @@ set(mts_public_header_model
|
||||
include/alibabacloud/mts/model/QueryCensorPipelineListResult.h
|
||||
include/alibabacloud/mts/model/SubmitVideoSplitJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitVideoSplitJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitMcuJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitMcuJobResult.h
|
||||
include/alibabacloud/mts/model/CategoryTreeRequest.h
|
||||
include/alibabacloud/mts/model/CategoryTreeResult.h
|
||||
include/alibabacloud/mts/model/SubmitTagJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitTagJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitCoverJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitCoverJobResult.h
|
||||
include/alibabacloud/mts/model/PlayInfoRequest.h
|
||||
include/alibabacloud/mts/model/PlayInfoResult.h
|
||||
include/alibabacloud/mts/model/AddCensorPipelineRequest.h
|
||||
include/alibabacloud/mts/model/AddCensorPipelineResult.h
|
||||
include/alibabacloud/mts/model/SearchWaterMarkTemplateRequest.h
|
||||
include/alibabacloud/mts/model/SearchWaterMarkTemplateResult.h
|
||||
include/alibabacloud/mts/model/AddCensorPipelineRequest.h
|
||||
include/alibabacloud/mts/model/AddCensorPipelineResult.h
|
||||
include/alibabacloud/mts/model/PlayInfoRequest.h
|
||||
include/alibabacloud/mts/model/PlayInfoResult.h
|
||||
include/alibabacloud/mts/model/SubmitAsrJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitAsrJobResult.h
|
||||
include/alibabacloud/mts/model/SubmitSubtitleJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitSubtitleJobResult.h
|
||||
include/alibabacloud/mts/model/AddMediaWorkflowRequest.h
|
||||
include/alibabacloud/mts/model/AddMediaWorkflowResult.h
|
||||
include/alibabacloud/mts/model/QueryCoverJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryCoverJobListResult.h
|
||||
include/alibabacloud/mts/model/AddMediaWorkflowRequest.h
|
||||
include/alibabacloud/mts/model/AddMediaWorkflowResult.h
|
||||
include/alibabacloud/mts/model/QueryAsrJobListRequest.h
|
||||
include/alibabacloud/mts/model/QueryAsrJobListResult.h
|
||||
include/alibabacloud/mts/model/SubmitVideoPoseJobRequest.h
|
||||
include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h
|
||||
include/alibabacloud/mts/model/PlayerAuthRequest.h
|
||||
include/alibabacloud/mts/model/PlayerAuthResult.h
|
||||
include/alibabacloud/mts/model/AddWaterMarkTemplateRequest.h
|
||||
@@ -292,24 +334,26 @@ set(mts_public_header_model
|
||||
|
||||
set(mts_src
|
||||
src/MtsClient.cc
|
||||
src/model/QueryAuthConfigRequest.cc
|
||||
src/model/QueryAuthConfigResult.cc
|
||||
src/model/QuerySnapshotJobListRequest.cc
|
||||
src/model/QuerySnapshotJobListResult.cc
|
||||
src/model/DeleteCategoryRequest.cc
|
||||
src/model/DeleteCategoryResult.cc
|
||||
src/model/QuerySnapshotJobListRequest.cc
|
||||
src/model/QuerySnapshotJobListResult.cc
|
||||
src/model/QueryAuthConfigRequest.cc
|
||||
src/model/QueryAuthConfigResult.cc
|
||||
src/model/QueryTagJobListRequest.cc
|
||||
src/model/QueryTagJobListResult.cc
|
||||
src/model/QueryAsrPipelineListRequest.cc
|
||||
src/model/QueryAsrPipelineListResult.cc
|
||||
src/model/SubmitMediaCensorJobRequest.cc
|
||||
src/model/SubmitMediaCensorJobResult.cc
|
||||
src/model/CreateSessionRequest.cc
|
||||
src/model/CreateSessionResult.cc
|
||||
src/model/ListAsrPipelineRequest.cc
|
||||
src/model/ListAsrPipelineResult.cc
|
||||
src/model/ListJobRequest.cc
|
||||
src/model/ListJobResult.cc
|
||||
src/model/UpdateMediaPublishStateRequest.cc
|
||||
src/model/UpdateMediaPublishStateResult.cc
|
||||
src/model/ListJobRequest.cc
|
||||
src/model/ListJobResult.cc
|
||||
src/model/ListAsrPipelineRequest.cc
|
||||
src/model/ListAsrPipelineResult.cc
|
||||
src/model/AddMediaTagRequest.cc
|
||||
src/model/AddMediaTagResult.cc
|
||||
src/model/UnbindInputBucketRequest.cc
|
||||
@@ -326,6 +370,8 @@ set(mts_src
|
||||
src/model/CancelJobResult.cc
|
||||
src/model/ReportCensorJobResultRequest.cc
|
||||
src/model/ReportCensorJobResultResult.cc
|
||||
src/model/DeleteMcuJobRequest.cc
|
||||
src/model/DeleteMcuJobResult.cc
|
||||
src/model/ListAllCategoryRequest.cc
|
||||
src/model/ListAllCategoryResult.cc
|
||||
src/model/CheckResourceRequest.cc
|
||||
@@ -336,12 +382,12 @@ set(mts_src
|
||||
src/model/ReportTerrorismJobResultResult.cc
|
||||
src/model/ListAllMediaBucketRequest.cc
|
||||
src/model/ListAllMediaBucketResult.cc
|
||||
src/model/UnbindOutputBucketRequest.cc
|
||||
src/model/UnbindOutputBucketResult.cc
|
||||
src/model/SearchPipelineRequest.cc
|
||||
src/model/SearchPipelineResult.cc
|
||||
src/model/UpdateMediaCategoryRequest.cc
|
||||
src/model/UpdateMediaCategoryResult.cc
|
||||
src/model/UnbindOutputBucketRequest.cc
|
||||
src/model/UnbindOutputBucketResult.cc
|
||||
src/model/QueryComplexJobListRequest.cc
|
||||
src/model/QueryComplexJobListResult.cc
|
||||
src/model/QueryJobListRequest.cc
|
||||
@@ -356,10 +402,10 @@ set(mts_src
|
||||
src/model/QueryFpShotJobListResult.cc
|
||||
src/model/ListMediaWorkflowExecutionsRequest.cc
|
||||
src/model/ListMediaWorkflowExecutionsResult.cc
|
||||
src/model/DeleteMediaTagRequest.cc
|
||||
src/model/DeleteMediaTagResult.cc
|
||||
src/model/DeletePipelineRequest.cc
|
||||
src/model/DeletePipelineResult.cc
|
||||
src/model/DeleteMediaTagRequest.cc
|
||||
src/model/DeleteMediaTagResult.cc
|
||||
src/model/UpdateAsrPipelineRequest.cc
|
||||
src/model/UpdateAsrPipelineResult.cc
|
||||
src/model/QueryMediaDetailJobListRequest.cc
|
||||
@@ -368,20 +414,24 @@ set(mts_src
|
||||
src/model/UpdatePornPipelineResult.cc
|
||||
src/model/DeleteWaterMarkTemplateRequest.cc
|
||||
src/model/DeleteWaterMarkTemplateResult.cc
|
||||
src/model/DecryptKeyRequest.cc
|
||||
src/model/DecryptKeyResult.cc
|
||||
src/model/AddCoverPipelineRequest.cc
|
||||
src/model/AddCoverPipelineResult.cc
|
||||
src/model/DecryptKeyRequest.cc
|
||||
src/model/DecryptKeyResult.cc
|
||||
src/model/DeleteTemplateRequest.cc
|
||||
src/model/DeleteTemplateResult.cc
|
||||
src/model/ReportFacerecogJobResultRequest.cc
|
||||
src/model/ReportFacerecogJobResultResult.cc
|
||||
src/model/QueryTemplateListRequest.cc
|
||||
src/model/QueryTemplateListResult.cc
|
||||
src/model/ReportFacerecogJobResultRequest.cc
|
||||
src/model/ReportFacerecogJobResultResult.cc
|
||||
src/model/QueryMediaListByURLRequest.cc
|
||||
src/model/QueryMediaListByURLResult.cc
|
||||
src/model/QueryMCTemplateListRequest.cc
|
||||
src/model/QueryMCTemplateListResult.cc
|
||||
src/model/UpdateMediaRequest.cc
|
||||
src/model/UpdateMediaResult.cc
|
||||
src/model/SubmitMediaFpDeleteJobRequest.cc
|
||||
src/model/SubmitMediaFpDeleteJobResult.cc
|
||||
src/model/ListCensorPipelineRequest.cc
|
||||
src/model/ListCensorPipelineResult.cc
|
||||
src/model/QuerySubtitleJobListRequest.cc
|
||||
@@ -392,44 +442,62 @@ set(mts_src
|
||||
src/model/QueryVideoGifJobListResult.cc
|
||||
src/model/PhysicalDeleteResourceRequest.cc
|
||||
src/model/PhysicalDeleteResourceResult.cc
|
||||
src/model/UpdatePipelineRequest.cc
|
||||
src/model/UpdatePipelineResult.cc
|
||||
src/model/DeleteMCTemplateRequest.cc
|
||||
src/model/DeleteMCTemplateResult.cc
|
||||
src/model/QueryEditingJobListRequest.cc
|
||||
src/model/QueryEditingJobListResult.cc
|
||||
src/model/UpdatePipelineRequest.cc
|
||||
src/model/UpdatePipelineResult.cc
|
||||
src/model/UpdateMCTemplateRequest.cc
|
||||
src/model/UpdateMCTemplateResult.cc
|
||||
src/model/DeleteMediaRequest.cc
|
||||
src/model/DeleteMediaResult.cc
|
||||
src/model/SubmitImageQualityJobRequest.cc
|
||||
src/model/SubmitImageQualityJobResult.cc
|
||||
src/model/ReportCoverJobResultRequest.cc
|
||||
src/model/ReportCoverJobResultResult.cc
|
||||
src/model/SearchTemplateRequest.cc
|
||||
src/model/SearchTemplateResult.cc
|
||||
src/model/SubmitImageQualityJobRequest.cc
|
||||
src/model/SubmitImageQualityJobResult.cc
|
||||
src/model/AddMCTemplateRequest.cc
|
||||
src/model/AddMCTemplateResult.cc
|
||||
src/model/BindOutputBucketRequest.cc
|
||||
src/model/BindOutputBucketResult.cc
|
||||
src/model/SearchTemplateRequest.cc
|
||||
src/model/SearchTemplateResult.cc
|
||||
src/model/UpdateMcuTemplateRequest.cc
|
||||
src/model/UpdateMcuTemplateResult.cc
|
||||
src/model/QueryMCJobListRequest.cc
|
||||
src/model/QueryMCJobListResult.cc
|
||||
src/model/AddPipelineRequest.cc
|
||||
src/model/AddPipelineResult.cc
|
||||
src/model/SubmitFacerecogJobRequest.cc
|
||||
src/model/SubmitFacerecogJobResult.cc
|
||||
src/model/QueryMediaListRequest.cc
|
||||
src/model/QueryMediaListResult.cc
|
||||
src/model/SubmitMediaInfoJobRequest.cc
|
||||
src/model/SubmitMediaInfoJobResult.cc
|
||||
src/model/SubmitEditingJobsRequest.cc
|
||||
src/model/SubmitEditingJobsResult.cc
|
||||
src/model/SubmitMediaInfoJobRequest.cc
|
||||
src/model/SubmitMediaInfoJobResult.cc
|
||||
src/model/QueryPornJobListRequest.cc
|
||||
src/model/QueryPornJobListResult.cc
|
||||
src/model/ReportVideoSplitJobResultRequest.cc
|
||||
src/model/ReportVideoSplitJobResultResult.cc
|
||||
src/model/UpdateCategoryNameRequest.cc
|
||||
src/model/UpdateCategoryNameResult.cc
|
||||
src/model/QueryPornJobListRequest.cc
|
||||
src/model/QueryPornJobListResult.cc
|
||||
src/model/DeleteMediaWorkflowRequest.cc
|
||||
src/model/DeleteMediaWorkflowResult.cc
|
||||
src/model/QueryMcuJobRequest.cc
|
||||
src/model/QueryMcuJobResult.cc
|
||||
src/model/ListCoverPipelineRequest.cc
|
||||
src/model/ListCoverPipelineResult.cc
|
||||
src/model/SubmitVideoSummaryJobRequest.cc
|
||||
src/model/SubmitVideoSummaryJobResult.cc
|
||||
src/model/QueryMediaCensorJobDetailRequest.cc
|
||||
src/model/QueryMediaCensorJobDetailResult.cc
|
||||
src/model/CreateMcuTemplateRequest.cc
|
||||
src/model/CreateMcuTemplateResult.cc
|
||||
src/model/QueryImageSearchJobListRequest.cc
|
||||
src/model/QueryImageSearchJobListResult.cc
|
||||
src/model/ReportFpShotJobResultRequest.cc
|
||||
src/model/ReportFpShotJobResultResult.cc
|
||||
src/model/SubmitVideoSummaryJobRequest.cc
|
||||
src/model/SubmitVideoSummaryJobResult.cc
|
||||
src/model/SubmitVideoGifJobRequest.cc
|
||||
src/model/SubmitVideoGifJobResult.cc
|
||||
src/model/QueryAnnotationJobListRequest.cc
|
||||
@@ -438,16 +506,22 @@ set(mts_src
|
||||
src/model/SubmitMediaDetailJobResult.cc
|
||||
src/model/SubmitPornJobRequest.cc
|
||||
src/model/SubmitPornJobResult.cc
|
||||
src/model/QueryFpImportResultRequest.cc
|
||||
src/model/QueryFpImportResultResult.cc
|
||||
src/model/SubmitMCJobRequest.cc
|
||||
src/model/SubmitMCJobResult.cc
|
||||
src/model/AddTemplateRequest.cc
|
||||
src/model/AddTemplateResult.cc
|
||||
src/model/ReportPornJobResultRequest.cc
|
||||
src/model/ReportPornJobResultResult.cc
|
||||
src/model/QueryWaterMarkTemplateListRequest.cc
|
||||
src/model/QueryWaterMarkTemplateListResult.cc
|
||||
src/model/ReportPornJobResultRequest.cc
|
||||
src/model/ReportPornJobResultResult.cc
|
||||
src/model/UpdateMediaWorkflowRequest.cc
|
||||
src/model/UpdateMediaWorkflowResult.cc
|
||||
src/model/QueryMediaInfoJobListRequest.cc
|
||||
src/model/QueryMediaInfoJobListResult.cc
|
||||
src/model/QueryMediaFpDeleteJobListRequest.cc
|
||||
src/model/QueryMediaFpDeleteJobListResult.cc
|
||||
src/model/QueryMediaWorkflowListRequest.cc
|
||||
src/model/QueryMediaWorkflowListResult.cc
|
||||
src/model/ReportTagJobResultRequest.cc
|
||||
@@ -456,12 +530,10 @@ set(mts_src
|
||||
src/model/AddPornPipelineResult.cc
|
||||
src/model/GetLicenseRequest.cc
|
||||
src/model/GetLicenseResult.cc
|
||||
src/model/QueryPornPipelineListRequest.cc
|
||||
src/model/QueryPornPipelineListResult.cc
|
||||
src/model/QueryVideoSummaryJobListRequest.cc
|
||||
src/model/QueryVideoSummaryJobListResult.cc
|
||||
src/model/SubmitCensorJobRequest.cc
|
||||
src/model/SubmitCensorJobResult.cc
|
||||
src/model/QueryPornPipelineListRequest.cc
|
||||
src/model/QueryPornPipelineListResult.cc
|
||||
src/model/QueryTerrorismJobListRequest.cc
|
||||
src/model/QueryTerrorismJobListResult.cc
|
||||
src/model/SubmitJobsRequest.cc
|
||||
@@ -476,6 +548,10 @@ set(mts_src
|
||||
src/model/GetPackageResult.cc
|
||||
src/model/UpdateWaterMarkTemplateRequest.cc
|
||||
src/model/UpdateWaterMarkTemplateResult.cc
|
||||
src/model/SubmitImageSearchJobRequest.cc
|
||||
src/model/SubmitImageSearchJobResult.cc
|
||||
src/model/QueryMcuTemplateRequest.cc
|
||||
src/model/QueryMcuTemplateResult.cc
|
||||
src/model/UpdateMediaWorkflowTriggerModeRequest.cc
|
||||
src/model/UpdateMediaWorkflowTriggerModeResult.cc
|
||||
src/model/SearchMediaRequest.cc
|
||||
@@ -498,30 +574,34 @@ set(mts_src
|
||||
src/model/QueryFacerecogJobListResult.cc
|
||||
src/model/AddMediaRequest.cc
|
||||
src/model/AddMediaResult.cc
|
||||
src/model/DeleteMcuTemplateRequest.cc
|
||||
src/model/DeleteMcuTemplateResult.cc
|
||||
src/model/SubmitAnnotationJobRequest.cc
|
||||
src/model/SubmitAnnotationJobResult.cc
|
||||
src/model/ReportMediaDetailJobResultRequest.cc
|
||||
src/model/ReportMediaDetailJobResultResult.cc
|
||||
src/model/RegisterMediaDetailScenarioRequest.cc
|
||||
src/model/RegisterMediaDetailScenarioResult.cc
|
||||
src/model/QueryVideoSplitJobListRequest.cc
|
||||
src/model/QueryVideoSplitJobListResult.cc
|
||||
src/model/ReportAnnotationJobResultRequest.cc
|
||||
src/model/ReportAnnotationJobResultResult.cc
|
||||
src/model/ListPornPipelineRequest.cc
|
||||
src/model/ListPornPipelineResult.cc
|
||||
src/model/QueryVideoSplitJobListRequest.cc
|
||||
src/model/QueryVideoSplitJobListResult.cc
|
||||
src/model/BindInputBucketRequest.cc
|
||||
src/model/BindInputBucketResult.cc
|
||||
src/model/AddTerrorismPipelineRequest.cc
|
||||
src/model/AddTerrorismPipelineResult.cc
|
||||
src/model/UpdateTemplateRequest.cc
|
||||
src/model/UpdateTemplateResult.cc
|
||||
src/model/QueryPipelineListRequest.cc
|
||||
src/model/QueryPipelineListResult.cc
|
||||
src/model/UpdateTemplateRequest.cc
|
||||
src/model/UpdateTemplateResult.cc
|
||||
src/model/UpdateCoverPipelineRequest.cc
|
||||
src/model/UpdateCoverPipelineResult.cc
|
||||
src/model/UpdateTerrorismPipelineRequest.cc
|
||||
src/model/UpdateTerrorismPipelineResult.cc
|
||||
src/model/QueryVideoPoseJobListRequest.cc
|
||||
src/model/QueryVideoPoseJobListResult.cc
|
||||
src/model/SubmitAnalysisJobRequest.cc
|
||||
src/model/SubmitAnalysisJobResult.cc
|
||||
src/model/SubmitFpShotJobRequest.cc
|
||||
@@ -530,28 +610,32 @@ set(mts_src
|
||||
src/model/QueryCensorPipelineListResult.cc
|
||||
src/model/SubmitVideoSplitJobRequest.cc
|
||||
src/model/SubmitVideoSplitJobResult.cc
|
||||
src/model/SubmitMcuJobRequest.cc
|
||||
src/model/SubmitMcuJobResult.cc
|
||||
src/model/CategoryTreeRequest.cc
|
||||
src/model/CategoryTreeResult.cc
|
||||
src/model/SubmitTagJobRequest.cc
|
||||
src/model/SubmitTagJobResult.cc
|
||||
src/model/SubmitCoverJobRequest.cc
|
||||
src/model/SubmitCoverJobResult.cc
|
||||
src/model/PlayInfoRequest.cc
|
||||
src/model/PlayInfoResult.cc
|
||||
src/model/AddCensorPipelineRequest.cc
|
||||
src/model/AddCensorPipelineResult.cc
|
||||
src/model/SearchWaterMarkTemplateRequest.cc
|
||||
src/model/SearchWaterMarkTemplateResult.cc
|
||||
src/model/AddCensorPipelineRequest.cc
|
||||
src/model/AddCensorPipelineResult.cc
|
||||
src/model/PlayInfoRequest.cc
|
||||
src/model/PlayInfoResult.cc
|
||||
src/model/SubmitAsrJobRequest.cc
|
||||
src/model/SubmitAsrJobResult.cc
|
||||
src/model/SubmitSubtitleJobRequest.cc
|
||||
src/model/SubmitSubtitleJobResult.cc
|
||||
src/model/AddMediaWorkflowRequest.cc
|
||||
src/model/AddMediaWorkflowResult.cc
|
||||
src/model/QueryCoverJobListRequest.cc
|
||||
src/model/QueryCoverJobListResult.cc
|
||||
src/model/AddMediaWorkflowRequest.cc
|
||||
src/model/AddMediaWorkflowResult.cc
|
||||
src/model/QueryAsrJobListRequest.cc
|
||||
src/model/QueryAsrJobListResult.cc
|
||||
src/model/SubmitVideoPoseJobRequest.cc
|
||||
src/model/SubmitVideoPoseJobResult.cc
|
||||
src/model/PlayerAuthRequest.cc
|
||||
src/model/PlayerAuthResult.cc
|
||||
src/model/AddWaterMarkTemplateRequest.cc
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
93
mts/include/alibabacloud/mts/model/AddMCTemplateRequest.h
Normal file
93
mts/include/alibabacloud/mts/model/AddMCTemplateRequest.h
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT AddMCTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddMCTemplateRequest();
|
||||
~AddMCTemplateRequest();
|
||||
|
||||
std::string getPolitics()const;
|
||||
void setPolitics(const std::string& politics);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getContraband()const;
|
||||
void setContraband(const std::string& contraband);
|
||||
std::string getAd()const;
|
||||
void setAd(const std::string& ad);
|
||||
std::string getAbuse()const;
|
||||
void setAbuse(const std::string& abuse);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getQrcode()const;
|
||||
void setQrcode(const std::string& qrcode);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPorn()const;
|
||||
void setPorn(const std::string& porn);
|
||||
std::string getTerrorism()const;
|
||||
void setTerrorism(const std::string& terrorism);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getLogo()const;
|
||||
void setLogo(const std::string& logo);
|
||||
std::string getSpam()const;
|
||||
void setSpam(const std::string& spam);
|
||||
std::string getLive()const;
|
||||
void setLive(const std::string& live);
|
||||
|
||||
private:
|
||||
std::string politics_;
|
||||
long resourceOwnerId_;
|
||||
std::string contraband_;
|
||||
std::string ad_;
|
||||
std::string abuse_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string qrcode_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string porn_;
|
||||
std::string terrorism_;
|
||||
std::string name_;
|
||||
std::string logo_;
|
||||
std::string spam_;
|
||||
std::string live_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_
|
||||
66
mts/include/alibabacloud/mts/model/AddMCTemplateResult.h
Normal file
66
mts/include/alibabacloud/mts/model/AddMCTemplateResult.h
Normal file
@@ -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_MTS_MODEL_ADDMCTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT AddMCTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Template
|
||||
{
|
||||
std::string contraband;
|
||||
std::string ad;
|
||||
std::string qrcode;
|
||||
std::string terrorism;
|
||||
std::string abuse;
|
||||
std::string live;
|
||||
std::string politics;
|
||||
std::string porn;
|
||||
std::string templateId;
|
||||
std::string spam;
|
||||
std::string name;
|
||||
std::string logo;
|
||||
};
|
||||
|
||||
|
||||
AddMCTemplateResult();
|
||||
explicit AddMCTemplateResult(const std::string &payload);
|
||||
~AddMCTemplateResult();
|
||||
_Template get_Template()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
_Template _template_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATERESULT_H_
|
||||
@@ -36,12 +36,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NotifyConfig
|
||||
{
|
||||
std::string mqTag;
|
||||
std::string topic;
|
||||
std::string mqTopic;
|
||||
std::string queueName;
|
||||
};
|
||||
std::string role;
|
||||
std::string speed;
|
||||
long speedLevel;
|
||||
long quotaAllocate;
|
||||
std::string state;
|
||||
NotifyConfig notifyConfig;
|
||||
std::string id;
|
||||
|
||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
||||
std::string scanMode;
|
||||
std::string preset;
|
||||
std::string fps;
|
||||
std::string longShortMode;
|
||||
std::string gop;
|
||||
std::string remove;
|
||||
BitrateBnd bitrateBnd;
|
||||
@@ -65,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string height;
|
||||
std::string degrain;
|
||||
std::string width;
|
||||
std::string resoPriority;
|
||||
};
|
||||
struct Audio
|
||||
{
|
||||
@@ -106,7 +108,12 @@ namespace AlibabaCloud
|
||||
std::string ditherMode;
|
||||
std::string isCustomPalette;
|
||||
};
|
||||
struct Webp
|
||||
{
|
||||
std::string loop;
|
||||
};
|
||||
Gif gif;
|
||||
Webp webp;
|
||||
Segment segment;
|
||||
};
|
||||
Container container;
|
||||
|
||||
@@ -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_MTS_MODEL_CREATEMCUTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT CreateMcuTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateMcuTemplateRequest();
|
||||
~CreateMcuTemplateRequest();
|
||||
|
||||
std::string get_Template()const;
|
||||
void set_Template(const std::string& _template);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATEREQUEST_H_
|
||||
51
mts/include/alibabacloud/mts/model/CreateMcuTemplateResult.h
Normal file
51
mts/include/alibabacloud/mts/model/CreateMcuTemplateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT CreateMcuTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateMcuTemplateResult();
|
||||
explicit CreateMcuTemplateResult(const std::string &payload);
|
||||
~CreateMcuTemplateResult();
|
||||
std::string getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATERESULT_H_
|
||||
63
mts/include/alibabacloud/mts/model/DeleteMCTemplateRequest.h
Normal file
63
mts/include/alibabacloud/mts/model/DeleteMCTemplateRequest.h
Normal file
@@ -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_MTS_MODEL_DELETEMCTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT DeleteMCTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMCTemplateRequest();
|
||||
~DeleteMCTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATEREQUEST_H_
|
||||
51
mts/include/alibabacloud/mts/model/DeleteMCTemplateResult.h
Normal file
51
mts/include/alibabacloud/mts/model/DeleteMCTemplateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT DeleteMCTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMCTemplateResult();
|
||||
explicit DeleteMCTemplateResult(const std::string &payload);
|
||||
~DeleteMCTemplateResult();
|
||||
std::string getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATERESULT_H_
|
||||
63
mts/include/alibabacloud/mts/model/DeleteMcuJobRequest.h
Normal file
63
mts/include/alibabacloud/mts/model/DeleteMcuJobRequest.h
Normal file
@@ -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_MTS_MODEL_DELETEMCUJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT DeleteMcuJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMcuJobRequest();
|
||||
~DeleteMcuJobRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string jobIds_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBREQUEST_H_
|
||||
53
mts/include/alibabacloud/mts/model/DeleteMcuJobResult.h
Normal file
53
mts/include/alibabacloud/mts/model/DeleteMcuJobResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_DELETEMCUJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT DeleteMcuJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMcuJobResult();
|
||||
explicit DeleteMcuJobResult(const std::string &payload);
|
||||
~DeleteMcuJobResult();
|
||||
std::vector<std::string> getNonExistJobIds()const;
|
||||
std::vector<std::string> getDeletedJobIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> nonExistJobIds_;
|
||||
std::vector<std::string> deletedJobIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBRESULT_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_MTS_MODEL_DELETEMCUTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT DeleteMcuTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMcuTemplateRequest();
|
||||
~DeleteMcuTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATEREQUEST_H_
|
||||
51
mts/include/alibabacloud/mts/model/DeleteMcuTemplateResult.h
Normal file
51
mts/include/alibabacloud/mts/model/DeleteMcuTemplateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT DeleteMcuTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMcuTemplateResult();
|
||||
explicit DeleteMcuTemplateResult(const std::string &payload);
|
||||
~DeleteMcuTemplateResult();
|
||||
std::string getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATERESULT_H_
|
||||
@@ -39,8 +39,12 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getMaximumPageSize()const;
|
||||
void setMaximumPageSize(int maximumPageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -49,7 +53,9 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string nextPageToken_;
|
||||
std::string ownerAccount_;
|
||||
int maximumPageSize_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
|
||||
@@ -42,11 +42,13 @@ namespace AlibabaCloud
|
||||
ListAllMediaBucketResult();
|
||||
explicit ListAllMediaBucketResult(const std::string &payload);
|
||||
~ListAllMediaBucketResult();
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<MediaBucket> getMediaBucketList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::vector<MediaBucket> mediaBucketList_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryFpImportResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryFpImportResultRequest();
|
||||
~QueryFpImportResultRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getPageIndex()const;
|
||||
void setPageIndex(long pageIndex);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long pageSize_;
|
||||
long endTime_;
|
||||
long pageIndex_;
|
||||
long startTime_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_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_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryFpImportResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
long pageSize;
|
||||
long total;
|
||||
long pageIndex;
|
||||
};
|
||||
struct FpResultLogInfo
|
||||
{
|
||||
long logStartTime;
|
||||
long logSize;
|
||||
long createTime;
|
||||
long logEndTime;
|
||||
std::string logName;
|
||||
std::string logPath;
|
||||
};
|
||||
|
||||
|
||||
QueryFpImportResultResult();
|
||||
explicit QueryFpImportResultResult(const std::string &payload);
|
||||
~QueryFpImportResultResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::vector<FpResultLogInfo> getFpResultLogInfoList()const;
|
||||
long getLogCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::vector<FpResultLogInfo> fpResultLogInfoList_;
|
||||
long logCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_
|
||||
@@ -39,22 +39,43 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getStartOfJobCreatedTimeRange()const;
|
||||
void setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getMaximumPageSize()const;
|
||||
void setMaximumPageSize(long maximumPageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
std::string getPrimaryKeyList()const;
|
||||
void setPrimaryKeyList(const std::string& primaryKeyList);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
std::string getEndOfJobCreatedTimeRange()const;
|
||||
void setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string jobIds_;
|
||||
std::string nextPageToken_;
|
||||
std::string startOfJobCreatedTimeRange_;
|
||||
std::string ownerAccount_;
|
||||
long maximumPageSize_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
std::string primaryKeyList_;
|
||||
std::string jobIds_;
|
||||
std::string state_;
|
||||
std::string endOfJobCreatedTimeRange_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,11 @@ namespace AlibabaCloud
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
struct FpShotConfig
|
||||
{
|
||||
std::string saveType;
|
||||
std::string primaryKey;
|
||||
};
|
||||
struct FpShotResult
|
||||
{
|
||||
struct FpShot
|
||||
@@ -63,8 +68,31 @@ namespace AlibabaCloud
|
||||
std::string primaryKey;
|
||||
std::vector<FpShot::FpShotSlice> fpShotSlices;
|
||||
};
|
||||
struct FpShot
|
||||
{
|
||||
struct FpShotSlice
|
||||
{
|
||||
struct Input
|
||||
{
|
||||
std::string start;
|
||||
std::string duration;
|
||||
};
|
||||
struct Duplication
|
||||
{
|
||||
std::string start;
|
||||
std::string duration;
|
||||
};
|
||||
Input input;
|
||||
Duplication duplication;
|
||||
};
|
||||
std::string similarity;
|
||||
std::string primaryKey;
|
||||
std::vector<FpShot::FpShotSlice> fpShotSlices;
|
||||
};
|
||||
std::vector<FpShot> audioFpShots;
|
||||
std::vector<FpShot> fpShots;
|
||||
};
|
||||
FpShotConfig fpShotConfig;
|
||||
std::string message;
|
||||
std::string finishTime;
|
||||
std::string userData;
|
||||
@@ -72,6 +100,7 @@ namespace AlibabaCloud
|
||||
FpShotResult fpShotResult;
|
||||
std::string creationTime;
|
||||
std::string pipelineId;
|
||||
std::string fileId;
|
||||
std::string id;
|
||||
std::string code;
|
||||
InputFile inputFile;
|
||||
@@ -81,12 +110,16 @@ namespace AlibabaCloud
|
||||
QueryFpShotJobListResult();
|
||||
explicit QueryFpShotJobListResult(const std::string &payload);
|
||||
~QueryFpShotJobListResult();
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<std::string> getNonExistPrimaryKeys()const;
|
||||
std::vector<FpShotJob> getFpShotJobList()const;
|
||||
std::vector<std::string> getNonExistIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::vector<std::string> nonExistPrimaryKeys_;
|
||||
std::vector<FpShotJob> fpShotJobList_;
|
||||
std::vector<std::string> nonExistIds_;
|
||||
|
||||
|
||||
@@ -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_MTS_MODEL_QUERYIMAGESEARCHJOBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryImageSearchJobListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryImageSearchJobListRequest();
|
||||
~QueryImageSearchJobListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string jobIds_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTREQUEST_H_
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryImageSearchJobListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ImageSearchJob
|
||||
{
|
||||
struct InputVideo
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
struct InputImage
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
struct ImageSearchShotsItem
|
||||
{
|
||||
std::string matchedFrame;
|
||||
std::string similarity;
|
||||
std::string matchedTimestamp;
|
||||
};
|
||||
std::vector<ImageSearchShotsItem> imageSearchShots;
|
||||
};
|
||||
std::string message;
|
||||
std::string finishTime;
|
||||
InputVideo inputVideo;
|
||||
std::string userData;
|
||||
std::string state;
|
||||
std::string creationTime;
|
||||
std::string pipelineId;
|
||||
std::string id;
|
||||
std::string code;
|
||||
InputImage inputImage;
|
||||
Result result;
|
||||
};
|
||||
|
||||
|
||||
QueryImageSearchJobListResult();
|
||||
explicit QueryImageSearchJobListResult(const std::string &payload);
|
||||
~QueryImageSearchJobListResult();
|
||||
std::vector<ImageSearchJob> getImageSearchJobList()const;
|
||||
std::vector<std::string> getNonExistIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ImageSearchJob> imageSearchJobList_;
|
||||
std::vector<std::string> nonExistIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_
|
||||
81
mts/include/alibabacloud/mts/model/QueryMCJobListRequest.h
Normal file
81
mts/include/alibabacloud/mts/model/QueryMCJobListRequest.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMCJobListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMCJobListRequest();
|
||||
~QueryMCJobListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getStartOfJobCreatedTimeRange()const;
|
||||
void setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getMaximumPageSize()const;
|
||||
void setMaximumPageSize(long maximumPageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
std::string getEndOfJobCreatedTimeRange()const;
|
||||
void setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string nextPageToken_;
|
||||
std::string startOfJobCreatedTimeRange_;
|
||||
std::string ownerAccount_;
|
||||
long maximumPageSize_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
std::string jobIds_;
|
||||
std::string state_;
|
||||
std::string endOfJobCreatedTimeRange_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_
|
||||
406
mts/include/alibabacloud/mts/model/QueryMCJobListResult.h
Normal file
406
mts/include/alibabacloud/mts/model/QueryMCJobListResult.h
Normal file
@@ -0,0 +1,406 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYMCJOBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMCJobListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct Result
|
||||
{
|
||||
struct PornResult
|
||||
{
|
||||
struct PornVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct PornAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct PornText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct PornImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
struct PornOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<PornImage> pornImages;
|
||||
std::vector<PornAudio> pornAudios;
|
||||
std::vector<PornVideo> pornVideos;
|
||||
std::vector<PornText> pornTexts;
|
||||
std::vector<PornOcr> pornOcrs;
|
||||
};
|
||||
struct TerrorismResult
|
||||
{
|
||||
struct TerrorismVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct TerrorismAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct TerrorismText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct TerrorismImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
struct TerrorismOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<TerrorismAudio> terrorismAudios;
|
||||
std::vector<TerrorismText> terrorismTexts;
|
||||
std::vector<TerrorismImage> terrorismImages;
|
||||
std::vector<TerrorismOcr> terrorismOcrs;
|
||||
std::vector<TerrorismVideo> terrorismVideos;
|
||||
};
|
||||
struct PoliticsResult
|
||||
{
|
||||
struct PoliticsVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct PoliticsAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct PoliticsText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct PoliticsImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
struct PoliticsOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<PoliticsText> politicsTexts;
|
||||
std::vector<PoliticsVideo> politicsVideos;
|
||||
std::vector<PoliticsAudio> politicsAudios;
|
||||
std::vector<PoliticsOcr> politicsOcrs;
|
||||
std::vector<PoliticsImage> politicsImages;
|
||||
};
|
||||
struct AdResult
|
||||
{
|
||||
struct AdVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct AdAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct AdText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct AdImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
struct AdOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<AdImage> adImages;
|
||||
std::vector<AdAudio> adAudios;
|
||||
std::vector<AdVideo> adVideos;
|
||||
std::vector<AdOcr> adOcrs;
|
||||
std::vector<AdText> adTexts;
|
||||
};
|
||||
struct QrcodeResult
|
||||
{
|
||||
struct QrcodeVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct QrcodeImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
std::vector<QrcodeVideo> qrcodeVideos;
|
||||
std::vector<QrcodeImage> qrcodeImages;
|
||||
};
|
||||
struct LiveResult
|
||||
{
|
||||
struct LiveVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct LiveImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
std::vector<LiveVideo> liveVideos;
|
||||
std::vector<LiveImage> liveImages;
|
||||
};
|
||||
struct LogoResult
|
||||
{
|
||||
struct LogoVideo
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
};
|
||||
struct LogoImage
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
std::string url;
|
||||
};
|
||||
std::vector<LogoImage> logoImages;
|
||||
std::vector<LogoVideo> logoVideos;
|
||||
};
|
||||
struct AbuseResult
|
||||
{
|
||||
struct AbuseAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct AbuseText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct AbuseOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<AbuseOcr> abuseOcrs;
|
||||
std::vector<AbuseText> abuseTexts;
|
||||
std::vector<AbuseAudio> abuseAudios;
|
||||
};
|
||||
struct ContrabandResult
|
||||
{
|
||||
struct ContrabandAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct ContrabandText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct ContrabandOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<ContrabandText> contrabandTexts;
|
||||
std::vector<ContrabandOcr> contrabandOcrs;
|
||||
std::vector<ContrabandAudio> contrabandAudios;
|
||||
};
|
||||
struct SpamResult
|
||||
{
|
||||
struct SpamAudio
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string text;
|
||||
std::string object;
|
||||
};
|
||||
struct SpamText
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string text;
|
||||
};
|
||||
struct SpamOcr
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
std::string time;
|
||||
std::string object;
|
||||
std::string text;
|
||||
};
|
||||
std::vector<SpamAudio> spamAudios;
|
||||
std::vector<SpamText> spamTexts;
|
||||
std::vector<SpamOcr> spamOcrs;
|
||||
};
|
||||
LogoResult logoResult;
|
||||
std::string suggestion;
|
||||
std::string score;
|
||||
PoliticsResult politicsResult;
|
||||
QrcodeResult qrcodeResult;
|
||||
AbuseResult abuseResult;
|
||||
TerrorismResult terrorismResult;
|
||||
LiveResult liveResult;
|
||||
SpamResult spamResult;
|
||||
PornResult pornResult;
|
||||
AdResult adResult;
|
||||
ContrabandResult contrabandResult;
|
||||
};
|
||||
std::string message;
|
||||
std::string resultOutputFile;
|
||||
std::string userData;
|
||||
std::string state;
|
||||
std::string creationTime;
|
||||
std::string pipelineId;
|
||||
std::string code;
|
||||
std::string jobId;
|
||||
Result result;
|
||||
};
|
||||
|
||||
|
||||
QueryMCJobListResult();
|
||||
explicit QueryMCJobListResult(const std::string &payload);
|
||||
~QueryMCJobListResult();
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<Job> getJobList()const;
|
||||
std::vector<std::string> getNonExistIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::vector<Job> jobList_;
|
||||
std::vector<std::string> nonExistIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_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_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMCTemplateListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMCTemplateListRequest();
|
||||
~QueryMCTemplateListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTemplateIds()const;
|
||||
void setTemplateIds(const std::string& templateIds);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string templateIds_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMCTemplateListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Template
|
||||
{
|
||||
std::string ad;
|
||||
std::string qrcode;
|
||||
std::string terrorism;
|
||||
std::string abuse;
|
||||
std::string live;
|
||||
std::string spam;
|
||||
std::string name;
|
||||
std::string logo;
|
||||
std::string contraband;
|
||||
std::string state;
|
||||
std::string politics;
|
||||
std::string porn;
|
||||
std::string templateId;
|
||||
};
|
||||
|
||||
|
||||
QueryMCTemplateListResult();
|
||||
explicit QueryMCTemplateListResult(const std::string &payload);
|
||||
~QueryMCTemplateListResult();
|
||||
std::vector<_Template> getTemplateList()const;
|
||||
std::vector<std::string> getNonExistTids()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<_Template> templateList_;
|
||||
std::vector<std::string> nonExistTids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_
|
||||
63
mts/include/alibabacloud/mts/model/QueryMcuJobRequest.h
Normal file
63
mts/include/alibabacloud/mts/model/QueryMcuJobRequest.h
Normal file
@@ -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_MTS_MODEL_QUERYMCUJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMcuJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMcuJobRequest();
|
||||
~QueryMcuJobRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string jobIds_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBREQUEST_H_
|
||||
128
mts/include/alibabacloud/mts/model/QueryMcuJobResult.h
Normal file
128
mts/include/alibabacloud/mts/model/QueryMcuJobResult.h
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMcuJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct Input
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
struct AsrResult
|
||||
{
|
||||
struct AsrText
|
||||
{
|
||||
std::string endTime;
|
||||
int startTime;
|
||||
std::string text;
|
||||
std::string channelId;
|
||||
std::string speechRate;
|
||||
};
|
||||
std::vector<AsrText> asrTextList;
|
||||
std::string duration;
|
||||
};
|
||||
struct CategoryResult
|
||||
{
|
||||
struct Category
|
||||
{
|
||||
std::string score;
|
||||
std::string label;
|
||||
};
|
||||
std::string details;
|
||||
std::vector<Category> categories;
|
||||
};
|
||||
struct Ocr
|
||||
{
|
||||
std::string ocrText;
|
||||
std::string imageId;
|
||||
std::string imageUrl;
|
||||
std::string time;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
struct FrameTagInfo
|
||||
{
|
||||
std::string score;
|
||||
std::string category;
|
||||
std::string tag;
|
||||
};
|
||||
std::string imageId;
|
||||
std::string imageUrl;
|
||||
std::string time;
|
||||
std::vector<Tag::FrameTagInfo> frameTagInfos;
|
||||
};
|
||||
struct Face
|
||||
{
|
||||
struct Celebrity
|
||||
{
|
||||
std::string score;
|
||||
std::string target;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Face::Celebrity> celebrities;
|
||||
std::string imageId;
|
||||
std::string imageUrl;
|
||||
std::string time;
|
||||
};
|
||||
std::vector<Job::Ocr> ocrResult;
|
||||
Input input;
|
||||
std::string _template;
|
||||
CategoryResult categoryResult;
|
||||
std::vector<Job::Face> faceResult;
|
||||
std::string userData;
|
||||
AsrResult asrResult;
|
||||
std::vector<Job::Tag> tagResult;
|
||||
std::string jobId;
|
||||
std::string templateId;
|
||||
};
|
||||
|
||||
|
||||
QueryMcuJobResult();
|
||||
explicit QueryMcuJobResult(const std::string &payload);
|
||||
~QueryMcuJobResult();
|
||||
std::vector<std::string> getNonExistJobIds()const;
|
||||
std::vector<Job> getJobResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> nonExistJobIds_;
|
||||
std::vector<Job> jobResult_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_
|
||||
63
mts/include/alibabacloud/mts/model/QueryMcuTemplateRequest.h
Normal file
63
mts/include/alibabacloud/mts/model/QueryMcuTemplateRequest.h
Normal file
@@ -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_MTS_MODEL_QUERYMCUTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMcuTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMcuTemplateRequest();
|
||||
~QueryMcuTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATEREQUEST_H_
|
||||
56
mts/include/alibabacloud/mts/model/QueryMcuTemplateResult.h
Normal file
56
mts/include/alibabacloud/mts/model/QueryMcuTemplateResult.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMcuTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
std::string _template;
|
||||
std::string templateId;
|
||||
};
|
||||
|
||||
|
||||
QueryMcuTemplateResult();
|
||||
explicit QueryMcuTemplateResult(const std::string &payload);
|
||||
~QueryMcuTemplateResult();
|
||||
std::vector<Job> getTemplates()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Job> templates_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYMEDIACENSORJOBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMediaCensorJobDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMediaCensorJobDetailRequest();
|
||||
~QueryMediaCensorJobDetailRequest();
|
||||
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getMaximumPageSize()const;
|
||||
void setMaximumPageSize(long maximumPageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string nextPageToken_;
|
||||
std::string ownerAccount_;
|
||||
long maximumPageSize_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILREQUEST_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_MTS_MODEL_QUERYMEDIACENSORJOBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMediaCensorJobDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MediaCensorJobDetail
|
||||
{
|
||||
struct TitleCensorResult
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string rate;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
struct DescCensorResult
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string rate;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
struct BarrageCensorResult
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string rate;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
struct Input
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
struct VideoCensorConfig
|
||||
{
|
||||
struct OutputFile
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
OutputFile outputFile;
|
||||
std::string videoCensor;
|
||||
std::string bizType;
|
||||
};
|
||||
struct VensorCensorResult
|
||||
{
|
||||
struct CensorResult
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string rate;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
struct VideoTimeline
|
||||
{
|
||||
struct CensorResult2
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string rate;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
std::vector<VideoTimeline::CensorResult2> censorResults1;
|
||||
std::string object;
|
||||
std::string timestamp;
|
||||
};
|
||||
std::vector<CensorResult> censorResults;
|
||||
std::string nextPageToken;
|
||||
std::vector<VideoTimeline> videoTimelines;
|
||||
};
|
||||
struct CoverImageCensorResult
|
||||
{
|
||||
struct Result
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string rate;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
std::vector<CoverImageCensorResult::Result> results;
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string location;
|
||||
};
|
||||
std::string message;
|
||||
DescCensorResult descCensorResult;
|
||||
std::string userData;
|
||||
std::vector<CoverImageCensorResult> coverImageCensorResults;
|
||||
std::string code;
|
||||
std::string suggestion;
|
||||
Input input;
|
||||
VensorCensorResult vensorCensorResult;
|
||||
std::string state;
|
||||
BarrageCensorResult barrageCensorResult;
|
||||
std::string creationTime;
|
||||
std::string pipelineId;
|
||||
VideoCensorConfig videoCensorConfig;
|
||||
std::string id;
|
||||
TitleCensorResult titleCensorResult;
|
||||
};
|
||||
|
||||
|
||||
QueryMediaCensorJobDetailResult();
|
||||
explicit QueryMediaCensorJobDetailResult(const std::string &payload);
|
||||
~QueryMediaCensorJobDetailResult();
|
||||
MediaCensorJobDetail getMediaCensorJobDetail()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MediaCensorJobDetail mediaCensorJobDetail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILRESULT_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_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMediaFpDeleteJobListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMediaFpDeleteJobListRequest();
|
||||
~QueryMediaFpDeleteJobListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string jobIds_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTREQUEST_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_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryMediaFpDeleteJobListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MediaFpDeleteJob
|
||||
{
|
||||
std::string message;
|
||||
std::string finishTime;
|
||||
std::string userData;
|
||||
std::string state;
|
||||
std::string creationTime;
|
||||
std::string pipelineId;
|
||||
std::string primaryKey;
|
||||
std::string id;
|
||||
std::string code;
|
||||
std::string fpDBId;
|
||||
};
|
||||
|
||||
|
||||
QueryMediaFpDeleteJobListResult();
|
||||
explicit QueryMediaFpDeleteJobListResult(const std::string &payload);
|
||||
~QueryMediaFpDeleteJobListResult();
|
||||
std::vector<std::string> getNonExistIds()const;
|
||||
std::vector<MediaFpDeleteJob> getMediaFpDeleteJobList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> nonExistIds_;
|
||||
std::vector<MediaFpDeleteJob> mediaFpDeleteJobList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_
|
||||
@@ -36,12 +36,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NotifyConfig
|
||||
{
|
||||
std::string mqTag;
|
||||
std::string topic;
|
||||
std::string mqTopic;
|
||||
std::string queueName;
|
||||
};
|
||||
std::string role;
|
||||
std::string speed;
|
||||
long speedLevel;
|
||||
long quotaAllocate;
|
||||
std::string state;
|
||||
NotifyConfig notifyConfig;
|
||||
std::string id;
|
||||
|
||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
||||
std::string scanMode;
|
||||
std::string preset;
|
||||
std::string fps;
|
||||
std::string longShortMode;
|
||||
std::string gop;
|
||||
std::string remove;
|
||||
BitrateBnd bitrateBnd;
|
||||
@@ -65,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string height;
|
||||
std::string degrain;
|
||||
std::string width;
|
||||
std::string resoPriority;
|
||||
};
|
||||
struct Audio
|
||||
{
|
||||
@@ -100,7 +102,12 @@ namespace AlibabaCloud
|
||||
std::string ditherMode;
|
||||
std::string isCustomPalette;
|
||||
};
|
||||
struct Webp
|
||||
{
|
||||
std::string loop;
|
||||
};
|
||||
Gif gif;
|
||||
Webp webp;
|
||||
Segment segment;
|
||||
};
|
||||
Container container;
|
||||
|
||||
@@ -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_MTS_MODEL_QUERYVIDEOPOSEJOBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryVideoPoseJobListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryVideoPoseJobListRequest();
|
||||
~QueryVideoPoseJobListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getJobIds()const;
|
||||
void setJobIds(const std::string& jobIds);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string jobIds_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTREQUEST_H_
|
||||
190
mts/include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h
Normal file
190
mts/include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h
Normal file
@@ -0,0 +1,190 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT QueryVideoPoseJobListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct Input
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string roleArn;
|
||||
std::string location;
|
||||
};
|
||||
struct OutputConfig
|
||||
{
|
||||
struct VideoFile
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string roleArn;
|
||||
std::string location;
|
||||
};
|
||||
struct DataFile
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string roleArn;
|
||||
std::string location;
|
||||
};
|
||||
DataFile dataFile;
|
||||
VideoFile videoFile;
|
||||
};
|
||||
struct Properties
|
||||
{
|
||||
struct Streams
|
||||
{
|
||||
struct VideoStream
|
||||
{
|
||||
struct NetworkCost
|
||||
{
|
||||
std::string avgBitrate;
|
||||
std::string preloadTime;
|
||||
std::string costBandwidth;
|
||||
};
|
||||
std::string codecTag;
|
||||
std::string codecTimeBase;
|
||||
std::string rotate;
|
||||
std::string sar;
|
||||
std::string fps;
|
||||
std::string startTime;
|
||||
std::string index;
|
||||
std::string duration;
|
||||
std::string lang;
|
||||
std::string pixFmt;
|
||||
NetworkCost networkCost;
|
||||
std::string codecName;
|
||||
std::string bitrate;
|
||||
std::string profile;
|
||||
std::string avgFPS;
|
||||
std::string timebase;
|
||||
std::string codecTagString;
|
||||
std::string hasBFrames;
|
||||
std::string dar;
|
||||
std::string codecLongName;
|
||||
std::string height;
|
||||
std::string level;
|
||||
std::string width;
|
||||
std::string numFrames;
|
||||
};
|
||||
struct AudioStream
|
||||
{
|
||||
std::string codecTag;
|
||||
std::string codecTimeBase;
|
||||
std::string channelLayout;
|
||||
std::string startTime;
|
||||
std::string index;
|
||||
std::string duration;
|
||||
std::string lang;
|
||||
std::string sampleFmt;
|
||||
std::string codecName;
|
||||
std::string samplerate;
|
||||
std::string bitrate;
|
||||
std::string channels;
|
||||
std::string timebase;
|
||||
std::string codecTagString;
|
||||
std::string codecLongName;
|
||||
std::string numFrames;
|
||||
};
|
||||
struct SubtitleStream
|
||||
{
|
||||
std::string codecTag;
|
||||
std::string timebase;
|
||||
std::string codecTagString;
|
||||
std::string codecTimeBase;
|
||||
std::string codecLongName;
|
||||
std::string startTime;
|
||||
std::string index;
|
||||
std::string duration;
|
||||
std::string lang;
|
||||
std::string codecName;
|
||||
};
|
||||
std::vector<VideoStream> videoStreamList;
|
||||
std::vector<SubtitleStream> subtitleStreamList;
|
||||
std::vector<AudioStream> audioStreamList;
|
||||
};
|
||||
struct Format
|
||||
{
|
||||
std::string numPrograms;
|
||||
std::string size;
|
||||
std::string formatLongName;
|
||||
std::string startTime;
|
||||
std::string numStreams;
|
||||
std::string formatName;
|
||||
std::string duration;
|
||||
std::string bitrate;
|
||||
};
|
||||
Format format;
|
||||
std::string fps;
|
||||
std::string height;
|
||||
std::string duration;
|
||||
std::string fileFormat;
|
||||
std::string width;
|
||||
std::string bitrate;
|
||||
Streams streams;
|
||||
std::string fileSize;
|
||||
};
|
||||
struct MNSMessageResult
|
||||
{
|
||||
std::string errorCode;
|
||||
std::string errorMessage;
|
||||
std::string messageId;
|
||||
};
|
||||
Input input;
|
||||
OutputConfig outputConfig;
|
||||
std::string userData;
|
||||
std::string state;
|
||||
MNSMessageResult mNSMessageResult;
|
||||
std::string pipelineId;
|
||||
Properties properties;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
QueryVideoPoseJobListResult();
|
||||
explicit QueryVideoPoseJobListResult(const std::string &payload);
|
||||
~QueryVideoPoseJobListResult();
|
||||
std::vector<std::string> getNonExistJobIds()const;
|
||||
std::vector<Job> getJobList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> nonExistJobIds_;
|
||||
std::vector<Job> jobList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_
|
||||
@@ -36,12 +36,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NotifyConfig
|
||||
{
|
||||
std::string mqTag;
|
||||
std::string topic;
|
||||
std::string mqTopic;
|
||||
std::string queueName;
|
||||
};
|
||||
std::string role;
|
||||
std::string speed;
|
||||
long speedLevel;
|
||||
long quotaAllocate;
|
||||
std::string state;
|
||||
NotifyConfig notifyConfig;
|
||||
std::string id;
|
||||
|
||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
||||
std::string scanMode;
|
||||
std::string preset;
|
||||
std::string fps;
|
||||
std::string longShortMode;
|
||||
std::string gop;
|
||||
std::string remove;
|
||||
BitrateBnd bitrateBnd;
|
||||
|
||||
@@ -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_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitImageSearchJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitImageSearchJobRequest();
|
||||
~SubmitImageSearchJobRequest();
|
||||
|
||||
std::string getInputImage()const;
|
||||
void setInputImage(const std::string& inputImage);
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getFpDBId()const;
|
||||
void setFpDBId(const std::string& fpDBId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getInputVideo()const;
|
||||
void setInputVideo(const std::string& inputVideo);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getConfig()const;
|
||||
void setConfig(const std::string& config);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
|
||||
private:
|
||||
std::string inputImage_;
|
||||
std::string userData_;
|
||||
long resourceOwnerId_;
|
||||
std::string fpDBId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string inputVideo_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string config_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitImageSearchJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitImageSearchJobResult();
|
||||
explicit SubmitImageSearchJobResult(const std::string &payload);
|
||||
~SubmitImageSearchJobResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBRESULT_H_
|
||||
@@ -334,6 +334,14 @@ namespace AlibabaCloud
|
||||
std::string map;
|
||||
bool success;
|
||||
};
|
||||
struct Amix
|
||||
{
|
||||
std::string amixURL;
|
||||
std::string start;
|
||||
std::string mixDurMode;
|
||||
std::string duration;
|
||||
std::string map;
|
||||
};
|
||||
std::string rotate;
|
||||
DigiWaterMark digiWaterMark;
|
||||
std::string userData;
|
||||
@@ -351,6 +359,7 @@ namespace AlibabaCloud
|
||||
std::string templateId;
|
||||
OutputFile outputFile;
|
||||
std::vector<TailSlate> tailSlateList;
|
||||
std::vector<Amix> amixList;
|
||||
std::string priority;
|
||||
std::string mergeConfigUrl;
|
||||
std::string deWatermark;
|
||||
|
||||
78
mts/include/alibabacloud/mts/model/SubmitMCJobRequest.h
Normal file
78
mts/include/alibabacloud/mts/model/SubmitMCJobRequest.h
Normal file
@@ -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_MTS_MODEL_SUBMITMCJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMCJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitMCJobRequest();
|
||||
~SubmitMCJobRequest();
|
||||
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getImages()const;
|
||||
void setImages(const std::string& images);
|
||||
std::string getTexts()const;
|
||||
void setTexts(const std::string& texts);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getVideo()const;
|
||||
void setVideo(const std::string& video);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCensorConfig()const;
|
||||
void setCensorConfig(const std::string& censorConfig);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
|
||||
private:
|
||||
std::string userData_;
|
||||
long resourceOwnerId_;
|
||||
std::string images_;
|
||||
std::string texts_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string video_;
|
||||
long ownerId_;
|
||||
std::string censorConfig_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBRESULT_H_
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitCensorJobResult : public ServiceResult
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMCJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitCensorJobResult();
|
||||
explicit SubmitCensorJobResult(const std::string &payload);
|
||||
~SubmitCensorJobResult();
|
||||
SubmitMCJobResult();
|
||||
explicit SubmitMCJobResult(const std::string &payload);
|
||||
~SubmitMCJobResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBRESULT_H_
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_
|
||||
75
mts/include/alibabacloud/mts/model/SubmitMcuJobRequest.h
Normal file
75
mts/include/alibabacloud/mts/model/SubmitMcuJobRequest.h
Normal file
@@ -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_MTS_MODEL_SUBMITMCUJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMcuJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitMcuJobRequest();
|
||||
~SubmitMcuJobRequest();
|
||||
|
||||
std::string get_Template()const;
|
||||
void set_Template(const std::string& _template);
|
||||
std::string getInput()const;
|
||||
void setInput(const std::string& input);
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string input_;
|
||||
std::string userData_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_
|
||||
51
mts/include/alibabacloud/mts/model/SubmitMcuJobResult.h
Normal file
51
mts/include/alibabacloud/mts/model/SubmitMcuJobResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMcuJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitMcuJobResult();
|
||||
explicit SubmitMcuJobResult(const std::string &payload);
|
||||
~SubmitMcuJobResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitCensorJobRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMediaCensorJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitCensorJobRequest();
|
||||
~SubmitCensorJobRequest();
|
||||
SubmitMediaCensorJobRequest();
|
||||
~SubmitMediaCensorJobRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
@@ -49,12 +49,12 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getCensorConfig()const;
|
||||
void setCensorConfig(const std::string& censorConfig);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
std::string getVideoCensorConfig()const;
|
||||
void setVideoCensorConfig(const std::string& videoCensorConfig);
|
||||
std::string getInput()const;
|
||||
void setInput(const std::string& input);
|
||||
std::string getUserData()const;
|
||||
@@ -70,9 +70,9 @@ namespace AlibabaCloud
|
||||
std::string description_;
|
||||
long ownerId_;
|
||||
std::string title_;
|
||||
std::string censorConfig_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
std::string videoCensorConfig_;
|
||||
std::string input_;
|
||||
std::string userData_;
|
||||
std::string barrages_;
|
||||
@@ -81,4 +81,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMediaCensorJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitMediaCensorJobResult();
|
||||
explicit SubmitMediaCensorJobResult(const std::string &payload);
|
||||
~SubmitMediaCensorJobResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMediaFpDeleteJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitMediaFpDeleteJobRequest();
|
||||
~SubmitMediaFpDeleteJobRequest();
|
||||
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getFpDBId()const;
|
||||
void setFpDBId(const std::string& fpDBId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
std::string getPrimaryKey()const;
|
||||
void setPrimaryKey(const std::string& primaryKey);
|
||||
|
||||
private:
|
||||
std::string userData_;
|
||||
long resourceOwnerId_;
|
||||
std::string fpDBId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
std::string primaryKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitMediaFpDeleteJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitMediaFpDeleteJobResult();
|
||||
explicit SubmitMediaFpDeleteJobResult(const std::string &payload);
|
||||
~SubmitMediaFpDeleteJobResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitVideoPoseJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitVideoPoseJobRequest();
|
||||
~SubmitVideoPoseJobRequest();
|
||||
|
||||
std::string getInput()const;
|
||||
void setInput(const std::string& input);
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getOutputConfig()const;
|
||||
void setOutputConfig(const std::string& outputConfig);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPipelineId()const;
|
||||
void setPipelineId(const std::string& pipelineId);
|
||||
|
||||
private:
|
||||
std::string input_;
|
||||
std::string userData_;
|
||||
long resourceOwnerId_;
|
||||
std::string outputConfig_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_
|
||||
188
mts/include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h
Normal file
188
mts/include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h
Normal file
@@ -0,0 +1,188 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT SubmitVideoPoseJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VideoPoseJob
|
||||
{
|
||||
struct Input
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string roleArn;
|
||||
std::string location;
|
||||
};
|
||||
struct OutputConfig
|
||||
{
|
||||
struct VideoFile
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string roleArn;
|
||||
std::string location;
|
||||
};
|
||||
struct DataFile
|
||||
{
|
||||
std::string bucket;
|
||||
std::string object;
|
||||
std::string roleArn;
|
||||
std::string location;
|
||||
};
|
||||
DataFile dataFile;
|
||||
VideoFile videoFile;
|
||||
};
|
||||
struct Properties
|
||||
{
|
||||
struct Streams
|
||||
{
|
||||
struct VideoStream
|
||||
{
|
||||
struct NetworkCost
|
||||
{
|
||||
std::string avgBitrate;
|
||||
std::string preloadTime;
|
||||
std::string costBandwidth;
|
||||
};
|
||||
std::string codecTag;
|
||||
std::string codecTimeBase;
|
||||
std::string rotate;
|
||||
std::string sar;
|
||||
std::string fps;
|
||||
std::string startTime;
|
||||
std::string index;
|
||||
std::string duration;
|
||||
std::string lang;
|
||||
std::string pixFmt;
|
||||
NetworkCost networkCost;
|
||||
std::string codecName;
|
||||
std::string bitrate;
|
||||
std::string profile;
|
||||
std::string avgFPS;
|
||||
std::string timebase;
|
||||
std::string codecTagString;
|
||||
std::string hasBFrames;
|
||||
std::string dar;
|
||||
std::string codecLongName;
|
||||
std::string height;
|
||||
std::string level;
|
||||
std::string width;
|
||||
std::string numFrames;
|
||||
};
|
||||
struct AudioStream
|
||||
{
|
||||
std::string codecTag;
|
||||
std::string codecTimeBase;
|
||||
std::string channelLayout;
|
||||
std::string startTime;
|
||||
std::string index;
|
||||
std::string duration;
|
||||
std::string lang;
|
||||
std::string sampleFmt;
|
||||
std::string codecName;
|
||||
std::string samplerate;
|
||||
std::string bitrate;
|
||||
std::string channels;
|
||||
std::string timebase;
|
||||
std::string codecTagString;
|
||||
std::string codecLongName;
|
||||
std::string numFrames;
|
||||
};
|
||||
struct SubtitleStream
|
||||
{
|
||||
std::string codecTag;
|
||||
std::string timebase;
|
||||
std::string codecTagString;
|
||||
std::string codecTimeBase;
|
||||
std::string codecLongName;
|
||||
std::string startTime;
|
||||
std::string index;
|
||||
std::string duration;
|
||||
std::string lang;
|
||||
std::string codecName;
|
||||
};
|
||||
std::vector<VideoStream> videoStreamList;
|
||||
std::vector<SubtitleStream> subtitleStreamList;
|
||||
std::vector<AudioStream> audioStreamList;
|
||||
};
|
||||
struct Format
|
||||
{
|
||||
std::string numPrograms;
|
||||
std::string size;
|
||||
std::string formatLongName;
|
||||
std::string startTime;
|
||||
std::string numStreams;
|
||||
std::string formatName;
|
||||
std::string duration;
|
||||
std::string bitrate;
|
||||
};
|
||||
Format format;
|
||||
std::string fps;
|
||||
std::string height;
|
||||
std::string duration;
|
||||
std::string fileFormat;
|
||||
std::string width;
|
||||
std::string bitrate;
|
||||
Streams streams;
|
||||
std::string fileSize;
|
||||
};
|
||||
struct MNSMessageResult
|
||||
{
|
||||
std::string errorCode;
|
||||
std::string errorMessage;
|
||||
std::string messageId;
|
||||
};
|
||||
Input input;
|
||||
OutputConfig outputConfig;
|
||||
std::string userData;
|
||||
std::string state;
|
||||
MNSMessageResult mNSMessageResult;
|
||||
std::string pipelineId;
|
||||
Properties properties;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
SubmitVideoPoseJobResult();
|
||||
explicit SubmitVideoPoseJobResult(const std::string &payload);
|
||||
~SubmitVideoPoseJobResult();
|
||||
VideoPoseJob getVideoPoseJob()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
VideoPoseJob videoPoseJob_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_
|
||||
96
mts/include/alibabacloud/mts/model/UpdateMCTemplateRequest.h
Normal file
96
mts/include/alibabacloud/mts/model/UpdateMCTemplateRequest.h
Normal file
@@ -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_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT UpdateMCTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateMCTemplateRequest();
|
||||
~UpdateMCTemplateRequest();
|
||||
|
||||
std::string getPolitics()const;
|
||||
void setPolitics(const std::string& politics);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getContraband()const;
|
||||
void setContraband(const std::string& contraband);
|
||||
std::string getAd()const;
|
||||
void setAd(const std::string& ad);
|
||||
std::string getAbuse()const;
|
||||
void setAbuse(const std::string& abuse);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getQrcode()const;
|
||||
void setQrcode(const std::string& qrcode);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPorn()const;
|
||||
void setPorn(const std::string& porn);
|
||||
std::string getTerrorism()const;
|
||||
void setTerrorism(const std::string& terrorism);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getLogo()const;
|
||||
void setLogo(const std::string& logo);
|
||||
std::string getSpam()const;
|
||||
void setSpam(const std::string& spam);
|
||||
std::string getLive()const;
|
||||
void setLive(const std::string& live);
|
||||
|
||||
private:
|
||||
std::string politics_;
|
||||
long resourceOwnerId_;
|
||||
std::string contraband_;
|
||||
std::string ad_;
|
||||
std::string abuse_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string qrcode_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string accessKeyId_;
|
||||
std::string porn_;
|
||||
std::string terrorism_;
|
||||
std::string name_;
|
||||
std::string logo_;
|
||||
std::string spam_;
|
||||
std::string live_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_
|
||||
67
mts/include/alibabacloud/mts/model/UpdateMCTemplateResult.h
Normal file
67
mts/include/alibabacloud/mts/model/UpdateMCTemplateResult.h
Normal file
@@ -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_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT UpdateMCTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Template
|
||||
{
|
||||
std::string ad;
|
||||
std::string qrcode;
|
||||
std::string terrorism;
|
||||
std::string abuse;
|
||||
std::string live;
|
||||
std::string spam;
|
||||
std::string name;
|
||||
std::string logo;
|
||||
std::string contraband;
|
||||
std::string state;
|
||||
std::string politics;
|
||||
std::string porn;
|
||||
std::string templateId;
|
||||
};
|
||||
|
||||
|
||||
UpdateMCTemplateResult();
|
||||
explicit UpdateMCTemplateResult(const std::string &payload);
|
||||
~UpdateMCTemplateResult();
|
||||
_Template get_Template()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
_Template _template_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATERESULT_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_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT UpdateMcuTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateMcuTemplateRequest();
|
||||
~UpdateMcuTemplateRequest();
|
||||
|
||||
std::string get_Template()const;
|
||||
void set_Template(const std::string& _template);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_
|
||||
51
mts/include/alibabacloud/mts/model/UpdateMcuTemplateResult.h
Normal file
51
mts/include/alibabacloud/mts/model/UpdateMcuTemplateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mts/MtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Mts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MTS_EXPORT UpdateMcuTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateMcuTemplateResult();
|
||||
explicit UpdateMcuTemplateResult(const std::string &payload);
|
||||
~UpdateMcuTemplateResult();
|
||||
std::string getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATERESULT_H_
|
||||
@@ -36,11 +36,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NotifyConfig
|
||||
{
|
||||
std::string mqTag;
|
||||
std::string topic;
|
||||
std::string mqTopic;
|
||||
std::string queueName;
|
||||
};
|
||||
std::string role;
|
||||
std::string speed;
|
||||
long quotaAllocate;
|
||||
std::string state;
|
||||
NotifyConfig notifyConfig;
|
||||
std::string id;
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace AlibabaCloud
|
||||
std::string qscale;
|
||||
std::string scanMode;
|
||||
std::string preset;
|
||||
std::string longShortMode;
|
||||
std::string fps;
|
||||
std::string gop;
|
||||
std::string remove;
|
||||
@@ -65,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string height;
|
||||
std::string degrain;
|
||||
std::string width;
|
||||
std::string resoPriority;
|
||||
};
|
||||
struct Audio
|
||||
{
|
||||
@@ -100,7 +102,12 @@ namespace AlibabaCloud
|
||||
std::string ditherMode;
|
||||
std::string isCustomPalette;
|
||||
};
|
||||
struct Webp
|
||||
{
|
||||
std::string loop;
|
||||
};
|
||||
Gif gif;
|
||||
Webp webp;
|
||||
Segment segment;
|
||||
};
|
||||
Container container;
|
||||
|
||||
1746
mts/src/MtsClient.cc
1746
mts/src/MtsClient.cc
File diff suppressed because it is too large
Load Diff
203
mts/src/model/AddMCTemplateRequest.cc
Normal file
203
mts/src/model/AddMCTemplateRequest.cc
Normal file
@@ -0,0 +1,203 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/AddMCTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::AddMCTemplateRequest;
|
||||
|
||||
AddMCTemplateRequest::AddMCTemplateRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "AddMCTemplate")
|
||||
{}
|
||||
|
||||
AddMCTemplateRequest::~AddMCTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string AddMCTemplateRequest::getPolitics()const
|
||||
{
|
||||
return politics_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setPolitics(const std::string& politics)
|
||||
{
|
||||
politics_ = politics;
|
||||
setParameter("Politics", politics);
|
||||
}
|
||||
|
||||
long AddMCTemplateRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getContraband()const
|
||||
{
|
||||
return contraband_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setContraband(const std::string& contraband)
|
||||
{
|
||||
contraband_ = contraband;
|
||||
setParameter("Contraband", contraband);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAd()const
|
||||
{
|
||||
return ad_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setAd(const std::string& ad)
|
||||
{
|
||||
ad_ = ad;
|
||||
setParameter("Ad", ad);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAbuse()const
|
||||
{
|
||||
return abuse_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setAbuse(const std::string& abuse)
|
||||
{
|
||||
abuse_ = abuse;
|
||||
setParameter("Abuse", abuse);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getQrcode()const
|
||||
{
|
||||
return qrcode_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setQrcode(const std::string& qrcode)
|
||||
{
|
||||
qrcode_ = qrcode;
|
||||
setParameter("Qrcode", qrcode);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddMCTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getPorn()const
|
||||
{
|
||||
return porn_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setPorn(const std::string& porn)
|
||||
{
|
||||
porn_ = porn;
|
||||
setParameter("Porn", porn);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getTerrorism()const
|
||||
{
|
||||
return terrorism_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setTerrorism(const std::string& terrorism)
|
||||
{
|
||||
terrorism_ = terrorism;
|
||||
setParameter("Terrorism", terrorism);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getLogo()const
|
||||
{
|
||||
return logo_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setLogo(const std::string& logo)
|
||||
{
|
||||
logo_ = logo;
|
||||
setParameter("Logo", logo);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getSpam()const
|
||||
{
|
||||
return spam_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setSpam(const std::string& spam)
|
||||
{
|
||||
spam_ = spam;
|
||||
setParameter("Spam", spam);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getLive()const
|
||||
{
|
||||
return live_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setLive(const std::string& live)
|
||||
{
|
||||
live_ = live;
|
||||
setParameter("Live", live);
|
||||
}
|
||||
|
||||
75
mts/src/model/AddMCTemplateResult.cc
Normal file
75
mts/src/model/AddMCTemplateResult.cc
Normal file
@@ -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 <alibabacloud/mts/model/AddMCTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
AddMCTemplateResult::AddMCTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddMCTemplateResult::AddMCTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddMCTemplateResult::~AddMCTemplateResult()
|
||||
{}
|
||||
|
||||
void AddMCTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto _templateNode = value["Template"];
|
||||
if(!_templateNode["TemplateId"].isNull())
|
||||
_template_.templateId = _templateNode["TemplateId"].asString();
|
||||
if(!_templateNode["Name"].isNull())
|
||||
_template_.name = _templateNode["Name"].asString();
|
||||
if(!_templateNode["Porn"].isNull())
|
||||
_template_.porn = _templateNode["Porn"].asString();
|
||||
if(!_templateNode["Terrorism"].isNull())
|
||||
_template_.terrorism = _templateNode["Terrorism"].asString();
|
||||
if(!_templateNode["Politics"].isNull())
|
||||
_template_.politics = _templateNode["Politics"].asString();
|
||||
if(!_templateNode["Ad"].isNull())
|
||||
_template_.ad = _templateNode["Ad"].asString();
|
||||
if(!_templateNode["Qrcode"].isNull())
|
||||
_template_.qrcode = _templateNode["Qrcode"].asString();
|
||||
if(!_templateNode["Live"].isNull())
|
||||
_template_.live = _templateNode["Live"].asString();
|
||||
if(!_templateNode["Logo"].isNull())
|
||||
_template_.logo = _templateNode["Logo"].asString();
|
||||
if(!_templateNode["Abuse"].isNull())
|
||||
_template_.abuse = _templateNode["Abuse"].asString();
|
||||
if(!_templateNode["Contraband"].isNull())
|
||||
_template_.contraband = _templateNode["Contraband"].asString();
|
||||
if(!_templateNode["Spam"].isNull())
|
||||
_template_.spam = _templateNode["Spam"].asString();
|
||||
|
||||
}
|
||||
|
||||
AddMCTemplateResult::_Template AddMCTemplateResult::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
@@ -51,6 +51,8 @@ void AddPipelineResult::parse(const std::string &payload)
|
||||
pipeline_.speed = pipelineNode["Speed"].asString();
|
||||
if(!pipelineNode["SpeedLevel"].isNull())
|
||||
pipeline_.speedLevel = std::stol(pipelineNode["SpeedLevel"].asString());
|
||||
if(!pipelineNode["QuotaAllocate"].isNull())
|
||||
pipeline_.quotaAllocate = std::stol(pipelineNode["QuotaAllocate"].asString());
|
||||
if(!pipelineNode["Role"].isNull())
|
||||
pipeline_.role = pipelineNode["Role"].asString();
|
||||
auto notifyConfigNode = pipelineNode["NotifyConfig"];
|
||||
@@ -58,6 +60,10 @@ void AddPipelineResult::parse(const std::string &payload)
|
||||
pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString();
|
||||
if(!notifyConfigNode["QueueName"].isNull())
|
||||
pipeline_.notifyConfig.queueName = notifyConfigNode["QueueName"].asString();
|
||||
if(!notifyConfigNode["MqTopic"].isNull())
|
||||
pipeline_.notifyConfig.mqTopic = notifyConfigNode["MqTopic"].asString();
|
||||
if(!notifyConfigNode["MqTag"].isNull())
|
||||
pipeline_.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,8 @@ void AddTemplateResult::parse(const std::string &payload)
|
||||
_template_.video.degrain = videoNode["Degrain"].asString();
|
||||
if(!videoNode["Qscale"].isNull())
|
||||
_template_.video.qscale = videoNode["Qscale"].asString();
|
||||
if(!videoNode["LongShortMode"].isNull())
|
||||
_template_.video.longShortMode = videoNode["LongShortMode"].asString();
|
||||
if(!videoNode["Remove"].isNull())
|
||||
_template_.video.remove = videoNode["Remove"].asString();
|
||||
if(!videoNode["Crop"].isNull())
|
||||
@@ -89,6 +91,8 @@ void AddTemplateResult::parse(const std::string &payload)
|
||||
_template_.video.pad = videoNode["Pad"].asString();
|
||||
if(!videoNode["MaxFps"].isNull())
|
||||
_template_.video.maxFps = videoNode["MaxFps"].asString();
|
||||
if(!videoNode["ResoPriority"].isNull())
|
||||
_template_.video.resoPriority = videoNode["ResoPriority"].asString();
|
||||
auto bitrateBndNode = videoNode["BitrateBnd"];
|
||||
if(!bitrateBndNode["Max"].isNull())
|
||||
_template_.video.bitrateBnd.max = bitrateBndNode["Max"].asString();
|
||||
@@ -144,6 +148,9 @@ void AddTemplateResult::parse(const std::string &payload)
|
||||
_template_.muxConfig.gif.isCustomPalette = gifNode["IsCustomPalette"].asString();
|
||||
if(!gifNode["DitherMode"].isNull())
|
||||
_template_.muxConfig.gif.ditherMode = gifNode["DitherMode"].asString();
|
||||
auto webpNode = muxConfigNode["Webp"];
|
||||
if(!webpNode["Loop"].isNull())
|
||||
_template_.muxConfig.webp.loop = webpNode["Loop"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
93
mts/src/model/CreateMcuTemplateRequest.cc
Normal file
93
mts/src/model/CreateMcuTemplateRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/CreateMcuTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::CreateMcuTemplateRequest;
|
||||
|
||||
CreateMcuTemplateRequest::CreateMcuTemplateRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "CreateMcuTemplate")
|
||||
{}
|
||||
|
||||
CreateMcuTemplateRequest::~CreateMcuTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string CreateMcuTemplateRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void CreateMcuTemplateRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
long CreateMcuTemplateRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateMcuTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateMcuTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateMcuTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateMcuTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateMcuTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateMcuTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateMcuTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateMcuTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
52
mts/src/model/CreateMcuTemplateResult.cc
Normal file
52
mts/src/model/CreateMcuTemplateResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/CreateMcuTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
CreateMcuTemplateResult::CreateMcuTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMcuTemplateResult::CreateMcuTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMcuTemplateResult::~CreateMcuTemplateResult()
|
||||
{}
|
||||
|
||||
void CreateMcuTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateMcuTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
93
mts/src/model/DeleteMCTemplateRequest.cc
Normal file
93
mts/src/model/DeleteMCTemplateRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/DeleteMCTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::DeleteMCTemplateRequest;
|
||||
|
||||
DeleteMCTemplateRequest::DeleteMCTemplateRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "DeleteMCTemplate")
|
||||
{}
|
||||
|
||||
DeleteMCTemplateRequest::~DeleteMCTemplateRequest()
|
||||
{}
|
||||
|
||||
long DeleteMCTemplateRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMCTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMCTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteMCTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMCTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteMCTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteMCTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteMCTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteMCTemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DeleteMCTemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
std::string DeleteMCTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMCTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
52
mts/src/model/DeleteMCTemplateResult.cc
Normal file
52
mts/src/model/DeleteMCTemplateResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/DeleteMCTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
DeleteMCTemplateResult::DeleteMCTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMCTemplateResult::DeleteMCTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMCTemplateResult::~DeleteMCTemplateResult()
|
||||
{}
|
||||
|
||||
void DeleteMCTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteMCTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
93
mts/src/model/DeleteMcuJobRequest.cc
Normal file
93
mts/src/model/DeleteMcuJobRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/DeleteMcuJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::DeleteMcuJobRequest;
|
||||
|
||||
DeleteMcuJobRequest::DeleteMcuJobRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "DeleteMcuJob")
|
||||
{}
|
||||
|
||||
DeleteMcuJobRequest::~DeleteMcuJobRequest()
|
||||
{}
|
||||
|
||||
long DeleteMcuJobRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMcuJobRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMcuJobRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMcuJobRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
long DeleteMcuJobRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteMcuJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
61
mts/src/model/DeleteMcuJobResult.cc
Normal file
61
mts/src/model/DeleteMcuJobResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/DeleteMcuJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
DeleteMcuJobResult::DeleteMcuJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMcuJobResult::DeleteMcuJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMcuJobResult::~DeleteMcuJobResult()
|
||||
{}
|
||||
|
||||
void DeleteMcuJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistJobIds = value["NonExistJobIds"]["String"];
|
||||
for (const auto &item : allNonExistJobIds)
|
||||
nonExistJobIds_.push_back(item.asString());
|
||||
auto allDeletedJobIds = value["DeletedJobIds"]["String"];
|
||||
for (const auto &item : allDeletedJobIds)
|
||||
deletedJobIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DeleteMcuJobResult::getNonExistJobIds()const
|
||||
{
|
||||
return nonExistJobIds_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DeleteMcuJobResult::getDeletedJobIds()const
|
||||
{
|
||||
return deletedJobIds_;
|
||||
}
|
||||
|
||||
93
mts/src/model/DeleteMcuTemplateRequest.cc
Normal file
93
mts/src/model/DeleteMcuTemplateRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/DeleteMcuTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::DeleteMcuTemplateRequest;
|
||||
|
||||
DeleteMcuTemplateRequest::DeleteMcuTemplateRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "DeleteMcuTemplate")
|
||||
{}
|
||||
|
||||
DeleteMcuTemplateRequest::~DeleteMcuTemplateRequest()
|
||||
{}
|
||||
|
||||
long DeleteMcuTemplateRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMcuTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteMcuTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMcuTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteMcuTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteMcuTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteMcuTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteMcuTemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DeleteMcuTemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
std::string DeleteMcuTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMcuTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
52
mts/src/model/DeleteMcuTemplateResult.cc
Normal file
52
mts/src/model/DeleteMcuTemplateResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/DeleteMcuTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
DeleteMcuTemplateResult::DeleteMcuTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMcuTemplateResult::DeleteMcuTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMcuTemplateResult::~DeleteMcuTemplateResult()
|
||||
{}
|
||||
|
||||
void DeleteMcuTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteMcuTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
@@ -47,6 +47,17 @@ void ListAllMediaBucketRequest::setResourceOwnerAccount(const std::string& resou
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void ListAllMediaBucketRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -58,6 +69,17 @@ void ListAllMediaBucketRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int ListAllMediaBucketRequest::getMaximumPageSize()const
|
||||
{
|
||||
return maximumPageSize_;
|
||||
}
|
||||
|
||||
void ListAllMediaBucketRequest::setMaximumPageSize(int maximumPageSize)
|
||||
{
|
||||
maximumPageSize_ = maximumPageSize;
|
||||
setParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
long ListAllMediaBucketRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -50,9 +50,16 @@ void ListAllMediaBucketResult::parse(const std::string &payload)
|
||||
mediaBucketListObject.type = value["Type"].asString();
|
||||
mediaBucketList_.push_back(mediaBucketListObject);
|
||||
}
|
||||
if(!value["NextPageToken"].isNull())
|
||||
nextPageToken_ = value["NextPageToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketResult::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
std::vector<ListAllMediaBucketResult::MediaBucket> ListAllMediaBucketResult::getMediaBucketList()const
|
||||
{
|
||||
return mediaBucketList_;
|
||||
|
||||
126
mts/src/model/QueryFpImportResultRequest.cc
Normal file
126
mts/src/model/QueryFpImportResultRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryFpImportResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryFpImportResultRequest;
|
||||
|
||||
QueryFpImportResultRequest::QueryFpImportResultRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryFpImportResult")
|
||||
{}
|
||||
|
||||
QueryFpImportResultRequest::~QueryFpImportResultRequest()
|
||||
{}
|
||||
|
||||
long QueryFpImportResultRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryFpImportResultRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryFpImportResultRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryFpImportResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long QueryFpImportResultRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long QueryFpImportResultRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setPageIndex(long pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
long QueryFpImportResultRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
long QueryFpImportResultRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryFpImportResultRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryFpImportResultRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
87
mts/src/model/QueryFpImportResultResult.cc
Normal file
87
mts/src/model/QueryFpImportResultResult.cc
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryFpImportResultResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryFpImportResultResult::QueryFpImportResultResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryFpImportResultResult::QueryFpImportResultResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryFpImportResultResult::~QueryFpImportResultResult()
|
||||
{}
|
||||
|
||||
void QueryFpImportResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFpResultLogInfoList = value["FpResultLogInfoList"]["FpResultLogInfo"];
|
||||
for (auto value : allFpResultLogInfoList)
|
||||
{
|
||||
FpResultLogInfo fpResultLogInfoListObject;
|
||||
if(!value["LogPath"].isNull())
|
||||
fpResultLogInfoListObject.logPath = value["LogPath"].asString();
|
||||
if(!value["LogName"].isNull())
|
||||
fpResultLogInfoListObject.logName = value["LogName"].asString();
|
||||
if(!value["LogStartTime"].isNull())
|
||||
fpResultLogInfoListObject.logStartTime = std::stol(value["LogStartTime"].asString());
|
||||
if(!value["LogEndTime"].isNull())
|
||||
fpResultLogInfoListObject.logEndTime = std::stol(value["LogEndTime"].asString());
|
||||
if(!value["LogSize"].isNull())
|
||||
fpResultLogInfoListObject.logSize = std::stol(value["LogSize"].asString());
|
||||
if(!value["CreateTime"].isNull())
|
||||
fpResultLogInfoListObject.createTime = std::stol(value["CreateTime"].asString());
|
||||
fpResultLogInfoList_.push_back(fpResultLogInfoListObject);
|
||||
}
|
||||
auto pageInfoNode = value["PageInfo"];
|
||||
if(!pageInfoNode["PageIndex"].isNull())
|
||||
pageInfo_.pageIndex = std::stol(pageInfoNode["PageIndex"].asString());
|
||||
if(!pageInfoNode["PageSize"].isNull())
|
||||
pageInfo_.pageSize = std::stol(pageInfoNode["PageSize"].asString());
|
||||
if(!pageInfoNode["Total"].isNull())
|
||||
pageInfo_.total = std::stol(pageInfoNode["Total"].asString());
|
||||
if(!value["LogCount"].isNull())
|
||||
logCount_ = std::stol(value["LogCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
QueryFpImportResultResult::PageInfo QueryFpImportResultResult::getPageInfo()const
|
||||
{
|
||||
return pageInfo_;
|
||||
}
|
||||
|
||||
std::vector<QueryFpImportResultResult::FpResultLogInfo> QueryFpImportResultResult::getFpResultLogInfoList()const
|
||||
{
|
||||
return fpResultLogInfoList_;
|
||||
}
|
||||
|
||||
long QueryFpImportResultResult::getLogCount()const
|
||||
{
|
||||
return logCount_;
|
||||
}
|
||||
|
||||
@@ -47,15 +47,26 @@ void QueryFpShotJobListRequest::setResourceOwnerAccount(const std::string& resou
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getJobIds()const
|
||||
std::string QueryFpShotJobListRequest::getNextPageToken()const
|
||||
{
|
||||
return jobIds_;
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setJobIds(const std::string& jobIds)
|
||||
void QueryFpShotJobListRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
nextPageToken_ = nextPageToken;
|
||||
setParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getStartOfJobCreatedTimeRange()const
|
||||
{
|
||||
return startOfJobCreatedTimeRange_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange)
|
||||
{
|
||||
startOfJobCreatedTimeRange_ = startOfJobCreatedTimeRange;
|
||||
setParameter("StartOfJobCreatedTimeRange", startOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getOwnerAccount()const
|
||||
@@ -69,6 +80,17 @@ void QueryFpShotJobListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryFpShotJobListRequest::getMaximumPageSize()const
|
||||
{
|
||||
return maximumPageSize_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setMaximumPageSize(long maximumPageSize)
|
||||
{
|
||||
maximumPageSize_ = maximumPageSize;
|
||||
setParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
long QueryFpShotJobListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,3 +113,58 @@ void QueryFpShotJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getPipelineId()const
|
||||
{
|
||||
return pipelineId_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setPipelineId(const std::string& pipelineId)
|
||||
{
|
||||
pipelineId_ = pipelineId;
|
||||
setParameter("PipelineId", pipelineId);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getPrimaryKeyList()const
|
||||
{
|
||||
return primaryKeyList_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setPrimaryKeyList(const std::string& primaryKeyList)
|
||||
{
|
||||
primaryKeyList_ = primaryKeyList;
|
||||
setParameter("PrimaryKeyList", primaryKeyList);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListRequest::getEndOfJobCreatedTimeRange()const
|
||||
{
|
||||
return endOfJobCreatedTimeRange_;
|
||||
}
|
||||
|
||||
void QueryFpShotJobListRequest::setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange)
|
||||
{
|
||||
endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange;
|
||||
setParameter("EndOfJobCreatedTimeRange", endOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,6 +50,8 @@ void QueryFpShotJobListResult::parse(const std::string &payload)
|
||||
fpShotJobListObject.userData = value["UserData"].asString();
|
||||
if(!value["PipelineId"].isNull())
|
||||
fpShotJobListObject.pipelineId = value["PipelineId"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
fpShotJobListObject.fileId = value["FileId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
fpShotJobListObject.state = value["State"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
@@ -67,6 +69,11 @@ void QueryFpShotJobListResult::parse(const std::string &payload)
|
||||
fpShotJobListObject.inputFile.location = inputFileNode["Location"].asString();
|
||||
if(!inputFileNode["Object"].isNull())
|
||||
fpShotJobListObject.inputFile.object = inputFileNode["Object"].asString();
|
||||
auto fpShotConfigNode = value["FpShotConfig"];
|
||||
if(!fpShotConfigNode["PrimaryKey"].isNull())
|
||||
fpShotJobListObject.fpShotConfig.primaryKey = fpShotConfigNode["PrimaryKey"].asString();
|
||||
if(!fpShotConfigNode["SaveType"].isNull())
|
||||
fpShotJobListObject.fpShotConfig.saveType = fpShotConfigNode["SaveType"].asString();
|
||||
auto fpShotResultNode = value["FpShotResult"];
|
||||
auto allFpShots = value["FpShots"]["FpShot"];
|
||||
for (auto value : allFpShots)
|
||||
@@ -94,14 +101,55 @@ void QueryFpShotJobListResult::parse(const std::string &payload)
|
||||
}
|
||||
fpShotJobListObject.fpShotResult.fpShots.push_back(fpShotObject);
|
||||
}
|
||||
auto allAudioFpShots = value["AudioFpShots"]["FpShot"];
|
||||
for (auto value : allAudioFpShots)
|
||||
{
|
||||
FpShotJob::FpShotResult::FpShot fpShotObject;
|
||||
if(!value["PrimaryKey"].isNull())
|
||||
fpShotObject.primaryKey = value["PrimaryKey"].asString();
|
||||
if(!value["Similarity"].isNull())
|
||||
fpShotObject.similarity = value["Similarity"].asString();
|
||||
auto allFpShotSlices = value["FpShotSlices"]["FpShotSlice"];
|
||||
for (auto value : allFpShotSlices)
|
||||
{
|
||||
FpShotJob::FpShotResult::FpShot::FpShotSlice fpShotSlicesObject;
|
||||
auto inputNode = value["Input"];
|
||||
if(!inputNode["Start"].isNull())
|
||||
fpShotSlicesObject.input.start = inputNode["Start"].asString();
|
||||
if(!inputNode["Duration"].isNull())
|
||||
fpShotSlicesObject.input.duration = inputNode["Duration"].asString();
|
||||
auto duplicationNode = value["Duplication"];
|
||||
if(!duplicationNode["Start"].isNull())
|
||||
fpShotSlicesObject.duplication.start = duplicationNode["Start"].asString();
|
||||
if(!duplicationNode["Duration"].isNull())
|
||||
fpShotSlicesObject.duplication.duration = duplicationNode["Duration"].asString();
|
||||
fpShotObject.fpShotSlices.push_back(fpShotSlicesObject);
|
||||
}
|
||||
fpShotJobListObject.fpShotResult.audioFpShots.push_back(fpShotObject);
|
||||
}
|
||||
fpShotJobList_.push_back(fpShotJobListObject);
|
||||
}
|
||||
auto allNonExistIds = value["NonExistIds"]["String"];
|
||||
for (const auto &item : allNonExistIds)
|
||||
nonExistIds_.push_back(item.asString());
|
||||
auto allNonExistPrimaryKeys = value["NonExistPrimaryKeys"]["String"];
|
||||
for (const auto &item : allNonExistPrimaryKeys)
|
||||
nonExistPrimaryKeys_.push_back(item.asString());
|
||||
if(!value["NextPageToken"].isNull())
|
||||
nextPageToken_ = value["NextPageToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryFpShotJobListResult::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryFpShotJobListResult::getNonExistPrimaryKeys()const
|
||||
{
|
||||
return nonExistPrimaryKeys_;
|
||||
}
|
||||
|
||||
std::vector<QueryFpShotJobListResult::FpShotJob> QueryFpShotJobListResult::getFpShotJobList()const
|
||||
{
|
||||
return fpShotJobList_;
|
||||
|
||||
93
mts/src/model/QueryImageSearchJobListRequest.cc
Normal file
93
mts/src/model/QueryImageSearchJobListRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryImageSearchJobListRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryImageSearchJobListRequest;
|
||||
|
||||
QueryImageSearchJobListRequest::QueryImageSearchJobListRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryImageSearchJobList")
|
||||
{}
|
||||
|
||||
QueryImageSearchJobListRequest::~QueryImageSearchJobListRequest()
|
||||
{}
|
||||
|
||||
long QueryImageSearchJobListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryImageSearchJobListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryImageSearchJobListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryImageSearchJobListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryImageSearchJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryImageSearchJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryImageSearchJobListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryImageSearchJobListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryImageSearchJobListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryImageSearchJobListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryImageSearchJobListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryImageSearchJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
107
mts/src/model/QueryImageSearchJobListResult.cc
Normal file
107
mts/src/model/QueryImageSearchJobListResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryImageSearchJobListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryImageSearchJobListResult::QueryImageSearchJobListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryImageSearchJobListResult::QueryImageSearchJobListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryImageSearchJobListResult::~QueryImageSearchJobListResult()
|
||||
{}
|
||||
|
||||
void QueryImageSearchJobListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allImageSearchJobList = value["ImageSearchJobList"]["ImageSearchJob"];
|
||||
for (auto value : allImageSearchJobList)
|
||||
{
|
||||
ImageSearchJob imageSearchJobListObject;
|
||||
if(!value["Id"].isNull())
|
||||
imageSearchJobListObject.id = value["Id"].asString();
|
||||
if(!value["UserData"].isNull())
|
||||
imageSearchJobListObject.userData = value["UserData"].asString();
|
||||
if(!value["PipelineId"].isNull())
|
||||
imageSearchJobListObject.pipelineId = value["PipelineId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
imageSearchJobListObject.state = value["State"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
imageSearchJobListObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
imageSearchJobListObject.message = value["Message"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
imageSearchJobListObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["FinishTime"].isNull())
|
||||
imageSearchJobListObject.finishTime = value["FinishTime"].asString();
|
||||
auto inputVideoNode = value["InputVideo"];
|
||||
if(!inputVideoNode["Bucket"].isNull())
|
||||
imageSearchJobListObject.inputVideo.bucket = inputVideoNode["Bucket"].asString();
|
||||
if(!inputVideoNode["Location"].isNull())
|
||||
imageSearchJobListObject.inputVideo.location = inputVideoNode["Location"].asString();
|
||||
if(!inputVideoNode["Object"].isNull())
|
||||
imageSearchJobListObject.inputVideo.object = inputVideoNode["Object"].asString();
|
||||
auto inputImageNode = value["inputImage"];
|
||||
if(!inputImageNode["Bucket"].isNull())
|
||||
imageSearchJobListObject.inputImage.bucket = inputImageNode["Bucket"].asString();
|
||||
if(!inputImageNode["Location"].isNull())
|
||||
imageSearchJobListObject.inputImage.location = inputImageNode["Location"].asString();
|
||||
if(!inputImageNode["Object"].isNull())
|
||||
imageSearchJobListObject.inputImage.object = inputImageNode["Object"].asString();
|
||||
auto resultNode = value["Result"];
|
||||
auto allImageSearchShots = value["ImageSearchShots"]["ImageSearchShotsItem"];
|
||||
for (auto value : allImageSearchShots)
|
||||
{
|
||||
ImageSearchJob::Result::ImageSearchShotsItem imageSearchShotsItemObject;
|
||||
if(!value["MatchedTimestamp"].isNull())
|
||||
imageSearchShotsItemObject.matchedTimestamp = value["MatchedTimestamp"].asString();
|
||||
if(!value["MatchedFrame"].isNull())
|
||||
imageSearchShotsItemObject.matchedFrame = value["MatchedFrame"].asString();
|
||||
if(!value["Similarity"].isNull())
|
||||
imageSearchShotsItemObject.similarity = value["Similarity"].asString();
|
||||
imageSearchJobListObject.result.imageSearchShots.push_back(imageSearchShotsItemObject);
|
||||
}
|
||||
imageSearchJobList_.push_back(imageSearchJobListObject);
|
||||
}
|
||||
auto allNonExistIds = value["NonExistIds"]["String"];
|
||||
for (const auto &item : allNonExistIds)
|
||||
nonExistIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<QueryImageSearchJobListResult::ImageSearchJob> QueryImageSearchJobListResult::getImageSearchJobList()const
|
||||
{
|
||||
return imageSearchJobList_;
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryImageSearchJobListResult::getNonExistIds()const
|
||||
{
|
||||
return nonExistIds_;
|
||||
}
|
||||
|
||||
159
mts/src/model/QueryMCJobListRequest.cc
Normal file
159
mts/src/model/QueryMCJobListRequest.cc
Normal file
@@ -0,0 +1,159 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMCJobListRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryMCJobListRequest;
|
||||
|
||||
QueryMCJobListRequest::QueryMCJobListRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryMCJobList")
|
||||
{}
|
||||
|
||||
QueryMCJobListRequest::~QueryMCJobListRequest()
|
||||
{}
|
||||
|
||||
long QueryMCJobListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getStartOfJobCreatedTimeRange()const
|
||||
{
|
||||
return startOfJobCreatedTimeRange_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange)
|
||||
{
|
||||
startOfJobCreatedTimeRange_ = startOfJobCreatedTimeRange;
|
||||
setParameter("StartOfJobCreatedTimeRange", startOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryMCJobListRequest::getMaximumPageSize()const
|
||||
{
|
||||
return maximumPageSize_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setMaximumPageSize(long maximumPageSize)
|
||||
{
|
||||
maximumPageSize_ = maximumPageSize;
|
||||
setParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
long QueryMCJobListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getPipelineId()const
|
||||
{
|
||||
return pipelineId_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setPipelineId(const std::string& pipelineId)
|
||||
{
|
||||
pipelineId_ = pipelineId;
|
||||
setParameter("PipelineId", pipelineId);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string QueryMCJobListRequest::getEndOfJobCreatedTimeRange()const
|
||||
{
|
||||
return endOfJobCreatedTimeRange_;
|
||||
}
|
||||
|
||||
void QueryMCJobListRequest::setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange)
|
||||
{
|
||||
endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange;
|
||||
setParameter("EndOfJobCreatedTimeRange", endOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
620
mts/src/model/QueryMCJobListResult.cc
Normal file
620
mts/src/model/QueryMCJobListResult.cc
Normal file
@@ -0,0 +1,620 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMCJobListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryMCJobListResult::QueryMCJobListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMCJobListResult::QueryMCJobListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMCJobListResult::~QueryMCJobListResult()
|
||||
{}
|
||||
|
||||
void QueryMCJobListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allJobList = value["JobList"]["Job"];
|
||||
for (auto value : allJobList)
|
||||
{
|
||||
Job jobListObject;
|
||||
if(!value["JobId"].isNull())
|
||||
jobListObject.jobId = value["JobId"].asString();
|
||||
if(!value["UserData"].isNull())
|
||||
jobListObject.userData = value["UserData"].asString();
|
||||
if(!value["PipelineId"].isNull())
|
||||
jobListObject.pipelineId = value["PipelineId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
jobListObject.state = value["State"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
jobListObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
jobListObject.message = value["Message"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
jobListObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["ResultOutputFile"].isNull())
|
||||
jobListObject.resultOutputFile = value["ResultOutputFile"].asString();
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Suggestion"].isNull())
|
||||
jobListObject.result.suggestion = resultNode["Suggestion"].asString();
|
||||
if(!resultNode["Score"].isNull())
|
||||
jobListObject.result.score = resultNode["Score"].asString();
|
||||
auto pornResultNode = resultNode["PornResult"];
|
||||
auto allPornVideos = value["PornVideos"]["PornVideo"];
|
||||
for (auto value : allPornVideos)
|
||||
{
|
||||
Job::Result::PornResult::PornVideo pornVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
pornVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
pornVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
pornVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
pornVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.pornResult.pornVideos.push_back(pornVideoObject);
|
||||
}
|
||||
auto allPornAudios = value["PornAudios"]["PornAudio"];
|
||||
for (auto value : allPornAudios)
|
||||
{
|
||||
Job::Result::PornResult::PornAudio pornAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
pornAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
pornAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
pornAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
pornAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
pornAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
pornAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.pornResult.pornAudios.push_back(pornAudioObject);
|
||||
}
|
||||
auto allPornTexts = value["PornTexts"]["PornText"];
|
||||
for (auto value : allPornTexts)
|
||||
{
|
||||
Job::Result::PornResult::PornText pornTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
pornTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
pornTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
pornTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.pornResult.pornTexts.push_back(pornTextObject);
|
||||
}
|
||||
auto allPornImages = value["PornImages"]["PornImage"];
|
||||
for (auto value : allPornImages)
|
||||
{
|
||||
Job::Result::PornResult::PornImage pornImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
pornImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
pornImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
pornImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
pornImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.pornResult.pornImages.push_back(pornImageObject);
|
||||
}
|
||||
auto allPornOcrs = value["PornOcrs"]["PornOcr"];
|
||||
for (auto value : allPornOcrs)
|
||||
{
|
||||
Job::Result::PornResult::PornOcr pornOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
pornOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
pornOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
pornOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
pornOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
pornOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.pornResult.pornOcrs.push_back(pornOcrObject);
|
||||
}
|
||||
auto terrorismResultNode = resultNode["TerrorismResult"];
|
||||
auto allTerrorismVideos = value["TerrorismVideos"]["TerrorismVideo"];
|
||||
for (auto value : allTerrorismVideos)
|
||||
{
|
||||
Job::Result::TerrorismResult::TerrorismVideo terrorismVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
terrorismVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
terrorismVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
terrorismVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
terrorismVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.terrorismResult.terrorismVideos.push_back(terrorismVideoObject);
|
||||
}
|
||||
auto allTerrorismAudios = value["TerrorismAudios"]["TerrorismAudio"];
|
||||
for (auto value : allTerrorismAudios)
|
||||
{
|
||||
Job::Result::TerrorismResult::TerrorismAudio terrorismAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
terrorismAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
terrorismAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
terrorismAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
terrorismAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
terrorismAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
terrorismAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.terrorismResult.terrorismAudios.push_back(terrorismAudioObject);
|
||||
}
|
||||
auto allTerrorismTexts = value["TerrorismTexts"]["TerrorismText"];
|
||||
for (auto value : allTerrorismTexts)
|
||||
{
|
||||
Job::Result::TerrorismResult::TerrorismText terrorismTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
terrorismTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
terrorismTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
terrorismTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.terrorismResult.terrorismTexts.push_back(terrorismTextObject);
|
||||
}
|
||||
auto allTerrorismImages = value["TerrorismImages"]["TerrorismImage"];
|
||||
for (auto value : allTerrorismImages)
|
||||
{
|
||||
Job::Result::TerrorismResult::TerrorismImage terrorismImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
terrorismImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
terrorismImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
terrorismImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
terrorismImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.terrorismResult.terrorismImages.push_back(terrorismImageObject);
|
||||
}
|
||||
auto allTerrorismOcrs = value["TerrorismOcrs"]["TerrorismOcr"];
|
||||
for (auto value : allTerrorismOcrs)
|
||||
{
|
||||
Job::Result::TerrorismResult::TerrorismOcr terrorismOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
terrorismOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
terrorismOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
terrorismOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
terrorismOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
terrorismOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.terrorismResult.terrorismOcrs.push_back(terrorismOcrObject);
|
||||
}
|
||||
auto politicsResultNode = resultNode["PoliticsResult"];
|
||||
auto allPoliticsVideos = value["PoliticsVideos"]["PoliticsVideo"];
|
||||
for (auto value : allPoliticsVideos)
|
||||
{
|
||||
Job::Result::PoliticsResult::PoliticsVideo politicsVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
politicsVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
politicsVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
politicsVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
politicsVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.politicsResult.politicsVideos.push_back(politicsVideoObject);
|
||||
}
|
||||
auto allPoliticsAudios = value["PoliticsAudios"]["PoliticsAudio"];
|
||||
for (auto value : allPoliticsAudios)
|
||||
{
|
||||
Job::Result::PoliticsResult::PoliticsAudio politicsAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
politicsAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
politicsAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
politicsAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
politicsAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
politicsAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
politicsAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.politicsResult.politicsAudios.push_back(politicsAudioObject);
|
||||
}
|
||||
auto allPoliticsTexts = value["PoliticsTexts"]["PoliticsText"];
|
||||
for (auto value : allPoliticsTexts)
|
||||
{
|
||||
Job::Result::PoliticsResult::PoliticsText politicsTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
politicsTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
politicsTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
politicsTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.politicsResult.politicsTexts.push_back(politicsTextObject);
|
||||
}
|
||||
auto allPoliticsImages = value["PoliticsImages"]["PoliticsImage"];
|
||||
for (auto value : allPoliticsImages)
|
||||
{
|
||||
Job::Result::PoliticsResult::PoliticsImage politicsImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
politicsImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
politicsImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
politicsImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
politicsImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.politicsResult.politicsImages.push_back(politicsImageObject);
|
||||
}
|
||||
auto allPoliticsOcrs = value["PoliticsOcrs"]["PoliticsOcr"];
|
||||
for (auto value : allPoliticsOcrs)
|
||||
{
|
||||
Job::Result::PoliticsResult::PoliticsOcr politicsOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
politicsOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
politicsOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
politicsOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
politicsOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
politicsOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.politicsResult.politicsOcrs.push_back(politicsOcrObject);
|
||||
}
|
||||
auto adResultNode = resultNode["AdResult"];
|
||||
auto allAdVideos = value["AdVideos"]["AdVideo"];
|
||||
for (auto value : allAdVideos)
|
||||
{
|
||||
Job::Result::AdResult::AdVideo adVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
adVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
adVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
adVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
adVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.adResult.adVideos.push_back(adVideoObject);
|
||||
}
|
||||
auto allAdAudios = value["AdAudios"]["AdAudio"];
|
||||
for (auto value : allAdAudios)
|
||||
{
|
||||
Job::Result::AdResult::AdAudio adAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
adAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
adAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
adAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
adAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
adAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
adAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.adResult.adAudios.push_back(adAudioObject);
|
||||
}
|
||||
auto allAdTexts = value["AdTexts"]["AdText"];
|
||||
for (auto value : allAdTexts)
|
||||
{
|
||||
Job::Result::AdResult::AdText adTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
adTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
adTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
adTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.adResult.adTexts.push_back(adTextObject);
|
||||
}
|
||||
auto allAdImages = value["AdImages"]["AdImage"];
|
||||
for (auto value : allAdImages)
|
||||
{
|
||||
Job::Result::AdResult::AdImage adImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
adImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
adImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
adImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
adImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.adResult.adImages.push_back(adImageObject);
|
||||
}
|
||||
auto allAdOcrs = value["AdOcrs"]["AdOcr"];
|
||||
for (auto value : allAdOcrs)
|
||||
{
|
||||
Job::Result::AdResult::AdOcr adOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
adOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
adOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
adOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
adOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
adOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.adResult.adOcrs.push_back(adOcrObject);
|
||||
}
|
||||
auto qrcodeResultNode = resultNode["QrcodeResult"];
|
||||
auto allQrcodeVideos = value["QrcodeVideos"]["QrcodeVideo"];
|
||||
for (auto value : allQrcodeVideos)
|
||||
{
|
||||
Job::Result::QrcodeResult::QrcodeVideo qrcodeVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
qrcodeVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
qrcodeVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
qrcodeVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
qrcodeVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.qrcodeResult.qrcodeVideos.push_back(qrcodeVideoObject);
|
||||
}
|
||||
auto allQrcodeImages = value["QrcodeImages"]["QrcodeImage"];
|
||||
for (auto value : allQrcodeImages)
|
||||
{
|
||||
Job::Result::QrcodeResult::QrcodeImage qrcodeImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
qrcodeImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
qrcodeImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
qrcodeImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
qrcodeImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.qrcodeResult.qrcodeImages.push_back(qrcodeImageObject);
|
||||
}
|
||||
auto liveResultNode = resultNode["LiveResult"];
|
||||
auto allLiveVideos = value["LiveVideos"]["LiveVideo"];
|
||||
for (auto value : allLiveVideos)
|
||||
{
|
||||
Job::Result::LiveResult::LiveVideo liveVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
liveVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
liveVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
liveVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
liveVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.liveResult.liveVideos.push_back(liveVideoObject);
|
||||
}
|
||||
auto allLiveImages = value["LiveImages"]["LiveImage"];
|
||||
for (auto value : allLiveImages)
|
||||
{
|
||||
Job::Result::LiveResult::LiveImage liveImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
liveImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
liveImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
liveImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
liveImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.liveResult.liveImages.push_back(liveImageObject);
|
||||
}
|
||||
auto logoResultNode = resultNode["LogoResult"];
|
||||
auto allLogoVideos = value["LogoVideos"]["LogoVideo"];
|
||||
for (auto value : allLogoVideos)
|
||||
{
|
||||
Job::Result::LogoResult::LogoVideo logoVideoObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
logoVideoObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
logoVideoObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
logoVideoObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
logoVideoObject.object = value["Object"].asString();
|
||||
jobListObject.result.logoResult.logoVideos.push_back(logoVideoObject);
|
||||
}
|
||||
auto allLogoImages = value["LogoImages"]["LogoImage"];
|
||||
for (auto value : allLogoImages)
|
||||
{
|
||||
Job::Result::LogoResult::LogoImage logoImageObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
logoImageObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
logoImageObject.score = value["Score"].asString();
|
||||
if(!value["Url"].isNull())
|
||||
logoImageObject.url = value["Url"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
logoImageObject.text = value["Text"].asString();
|
||||
jobListObject.result.logoResult.logoImages.push_back(logoImageObject);
|
||||
}
|
||||
auto abuseResultNode = resultNode["AbuseResult"];
|
||||
auto allAbuseAudios = value["AbuseAudios"]["AbuseAudio"];
|
||||
for (auto value : allAbuseAudios)
|
||||
{
|
||||
Job::Result::AbuseResult::AbuseAudio abuseAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
abuseAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
abuseAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
abuseAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
abuseAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
abuseAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
abuseAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.abuseResult.abuseAudios.push_back(abuseAudioObject);
|
||||
}
|
||||
auto allAbuseTexts = value["AbuseTexts"]["AbuseText"];
|
||||
for (auto value : allAbuseTexts)
|
||||
{
|
||||
Job::Result::AbuseResult::AbuseText abuseTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
abuseTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
abuseTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
abuseTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.abuseResult.abuseTexts.push_back(abuseTextObject);
|
||||
}
|
||||
auto allAbuseOcrs = value["AbuseOcrs"]["AbuseOcr"];
|
||||
for (auto value : allAbuseOcrs)
|
||||
{
|
||||
Job::Result::AbuseResult::AbuseOcr abuseOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
abuseOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
abuseOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
abuseOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
abuseOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
abuseOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.abuseResult.abuseOcrs.push_back(abuseOcrObject);
|
||||
}
|
||||
auto contrabandResultNode = resultNode["ContrabandResult"];
|
||||
auto allContrabandAudios = value["ContrabandAudios"]["ContrabandAudio"];
|
||||
for (auto value : allContrabandAudios)
|
||||
{
|
||||
Job::Result::ContrabandResult::ContrabandAudio contrabandAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
contrabandAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
contrabandAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
contrabandAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
contrabandAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
contrabandAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
contrabandAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.contrabandResult.contrabandAudios.push_back(contrabandAudioObject);
|
||||
}
|
||||
auto allContrabandTexts = value["ContrabandTexts"]["ContrabandText"];
|
||||
for (auto value : allContrabandTexts)
|
||||
{
|
||||
Job::Result::ContrabandResult::ContrabandText contrabandTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
contrabandTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
contrabandTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
contrabandTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.contrabandResult.contrabandTexts.push_back(contrabandTextObject);
|
||||
}
|
||||
auto allContrabandOcrs = value["ContrabandOcrs"]["ContrabandOcr"];
|
||||
for (auto value : allContrabandOcrs)
|
||||
{
|
||||
Job::Result::ContrabandResult::ContrabandOcr contrabandOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
contrabandOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
contrabandOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
contrabandOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
contrabandOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
contrabandOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.contrabandResult.contrabandOcrs.push_back(contrabandOcrObject);
|
||||
}
|
||||
auto spamResultNode = resultNode["SpamResult"];
|
||||
auto allSpamAudios = value["SpamAudios"]["SpamAudio"];
|
||||
for (auto value : allSpamAudios)
|
||||
{
|
||||
Job::Result::SpamResult::SpamAudio spamAudioObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
spamAudioObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
spamAudioObject.score = value["Score"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
spamAudioObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
spamAudioObject.endTime = value["EndTime"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
spamAudioObject.text = value["Text"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
spamAudioObject.object = value["Object"].asString();
|
||||
jobListObject.result.spamResult.spamAudios.push_back(spamAudioObject);
|
||||
}
|
||||
auto allSpamTexts = value["SpamTexts"]["SpamText"];
|
||||
for (auto value : allSpamTexts)
|
||||
{
|
||||
Job::Result::SpamResult::SpamText spamTextObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
spamTextObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
spamTextObject.score = value["Score"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
spamTextObject.text = value["Text"].asString();
|
||||
jobListObject.result.spamResult.spamTexts.push_back(spamTextObject);
|
||||
}
|
||||
auto allSpamOcrs = value["SpamOcrs"]["SpamOcr"];
|
||||
for (auto value : allSpamOcrs)
|
||||
{
|
||||
Job::Result::SpamResult::SpamOcr spamOcrObject;
|
||||
if(!value["Suggestion"].isNull())
|
||||
spamOcrObject.suggestion = value["Suggestion"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
spamOcrObject.score = value["Score"].asString();
|
||||
if(!value["Time"].isNull())
|
||||
spamOcrObject.time = value["Time"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
spamOcrObject.object = value["Object"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
spamOcrObject.text = value["Text"].asString();
|
||||
jobListObject.result.spamResult.spamOcrs.push_back(spamOcrObject);
|
||||
}
|
||||
jobList_.push_back(jobListObject);
|
||||
}
|
||||
auto allNonExistIds = value["NonExistIds"]["String"];
|
||||
for (const auto &item : allNonExistIds)
|
||||
nonExistIds_.push_back(item.asString());
|
||||
if(!value["NextPageToken"].isNull())
|
||||
nextPageToken_ = value["NextPageToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryMCJobListResult::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
std::vector<QueryMCJobListResult::Job> QueryMCJobListResult::getJobList()const
|
||||
{
|
||||
return jobList_;
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryMCJobListResult::getNonExistIds()const
|
||||
{
|
||||
return nonExistIds_;
|
||||
}
|
||||
|
||||
93
mts/src/model/QueryMCTemplateListRequest.cc
Normal file
93
mts/src/model/QueryMCTemplateListRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMCTemplateListRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryMCTemplateListRequest;
|
||||
|
||||
QueryMCTemplateListRequest::QueryMCTemplateListRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryMCTemplateList")
|
||||
{}
|
||||
|
||||
QueryMCTemplateListRequest::~QueryMCTemplateListRequest()
|
||||
{}
|
||||
|
||||
long QueryMCTemplateListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryMCTemplateListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryMCTemplateListRequest::getTemplateIds()const
|
||||
{
|
||||
return templateIds_;
|
||||
}
|
||||
|
||||
void QueryMCTemplateListRequest::setTemplateIds(const std::string& templateIds)
|
||||
{
|
||||
templateIds_ = templateIds;
|
||||
setParameter("TemplateIds", templateIds);
|
||||
}
|
||||
|
||||
std::string QueryMCTemplateListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryMCTemplateListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMCTemplateListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryMCTemplateListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryMCTemplateListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryMCTemplateListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryMCTemplateListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryMCTemplateListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
90
mts/src/model/QueryMCTemplateListResult.cc
Normal file
90
mts/src/model/QueryMCTemplateListResult.cc
Normal file
@@ -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 <alibabacloud/mts/model/QueryMCTemplateListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryMCTemplateListResult::QueryMCTemplateListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMCTemplateListResult::QueryMCTemplateListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMCTemplateListResult::~QueryMCTemplateListResult()
|
||||
{}
|
||||
|
||||
void QueryMCTemplateListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTemplateList = value["TemplateList"]["Template"];
|
||||
for (auto value : allTemplateList)
|
||||
{
|
||||
_Template templateListObject;
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateListObject.templateId = value["TemplateId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
templateListObject.name = value["Name"].asString();
|
||||
if(!value["State"].isNull())
|
||||
templateListObject.state = value["State"].asString();
|
||||
if(!value["Porn"].isNull())
|
||||
templateListObject.porn = value["Porn"].asString();
|
||||
if(!value["Terrorism"].isNull())
|
||||
templateListObject.terrorism = value["Terrorism"].asString();
|
||||
if(!value["Politics"].isNull())
|
||||
templateListObject.politics = value["Politics"].asString();
|
||||
if(!value["Ad"].isNull())
|
||||
templateListObject.ad = value["Ad"].asString();
|
||||
if(!value["Qrcode"].isNull())
|
||||
templateListObject.qrcode = value["Qrcode"].asString();
|
||||
if(!value["Live"].isNull())
|
||||
templateListObject.live = value["Live"].asString();
|
||||
if(!value["Logo"].isNull())
|
||||
templateListObject.logo = value["Logo"].asString();
|
||||
if(!value["Abuse"].isNull())
|
||||
templateListObject.abuse = value["Abuse"].asString();
|
||||
if(!value["Contraband"].isNull())
|
||||
templateListObject.contraband = value["Contraband"].asString();
|
||||
if(!value["Spam"].isNull())
|
||||
templateListObject.spam = value["Spam"].asString();
|
||||
templateList_.push_back(templateListObject);
|
||||
}
|
||||
auto allNonExistTids = value["NonExistTids"]["String"];
|
||||
for (const auto &item : allNonExistTids)
|
||||
nonExistTids_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<QueryMCTemplateListResult::_Template> QueryMCTemplateListResult::getTemplateList()const
|
||||
{
|
||||
return templateList_;
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryMCTemplateListResult::getNonExistTids()const
|
||||
{
|
||||
return nonExistTids_;
|
||||
}
|
||||
|
||||
93
mts/src/model/QueryMcuJobRequest.cc
Normal file
93
mts/src/model/QueryMcuJobRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMcuJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryMcuJobRequest;
|
||||
|
||||
QueryMcuJobRequest::QueryMcuJobRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryMcuJob")
|
||||
{}
|
||||
|
||||
QueryMcuJobRequest::~QueryMcuJobRequest()
|
||||
{}
|
||||
|
||||
long QueryMcuJobRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryMcuJobRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryMcuJobRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryMcuJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMcuJobRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryMcuJobRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMcuJobRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryMcuJobRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
long QueryMcuJobRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryMcuJobRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryMcuJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryMcuJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
173
mts/src/model/QueryMcuJobResult.cc
Normal file
173
mts/src/model/QueryMcuJobResult.cc
Normal file
@@ -0,0 +1,173 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMcuJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryMcuJobResult::QueryMcuJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMcuJobResult::QueryMcuJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMcuJobResult::~QueryMcuJobResult()
|
||||
{}
|
||||
|
||||
void QueryMcuJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allJobResult = value["JobResult"]["Job"];
|
||||
for (auto value : allJobResult)
|
||||
{
|
||||
Job jobResultObject;
|
||||
if(!value["JobId"].isNull())
|
||||
jobResultObject.jobId = value["JobId"].asString();
|
||||
if(!value["UserData"].isNull())
|
||||
jobResultObject.userData = value["UserData"].asString();
|
||||
if(!value["TemplateId"].isNull())
|
||||
jobResultObject.templateId = value["TemplateId"].asString();
|
||||
if(!value["Template"].isNull())
|
||||
jobResultObject._template = value["Template"].asString();
|
||||
auto allOcrResult = value["OcrResult"]["Ocr"];
|
||||
for (auto value : allOcrResult)
|
||||
{
|
||||
Job::Ocr ocrResultObject;
|
||||
if(!value["Time"].isNull())
|
||||
ocrResultObject.time = value["Time"].asString();
|
||||
if(!value["OcrText"].isNull())
|
||||
ocrResultObject.ocrText = value["OcrText"].asString();
|
||||
if(!value["ImageUrl"].isNull())
|
||||
ocrResultObject.imageUrl = value["ImageUrl"].asString();
|
||||
if(!value["ImageId"].isNull())
|
||||
ocrResultObject.imageId = value["ImageId"].asString();
|
||||
jobResultObject.ocrResult.push_back(ocrResultObject);
|
||||
}
|
||||
auto allTagResult = value["TagResult"]["Tag"];
|
||||
for (auto value : allTagResult)
|
||||
{
|
||||
Job::Tag tagResultObject;
|
||||
if(!value["Time"].isNull())
|
||||
tagResultObject.time = value["Time"].asString();
|
||||
if(!value["ImageUrl"].isNull())
|
||||
tagResultObject.imageUrl = value["ImageUrl"].asString();
|
||||
if(!value["ImageId"].isNull())
|
||||
tagResultObject.imageId = value["ImageId"].asString();
|
||||
auto allFrameTagInfos = value["FrameTagInfos"]["FrameTagInfo"];
|
||||
for (auto value : allFrameTagInfos)
|
||||
{
|
||||
Job::Tag::FrameTagInfo frameTagInfosObject;
|
||||
if(!value["Tag"].isNull())
|
||||
frameTagInfosObject.tag = value["Tag"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
frameTagInfosObject.score = value["Score"].asString();
|
||||
if(!value["Category"].isNull())
|
||||
frameTagInfosObject.category = value["Category"].asString();
|
||||
tagResultObject.frameTagInfos.push_back(frameTagInfosObject);
|
||||
}
|
||||
jobResultObject.tagResult.push_back(tagResultObject);
|
||||
}
|
||||
auto allFaceResult = value["FaceResult"]["Face"];
|
||||
for (auto value : allFaceResult)
|
||||
{
|
||||
Job::Face faceResultObject;
|
||||
if(!value["Time"].isNull())
|
||||
faceResultObject.time = value["Time"].asString();
|
||||
if(!value["ImageUrl"].isNull())
|
||||
faceResultObject.imageUrl = value["ImageUrl"].asString();
|
||||
if(!value["ImageId"].isNull())
|
||||
faceResultObject.imageId = value["ImageId"].asString();
|
||||
auto allCelebrities = value["Celebrities"]["Celebrity"];
|
||||
for (auto value : allCelebrities)
|
||||
{
|
||||
Job::Face::Celebrity celebritiesObject;
|
||||
if(!value["Name"].isNull())
|
||||
celebritiesObject.name = value["Name"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
celebritiesObject.score = value["Score"].asString();
|
||||
if(!value["Target"].isNull())
|
||||
celebritiesObject.target = value["Target"].asString();
|
||||
faceResultObject.celebrities.push_back(celebritiesObject);
|
||||
}
|
||||
jobResultObject.faceResult.push_back(faceResultObject);
|
||||
}
|
||||
auto inputNode = value["Input"];
|
||||
if(!inputNode["Bucket"].isNull())
|
||||
jobResultObject.input.bucket = inputNode["Bucket"].asString();
|
||||
if(!inputNode["Location"].isNull())
|
||||
jobResultObject.input.location = inputNode["Location"].asString();
|
||||
if(!inputNode["Object"].isNull())
|
||||
jobResultObject.input.object = inputNode["Object"].asString();
|
||||
auto asrResultNode = value["AsrResult"];
|
||||
if(!asrResultNode["Duration"].isNull())
|
||||
jobResultObject.asrResult.duration = asrResultNode["Duration"].asString();
|
||||
auto allAsrTextList = value["AsrTextList"]["AsrText"];
|
||||
for (auto value : allAsrTextList)
|
||||
{
|
||||
Job::AsrResult::AsrText asrTextObject;
|
||||
if(!value["StartTime"].isNull())
|
||||
asrTextObject.startTime = std::stoi(value["StartTime"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
asrTextObject.endTime = value["EndTime"].asString();
|
||||
if(!value["ChannelId"].isNull())
|
||||
asrTextObject.channelId = value["ChannelId"].asString();
|
||||
if(!value["SpeechRate"].isNull())
|
||||
asrTextObject.speechRate = value["SpeechRate"].asString();
|
||||
if(!value["Text"].isNull())
|
||||
asrTextObject.text = value["Text"].asString();
|
||||
jobResultObject.asrResult.asrTextList.push_back(asrTextObject);
|
||||
}
|
||||
auto categoryResultNode = value["CategoryResult"];
|
||||
if(!categoryResultNode["Details"].isNull())
|
||||
jobResultObject.categoryResult.details = categoryResultNode["Details"].asString();
|
||||
auto allCategories = value["Categories"]["Category"];
|
||||
for (auto value : allCategories)
|
||||
{
|
||||
Job::CategoryResult::Category categoryObject;
|
||||
if(!value["Label"].isNull())
|
||||
categoryObject.label = value["Label"].asString();
|
||||
if(!value["Score"].isNull())
|
||||
categoryObject.score = value["Score"].asString();
|
||||
jobResultObject.categoryResult.categories.push_back(categoryObject);
|
||||
}
|
||||
jobResult_.push_back(jobResultObject);
|
||||
}
|
||||
auto allNonExistJobIds = value["NonExistJobIds"]["String"];
|
||||
for (const auto &item : allNonExistJobIds)
|
||||
nonExistJobIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryMcuJobResult::getNonExistJobIds()const
|
||||
{
|
||||
return nonExistJobIds_;
|
||||
}
|
||||
|
||||
std::vector<QueryMcuJobResult::Job> QueryMcuJobResult::getJobResult()const
|
||||
{
|
||||
return jobResult_;
|
||||
}
|
||||
|
||||
93
mts/src/model/QueryMcuTemplateRequest.cc
Normal file
93
mts/src/model/QueryMcuTemplateRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMcuTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryMcuTemplateRequest;
|
||||
|
||||
QueryMcuTemplateRequest::QueryMcuTemplateRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryMcuTemplate")
|
||||
{}
|
||||
|
||||
QueryMcuTemplateRequest::~QueryMcuTemplateRequest()
|
||||
{}
|
||||
|
||||
long QueryMcuTemplateRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryMcuTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryMcuTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMcuTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryMcuTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryMcuTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryMcuTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryMcuTemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void QueryMcuTemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
std::string QueryMcuTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryMcuTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
60
mts/src/model/QueryMcuTemplateResult.cc
Normal file
60
mts/src/model/QueryMcuTemplateResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMcuTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryMcuTemplateResult::QueryMcuTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMcuTemplateResult::QueryMcuTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMcuTemplateResult::~QueryMcuTemplateResult()
|
||||
{}
|
||||
|
||||
void QueryMcuTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTemplates = value["Templates"]["Job"];
|
||||
for (auto value : allTemplates)
|
||||
{
|
||||
Job templatesObject;
|
||||
if(!value["TemplateId"].isNull())
|
||||
templatesObject.templateId = value["TemplateId"].asString();
|
||||
if(!value["Template"].isNull())
|
||||
templatesObject._template = value["Template"].asString();
|
||||
templates_.push_back(templatesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<QueryMcuTemplateResult::Job> QueryMcuTemplateResult::getTemplates()const
|
||||
{
|
||||
return templates_;
|
||||
}
|
||||
|
||||
115
mts/src/model/QueryMediaCensorJobDetailRequest.cc
Normal file
115
mts/src/model/QueryMediaCensorJobDetailRequest.cc
Normal file
@@ -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 <alibabacloud/mts/model/QueryMediaCensorJobDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryMediaCensorJobDetailRequest;
|
||||
|
||||
QueryMediaCensorJobDetailRequest::QueryMediaCensorJobDetailRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryMediaCensorJobDetail")
|
||||
{}
|
||||
|
||||
QueryMediaCensorJobDetailRequest::~QueryMediaCensorJobDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryMediaCensorJobDetailRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
long QueryMediaCensorJobDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryMediaCensorJobDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMediaCensorJobDetailRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string QueryMediaCensorJobDetailRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryMediaCensorJobDetailRequest::getMaximumPageSize()const
|
||||
{
|
||||
return maximumPageSize_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setMaximumPageSize(long maximumPageSize)
|
||||
{
|
||||
maximumPageSize_ = maximumPageSize;
|
||||
setParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
long QueryMediaCensorJobDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryMediaCensorJobDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryMediaCensorJobDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
180
mts/src/model/QueryMediaCensorJobDetailResult.cc
Normal file
180
mts/src/model/QueryMediaCensorJobDetailResult.cc
Normal file
@@ -0,0 +1,180 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryMediaCensorJobDetailResult::QueryMediaCensorJobDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMediaCensorJobDetailResult::QueryMediaCensorJobDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMediaCensorJobDetailResult::~QueryMediaCensorJobDetailResult()
|
||||
{}
|
||||
|
||||
void QueryMediaCensorJobDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto mediaCensorJobDetailNode = value["MediaCensorJobDetail"];
|
||||
if(!mediaCensorJobDetailNode["Id"].isNull())
|
||||
mediaCensorJobDetail_.id = mediaCensorJobDetailNode["Id"].asString();
|
||||
if(!mediaCensorJobDetailNode["UserData"].isNull())
|
||||
mediaCensorJobDetail_.userData = mediaCensorJobDetailNode["UserData"].asString();
|
||||
if(!mediaCensorJobDetailNode["PipelineId"].isNull())
|
||||
mediaCensorJobDetail_.pipelineId = mediaCensorJobDetailNode["PipelineId"].asString();
|
||||
if(!mediaCensorJobDetailNode["State"].isNull())
|
||||
mediaCensorJobDetail_.state = mediaCensorJobDetailNode["State"].asString();
|
||||
if(!mediaCensorJobDetailNode["Code"].isNull())
|
||||
mediaCensorJobDetail_.code = mediaCensorJobDetailNode["Code"].asString();
|
||||
if(!mediaCensorJobDetailNode["Suggestion"].isNull())
|
||||
mediaCensorJobDetail_.suggestion = mediaCensorJobDetailNode["Suggestion"].asString();
|
||||
if(!mediaCensorJobDetailNode["Message"].isNull())
|
||||
mediaCensorJobDetail_.message = mediaCensorJobDetailNode["Message"].asString();
|
||||
if(!mediaCensorJobDetailNode["CreationTime"].isNull())
|
||||
mediaCensorJobDetail_.creationTime = mediaCensorJobDetailNode["CreationTime"].asString();
|
||||
auto allCoverImageCensorResults = value["CoverImageCensorResults"]["CoverImageCensorResult"];
|
||||
for (auto value : allCoverImageCensorResults)
|
||||
{
|
||||
MediaCensorJobDetail::CoverImageCensorResult coverImageCensorResultObject;
|
||||
if(!value["Location"].isNull())
|
||||
coverImageCensorResultObject.location = value["Location"].asString();
|
||||
if(!value["Bucket"].isNull())
|
||||
coverImageCensorResultObject.bucket = value["Bucket"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
coverImageCensorResultObject.object = value["Object"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
MediaCensorJobDetail::CoverImageCensorResult::Result resultsObject;
|
||||
if(!value["Rate"].isNull())
|
||||
resultsObject.rate = value["Rate"].asString();
|
||||
if(!value["Scene"].isNull())
|
||||
resultsObject.scene = value["Scene"].asString();
|
||||
if(!value["Label"].isNull())
|
||||
resultsObject.label = value["Label"].asString();
|
||||
if(!value["Suggestion"].isNull())
|
||||
resultsObject.suggestion = value["Suggestion"].asString();
|
||||
coverImageCensorResultObject.results.push_back(resultsObject);
|
||||
}
|
||||
mediaCensorJobDetail_.coverImageCensorResults.push_back(coverImageCensorResultObject);
|
||||
}
|
||||
auto titleCensorResultNode = mediaCensorJobDetailNode["TitleCensorResult"];
|
||||
if(!titleCensorResultNode["Rate"].isNull())
|
||||
mediaCensorJobDetail_.titleCensorResult.rate = titleCensorResultNode["Rate"].asString();
|
||||
if(!titleCensorResultNode["Scene"].isNull())
|
||||
mediaCensorJobDetail_.titleCensorResult.scene = titleCensorResultNode["Scene"].asString();
|
||||
if(!titleCensorResultNode["Label"].isNull())
|
||||
mediaCensorJobDetail_.titleCensorResult.label = titleCensorResultNode["Label"].asString();
|
||||
if(!titleCensorResultNode["Suggestion"].isNull())
|
||||
mediaCensorJobDetail_.titleCensorResult.suggestion = titleCensorResultNode["Suggestion"].asString();
|
||||
auto descCensorResultNode = mediaCensorJobDetailNode["DescCensorResult"];
|
||||
if(!descCensorResultNode["Rate"].isNull())
|
||||
mediaCensorJobDetail_.descCensorResult.rate = descCensorResultNode["Rate"].asString();
|
||||
if(!descCensorResultNode["Scene"].isNull())
|
||||
mediaCensorJobDetail_.descCensorResult.scene = descCensorResultNode["Scene"].asString();
|
||||
if(!descCensorResultNode["Label"].isNull())
|
||||
mediaCensorJobDetail_.descCensorResult.label = descCensorResultNode["Label"].asString();
|
||||
if(!descCensorResultNode["Suggestion"].isNull())
|
||||
mediaCensorJobDetail_.descCensorResult.suggestion = descCensorResultNode["Suggestion"].asString();
|
||||
auto barrageCensorResultNode = mediaCensorJobDetailNode["BarrageCensorResult"];
|
||||
if(!barrageCensorResultNode["Rate"].isNull())
|
||||
mediaCensorJobDetail_.barrageCensorResult.rate = barrageCensorResultNode["Rate"].asString();
|
||||
if(!barrageCensorResultNode["Scene"].isNull())
|
||||
mediaCensorJobDetail_.barrageCensorResult.scene = barrageCensorResultNode["Scene"].asString();
|
||||
if(!barrageCensorResultNode["Label"].isNull())
|
||||
mediaCensorJobDetail_.barrageCensorResult.label = barrageCensorResultNode["Label"].asString();
|
||||
if(!barrageCensorResultNode["Suggestion"].isNull())
|
||||
mediaCensorJobDetail_.barrageCensorResult.suggestion = barrageCensorResultNode["Suggestion"].asString();
|
||||
auto inputNode = mediaCensorJobDetailNode["Input"];
|
||||
if(!inputNode["Bucket"].isNull())
|
||||
mediaCensorJobDetail_.input.bucket = inputNode["Bucket"].asString();
|
||||
if(!inputNode["Location"].isNull())
|
||||
mediaCensorJobDetail_.input.location = inputNode["Location"].asString();
|
||||
if(!inputNode["Object"].isNull())
|
||||
mediaCensorJobDetail_.input.object = inputNode["Object"].asString();
|
||||
auto videoCensorConfigNode = mediaCensorJobDetailNode["VideoCensorConfig"];
|
||||
if(!videoCensorConfigNode["BizType"].isNull())
|
||||
mediaCensorJobDetail_.videoCensorConfig.bizType = videoCensorConfigNode["BizType"].asString();
|
||||
if(!videoCensorConfigNode["VideoCensor"].isNull())
|
||||
mediaCensorJobDetail_.videoCensorConfig.videoCensor = videoCensorConfigNode["VideoCensor"].asString();
|
||||
auto outputFileNode = videoCensorConfigNode["OutputFile"];
|
||||
if(!outputFileNode["Bucket"].isNull())
|
||||
mediaCensorJobDetail_.videoCensorConfig.outputFile.bucket = outputFileNode["Bucket"].asString();
|
||||
if(!outputFileNode["Location"].isNull())
|
||||
mediaCensorJobDetail_.videoCensorConfig.outputFile.location = outputFileNode["Location"].asString();
|
||||
if(!outputFileNode["Object"].isNull())
|
||||
mediaCensorJobDetail_.videoCensorConfig.outputFile.object = outputFileNode["Object"].asString();
|
||||
auto vensorCensorResultNode = mediaCensorJobDetailNode["VensorCensorResult"];
|
||||
if(!vensorCensorResultNode["NextPageToken"].isNull())
|
||||
mediaCensorJobDetail_.vensorCensorResult.nextPageToken = vensorCensorResultNode["NextPageToken"].asString();
|
||||
auto allCensorResults = value["CensorResults"]["CensorResult"];
|
||||
for (auto value : allCensorResults)
|
||||
{
|
||||
MediaCensorJobDetail::VensorCensorResult::CensorResult censorResultObject;
|
||||
if(!value["Rate"].isNull())
|
||||
censorResultObject.rate = value["Rate"].asString();
|
||||
if(!value["Scene"].isNull())
|
||||
censorResultObject.scene = value["Scene"].asString();
|
||||
if(!value["Label"].isNull())
|
||||
censorResultObject.label = value["Label"].asString();
|
||||
if(!value["Suggestion"].isNull())
|
||||
censorResultObject.suggestion = value["Suggestion"].asString();
|
||||
mediaCensorJobDetail_.vensorCensorResult.censorResults.push_back(censorResultObject);
|
||||
}
|
||||
auto allVideoTimelines = value["VideoTimelines"]["VideoTimeline"];
|
||||
for (auto value : allVideoTimelines)
|
||||
{
|
||||
MediaCensorJobDetail::VensorCensorResult::VideoTimeline videoTimelineObject;
|
||||
if(!value["Object"].isNull())
|
||||
videoTimelineObject.object = value["Object"].asString();
|
||||
if(!value["Timestamp"].isNull())
|
||||
videoTimelineObject.timestamp = value["Timestamp"].asString();
|
||||
auto allCensorResults1 = value["CensorResults"]["CensorResult"];
|
||||
for (auto value : allCensorResults1)
|
||||
{
|
||||
MediaCensorJobDetail::VensorCensorResult::VideoTimeline::CensorResult2 censorResults1Object;
|
||||
if(!value["Rate"].isNull())
|
||||
censorResults1Object.rate = value["Rate"].asString();
|
||||
if(!value["Scene"].isNull())
|
||||
censorResults1Object.scene = value["Scene"].asString();
|
||||
if(!value["Label"].isNull())
|
||||
censorResults1Object.label = value["Label"].asString();
|
||||
if(!value["Suggestion"].isNull())
|
||||
censorResults1Object.suggestion = value["Suggestion"].asString();
|
||||
videoTimelineObject.censorResults1.push_back(censorResults1Object);
|
||||
}
|
||||
mediaCensorJobDetail_.vensorCensorResult.videoTimelines.push_back(videoTimelineObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
QueryMediaCensorJobDetailResult::MediaCensorJobDetail QueryMediaCensorJobDetailResult::getMediaCensorJobDetail()const
|
||||
{
|
||||
return mediaCensorJobDetail_;
|
||||
}
|
||||
|
||||
93
mts/src/model/QueryMediaFpDeleteJobListRequest.cc
Normal file
93
mts/src/model/QueryMediaFpDeleteJobListRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryMediaFpDeleteJobListRequest;
|
||||
|
||||
QueryMediaFpDeleteJobListRequest::QueryMediaFpDeleteJobListRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryMediaFpDeleteJobList")
|
||||
{}
|
||||
|
||||
QueryMediaFpDeleteJobListRequest::~QueryMediaFpDeleteJobListRequest()
|
||||
{}
|
||||
|
||||
long QueryMediaFpDeleteJobListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryMediaFpDeleteJobListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryMediaFpDeleteJobListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryMediaFpDeleteJobListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryMediaFpDeleteJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryMediaFpDeleteJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryMediaFpDeleteJobListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryMediaFpDeleteJobListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryMediaFpDeleteJobListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryMediaFpDeleteJobListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryMediaFpDeleteJobListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryMediaFpDeleteJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
84
mts/src/model/QueryMediaFpDeleteJobListResult.cc
Normal file
84
mts/src/model/QueryMediaFpDeleteJobListResult.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryMediaFpDeleteJobListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryMediaFpDeleteJobListResult::QueryMediaFpDeleteJobListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMediaFpDeleteJobListResult::QueryMediaFpDeleteJobListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMediaFpDeleteJobListResult::~QueryMediaFpDeleteJobListResult()
|
||||
{}
|
||||
|
||||
void QueryMediaFpDeleteJobListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allMediaFpDeleteJobList = value["MediaFpDeleteJobList"]["MediaFpDeleteJob"];
|
||||
for (auto value : allMediaFpDeleteJobList)
|
||||
{
|
||||
MediaFpDeleteJob mediaFpDeleteJobListObject;
|
||||
if(!value["Id"].isNull())
|
||||
mediaFpDeleteJobListObject.id = value["Id"].asString();
|
||||
if(!value["UserData"].isNull())
|
||||
mediaFpDeleteJobListObject.userData = value["UserData"].asString();
|
||||
if(!value["PipelineId"].isNull())
|
||||
mediaFpDeleteJobListObject.pipelineId = value["PipelineId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
mediaFpDeleteJobListObject.state = value["State"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
mediaFpDeleteJobListObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
mediaFpDeleteJobListObject.message = value["Message"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
mediaFpDeleteJobListObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["FinishTime"].isNull())
|
||||
mediaFpDeleteJobListObject.finishTime = value["FinishTime"].asString();
|
||||
if(!value["PrimaryKey"].isNull())
|
||||
mediaFpDeleteJobListObject.primaryKey = value["PrimaryKey"].asString();
|
||||
if(!value["FpDBId"].isNull())
|
||||
mediaFpDeleteJobListObject.fpDBId = value["FpDBId"].asString();
|
||||
mediaFpDeleteJobList_.push_back(mediaFpDeleteJobListObject);
|
||||
}
|
||||
auto allNonExistIds = value["NonExistIds"]["String"];
|
||||
for (const auto &item : allNonExistIds)
|
||||
nonExistIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryMediaFpDeleteJobListResult::getNonExistIds()const
|
||||
{
|
||||
return nonExistIds_;
|
||||
}
|
||||
|
||||
std::vector<QueryMediaFpDeleteJobListResult::MediaFpDeleteJob> QueryMediaFpDeleteJobListResult::getMediaFpDeleteJobList()const
|
||||
{
|
||||
return mediaFpDeleteJobList_;
|
||||
}
|
||||
|
||||
@@ -54,6 +54,8 @@ void QueryPipelineListResult::parse(const std::string &payload)
|
||||
pipelineListObject.speed = value["Speed"].asString();
|
||||
if(!value["SpeedLevel"].isNull())
|
||||
pipelineListObject.speedLevel = std::stol(value["SpeedLevel"].asString());
|
||||
if(!value["QuotaAllocate"].isNull())
|
||||
pipelineListObject.quotaAllocate = std::stol(value["QuotaAllocate"].asString());
|
||||
if(!value["Role"].isNull())
|
||||
pipelineListObject.role = value["Role"].asString();
|
||||
auto notifyConfigNode = value["NotifyConfig"];
|
||||
@@ -61,6 +63,10 @@ void QueryPipelineListResult::parse(const std::string &payload)
|
||||
pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString();
|
||||
if(!notifyConfigNode["QueueName"].isNull())
|
||||
pipelineListObject.notifyConfig.queueName = notifyConfigNode["QueueName"].asString();
|
||||
if(!notifyConfigNode["MqTopic"].isNull())
|
||||
pipelineListObject.notifyConfig.mqTopic = notifyConfigNode["MqTopic"].asString();
|
||||
if(!notifyConfigNode["MqTag"].isNull())
|
||||
pipelineListObject.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString();
|
||||
pipelineList_.push_back(pipelineListObject);
|
||||
}
|
||||
auto allNonExistPids = value["NonExistPids"]["String"];
|
||||
|
||||
@@ -84,6 +84,8 @@ void QueryTemplateListResult::parse(const std::string &payload)
|
||||
templateListObject.video.degrain = videoNode["Degrain"].asString();
|
||||
if(!videoNode["Qscale"].isNull())
|
||||
templateListObject.video.qscale = videoNode["Qscale"].asString();
|
||||
if(!videoNode["LongShortMode"].isNull())
|
||||
templateListObject.video.longShortMode = videoNode["LongShortMode"].asString();
|
||||
if(!videoNode["Remove"].isNull())
|
||||
templateListObject.video.remove = videoNode["Remove"].asString();
|
||||
if(!videoNode["Crop"].isNull())
|
||||
@@ -92,6 +94,8 @@ void QueryTemplateListResult::parse(const std::string &payload)
|
||||
templateListObject.video.pad = videoNode["Pad"].asString();
|
||||
if(!videoNode["MaxFps"].isNull())
|
||||
templateListObject.video.maxFps = videoNode["MaxFps"].asString();
|
||||
if(!videoNode["ResoPriority"].isNull())
|
||||
templateListObject.video.resoPriority = videoNode["ResoPriority"].asString();
|
||||
auto bitrateBndNode = videoNode["BitrateBnd"];
|
||||
if(!bitrateBndNode["Max"].isNull())
|
||||
templateListObject.video.bitrateBnd.max = bitrateBndNode["Max"].asString();
|
||||
@@ -142,6 +146,9 @@ void QueryTemplateListResult::parse(const std::string &payload)
|
||||
templateListObject.muxConfig.gif.isCustomPalette = gifNode["IsCustomPalette"].asString();
|
||||
if(!gifNode["DitherMode"].isNull())
|
||||
templateListObject.muxConfig.gif.ditherMode = gifNode["DitherMode"].asString();
|
||||
auto webpNode = muxConfigNode["Webp"];
|
||||
if(!webpNode["Loop"].isNull())
|
||||
templateListObject.muxConfig.webp.loop = webpNode["Loop"].asString();
|
||||
templateList_.push_back(templateListObject);
|
||||
}
|
||||
auto allNonExistTids = value["NonExistTids"]["String"];
|
||||
|
||||
93
mts/src/model/QueryVideoPoseJobListRequest.cc
Normal file
93
mts/src/model/QueryVideoPoseJobListRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryVideoPoseJobListRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::QueryVideoPoseJobListRequest;
|
||||
|
||||
QueryVideoPoseJobListRequest::QueryVideoPoseJobListRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "QueryVideoPoseJobList")
|
||||
{}
|
||||
|
||||
QueryVideoPoseJobListRequest::~QueryVideoPoseJobListRequest()
|
||||
{}
|
||||
|
||||
long QueryVideoPoseJobListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryVideoPoseJobListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryVideoPoseJobListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryVideoPoseJobListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryVideoPoseJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryVideoPoseJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryVideoPoseJobListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void QueryVideoPoseJobListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long QueryVideoPoseJobListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryVideoPoseJobListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryVideoPoseJobListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryVideoPoseJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
263
mts/src/model/QueryVideoPoseJobListResult.cc
Normal file
263
mts/src/model/QueryVideoPoseJobListResult.cc
Normal file
@@ -0,0 +1,263 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/QueryVideoPoseJobListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Mts;
|
||||
using namespace AlibabaCloud::Mts::Model;
|
||||
|
||||
QueryVideoPoseJobListResult::QueryVideoPoseJobListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryVideoPoseJobListResult::QueryVideoPoseJobListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryVideoPoseJobListResult::~QueryVideoPoseJobListResult()
|
||||
{}
|
||||
|
||||
void QueryVideoPoseJobListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allJobList = value["JobList"]["Job"];
|
||||
for (auto value : allJobList)
|
||||
{
|
||||
Job jobListObject;
|
||||
if(!value["JobId"].isNull())
|
||||
jobListObject.jobId = value["JobId"].asString();
|
||||
if(!value["PipelineId"].isNull())
|
||||
jobListObject.pipelineId = value["PipelineId"].asString();
|
||||
if(!value["UserData"].isNull())
|
||||
jobListObject.userData = value["UserData"].asString();
|
||||
if(!value["State"].isNull())
|
||||
jobListObject.state = value["State"].asString();
|
||||
auto inputNode = value["Input"];
|
||||
if(!inputNode["Bucket"].isNull())
|
||||
jobListObject.input.bucket = inputNode["Bucket"].asString();
|
||||
if(!inputNode["Location"].isNull())
|
||||
jobListObject.input.location = inputNode["Location"].asString();
|
||||
if(!inputNode["Object"].isNull())
|
||||
jobListObject.input.object = inputNode["Object"].asString();
|
||||
if(!inputNode["RoleArn"].isNull())
|
||||
jobListObject.input.roleArn = inputNode["RoleArn"].asString();
|
||||
auto outputConfigNode = value["OutputConfig"];
|
||||
auto videoFileNode = outputConfigNode["VideoFile"];
|
||||
if(!videoFileNode["Bucket"].isNull())
|
||||
jobListObject.outputConfig.videoFile.bucket = videoFileNode["Bucket"].asString();
|
||||
if(!videoFileNode["Location"].isNull())
|
||||
jobListObject.outputConfig.videoFile.location = videoFileNode["Location"].asString();
|
||||
if(!videoFileNode["Object"].isNull())
|
||||
jobListObject.outputConfig.videoFile.object = videoFileNode["Object"].asString();
|
||||
if(!videoFileNode["RoleArn"].isNull())
|
||||
jobListObject.outputConfig.videoFile.roleArn = videoFileNode["RoleArn"].asString();
|
||||
auto dataFileNode = outputConfigNode["DataFile"];
|
||||
if(!dataFileNode["Bucket"].isNull())
|
||||
jobListObject.outputConfig.dataFile.bucket = dataFileNode["Bucket"].asString();
|
||||
if(!dataFileNode["Location"].isNull())
|
||||
jobListObject.outputConfig.dataFile.location = dataFileNode["Location"].asString();
|
||||
if(!dataFileNode["Object"].isNull())
|
||||
jobListObject.outputConfig.dataFile.object = dataFileNode["Object"].asString();
|
||||
if(!dataFileNode["RoleArn"].isNull())
|
||||
jobListObject.outputConfig.dataFile.roleArn = dataFileNode["RoleArn"].asString();
|
||||
auto propertiesNode = value["Properties"];
|
||||
if(!propertiesNode["Width"].isNull())
|
||||
jobListObject.properties.width = propertiesNode["Width"].asString();
|
||||
if(!propertiesNode["Height"].isNull())
|
||||
jobListObject.properties.height = propertiesNode["Height"].asString();
|
||||
if(!propertiesNode["Bitrate"].isNull())
|
||||
jobListObject.properties.bitrate = propertiesNode["Bitrate"].asString();
|
||||
if(!propertiesNode["Duration"].isNull())
|
||||
jobListObject.properties.duration = propertiesNode["Duration"].asString();
|
||||
if(!propertiesNode["Fps"].isNull())
|
||||
jobListObject.properties.fps = propertiesNode["Fps"].asString();
|
||||
if(!propertiesNode["FileSize"].isNull())
|
||||
jobListObject.properties.fileSize = propertiesNode["FileSize"].asString();
|
||||
if(!propertiesNode["FileFormat"].isNull())
|
||||
jobListObject.properties.fileFormat = propertiesNode["FileFormat"].asString();
|
||||
auto streamsNode = propertiesNode["Streams"];
|
||||
auto allVideoStreamList = value["VideoStreamList"]["VideoStream"];
|
||||
for (auto value : allVideoStreamList)
|
||||
{
|
||||
Job::Properties::Streams::VideoStream videoStreamObject;
|
||||
if(!value["Index"].isNull())
|
||||
videoStreamObject.index = value["Index"].asString();
|
||||
if(!value["CodecName"].isNull())
|
||||
videoStreamObject.codecName = value["CodecName"].asString();
|
||||
if(!value["CodecLongName"].isNull())
|
||||
videoStreamObject.codecLongName = value["CodecLongName"].asString();
|
||||
if(!value["Profile"].isNull())
|
||||
videoStreamObject.profile = value["Profile"].asString();
|
||||
if(!value["CodecTimeBase"].isNull())
|
||||
videoStreamObject.codecTimeBase = value["CodecTimeBase"].asString();
|
||||
if(!value["CodecTagString"].isNull())
|
||||
videoStreamObject.codecTagString = value["CodecTagString"].asString();
|
||||
if(!value["CodecTag"].isNull())
|
||||
videoStreamObject.codecTag = value["CodecTag"].asString();
|
||||
if(!value["Width"].isNull())
|
||||
videoStreamObject.width = value["Width"].asString();
|
||||
if(!value["Height"].isNull())
|
||||
videoStreamObject.height = value["Height"].asString();
|
||||
if(!value["HasBFrames"].isNull())
|
||||
videoStreamObject.hasBFrames = value["HasBFrames"].asString();
|
||||
if(!value["Sar"].isNull())
|
||||
videoStreamObject.sar = value["Sar"].asString();
|
||||
if(!value["Dar"].isNull())
|
||||
videoStreamObject.dar = value["Dar"].asString();
|
||||
if(!value["PixFmt"].isNull())
|
||||
videoStreamObject.pixFmt = value["PixFmt"].asString();
|
||||
if(!value["Level"].isNull())
|
||||
videoStreamObject.level = value["Level"].asString();
|
||||
if(!value["Fps"].isNull())
|
||||
videoStreamObject.fps = value["Fps"].asString();
|
||||
if(!value["AvgFPS"].isNull())
|
||||
videoStreamObject.avgFPS = value["AvgFPS"].asString();
|
||||
if(!value["Timebase"].isNull())
|
||||
videoStreamObject.timebase = value["Timebase"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
videoStreamObject.startTime = value["StartTime"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
videoStreamObject.duration = value["Duration"].asString();
|
||||
if(!value["Bitrate"].isNull())
|
||||
videoStreamObject.bitrate = value["Bitrate"].asString();
|
||||
if(!value["NumFrames"].isNull())
|
||||
videoStreamObject.numFrames = value["NumFrames"].asString();
|
||||
if(!value["Lang"].isNull())
|
||||
videoStreamObject.lang = value["Lang"].asString();
|
||||
if(!value["Rotate"].isNull())
|
||||
videoStreamObject.rotate = value["Rotate"].asString();
|
||||
auto networkCostNode = value["NetworkCost"];
|
||||
if(!networkCostNode["PreloadTime"].isNull())
|
||||
videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString();
|
||||
if(!networkCostNode["CostBandwidth"].isNull())
|
||||
videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString();
|
||||
if(!networkCostNode["AvgBitrate"].isNull())
|
||||
videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString();
|
||||
jobListObject.properties.streams.videoStreamList.push_back(videoStreamObject);
|
||||
}
|
||||
auto allAudioStreamList = value["AudioStreamList"]["AudioStream"];
|
||||
for (auto value : allAudioStreamList)
|
||||
{
|
||||
Job::Properties::Streams::AudioStream audioStreamObject;
|
||||
if(!value["Index"].isNull())
|
||||
audioStreamObject.index = value["Index"].asString();
|
||||
if(!value["CodecName"].isNull())
|
||||
audioStreamObject.codecName = value["CodecName"].asString();
|
||||
if(!value["CodecTimeBase"].isNull())
|
||||
audioStreamObject.codecTimeBase = value["CodecTimeBase"].asString();
|
||||
if(!value["CodecLongName"].isNull())
|
||||
audioStreamObject.codecLongName = value["CodecLongName"].asString();
|
||||
if(!value["CodecTagString"].isNull())
|
||||
audioStreamObject.codecTagString = value["CodecTagString"].asString();
|
||||
if(!value["CodecTag"].isNull())
|
||||
audioStreamObject.codecTag = value["CodecTag"].asString();
|
||||
if(!value["SampleFmt"].isNull())
|
||||
audioStreamObject.sampleFmt = value["SampleFmt"].asString();
|
||||
if(!value["Samplerate"].isNull())
|
||||
audioStreamObject.samplerate = value["Samplerate"].asString();
|
||||
if(!value["Channels"].isNull())
|
||||
audioStreamObject.channels = value["Channels"].asString();
|
||||
if(!value["ChannelLayout"].isNull())
|
||||
audioStreamObject.channelLayout = value["ChannelLayout"].asString();
|
||||
if(!value["Timebase"].isNull())
|
||||
audioStreamObject.timebase = value["Timebase"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
audioStreamObject.startTime = value["StartTime"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
audioStreamObject.duration = value["Duration"].asString();
|
||||
if(!value["Bitrate"].isNull())
|
||||
audioStreamObject.bitrate = value["Bitrate"].asString();
|
||||
if(!value["NumFrames"].isNull())
|
||||
audioStreamObject.numFrames = value["NumFrames"].asString();
|
||||
if(!value["Lang"].isNull())
|
||||
audioStreamObject.lang = value["Lang"].asString();
|
||||
jobListObject.properties.streams.audioStreamList.push_back(audioStreamObject);
|
||||
}
|
||||
auto allSubtitleStreamList = value["SubtitleStreamList"]["SubtitleStream"];
|
||||
for (auto value : allSubtitleStreamList)
|
||||
{
|
||||
Job::Properties::Streams::SubtitleStream subtitleStreamObject;
|
||||
if(!value["Index"].isNull())
|
||||
subtitleStreamObject.index = value["Index"].asString();
|
||||
if(!value["CodecName"].isNull())
|
||||
subtitleStreamObject.codecName = value["CodecName"].asString();
|
||||
if(!value["CodecTimeBase"].isNull())
|
||||
subtitleStreamObject.codecTimeBase = value["CodecTimeBase"].asString();
|
||||
if(!value["CodecLongName"].isNull())
|
||||
subtitleStreamObject.codecLongName = value["CodecLongName"].asString();
|
||||
if(!value["CodecTagString"].isNull())
|
||||
subtitleStreamObject.codecTagString = value["CodecTagString"].asString();
|
||||
if(!value["CodecTag"].isNull())
|
||||
subtitleStreamObject.codecTag = value["CodecTag"].asString();
|
||||
if(!value["Timebase"].isNull())
|
||||
subtitleStreamObject.timebase = value["Timebase"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
subtitleStreamObject.startTime = value["StartTime"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
subtitleStreamObject.duration = value["Duration"].asString();
|
||||
if(!value["Lang"].isNull())
|
||||
subtitleStreamObject.lang = value["Lang"].asString();
|
||||
jobListObject.properties.streams.subtitleStreamList.push_back(subtitleStreamObject);
|
||||
}
|
||||
auto formatNode = propertiesNode["Format"];
|
||||
if(!formatNode["NumStreams"].isNull())
|
||||
jobListObject.properties.format.numStreams = formatNode["NumStreams"].asString();
|
||||
if(!formatNode["NumPrograms"].isNull())
|
||||
jobListObject.properties.format.numPrograms = formatNode["NumPrograms"].asString();
|
||||
if(!formatNode["FormatName"].isNull())
|
||||
jobListObject.properties.format.formatName = formatNode["FormatName"].asString();
|
||||
if(!formatNode["FormatLongName"].isNull())
|
||||
jobListObject.properties.format.formatLongName = formatNode["FormatLongName"].asString();
|
||||
if(!formatNode["StartTime"].isNull())
|
||||
jobListObject.properties.format.startTime = formatNode["StartTime"].asString();
|
||||
if(!formatNode["Duration"].isNull())
|
||||
jobListObject.properties.format.duration = formatNode["Duration"].asString();
|
||||
if(!formatNode["Size"].isNull())
|
||||
jobListObject.properties.format.size = formatNode["Size"].asString();
|
||||
if(!formatNode["Bitrate"].isNull())
|
||||
jobListObject.properties.format.bitrate = formatNode["Bitrate"].asString();
|
||||
auto mNSMessageResultNode = value["MNSMessageResult"];
|
||||
if(!mNSMessageResultNode["MessageId"].isNull())
|
||||
jobListObject.mNSMessageResult.messageId = mNSMessageResultNode["MessageId"].asString();
|
||||
if(!mNSMessageResultNode["ErrorMessage"].isNull())
|
||||
jobListObject.mNSMessageResult.errorMessage = mNSMessageResultNode["ErrorMessage"].asString();
|
||||
if(!mNSMessageResultNode["ErrorCode"].isNull())
|
||||
jobListObject.mNSMessageResult.errorCode = mNSMessageResultNode["ErrorCode"].asString();
|
||||
jobList_.push_back(jobListObject);
|
||||
}
|
||||
auto allNonExistJobIds = value["NonExistJobIds"]["String"];
|
||||
for (const auto &item : allNonExistJobIds)
|
||||
nonExistJobIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryVideoPoseJobListResult::getNonExistJobIds()const
|
||||
{
|
||||
return nonExistJobIds_;
|
||||
}
|
||||
|
||||
std::vector<QueryVideoPoseJobListResult::Job> QueryVideoPoseJobListResult::getJobList()const
|
||||
{
|
||||
return jobList_;
|
||||
}
|
||||
|
||||
@@ -54,6 +54,8 @@ void SearchPipelineResult::parse(const std::string &payload)
|
||||
pipelineListObject.speed = value["Speed"].asString();
|
||||
if(!value["SpeedLevel"].isNull())
|
||||
pipelineListObject.speedLevel = std::stol(value["SpeedLevel"].asString());
|
||||
if(!value["QuotaAllocate"].isNull())
|
||||
pipelineListObject.quotaAllocate = std::stol(value["QuotaAllocate"].asString());
|
||||
if(!value["Role"].isNull())
|
||||
pipelineListObject.role = value["Role"].asString();
|
||||
auto notifyConfigNode = value["NotifyConfig"];
|
||||
@@ -61,6 +63,10 @@ void SearchPipelineResult::parse(const std::string &payload)
|
||||
pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString();
|
||||
if(!notifyConfigNode["QueueName"].isNull())
|
||||
pipelineListObject.notifyConfig.queueName = notifyConfigNode["QueueName"].asString();
|
||||
if(!notifyConfigNode["MqTopic"].isNull())
|
||||
pipelineListObject.notifyConfig.mqTopic = notifyConfigNode["MqTopic"].asString();
|
||||
if(!notifyConfigNode["MqTag"].isNull())
|
||||
pipelineListObject.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString();
|
||||
pipelineList_.push_back(pipelineListObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -84,6 +84,8 @@ void SearchTemplateResult::parse(const std::string &payload)
|
||||
templateListObject.video.degrain = videoNode["Degrain"].asString();
|
||||
if(!videoNode["Qscale"].isNull())
|
||||
templateListObject.video.qscale = videoNode["Qscale"].asString();
|
||||
if(!videoNode["LongShortMode"].isNull())
|
||||
templateListObject.video.longShortMode = videoNode["LongShortMode"].asString();
|
||||
if(!videoNode["Remove"].isNull())
|
||||
templateListObject.video.remove = videoNode["Remove"].asString();
|
||||
if(!videoNode["Crop"].isNull())
|
||||
|
||||
@@ -1,170 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/SubmitCensorJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::SubmitCensorJobRequest;
|
||||
|
||||
SubmitCensorJobRequest::SubmitCensorJobRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "SubmitCensorJob")
|
||||
{}
|
||||
|
||||
SubmitCensorJobRequest::~SubmitCensorJobRequest()
|
||||
{}
|
||||
|
||||
long SubmitCensorJobRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getCoverImages()const
|
||||
{
|
||||
return coverImages_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setCoverImages(const std::string& coverImages)
|
||||
{
|
||||
coverImages_ = coverImages;
|
||||
setParameter("CoverImages", coverImages);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long SubmitCensorJobRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getCensorConfig()const
|
||||
{
|
||||
return censorConfig_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setCensorConfig(const std::string& censorConfig)
|
||||
{
|
||||
censorConfig_ = censorConfig;
|
||||
setParameter("CensorConfig", censorConfig);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getPipelineId()const
|
||||
{
|
||||
return pipelineId_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setPipelineId(const std::string& pipelineId)
|
||||
{
|
||||
pipelineId_ = pipelineId;
|
||||
setParameter("PipelineId", pipelineId);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getInput()const
|
||||
{
|
||||
return input_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setInput(const std::string& input)
|
||||
{
|
||||
input_ = input;
|
||||
setParameter("Input", input);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setParameter("UserData", userData);
|
||||
}
|
||||
|
||||
std::string SubmitCensorJobRequest::getBarrages()const
|
||||
{
|
||||
return barrages_;
|
||||
}
|
||||
|
||||
void SubmitCensorJobRequest::setBarrages(const std::string& barrages)
|
||||
{
|
||||
barrages_ = barrages;
|
||||
setParameter("Barrages", barrages);
|
||||
}
|
||||
|
||||
148
mts/src/model/SubmitImageSearchJobRequest.cc
Normal file
148
mts/src/model/SubmitImageSearchJobRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/mts/model/SubmitImageSearchJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Mts::Model::SubmitImageSearchJobRequest;
|
||||
|
||||
SubmitImageSearchJobRequest::SubmitImageSearchJobRequest() :
|
||||
RpcServiceRequest("mts", "2014-06-18", "SubmitImageSearchJob")
|
||||
{}
|
||||
|
||||
SubmitImageSearchJobRequest::~SubmitImageSearchJobRequest()
|
||||
{}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getInputImage()const
|
||||
{
|
||||
return inputImage_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setInputImage(const std::string& inputImage)
|
||||
{
|
||||
inputImage_ = inputImage;
|
||||
setParameter("InputImage", inputImage);
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setParameter("UserData", userData);
|
||||
}
|
||||
|
||||
long SubmitImageSearchJobRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getFpDBId()const
|
||||
{
|
||||
return fpDBId_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setFpDBId(const std::string& fpDBId)
|
||||
{
|
||||
fpDBId_ = fpDBId;
|
||||
setParameter("FpDBId", fpDBId);
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getInputVideo()const
|
||||
{
|
||||
return inputVideo_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setInputVideo(const std::string& inputVideo)
|
||||
{
|
||||
inputVideo_ = inputVideo;
|
||||
setParameter("InputVideo", inputVideo);
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long SubmitImageSearchJobRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setConfig(const std::string& config)
|
||||
{
|
||||
config_ = config;
|
||||
setParameter("Config", config);
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SubmitImageSearchJobRequest::getPipelineId()const
|
||||
{
|
||||
return pipelineId_;
|
||||
}
|
||||
|
||||
void SubmitImageSearchJobRequest::setPipelineId(const std::string& pipelineId)
|
||||
{
|
||||
pipelineId_ = pipelineId;
|
||||
setParameter("PipelineId", pipelineId);
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user