From 4985a328538877fb98d5c0884dea1661a653e443 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 23 Jul 2024 02:38:34 +0000 Subject: [PATCH] Update water-mark params --- VERSION | 2 +- mts/CMakeLists.txt | 572 +-- mts/include/alibabacloud/mts/MtsClient.h | 1144 +---- .../mts/model/AddAsrPipelineRequest.h | 63 - .../mts/model/AddAsrPipelineResult.h | 64 - .../mts/model/AddCategoryRequest.h | 60 - .../mts/model/AddCategoryResult.h | 58 - .../mts/model/AddCensorPipelineResult.h | 64 - .../mts/model/AddCoverPipelineRequest.h | 66 - .../mts/model/AddCoverPipelineResult.h | 65 - .../mts/model/AddMCTemplateRequest.h | 87 - .../mts/model/AddMCTemplateResult.h | 66 - .../mts/model/AddPipelineRequest.h | 3 + .../mts/model/AddPipelineResult.h | 7 + .../mts/model/AddSmarttagTemplateRequest.h | 21 + .../mts/model/AddTemplateResult.h | 12 + .../mts/model/AddTerrorismPipelineRequest.h | 63 - .../mts/model/AddTerrorismPipelineResult.h | 64 - .../mts/model/BindInputBucketRequest.h | 6 + .../mts/model/BindOutputBucketRequest.h | 3 + .../alibabacloud/mts/model/CancelJobRequest.h | 12 +- .../mts/model/CategoryTreeRequest.h | 54 - .../mts/model/CategoryTreeResult.h | 51 - .../mts/model/CheckResourceRequest.h | 81 - .../mts/model/CheckResourceResult.h | 77 - ...tRequest.h => CreateCustomEntityRequest.h} | 33 +- ...JobResult.h => CreateCustomEntityResult.h} | 18 +- ...neRequest.h => CreateCustomGroupRequest.h} | 30 +- ...lateResult.h => CreateCustomGroupResult.h} | 18 +- .../mts/model/CreateFpShotDBRequest.h | 3 + .../mts/model/CreateFpShotDBResult.h | 1 + .../mts/model/CreateSessionRequest.h | 63 - .../mts/model/CreateSessionResult.h | 53 - .../mts/model/DecryptKeyRequest.h | 60 - .../alibabacloud/mts/model/DecryptKeyResult.h | 53 - .../mts/model/DeleteCategoryRequest.h | 57 - ...eRequest.h => DeleteCustomEntityRequest.h} | 30 +- ...ameResult.h => DeleteCustomEntityResult.h} | 14 +- ...teRequest.h => DeleteCustomGroupRequest.h} | 27 +- ...enseResult.h => DeleteCustomGroupResult.h} | 16 +- ...ineRequest.h => DeleteCustomViewRequest.h} | 33 +- ...egoryResult.h => DeleteCustomViewResult.h} | 14 +- .../mts/model/DeleteMCTemplateResult.h | 51 - .../mts/model/DeleteMcuJobRequest.h | 57 - .../mts/model/DeleteMcuJobResult.h | 53 - .../mts/model/DeleteMcuTemplateRequest.h | 57 - .../mts/model/DeleteMcuTemplateResult.h | 51 - .../DescribeMtsUserResourcePackageRequest.h | 48 - .../DescribeMtsUserResourcePackageResult.h | 60 - .../mts/model/DetectImageSyncRequest.h | 42 - .../alibabacloud/mts/model/GetJobInfoResult.h | 65 - .../mts/model/GetLicenseRequest.h | 69 - .../mts/model/GetPackageRequest.h | 57 - .../alibabacloud/mts/model/GetPackageResult.h | 51 - ...bmitInnerJobRequest.h => ImAuditRequest.h} | 33 +- .../alibabacloud/mts/model/ImAuditResult.h | 167 + ...eJobRequest.h => ImportFpShotJobRequest.h} | 21 +- ...nerJobResult.h => ImportFpShotJobResult.h} | 14 +- .../mts/model/ListAllCategoryRequest.h | 54 - .../mts/model/ListAllCategoryResult.h | 58 - .../mts/model/ListAllMediaBucketResult.h | 1 + .../mts/model/ListAsrPipelineRequest.h | 63 - .../mts/model/ListAsrPipelineResult.h | 70 - .../mts/model/ListCensorPipelineResult.h | 70 - .../mts/model/ListCoverPipelineRequest.h | 63 - .../mts/model/ListCoverPipelineResult.h | 70 - ...tRequest.h => ListCustomEntitiesRequest.h} | 33 +- ...ineResult.h => ListCustomEntitiesResult.h} | 39 +- ...ateRequest.h => ListCustomGroupsRequest.h} | 30 +- ...plateResult.h => ListCustomGroupsResult.h} | 31 +- ...lineRequest.h => ListCustomViewsRequest.h} | 36 +- ...pelineResult.h => ListCustomViewsResult.h} | 38 +- .../mts/model/ListFpShotDBResult.h | 1 + .../mts/model/ListFpShotFilesRequest.h | 6 + .../mts/model/ListFpShotFilesResult.h | 1 + ...Request.h => ListFpShotImportJobRequest.h} | 12 +- ...stResult.h => ListFpShotImportJobResult.h} | 30 +- .../mts/model/ListFpShotNotaryRequest.h | 69 - .../mts/model/ListFpShotNotaryResult.h | 63 - .../alibabacloud/mts/model/ListMediaRequest.h | 66 - .../alibabacloud/mts/model/ListMediaResult.h | 79 - .../mts/model/ListPornPipelineResult.h | 70 - .../mts/model/ListTerrorismPipelineRequest.h | 63 - .../mts/model/ListTerrorismPipelineResult.h | 70 - .../mts/model/LogicalDeleteResourceRequest.h | 72 - .../mts/model/LogicalDeleteResourceResult.h | 71 - .../mts/model/PhysicalDeleteResourceRequest.h | 72 - .../mts/model/PhysicalDeleteResourceResult.h | 71 - .../alibabacloud/mts/model/PlayInfoRequest.h | 78 - .../alibabacloud/mts/model/PlayInfoResult.h | 72 - .../mts/model/PlayerAuthRequest.h | 54 - .../alibabacloud/mts/model/PlayerAuthResult.h | 60 - .../mts/model/QueryAnnotationJobListRequest.h | 57 - .../mts/model/QueryAnnotationJobListResult.h | 81 - .../mts/model/QueryAsrJobListRequest.h | 57 - .../mts/model/QueryAsrJobListResult.h | 89 - .../mts/model/QueryAsrPipelineListRequest.h | 57 - .../mts/model/QueryAsrPipelineListResult.h | 66 - .../mts/model/QueryAuthConfigRequest.h | 54 - .../mts/model/QueryAuthConfigResult.h | 53 - .../mts/model/QueryCensorJobListResult.h | 143 - .../model/QueryCensorPipelineListRequest.h | 57 - .../mts/model/QueryCensorPipelineListResult.h | 66 - .../mts/model/QueryComplexJobListRequest.h | 57 - .../mts/model/QueryComplexJobListResult.h | 451 -- ...st.h => QueryCopyrightExtractJobRequest.h} | 12 +- .../model/QueryCopyrightExtractJobResult.h | 59 + ...obRequest.h => QueryCopyrightJobRequest.h} | 39 +- ...eJobResult.h => QueryCopyrightJobResult.h} | 38 +- .../mts/model/QueryCoverJobListRequest.h | 75 - .../mts/model/QueryCoverJobListResult.h | 90 - .../mts/model/QueryCoverPipelineListRequest.h | 57 - .../mts/model/QueryCoverPipelineListResult.h | 67 - .../mts/model/QueryEditingJobListResult.h | 443 -- .../mts/model/QueryFacerecogJobListRequest.h | 57 - .../mts/model/QueryFacerecogJobListResult.h | 86 - .../mts/model/QueryFpCompareJobListRequest.h | 57 - .../mts/model/QueryFpCompareJobListResult.h | 148 - .../mts/model/QueryFpImportResultRequest.h | 66 - .../mts/model/QueryFpImportResultResult.h | 70 - .../mts/model/QueryFpShotJobListRequest.h | 3 + .../mts/model/QueryFpShotJobListResult.h | 21 + .../model/QueryIProductionJobListRequest.h | 57 - .../mts/model/QueryIProductionJobListResult.h | 55 - .../model/QueryImageSearchJobListRequest.h | 57 - .../mts/model/QueryImageSearchJobListResult.h | 89 - .../mts/model/QueryInferenceServerResult.h | 67 - .../mts/model/QueryInnerJobResult.h | 69 - .../mts/model/QueryJobListRequest.h | 9 +- .../mts/model/QueryJobListResult.h | 64 +- .../mts/model/QueryMCJobListRequest.h | 75 - .../mts/model/QueryMCJobListResult.h | 406 -- .../mts/model/QueryMCTemplateListRequest.h | 57 - .../mts/model/QueryMCTemplateListResult.h | 69 - .../mts/model/QueryMcuJobRequest.h | 57 - .../mts/model/QueryMcuJobResult.h | 135 - .../mts/model/QueryMcuTemplateRequest.h | 57 - .../model/QueryMediaCensorJobDetailResult.h | 14 + .../model/QueryMediaCensorJobListRequest.h | 6 +- .../mts/model/QueryMediaCensorJobListResult.h | 6 + .../model/QueryMediaDetailJobListRequest.h | 57 - .../mts/model/QueryMediaDetailJobListResult.h | 141 - .../model/QueryMediaFpDeleteJobListRequest.h | 57 - .../mts/model/QueryPipelineListResult.h | 7 + .../mts/model/QueryPornJobListRequest.h | 57 - .../mts/model/QueryPornJobListResult.h | 106 - .../mts/model/QueryPornPipelineListRequest.h | 57 - .../mts/model/QueryPornPipelineListResult.h | 66 - .../mts/model/QuerySmarttagJobRequest.h | 15 +- .../model/QuerySmarttagTemplateListResult.h | 11 +- .../mts/model/QuerySnapshotJobListResult.h | 1 + .../mts/model/QuerySubtitleJobListRequest.h | 57 - .../mts/model/QuerySubtitleJobListResult.h | 68 - .../mts/model/QueryTagJobListRequest.h | 57 - .../mts/model/QueryTagJobListResult.h | 93 - .../mts/model/QueryTemplateListRequest.h | 9 +- .../mts/model/QueryTemplateListResult.h | 28 + .../mts/model/QueryTerrorismJobListRequest.h | 57 - .../mts/model/QueryTerrorismJobListResult.h | 106 - .../model/QueryTerrorismPipelineListRequest.h | 57 - .../model/QueryTerrorismPipelineListResult.h | 66 - ...yJobRequest.h => QueryTraceAbJobRequest.h} | 18 +- ...nceJobResult.h => QueryTraceAbJobResult.h} | 37 +- ...equest.h => QueryTraceExtractJobRequest.h} | 12 +- .../mts/model/QueryTraceExtractJobResult.h | 59 + .../mts/model/QueryTraceM3u8JobRequest.h | 60 + ...yJobResult.h => QueryTraceM3u8JobResult.h} | 32 +- .../mts/model/QueryVideoGifJobListRequest.h | 57 - .../mts/model/QueryVideoGifJobListResult.h | 81 - .../mts/model/QueryVideoPoseJobListRequest.h | 57 - .../mts/model/QueryVideoPoseJobListResult.h | 190 - .../mts/model/QueryVideoSplitJobListRequest.h | 57 - .../mts/model/QueryVideoSplitJobListResult.h | 81 - .../model/QueryVideoSummaryJobListRequest.h | 57 - .../model/QueryVideoSummaryJobListResult.h | 87 - .../RefreshCdnDomainConfigsCacheRequest.h | 57 - .../RefreshCdnDomainConfigsCacheResult.h | 53 - ...eRequest.h => RegisterCustomViewRequest.h} | 39 +- ...ultResult.h => RegisterCustomViewResult.h} | 18 +- .../model/RegisterMediaDetailPersonRequest.h | 66 - .../model/RegisterMediaDetailPersonResult.h | 81 - .../RegisterMediaDetailScenarioRequest.h | 63 - .../model/RegisterMediaDetailScenarioResult.h | 51 - .../model/ReportAnnotationJobResultRequest.h | 63 - .../model/ReportAnnotationJobResultResult.h | 51 - .../mts/model/ReportCensorJobResultRequest.h | 63 - .../mts/model/ReportCensorJobResultResult.h | 51 - .../mts/model/ReportCoverJobResultRequest.h | 60 - .../mts/model/ReportCoverJobResultResult.h | 51 - .../model/ReportFacerecogJobResultRequest.h | 63 - .../model/ReportFacerecogJobResultResult.h | 51 - .../mts/model/ReportFpShotJobResultRequest.h | 63 - .../mts/model/ReportFpShotJobResultResult.h | 51 - .../model/ReportMediaDetailJobResultRequest.h | 63 - .../model/ReportMediaDetailJobResultResult.h | 51 - .../mts/model/ReportPornJobResultRequest.h | 63 - .../mts/model/ReportPornJobResultResult.h | 51 - .../model/ReportTerrorismJobResultRequest.h | 63 - .../model/ReportTerrorismJobResultResult.h | 51 - .../model/ReportVideoSplitJobResultRequest.h | 63 - .../model/ReportVideoSplitJobResultResult.h | 51 - .../mts/model/SearchMediaRequest.h | 84 - .../mts/model/SearchMediaResult.h | 82 - .../mts/model/SearchPipelineResult.h | 8 + .../mts/model/SearchTemplateRequest.h | 9 + .../mts/model/SearchTemplateResult.h | 19 + .../mts/model/SetAuthConfigRequest.h | 60 - .../mts/model/SetAuthConfigResult.h | 53 - .../mts/model/StopIProductionJobRequest.h | 57 - .../mts/model/SubmitAnnotationJobRequest.h | 66 - .../mts/model/SubmitAnnotationJobResult.h | 51 - .../mts/model/SubmitAsrJobRequest.h | 66 - .../mts/model/SubmitAsrJobResult.h | 51 - .../mts/model/SubmitBeautifyJobsRequest.h | 66 - .../mts/model/SubmitBeautifyJobsResult.h | 88 - .../mts/model/SubmitComplexJobRequest.h | 75 - .../mts/model/SubmitComplexJobResult.h | 449 -- ...t.h => SubmitCopyrightExtractJobRequest.h} | 39 +- .../model/SubmitCopyrightExtractJobResult.h | 59 + .../mts/model/SubmitCopyrightJobRequest.h | 75 + ...JobResult.h => SubmitCopyrightJobResult.h} | 28 +- .../mts/model/SubmitCoverJobRequest.h | 66 - .../mts/model/SubmitCoverJobResult.h | 51 - .../mts/model/SubmitEditingJobsRequest.h | 78 - .../mts/model/SubmitEditingJobsResult.h | 448 -- .../mts/model/SubmitFacerecogJobRequest.h | 66 - .../mts/model/SubmitFacerecogJobResult.h | 51 - .../mts/model/SubmitFpCompareJobRequest.h | 72 - .../mts/model/SubmitFpCompareJobResult.h | 51 - .../mts/model/SubmitFpFileDeleteJobRequest.h | 3 + ...equest.h => SubmitImageCopyrightRequest.h} | 42 +- .../mts/model/SubmitImageCopyrightResult.h | 59 + .../mts/model/SubmitImageQualityJobRequest.h | 63 - .../mts/model/SubmitImageQualityJobResult.h | 74 - .../mts/model/SubmitImageSearchJobRequest.h | 72 - .../mts/model/SubmitImageSearchJobResult.h | 51 - .../mts/model/SubmitMCJobRequest.h | 72 - .../mts/model/SubmitMCJobResult.h | 51 - .../mts/model/SubmitMcuJobRequest.h | 69 - .../mts/model/SubmitMcuJobResult.h | 51 - .../mts/model/SubmitMediaCensorJobRequest.h | 3 + .../mts/model/SubmitMediaDetailJobRequest.h | 66 - .../mts/model/SubmitMediaDetailJobResult.h | 51 - .../mts/model/SubmitMediaFpDeleteJobResult.h | 51 - .../mts/model/SubmitPornJobRequest.h | 66 - .../mts/model/SubmitPornJobResult.h | 51 - .../mts/model/SubmitSmarttagJobRequest.h | 3 + .../mts/model/SubmitSnapshotJobResult.h | 1 + .../mts/model/SubmitSubtitleJobRequest.h | 66 - .../mts/model/SubmitSubtitleJobResult.h | 59 - .../mts/model/SubmitTagJobRequest.h | 66 - .../mts/model/SubmitTagJobResult.h | 51 - .../mts/model/SubmitTerrorismJobRequest.h | 66 - .../mts/model/SubmitTerrorismJobResult.h | 51 - ...JobRequest.h => SubmitTraceAbJobRequest.h} | 51 +- ...eSyncResult.h => SubmitTraceAbJobResult.h} | 27 +- ...quest.h => SubmitTraceExtractJobRequest.h} | 30 +- ...Result.h => SubmitTraceExtractJobResult.h} | 26 +- ...bRequest.h => SubmitTraceM3u8JobRequest.h} | 36 +- ...verResult.h => SubmitTraceM3u8JobResult.h} | 22 +- .../mts/model/SubmitURLUploadJobRequest.h | 65 - .../mts/model/SubmitURLUploadJobResult.h | 51 - .../mts/model/SubmitVideoGifJobRequest.h | 66 - .../mts/model/SubmitVideoGifJobResult.h | 51 - .../mts/model/SubmitVideoPoseJobRequest.h | 66 - .../mts/model/SubmitVideoPoseJobResult.h | 188 - .../mts/model/SubmitVideoSplitJobRequest.h | 66 - .../mts/model/SubmitVideoSplitJobResult.h | 51 - .../mts/model/SubmitVideoSummaryJobRequest.h | 66 - .../mts/model/SubmitVideoSummaryJobResult.h | 51 - .../mts/model/UnbindInputBucketRequest.h | 3 + .../mts/model/UpdateAsrPipelineResult.h | 64 - .../mts/model/UpdateCategoryNameRequest.h | 60 - .../mts/model/UpdateCensorPipelineRequest.h | 69 - .../mts/model/UpdateCensorPipelineResult.h | 64 - .../mts/model/UpdateCoverPipelineRequest.h | 72 - .../mts/model/UpdateCoverPipelineResult.h | 65 - .../mts/model/UpdateMCTemplateRequest.h | 90 - .../mts/model/UpdateMCTemplateResult.h | 67 - .../mts/model/UpdateMcuTemplateRequest.h | 60 - .../mts/model/UpdateMcuTemplateResult.h | 51 - .../mts/model/UpdateMediaWorkflowRequest.h | 6 + .../mts/model/UpdatePipelineRequest.h | 3 + .../mts/model/UpdatePipelineResult.h | 7 + .../mts/model/UpdatePornPipelineRequest.h | 69 - .../mts/model/UpdateSmarttagTemplateRequest.h | 21 + .../mts/model/UpdateTemplateResult.h | 18 + .../model/UpdateTerrorismPipelineRequest.h | 69 - .../mts/model/UpdateTerrorismPipelineResult.h | 64 - mts/src/MtsClient.cc | 3960 +---------------- mts/src/model/AddAsrPipelineRequest.cc | 99 - mts/src/model/AddAsrPipelineResult.cc | 63 - mts/src/model/AddCategoryRequest.cc | 90 - mts/src/model/AddCategoryResult.cc | 58 - mts/src/model/AddCensorPipelineRequest.cc | 99 - mts/src/model/AddCensorPipelineResult.cc | 63 - mts/src/model/AddCoverPipelineRequest.cc | 108 - mts/src/model/AddCoverPipelineResult.cc | 65 - mts/src/model/AddMCTemplateRequest.cc | 171 - mts/src/model/AddMCTemplateResult.cc | 74 - mts/src/model/AddPipelineRequest.cc | 9 + mts/src/model/AddPipelineResult.cc | 7 + mts/src/model/AddPornPipelineRequest.cc | 99 - mts/src/model/AddPornPipelineResult.cc | 63 - mts/src/model/AddSmarttagTemplateRequest.cc | 63 + mts/src/model/AddTemplateResult.cc | 17 + mts/src/model/AddTerrorismPipelineRequest.cc | 99 - mts/src/model/AddTerrorismPipelineResult.cc | 63 - mts/src/model/BindInputBucketRequest.cc | 18 + mts/src/model/BindOutputBucketRequest.cc | 9 + mts/src/model/CancelJobRequest.cc | 36 +- mts/src/model/CategoryTreeRequest.cc | 72 - mts/src/model/CategoryTreeResult.cc | 51 - mts/src/model/CheckResourceRequest.cc | 153 - mts/src/model/CheckResourceResult.cc | 142 - mts/src/model/CreateCustomEntityRequest.cc | 108 + ...bResult.cc => CreateCustomEntityResult.cc} | 18 +- mts/src/model/CreateCustomGroupRequest.cc | 99 + ...obResult.cc => CreateCustomGroupResult.cc} | 18 +- mts/src/model/CreateFpShotDBRequest.cc | 9 + mts/src/model/CreateFpShotDBResult.cc | 2 + mts/src/model/CreateInferenceServerRequest.cc | 81 - mts/src/model/CreateMcuTemplateRequest.cc | 81 - mts/src/model/CreateMcuTemplateResult.cc | 51 - mts/src/model/CreateSessionRequest.cc | 99 - mts/src/model/CreateSessionResult.cc | 58 - mts/src/model/DecryptKeyRequest.cc | 90 - mts/src/model/DecryptKeyResult.cc | 58 - mts/src/model/DeleteCategoryRequest.cc | 81 - mts/src/model/DeleteCustomEntityRequest.cc | 99 + ...eResult.cc => DeleteCustomEntityResult.cc} | 10 +- mts/src/model/DeleteCustomGroupRequest.cc | 90 + ...obResult.cc => DeleteCustomGroupResult.cc} | 17 +- mts/src/model/DeleteCustomViewRequest.cc | 108 + ...oryResult.cc => DeleteCustomViewResult.cc} | 10 +- mts/src/model/DeleteMCTemplateRequest.cc | 81 - mts/src/model/DeleteMCTemplateResult.cc | 51 - mts/src/model/DeleteMcuJobRequest.cc | 81 - mts/src/model/DeleteMcuJobResult.cc | 60 - mts/src/model/DeleteMcuTemplateRequest.cc | 81 - mts/src/model/DeleteMcuTemplateResult.cc | 51 - .../DescribeMtsUserResourcePackageRequest.cc | 54 - .../DescribeMtsUserResourcePackageResult.cc | 67 - mts/src/model/GetJobInfoRequest.cc | 36 - mts/src/model/GetJobInfoResult.cc | 72 - mts/src/model/GetLicenseRequest.cc | 117 - mts/src/model/GetLicenseResult.cc | 51 - mts/src/model/GetPackageRequest.cc | 81 - mts/src/model/GetPackageResult.cc | 51 - mts/src/model/ImAuditRequest.cc | 99 + mts/src/model/ImAuditResult.cc | 255 ++ mts/src/model/ImportFpShotJobRequest.cc | 117 + ...rJobResult.cc => ImportFpShotJobResult.cc} | 12 +- mts/src/model/ListAllCategoryRequest.cc | 72 - mts/src/model/ListAllCategoryResult.cc | 63 - mts/src/model/ListAllMediaBucketResult.cc | 2 + mts/src/model/ListAsrPipelineRequest.cc | 99 - mts/src/model/ListAsrPipelineResult.cc | 89 - mts/src/model/ListCensorPipelineRequest.cc | 99 - mts/src/model/ListCensorPipelineResult.cc | 89 - mts/src/model/ListCoverPipelineRequest.cc | 99 - mts/src/model/ListCoverPipelineResult.cc | 96 - mts/src/model/ListCustomEntitiesRequest.cc | 108 + mts/src/model/ListCustomEntitiesResult.cc | 82 + ...eRequest.cc => ListCustomGroupsRequest.cc} | 48 +- mts/src/model/ListCustomGroupsResult.cc | 82 + mts/src/model/ListCustomViewsRequest.cc | 117 + mts/src/model/ListCustomViewsResult.cc | 80 + mts/src/model/ListFpShotDBResult.cc | 2 + mts/src/model/ListFpShotFilesRequest.cc | 18 + mts/src/model/ListFpShotFilesResult.cc | 2 + ...quest.cc => ListFpShotImportJobRequest.cc} | 34 +- mts/src/model/ListFpShotImportJobResult.cc | 87 + mts/src/model/ListFpShotNotaryRequest.cc | 117 - mts/src/model/ListFpShotNotaryResult.cc | 76 - mts/src/model/ListInferenceJobRequest.cc | 54 - mts/src/model/ListInferenceJobResult.cc | 90 - mts/src/model/ListMediaRequest.cc | 108 - mts/src/model/ListMediaResult.cc | 103 - mts/src/model/ListPornPipelineResult.cc | 89 - mts/src/model/ListTerrorismPipelineRequest.cc | 99 - mts/src/model/ListTerrorismPipelineResult.cc | 89 - mts/src/model/LogicalDeleteResourceRequest.cc | 126 - mts/src/model/LogicalDeleteResourceResult.cc | 121 - .../model/PhysicalDeleteResourceRequest.cc | 126 - mts/src/model/PhysicalDeleteResourceResult.cc | 121 - mts/src/model/PlayInfoRequest.cc | 144 - mts/src/model/PlayInfoResult.cc | 95 - mts/src/model/PlayerAuthRequest.cc | 72 - mts/src/model/PlayerAuthResult.cc | 70 - .../model/QueryAnnotationJobListRequest.cc | 81 - mts/src/model/QueryAnnotationJobListResult.cc | 97 - mts/src/model/QueryAsrJobListRequest.cc | 81 - mts/src/model/QueryAsrJobListResult.cc | 106 - mts/src/model/QueryAsrPipelineListRequest.cc | 81 - mts/src/model/QueryAsrPipelineListResult.cc | 76 - mts/src/model/QueryAuthConfigRequest.cc | 72 - mts/src/model/QueryAuthConfigResult.cc | 58 - mts/src/model/QueryCensorJobListRequest.cc | 81 - mts/src/model/QueryCensorJobListResult.cc | 192 - .../model/QueryCensorPipelineListRequest.cc | 81 - .../model/QueryCensorPipelineListResult.cc | 76 - mts/src/model/QueryComplexJobListResult.cc | 573 --- ....cc => QueryCopyrightExtractJobRequest.cc} | 20 +- .../model/QueryCopyrightExtractJobResult.cc | 66 + mts/src/model/QueryCopyrightJobRequest.cc | 81 + mts/src/model/QueryCopyrightJobResult.cc | 95 + mts/src/model/QueryCoverJobListRequest.cc | 135 - mts/src/model/QueryCoverJobListResult.cc | 111 - .../model/QueryCoverPipelineListRequest.cc | 81 - mts/src/model/QueryCoverPipelineListResult.cc | 78 - mts/src/model/QueryEditingJobListRequest.cc | 81 - mts/src/model/QueryEditingJobListResult.cc | 561 --- mts/src/model/QueryFacerecogJobListRequest.cc | 81 - mts/src/model/QueryFacerecogJobListResult.cc | 105 - mts/src/model/QueryFpCompareJobListRequest.cc | 81 - mts/src/model/QueryFpCompareJobListResult.cc | 182 - mts/src/model/QueryFpImportResultRequest.cc | 108 - mts/src/model/QueryFpImportResultResult.cc | 86 - mts/src/model/QueryFpShotJobListRequest.cc | 9 + mts/src/model/QueryFpShotJobListResult.cc | 31 + .../model/QueryIProductionJobListRequest.cc | 81 - .../model/QueryIProductionJobListResult.cc | 67 - .../model/QueryImageSearchJobListRequest.cc | 81 - .../model/QueryImageSearchJobListResult.cc | 106 - mts/src/model/QueryInferenceJobResult.cc | 78 - mts/src/model/QueryInferenceServerRequest.cc | 63 - mts/src/model/QueryInferenceServerResult.cc | 90 - mts/src/model/QueryInnerJobRequest.cc | 72 - mts/src/model/QueryInnerJobResult.cc | 87 - mts/src/model/QueryJobListRequest.cc | 27 +- mts/src/model/QueryJobListResult.cc | 49 + mts/src/model/QueryMCJobListRequest.cc | 135 - mts/src/model/QueryMCJobListResult.cc | 619 --- mts/src/model/QueryMCTemplateListRequest.cc | 81 - mts/src/model/QueryMCTemplateListResult.cc | 89 - mts/src/model/QueryMcuJobRequest.cc | 81 - mts/src/model/QueryMcuJobResult.cc | 184 - mts/src/model/QueryMcuTemplateRequest.cc | 81 - mts/src/model/QueryMcuTemplateResult.cc | 59 - .../model/QueryMediaCensorJobDetailResult.cc | 19 + .../model/QueryMediaCensorJobListRequest.cc | 18 +- .../model/QueryMediaCensorJobListResult.cc | 5 + .../model/QueryMediaDetailJobListRequest.cc | 81 - .../model/QueryMediaDetailJobListResult.cc | 193 - .../model/QueryMediaFpDeleteJobListRequest.cc | 81 - .../model/QueryMediaFpDeleteJobListResult.cc | 83 - mts/src/model/QueryPipelineListResult.cc | 7 + mts/src/model/QueryPornJobListRequest.cc | 81 - mts/src/model/QueryPornJobListResult.cc | 131 - mts/src/model/QueryPornPipelineListRequest.cc | 81 - mts/src/model/QueryPornPipelineListResult.cc | 76 - mts/src/model/QuerySmarttagJobRequest.cc | 37 +- .../model/QuerySmarttagTemplateListResult.cc | 14 + mts/src/model/QuerySnapshotJobListResult.cc | 3 + mts/src/model/QuerySubtitleJobListRequest.cc | 81 - mts/src/model/QuerySubtitleJobListResult.cc | 80 - mts/src/model/QueryTagJobListRequest.cc | 81 - mts/src/model/QueryTagJobListResult.cc | 117 - mts/src/model/QueryTemplateListRequest.cc | 27 +- mts/src/model/QueryTemplateListResult.cc | 35 + mts/src/model/QueryTerrorismJobListRequest.cc | 81 - mts/src/model/QueryTerrorismJobListResult.cc | 131 - .../QueryTerrorismPipelineListRequest.cc | 81 - .../model/QueryTerrorismPipelineListResult.cc | 76 - ...obRequest.cc => QueryTraceAbJobRequest.cc} | 24 +- mts/src/model/QueryTraceAbJobResult.cc | 93 + ...uest.cc => QueryTraceExtractJobRequest.cc} | 14 +- ...esult.cc => QueryTraceExtractJobResult.cc} | 36 +- mts/src/model/QueryTraceM3u8JobRequest.cc | 90 + mts/src/model/QueryTraceM3u8JobResult.cc | 89 + mts/src/model/QueryVideoGifJobListRequest.cc | 81 - mts/src/model/QueryVideoGifJobListResult.cc | 92 - mts/src/model/QueryVideoPoseJobListRequest.cc | 81 - mts/src/model/QueryVideoPoseJobListResult.cc | 262 -- mts/src/model/QueryVideoQualityJobResult.cc | 76 - .../model/QueryVideoSplitJobListRequest.cc | 81 - mts/src/model/QueryVideoSplitJobListResult.cc | 97 - .../model/QueryVideoSummaryJobListRequest.cc | 81 - .../model/QueryVideoSummaryJobListResult.cc | 102 - .../RefreshCdnDomainConfigsCacheRequest.cc | 81 - .../RefreshCdnDomainConfigsCacheResult.cc | 60 - mts/src/model/RegisterCustomViewRequest.cc | 108 + ...bResult.cc => RegisterCustomViewResult.cc} | 18 +- .../model/RegisterMediaDetailPersonRequest.cc | 108 - .../model/RegisterMediaDetailPersonResult.cc | 96 - .../RegisterMediaDetailScenarioRequest.cc | 99 - .../RegisterMediaDetailScenarioResult.cc | 51 - .../model/ReportAnnotationJobResultRequest.cc | 99 - .../model/ReportAnnotationJobResultResult.cc | 51 - mts/src/model/ReportCensorJobResultRequest.cc | 99 - mts/src/model/ReportCensorJobResultResult.cc | 51 - mts/src/model/ReportCoverJobResultRequest.cc | 90 - mts/src/model/ReportCoverJobResultResult.cc | 51 - .../model/ReportFacerecogJobResultRequest.cc | 99 - .../model/ReportFacerecogJobResultResult.cc | 51 - mts/src/model/ReportFpShotJobResultRequest.cc | 99 - mts/src/model/ReportFpShotJobResultResult.cc | 51 - .../ReportMediaDetailJobResultRequest.cc | 99 - .../model/ReportMediaDetailJobResultResult.cc | 51 - mts/src/model/ReportPornJobResultRequest.cc | 99 - mts/src/model/ReportPornJobResultResult.cc | 51 - mts/src/model/ReportTagJobResultRequest.cc | 99 - mts/src/model/ReportTagJobResultResult.cc | 51 - .../model/ReportTerrorismJobResultRequest.cc | 99 - .../model/ReportTerrorismJobResultResult.cc | 51 - .../model/ReportVideoSplitJobResultRequest.cc | 99 - .../model/ReportVideoSplitJobResultResult.cc | 51 - mts/src/model/SearchMediaRequest.cc | 162 - mts/src/model/SearchMediaResult.cc | 115 - mts/src/model/SearchPipelineResult.cc | 9 + mts/src/model/SearchTemplateRequest.cc | 27 + mts/src/model/SearchTemplateResult.cc | 24 + mts/src/model/SetAuthConfigRequest.cc | 90 - mts/src/model/SetAuthConfigResult.cc | 58 - mts/src/model/StopIProductionJobRequest.cc | 81 - mts/src/model/StopIProductionJobResult.cc | 51 - mts/src/model/SubmitAnnotationJobRequest.cc | 108 - mts/src/model/SubmitAnnotationJobResult.cc | 51 - mts/src/model/SubmitAsrJobRequest.cc | 108 - mts/src/model/SubmitAsrJobResult.cc | 51 - mts/src/model/SubmitBeautifyJobsRequest.cc | 108 - mts/src/model/SubmitBeautifyJobsResult.cc | 95 - mts/src/model/SubmitComplexJobRequest.cc | 135 - mts/src/model/SubmitComplexJobResult.cc | 560 --- .../model/SubmitCopyrightExtractJobRequest.cc | 72 + .../model/SubmitCopyrightExtractJobResult.cc | 66 + mts/src/model/SubmitCopyrightJobRequest.cc | 135 + ...cResult.cc => SubmitCopyrightJobResult.cc} | 35 +- mts/src/model/SubmitCoverJobRequest.cc | 108 - mts/src/model/SubmitCoverJobResult.cc | 51 - mts/src/model/SubmitEditingJobsRequest.cc | 144 - mts/src/model/SubmitEditingJobsResult.cc | 560 --- mts/src/model/SubmitFacerecogJobRequest.cc | 108 - mts/src/model/SubmitFpCompareJobRequest.cc | 126 - mts/src/model/SubmitFpFileDeleteJobRequest.cc | 9 + mts/src/model/SubmitImageCopyrightRequest.cc | 81 + mts/src/model/SubmitImageCopyrightResult.cc | 66 + mts/src/model/SubmitImageQualityJobRequest.cc | 99 - mts/src/model/SubmitImageQualityJobResult.cc | 76 - mts/src/model/SubmitImageSearchJobRequest.cc | 126 - mts/src/model/SubmitImageSearchJobResult.cc | 51 - mts/src/model/SubmitInferenceJobRequest.cc | 54 - mts/src/model/SubmitInnerJobRequest.cc | 108 - mts/src/model/SubmitMCJobRequest.cc | 126 - mts/src/model/SubmitMcuJobRequest.cc | 117 - mts/src/model/SubmitMcuJobResult.cc | 51 - mts/src/model/SubmitMediaCensorJobRequest.cc | 9 + mts/src/model/SubmitMediaDetailJobRequest.cc | 108 - mts/src/model/SubmitMediaDetailJobResult.cc | 51 - .../model/SubmitMediaFpDeleteJobRequest.cc | 108 - mts/src/model/SubmitMediaFpDeleteJobResult.cc | 51 - mts/src/model/SubmitPornJobRequest.cc | 108 - mts/src/model/SubmitPornJobResult.cc | 51 - mts/src/model/SubmitSmarttagJobRequest.cc | 9 + mts/src/model/SubmitSnapshotJobResult.cc | 3 + mts/src/model/SubmitSubtitleJobRequest.cc | 108 - mts/src/model/SubmitSubtitleJobResult.cc | 60 - mts/src/model/SubmitTagJobRequest.cc | 108 - mts/src/model/SubmitTagJobResult.cc | 51 - mts/src/model/SubmitTerrorismJobRequest.cc | 108 - mts/src/model/SubmitTerrorismJobResult.cc | 51 - mts/src/model/SubmitTraceAbJobRequest.cc | 108 + mts/src/model/SubmitTraceAbJobResult.cc | 68 + mts/src/model/SubmitTraceExtractJobRequest.cc | 72 + ...sult.cc => SubmitTraceExtractJobResult.cc} | 29 +- mts/src/model/SubmitTraceM3u8JobRequest.cc | 72 + ...rResult.cc => SubmitTraceM3u8JobResult.cc} | 21 +- mts/src/model/SubmitURLUploadJobRequest.cc | 80 - mts/src/model/SubmitURLUploadJobResult.cc | 51 - mts/src/model/SubmitVideoGifJobRequest.cc | 108 - mts/src/model/SubmitVideoPoseJobRequest.cc | 108 - mts/src/model/SubmitVideoPoseJobResult.cc | 249 -- mts/src/model/SubmitVideoQualityJobRequest.cc | 117 - mts/src/model/SubmitVideoSplitJobRequest.cc | 108 - mts/src/model/SubmitVideoSplitJobResult.cc | 51 - mts/src/model/SubmitVideoSummaryJobRequest.cc | 108 - mts/src/model/SubmitVideoSummaryJobResult.cc | 51 - mts/src/model/UnbindInputBucketRequest.cc | 9 + mts/src/model/UpdateAsrPipelineRequest.cc | 117 - mts/src/model/UpdateAsrPipelineResult.cc | 63 - mts/src/model/UpdateCategoryNameRequest.cc | 90 - mts/src/model/UpdateCensorPipelineRequest.cc | 117 - mts/src/model/UpdateCensorPipelineResult.cc | 63 - mts/src/model/UpdateCoverPipelineRequest.cc | 126 - mts/src/model/UpdateCoverPipelineResult.cc | 65 - mts/src/model/UpdateMCTemplateRequest.cc | 180 - mts/src/model/UpdateMCTemplateResult.cc | 76 - mts/src/model/UpdateMcuTemplateRequest.cc | 90 - mts/src/model/UpdateMcuTemplateResult.cc | 51 - mts/src/model/UpdateMediaWorkflowRequest.cc | 18 + mts/src/model/UpdatePipelineRequest.cc | 9 + mts/src/model/UpdatePipelineResult.cc | 7 + mts/src/model/UpdatePornPipelineRequest.cc | 117 - mts/src/model/UpdatePornPipelineResult.cc | 63 - .../model/UpdateSmarttagTemplateRequest.cc | 63 + mts/src/model/UpdateTemplateResult.cc | 22 + .../model/UpdateTerrorismPipelineRequest.cc | 117 - .../model/UpdateTerrorismPipelineResult.cc | 63 - 599 files changed, 5679 insertions(+), 43660 deletions(-) delete mode 100644 mts/include/alibabacloud/mts/model/AddAsrPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/AddAsrPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/AddCategoryRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/AddCategoryResult.h delete mode 100644 mts/include/alibabacloud/mts/model/AddCensorPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/AddCoverPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/AddCoverPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/AddMCTemplateRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/AddMCTemplateResult.h delete mode 100644 mts/include/alibabacloud/mts/model/AddTerrorismPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/AddTerrorismPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/CategoryTreeRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/CategoryTreeResult.h delete mode 100644 mts/include/alibabacloud/mts/model/CheckResourceRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/CheckResourceResult.h rename mts/include/alibabacloud/mts/model/{ReportTagJobResultRequest.h => CreateCustomEntityRequest.h} (63%) rename mts/include/alibabacloud/mts/model/{StopIProductionJobResult.h => CreateCustomEntityResult.h} (68%) rename mts/include/alibabacloud/mts/model/{AddCensorPipelineRequest.h => CreateCustomGroupRequest.h} (66%) rename mts/include/alibabacloud/mts/model/{CreateMcuTemplateResult.h => CreateCustomGroupResult.h} (68%) delete mode 100644 mts/include/alibabacloud/mts/model/CreateSessionRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/CreateSessionResult.h delete mode 100644 mts/include/alibabacloud/mts/model/DecryptKeyRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/DecryptKeyResult.h delete mode 100644 mts/include/alibabacloud/mts/model/DeleteCategoryRequest.h rename mts/include/alibabacloud/mts/model/{ListCensorPipelineRequest.h => DeleteCustomEntityRequest.h} (67%) rename mts/include/alibabacloud/mts/model/{UpdateCategoryNameResult.h => DeleteCustomEntityResult.h} (72%) rename mts/include/alibabacloud/mts/model/{CreateMcuTemplateRequest.h => DeleteCustomGroupRequest.h} (72%) rename mts/include/alibabacloud/mts/model/{GetLicenseResult.h => DeleteCustomGroupResult.h} (70%) rename mts/include/alibabacloud/mts/model/{ListPornPipelineRequest.h => DeleteCustomViewRequest.h} (64%) rename mts/include/alibabacloud/mts/model/{DeleteCategoryResult.h => DeleteCustomViewResult.h} (71%) delete mode 100644 mts/include/alibabacloud/mts/model/DeleteMCTemplateResult.h delete mode 100644 mts/include/alibabacloud/mts/model/DeleteMcuJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/DeleteMcuJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/DeleteMcuTemplateRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/DeleteMcuTemplateResult.h delete mode 100644 mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageResult.h delete mode 100644 mts/include/alibabacloud/mts/model/DetectImageSyncRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/GetJobInfoResult.h delete mode 100644 mts/include/alibabacloud/mts/model/GetLicenseRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/GetPackageRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/GetPackageResult.h rename mts/include/alibabacloud/mts/model/{SubmitInnerJobRequest.h => ImAuditRequest.h} (67%) create mode 100644 mts/include/alibabacloud/mts/model/ImAuditResult.h rename mts/include/alibabacloud/mts/model/{SubmitMediaFpDeleteJobRequest.h => ImportFpShotJobRequest.h} (75%) rename mts/include/alibabacloud/mts/model/{SubmitInnerJobResult.h => ImportFpShotJobResult.h} (72%) delete mode 100644 mts/include/alibabacloud/mts/model/ListAllCategoryRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ListAllCategoryResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ListAsrPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ListAsrPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ListCensorPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ListCoverPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ListCoverPipelineResult.h rename mts/include/alibabacloud/mts/model/{QueryCensorJobListRequest.h => ListCustomEntitiesRequest.h} (66%) rename mts/include/alibabacloud/mts/model/{UpdatePornPipelineResult.h => ListCustomEntitiesResult.h} (56%) rename mts/include/alibabacloud/mts/model/{DeleteMCTemplateRequest.h => ListCustomGroupsRequest.h} (71%) rename mts/include/alibabacloud/mts/model/{QueryMcuTemplateResult.h => ListCustomGroupsResult.h} (56%) rename mts/include/alibabacloud/mts/model/{AddPornPipelineRequest.h => ListCustomViewsRequest.h} (63%) rename mts/include/alibabacloud/mts/model/{AddPornPipelineResult.h => ListCustomViewsResult.h} (58%) rename mts/include/alibabacloud/mts/model/{QueryEditingJobListRequest.h => ListFpShotImportJobRequest.h} (81%) rename mts/include/alibabacloud/mts/model/{QueryMediaFpDeleteJobListResult.h => ListFpShotImportJobResult.h} (64%) delete mode 100644 mts/include/alibabacloud/mts/model/ListFpShotNotaryRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ListFpShotNotaryResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ListMediaRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ListMediaResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ListPornPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ListTerrorismPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ListTerrorismPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/LogicalDeleteResourceRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/LogicalDeleteResourceResult.h delete mode 100644 mts/include/alibabacloud/mts/model/PhysicalDeleteResourceRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/PhysicalDeleteResourceResult.h delete mode 100644 mts/include/alibabacloud/mts/model/PlayInfoRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/PlayInfoResult.h delete mode 100644 mts/include/alibabacloud/mts/model/PlayerAuthRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/PlayerAuthResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAnnotationJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAnnotationJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAsrJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAsrJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAsrPipelineListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAsrPipelineListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAuthConfigRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryAuthConfigResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryCensorJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryCensorPipelineListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryCensorPipelineListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryComplexJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryComplexJobListResult.h rename mts/include/alibabacloud/mts/model/{GetJobInfoRequest.h => QueryCopyrightExtractJobRequest.h} (71%) create mode 100644 mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobResult.h rename mts/include/alibabacloud/mts/model/{QueryInnerJobRequest.h => QueryCopyrightJobRequest.h} (55%) rename mts/include/alibabacloud/mts/model/{QueryInferenceJobResult.h => QueryCopyrightJobResult.h} (62%) delete mode 100644 mts/include/alibabacloud/mts/model/QueryCoverJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryCoverJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryCoverPipelineListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryCoverPipelineListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryEditingJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryFacerecogJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryFacerecogJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryFpCompareJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryFpCompareJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryFpImportResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryFpImportResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryIProductionJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryIProductionJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryImageSearchJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryImageSearchJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryInferenceServerResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryInnerJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMCJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMCJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMCTemplateListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMCTemplateListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMcuJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMcuJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMcuTemplateRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMediaDetailJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMediaDetailJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryPornJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryPornJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryPornPipelineListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryPornPipelineListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QuerySubtitleJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QuerySubtitleJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryTagJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryTagJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryTerrorismJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryTerrorismJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListResult.h rename mts/include/alibabacloud/mts/model/{QueryVideoQualityJobRequest.h => QueryTraceAbJobRequest.h} (69%) rename mts/include/alibabacloud/mts/model/{ListInferenceJobResult.h => QueryTraceAbJobResult.h} (60%) rename mts/include/alibabacloud/mts/model/{QueryInferenceJobRequest.h => QueryTraceExtractJobRequest.h} (73%) create mode 100644 mts/include/alibabacloud/mts/model/QueryTraceExtractJobResult.h create mode 100644 mts/include/alibabacloud/mts/model/QueryTraceM3u8JobRequest.h rename mts/include/alibabacloud/mts/model/{QueryVideoQualityJobResult.h => QueryTraceM3u8JobResult.h} (62%) delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoGifJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoGifJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoPoseJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListResult.h delete mode 100644 mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheResult.h rename mts/include/alibabacloud/mts/model/{UpdateAsrPipelineRequest.h => RegisterCustomViewRequest.h} (65%) rename mts/include/alibabacloud/mts/model/{ReportTagJobResultResult.h => RegisterCustomViewResult.h} (68%) delete mode 100644 mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonResult.h delete mode 100644 mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportAnnotationJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportAnnotationJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportCensorJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportCensorJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportCoverJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportCoverJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportFpShotJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportFpShotJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportPornJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportPornJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportTerrorismJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportTerrorismJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SearchMediaRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SearchMediaResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SetAuthConfigRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SetAuthConfigResult.h delete mode 100644 mts/include/alibabacloud/mts/model/StopIProductionJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitAnnotationJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitAnnotationJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitAsrJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitAsrJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitBeautifyJobsRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitBeautifyJobsResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitComplexJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitComplexJobResult.h rename mts/include/alibabacloud/mts/model/{CreateInferenceServerRequest.h => SubmitCopyrightExtractJobRequest.h} (51%) create mode 100644 mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobResult.h create mode 100644 mts/include/alibabacloud/mts/model/SubmitCopyrightJobRequest.h rename mts/include/alibabacloud/mts/model/{SubmitInferenceJobResult.h => SubmitCopyrightJobResult.h} (65%) delete mode 100644 mts/include/alibabacloud/mts/model/SubmitCoverJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitCoverJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitEditingJobsRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitEditingJobsResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitFacerecogJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitFacerecogJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitFpCompareJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitFpCompareJobResult.h rename mts/include/alibabacloud/mts/model/{QueryInferenceServerRequest.h => SubmitImageCopyrightRequest.h} (50%) create mode 100644 mts/include/alibabacloud/mts/model/SubmitImageCopyrightResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitImageQualityJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitImageSearchJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitImageSearchJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMCJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMCJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMcuJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMcuJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMediaDetailJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMediaDetailJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitPornJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitPornJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitSubtitleJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitSubtitleJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitTagJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitTagJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitTerrorismJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitTerrorismJobResult.h rename mts/include/alibabacloud/mts/model/{SubmitVideoQualityJobRequest.h => SubmitTraceAbJobRequest.h} (51%) rename mts/include/alibabacloud/mts/model/{DetectImageSyncResult.h => SubmitTraceAbJobResult.h} (64%) rename mts/include/alibabacloud/mts/model/{SubmitInferenceJobRequest.h => SubmitTraceExtractJobRequest.h} (56%) rename mts/include/alibabacloud/mts/model/{SubmitVideoQualityJobResult.h => SubmitTraceExtractJobResult.h} (65%) rename mts/include/alibabacloud/mts/model/{ListInferenceJobRequest.h => SubmitTraceM3u8JobRequest.h} (51%) rename mts/include/alibabacloud/mts/model/{CreateInferenceServerResult.h => SubmitTraceM3u8JobResult.h} (67%) delete mode 100644 mts/include/alibabacloud/mts/model/SubmitURLUploadJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitURLUploadJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoGifJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoGifJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoPoseJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoSplitJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoSplitJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateAsrPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateCategoryNameRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateCensorPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateCensorPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateCoverPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateCoverPipelineResult.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateMCTemplateRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateMCTemplateResult.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateMcuTemplateRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateMcuTemplateResult.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdatePornPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineRequest.h delete mode 100644 mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineResult.h delete mode 100644 mts/src/model/AddAsrPipelineRequest.cc delete mode 100644 mts/src/model/AddAsrPipelineResult.cc delete mode 100644 mts/src/model/AddCategoryRequest.cc delete mode 100644 mts/src/model/AddCategoryResult.cc delete mode 100644 mts/src/model/AddCensorPipelineRequest.cc delete mode 100644 mts/src/model/AddCensorPipelineResult.cc delete mode 100644 mts/src/model/AddCoverPipelineRequest.cc delete mode 100644 mts/src/model/AddCoverPipelineResult.cc delete mode 100644 mts/src/model/AddMCTemplateRequest.cc delete mode 100644 mts/src/model/AddMCTemplateResult.cc delete mode 100644 mts/src/model/AddPornPipelineRequest.cc delete mode 100644 mts/src/model/AddPornPipelineResult.cc delete mode 100644 mts/src/model/AddTerrorismPipelineRequest.cc delete mode 100644 mts/src/model/AddTerrorismPipelineResult.cc delete mode 100644 mts/src/model/CategoryTreeRequest.cc delete mode 100644 mts/src/model/CategoryTreeResult.cc delete mode 100644 mts/src/model/CheckResourceRequest.cc delete mode 100644 mts/src/model/CheckResourceResult.cc create mode 100644 mts/src/model/CreateCustomEntityRequest.cc rename mts/src/model/{SubmitFpCompareJobResult.cc => CreateCustomEntityResult.cc} (66%) create mode 100644 mts/src/model/CreateCustomGroupRequest.cc rename mts/src/model/{SubmitVideoGifJobResult.cc => CreateCustomGroupResult.cc} (66%) delete mode 100644 mts/src/model/CreateInferenceServerRequest.cc delete mode 100644 mts/src/model/CreateMcuTemplateRequest.cc delete mode 100644 mts/src/model/CreateMcuTemplateResult.cc delete mode 100644 mts/src/model/CreateSessionRequest.cc delete mode 100644 mts/src/model/CreateSessionResult.cc delete mode 100644 mts/src/model/DecryptKeyRequest.cc delete mode 100644 mts/src/model/DecryptKeyResult.cc delete mode 100644 mts/src/model/DeleteCategoryRequest.cc create mode 100644 mts/src/model/DeleteCustomEntityRequest.cc rename mts/src/model/{UpdateCategoryNameResult.cc => DeleteCustomEntityResult.cc} (75%) create mode 100644 mts/src/model/DeleteCustomGroupRequest.cc rename mts/src/model/{SubmitMCJobResult.cc => DeleteCustomGroupResult.cc} (69%) create mode 100644 mts/src/model/DeleteCustomViewRequest.cc rename mts/src/model/{DeleteCategoryResult.cc => DeleteCustomViewResult.cc} (75%) delete mode 100644 mts/src/model/DeleteMCTemplateRequest.cc delete mode 100644 mts/src/model/DeleteMCTemplateResult.cc delete mode 100644 mts/src/model/DeleteMcuJobRequest.cc delete mode 100644 mts/src/model/DeleteMcuJobResult.cc delete mode 100644 mts/src/model/DeleteMcuTemplateRequest.cc delete mode 100644 mts/src/model/DeleteMcuTemplateResult.cc delete mode 100644 mts/src/model/DescribeMtsUserResourcePackageRequest.cc delete mode 100644 mts/src/model/DescribeMtsUserResourcePackageResult.cc delete mode 100644 mts/src/model/GetJobInfoRequest.cc delete mode 100644 mts/src/model/GetJobInfoResult.cc delete mode 100644 mts/src/model/GetLicenseRequest.cc delete mode 100644 mts/src/model/GetLicenseResult.cc delete mode 100644 mts/src/model/GetPackageRequest.cc delete mode 100644 mts/src/model/GetPackageResult.cc create mode 100644 mts/src/model/ImAuditRequest.cc create mode 100644 mts/src/model/ImAuditResult.cc create mode 100644 mts/src/model/ImportFpShotJobRequest.cc rename mts/src/model/{SubmitInnerJobResult.cc => ImportFpShotJobResult.cc} (74%) delete mode 100644 mts/src/model/ListAllCategoryRequest.cc delete mode 100644 mts/src/model/ListAllCategoryResult.cc delete mode 100644 mts/src/model/ListAsrPipelineRequest.cc delete mode 100644 mts/src/model/ListAsrPipelineResult.cc delete mode 100644 mts/src/model/ListCensorPipelineRequest.cc delete mode 100644 mts/src/model/ListCensorPipelineResult.cc delete mode 100644 mts/src/model/ListCoverPipelineRequest.cc delete mode 100644 mts/src/model/ListCoverPipelineResult.cc create mode 100644 mts/src/model/ListCustomEntitiesRequest.cc create mode 100644 mts/src/model/ListCustomEntitiesResult.cc rename mts/src/model/{ListPornPipelineRequest.cc => ListCustomGroupsRequest.cc} (53%) create mode 100644 mts/src/model/ListCustomGroupsResult.cc create mode 100644 mts/src/model/ListCustomViewsRequest.cc create mode 100644 mts/src/model/ListCustomViewsResult.cc rename mts/src/model/{QueryComplexJobListRequest.cc => ListFpShotImportJobRequest.cc} (57%) create mode 100644 mts/src/model/ListFpShotImportJobResult.cc delete mode 100644 mts/src/model/ListFpShotNotaryRequest.cc delete mode 100644 mts/src/model/ListFpShotNotaryResult.cc delete mode 100644 mts/src/model/ListInferenceJobRequest.cc delete mode 100644 mts/src/model/ListInferenceJobResult.cc delete mode 100644 mts/src/model/ListMediaRequest.cc delete mode 100644 mts/src/model/ListMediaResult.cc delete mode 100644 mts/src/model/ListPornPipelineResult.cc delete mode 100644 mts/src/model/ListTerrorismPipelineRequest.cc delete mode 100644 mts/src/model/ListTerrorismPipelineResult.cc delete mode 100644 mts/src/model/LogicalDeleteResourceRequest.cc delete mode 100644 mts/src/model/LogicalDeleteResourceResult.cc delete mode 100644 mts/src/model/PhysicalDeleteResourceRequest.cc delete mode 100644 mts/src/model/PhysicalDeleteResourceResult.cc delete mode 100644 mts/src/model/PlayInfoRequest.cc delete mode 100644 mts/src/model/PlayInfoResult.cc delete mode 100644 mts/src/model/PlayerAuthRequest.cc delete mode 100644 mts/src/model/PlayerAuthResult.cc delete mode 100644 mts/src/model/QueryAnnotationJobListRequest.cc delete mode 100644 mts/src/model/QueryAnnotationJobListResult.cc delete mode 100644 mts/src/model/QueryAsrJobListRequest.cc delete mode 100644 mts/src/model/QueryAsrJobListResult.cc delete mode 100644 mts/src/model/QueryAsrPipelineListRequest.cc delete mode 100644 mts/src/model/QueryAsrPipelineListResult.cc delete mode 100644 mts/src/model/QueryAuthConfigRequest.cc delete mode 100644 mts/src/model/QueryAuthConfigResult.cc delete mode 100644 mts/src/model/QueryCensorJobListRequest.cc delete mode 100644 mts/src/model/QueryCensorJobListResult.cc delete mode 100644 mts/src/model/QueryCensorPipelineListRequest.cc delete mode 100644 mts/src/model/QueryCensorPipelineListResult.cc delete mode 100644 mts/src/model/QueryComplexJobListResult.cc rename mts/src/model/{DetectImageSyncRequest.cc => QueryCopyrightExtractJobRequest.cc} (53%) create mode 100644 mts/src/model/QueryCopyrightExtractJobResult.cc create mode 100644 mts/src/model/QueryCopyrightJobRequest.cc create mode 100644 mts/src/model/QueryCopyrightJobResult.cc delete mode 100644 mts/src/model/QueryCoverJobListRequest.cc delete mode 100644 mts/src/model/QueryCoverJobListResult.cc delete mode 100644 mts/src/model/QueryCoverPipelineListRequest.cc delete mode 100644 mts/src/model/QueryCoverPipelineListResult.cc delete mode 100644 mts/src/model/QueryEditingJobListRequest.cc delete mode 100644 mts/src/model/QueryEditingJobListResult.cc delete mode 100644 mts/src/model/QueryFacerecogJobListRequest.cc delete mode 100644 mts/src/model/QueryFacerecogJobListResult.cc delete mode 100644 mts/src/model/QueryFpCompareJobListRequest.cc delete mode 100644 mts/src/model/QueryFpCompareJobListResult.cc delete mode 100644 mts/src/model/QueryFpImportResultRequest.cc delete mode 100644 mts/src/model/QueryFpImportResultResult.cc delete mode 100644 mts/src/model/QueryIProductionJobListRequest.cc delete mode 100644 mts/src/model/QueryIProductionJobListResult.cc delete mode 100644 mts/src/model/QueryImageSearchJobListRequest.cc delete mode 100644 mts/src/model/QueryImageSearchJobListResult.cc delete mode 100644 mts/src/model/QueryInferenceJobResult.cc delete mode 100644 mts/src/model/QueryInferenceServerRequest.cc delete mode 100644 mts/src/model/QueryInferenceServerResult.cc delete mode 100644 mts/src/model/QueryInnerJobRequest.cc delete mode 100644 mts/src/model/QueryInnerJobResult.cc delete mode 100644 mts/src/model/QueryMCJobListRequest.cc delete mode 100644 mts/src/model/QueryMCJobListResult.cc delete mode 100644 mts/src/model/QueryMCTemplateListRequest.cc delete mode 100644 mts/src/model/QueryMCTemplateListResult.cc delete mode 100644 mts/src/model/QueryMcuJobRequest.cc delete mode 100644 mts/src/model/QueryMcuJobResult.cc delete mode 100644 mts/src/model/QueryMcuTemplateRequest.cc delete mode 100644 mts/src/model/QueryMcuTemplateResult.cc delete mode 100644 mts/src/model/QueryMediaDetailJobListRequest.cc delete mode 100644 mts/src/model/QueryMediaDetailJobListResult.cc delete mode 100644 mts/src/model/QueryMediaFpDeleteJobListRequest.cc delete mode 100644 mts/src/model/QueryMediaFpDeleteJobListResult.cc delete mode 100644 mts/src/model/QueryPornJobListRequest.cc delete mode 100644 mts/src/model/QueryPornJobListResult.cc delete mode 100644 mts/src/model/QueryPornPipelineListRequest.cc delete mode 100644 mts/src/model/QueryPornPipelineListResult.cc delete mode 100644 mts/src/model/QuerySubtitleJobListRequest.cc delete mode 100644 mts/src/model/QuerySubtitleJobListResult.cc delete mode 100644 mts/src/model/QueryTagJobListRequest.cc delete mode 100644 mts/src/model/QueryTagJobListResult.cc delete mode 100644 mts/src/model/QueryTerrorismJobListRequest.cc delete mode 100644 mts/src/model/QueryTerrorismJobListResult.cc delete mode 100644 mts/src/model/QueryTerrorismPipelineListRequest.cc delete mode 100644 mts/src/model/QueryTerrorismPipelineListResult.cc rename mts/src/model/{QueryVideoQualityJobRequest.cc => QueryTraceAbJobRequest.cc} (52%) create mode 100644 mts/src/model/QueryTraceAbJobResult.cc rename mts/src/model/{QueryInferenceJobRequest.cc => QueryTraceExtractJobRequest.cc} (61%) rename mts/src/model/{SubmitInferenceJobResult.cc => QueryTraceExtractJobResult.cc} (56%) create mode 100644 mts/src/model/QueryTraceM3u8JobRequest.cc create mode 100644 mts/src/model/QueryTraceM3u8JobResult.cc delete mode 100644 mts/src/model/QueryVideoGifJobListRequest.cc delete mode 100644 mts/src/model/QueryVideoGifJobListResult.cc delete mode 100644 mts/src/model/QueryVideoPoseJobListRequest.cc delete mode 100644 mts/src/model/QueryVideoPoseJobListResult.cc delete mode 100644 mts/src/model/QueryVideoQualityJobResult.cc delete mode 100644 mts/src/model/QueryVideoSplitJobListRequest.cc delete mode 100644 mts/src/model/QueryVideoSplitJobListResult.cc delete mode 100644 mts/src/model/QueryVideoSummaryJobListRequest.cc delete mode 100644 mts/src/model/QueryVideoSummaryJobListResult.cc delete mode 100644 mts/src/model/RefreshCdnDomainConfigsCacheRequest.cc delete mode 100644 mts/src/model/RefreshCdnDomainConfigsCacheResult.cc create mode 100644 mts/src/model/RegisterCustomViewRequest.cc rename mts/src/model/{SubmitFacerecogJobResult.cc => RegisterCustomViewResult.cc} (66%) delete mode 100644 mts/src/model/RegisterMediaDetailPersonRequest.cc delete mode 100644 mts/src/model/RegisterMediaDetailPersonResult.cc delete mode 100644 mts/src/model/RegisterMediaDetailScenarioRequest.cc delete mode 100644 mts/src/model/RegisterMediaDetailScenarioResult.cc delete mode 100644 mts/src/model/ReportAnnotationJobResultRequest.cc delete mode 100644 mts/src/model/ReportAnnotationJobResultResult.cc delete mode 100644 mts/src/model/ReportCensorJobResultRequest.cc delete mode 100644 mts/src/model/ReportCensorJobResultResult.cc delete mode 100644 mts/src/model/ReportCoverJobResultRequest.cc delete mode 100644 mts/src/model/ReportCoverJobResultResult.cc delete mode 100644 mts/src/model/ReportFacerecogJobResultRequest.cc delete mode 100644 mts/src/model/ReportFacerecogJobResultResult.cc delete mode 100644 mts/src/model/ReportFpShotJobResultRequest.cc delete mode 100644 mts/src/model/ReportFpShotJobResultResult.cc delete mode 100644 mts/src/model/ReportMediaDetailJobResultRequest.cc delete mode 100644 mts/src/model/ReportMediaDetailJobResultResult.cc delete mode 100644 mts/src/model/ReportPornJobResultRequest.cc delete mode 100644 mts/src/model/ReportPornJobResultResult.cc delete mode 100644 mts/src/model/ReportTagJobResultRequest.cc delete mode 100644 mts/src/model/ReportTagJobResultResult.cc delete mode 100644 mts/src/model/ReportTerrorismJobResultRequest.cc delete mode 100644 mts/src/model/ReportTerrorismJobResultResult.cc delete mode 100644 mts/src/model/ReportVideoSplitJobResultRequest.cc delete mode 100644 mts/src/model/ReportVideoSplitJobResultResult.cc delete mode 100644 mts/src/model/SearchMediaRequest.cc delete mode 100644 mts/src/model/SearchMediaResult.cc delete mode 100644 mts/src/model/SetAuthConfigRequest.cc delete mode 100644 mts/src/model/SetAuthConfigResult.cc delete mode 100644 mts/src/model/StopIProductionJobRequest.cc delete mode 100644 mts/src/model/StopIProductionJobResult.cc delete mode 100644 mts/src/model/SubmitAnnotationJobRequest.cc delete mode 100644 mts/src/model/SubmitAnnotationJobResult.cc delete mode 100644 mts/src/model/SubmitAsrJobRequest.cc delete mode 100644 mts/src/model/SubmitAsrJobResult.cc delete mode 100644 mts/src/model/SubmitBeautifyJobsRequest.cc delete mode 100644 mts/src/model/SubmitBeautifyJobsResult.cc delete mode 100644 mts/src/model/SubmitComplexJobRequest.cc delete mode 100644 mts/src/model/SubmitComplexJobResult.cc create mode 100644 mts/src/model/SubmitCopyrightExtractJobRequest.cc create mode 100644 mts/src/model/SubmitCopyrightExtractJobResult.cc create mode 100644 mts/src/model/SubmitCopyrightJobRequest.cc rename mts/src/model/{DetectImageSyncResult.cc => SubmitCopyrightJobResult.cc} (58%) delete mode 100644 mts/src/model/SubmitCoverJobRequest.cc delete mode 100644 mts/src/model/SubmitCoverJobResult.cc delete mode 100644 mts/src/model/SubmitEditingJobsRequest.cc delete mode 100644 mts/src/model/SubmitEditingJobsResult.cc delete mode 100644 mts/src/model/SubmitFacerecogJobRequest.cc delete mode 100644 mts/src/model/SubmitFpCompareJobRequest.cc create mode 100644 mts/src/model/SubmitImageCopyrightRequest.cc create mode 100644 mts/src/model/SubmitImageCopyrightResult.cc delete mode 100644 mts/src/model/SubmitImageQualityJobRequest.cc delete mode 100644 mts/src/model/SubmitImageQualityJobResult.cc delete mode 100644 mts/src/model/SubmitImageSearchJobRequest.cc delete mode 100644 mts/src/model/SubmitImageSearchJobResult.cc delete mode 100644 mts/src/model/SubmitInferenceJobRequest.cc delete mode 100644 mts/src/model/SubmitInnerJobRequest.cc delete mode 100644 mts/src/model/SubmitMCJobRequest.cc delete mode 100644 mts/src/model/SubmitMcuJobRequest.cc delete mode 100644 mts/src/model/SubmitMcuJobResult.cc delete mode 100644 mts/src/model/SubmitMediaDetailJobRequest.cc delete mode 100644 mts/src/model/SubmitMediaDetailJobResult.cc delete mode 100644 mts/src/model/SubmitMediaFpDeleteJobRequest.cc delete mode 100644 mts/src/model/SubmitMediaFpDeleteJobResult.cc delete mode 100644 mts/src/model/SubmitPornJobRequest.cc delete mode 100644 mts/src/model/SubmitPornJobResult.cc delete mode 100644 mts/src/model/SubmitSubtitleJobRequest.cc delete mode 100644 mts/src/model/SubmitSubtitleJobResult.cc delete mode 100644 mts/src/model/SubmitTagJobRequest.cc delete mode 100644 mts/src/model/SubmitTagJobResult.cc delete mode 100644 mts/src/model/SubmitTerrorismJobRequest.cc delete mode 100644 mts/src/model/SubmitTerrorismJobResult.cc create mode 100644 mts/src/model/SubmitTraceAbJobRequest.cc create mode 100644 mts/src/model/SubmitTraceAbJobResult.cc create mode 100644 mts/src/model/SubmitTraceExtractJobRequest.cc rename mts/src/model/{SubmitVideoQualityJobResult.cc => SubmitTraceExtractJobResult.cc} (58%) create mode 100644 mts/src/model/SubmitTraceM3u8JobRequest.cc rename mts/src/model/{CreateInferenceServerResult.cc => SubmitTraceM3u8JobResult.cc} (64%) delete mode 100644 mts/src/model/SubmitURLUploadJobRequest.cc delete mode 100644 mts/src/model/SubmitURLUploadJobResult.cc delete mode 100644 mts/src/model/SubmitVideoGifJobRequest.cc delete mode 100644 mts/src/model/SubmitVideoPoseJobRequest.cc delete mode 100644 mts/src/model/SubmitVideoPoseJobResult.cc delete mode 100644 mts/src/model/SubmitVideoQualityJobRequest.cc delete mode 100644 mts/src/model/SubmitVideoSplitJobRequest.cc delete mode 100644 mts/src/model/SubmitVideoSplitJobResult.cc delete mode 100644 mts/src/model/SubmitVideoSummaryJobRequest.cc delete mode 100644 mts/src/model/SubmitVideoSummaryJobResult.cc delete mode 100644 mts/src/model/UpdateAsrPipelineRequest.cc delete mode 100644 mts/src/model/UpdateAsrPipelineResult.cc delete mode 100644 mts/src/model/UpdateCategoryNameRequest.cc delete mode 100644 mts/src/model/UpdateCensorPipelineRequest.cc delete mode 100644 mts/src/model/UpdateCensorPipelineResult.cc delete mode 100644 mts/src/model/UpdateCoverPipelineRequest.cc delete mode 100644 mts/src/model/UpdateCoverPipelineResult.cc delete mode 100644 mts/src/model/UpdateMCTemplateRequest.cc delete mode 100644 mts/src/model/UpdateMCTemplateResult.cc delete mode 100644 mts/src/model/UpdateMcuTemplateRequest.cc delete mode 100644 mts/src/model/UpdateMcuTemplateResult.cc delete mode 100644 mts/src/model/UpdatePornPipelineRequest.cc delete mode 100644 mts/src/model/UpdatePornPipelineResult.cc delete mode 100644 mts/src/model/UpdateTerrorismPipelineRequest.cc delete mode 100644 mts/src/model/UpdateTerrorismPipelineResult.cc diff --git a/VERSION b/VERSION index 6cedbf078..6c09647ea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1955 \ No newline at end of file +1.36.1956 \ No newline at end of file diff --git a/mts/CMakeLists.txt b/mts/CMakeLists.txt index 6bd6c6376..6dbaac268 100644 --- a/mts/CMakeLists.txt +++ b/mts/CMakeLists.txt @@ -23,16 +23,6 @@ set(mts_public_header set(mts_public_header_model include/alibabacloud/mts/model/ActivateMediaWorkflowRequest.h include/alibabacloud/mts/model/ActivateMediaWorkflowResult.h - include/alibabacloud/mts/model/AddAsrPipelineRequest.h - include/alibabacloud/mts/model/AddAsrPipelineResult.h - include/alibabacloud/mts/model/AddCategoryRequest.h - include/alibabacloud/mts/model/AddCategoryResult.h - include/alibabacloud/mts/model/AddCensorPipelineRequest.h - include/alibabacloud/mts/model/AddCensorPipelineResult.h - include/alibabacloud/mts/model/AddCoverPipelineRequest.h - include/alibabacloud/mts/model/AddCoverPipelineResult.h - include/alibabacloud/mts/model/AddMCTemplateRequest.h - include/alibabacloud/mts/model/AddMCTemplateResult.h include/alibabacloud/mts/model/AddMediaRequest.h include/alibabacloud/mts/model/AddMediaResult.h include/alibabacloud/mts/model/AddMediaTagRequest.h @@ -41,14 +31,10 @@ set(mts_public_header_model include/alibabacloud/mts/model/AddMediaWorkflowResult.h include/alibabacloud/mts/model/AddPipelineRequest.h include/alibabacloud/mts/model/AddPipelineResult.h - include/alibabacloud/mts/model/AddPornPipelineRequest.h - include/alibabacloud/mts/model/AddPornPipelineResult.h include/alibabacloud/mts/model/AddSmarttagTemplateRequest.h include/alibabacloud/mts/model/AddSmarttagTemplateResult.h include/alibabacloud/mts/model/AddTemplateRequest.h include/alibabacloud/mts/model/AddTemplateResult.h - include/alibabacloud/mts/model/AddTerrorismPipelineRequest.h - include/alibabacloud/mts/model/AddTerrorismPipelineResult.h include/alibabacloud/mts/model/AddWaterMarkTemplateRequest.h include/alibabacloud/mts/model/AddWaterMarkTemplateResult.h include/alibabacloud/mts/model/BindInputBucketRequest.h @@ -57,30 +43,20 @@ set(mts_public_header_model include/alibabacloud/mts/model/BindOutputBucketResult.h include/alibabacloud/mts/model/CancelJobRequest.h include/alibabacloud/mts/model/CancelJobResult.h - include/alibabacloud/mts/model/CategoryTreeRequest.h - include/alibabacloud/mts/model/CategoryTreeResult.h - include/alibabacloud/mts/model/CheckResourceRequest.h - include/alibabacloud/mts/model/CheckResourceResult.h + include/alibabacloud/mts/model/CreateCustomEntityRequest.h + include/alibabacloud/mts/model/CreateCustomEntityResult.h + include/alibabacloud/mts/model/CreateCustomGroupRequest.h + include/alibabacloud/mts/model/CreateCustomGroupResult.h include/alibabacloud/mts/model/CreateFpShotDBRequest.h include/alibabacloud/mts/model/CreateFpShotDBResult.h - include/alibabacloud/mts/model/CreateInferenceServerRequest.h - include/alibabacloud/mts/model/CreateInferenceServerResult.h - include/alibabacloud/mts/model/CreateMcuTemplateRequest.h - include/alibabacloud/mts/model/CreateMcuTemplateResult.h - include/alibabacloud/mts/model/CreateSessionRequest.h - include/alibabacloud/mts/model/CreateSessionResult.h include/alibabacloud/mts/model/DeactivateMediaWorkflowRequest.h include/alibabacloud/mts/model/DeactivateMediaWorkflowResult.h - include/alibabacloud/mts/model/DecryptKeyRequest.h - include/alibabacloud/mts/model/DecryptKeyResult.h - include/alibabacloud/mts/model/DeleteCategoryRequest.h - include/alibabacloud/mts/model/DeleteCategoryResult.h - include/alibabacloud/mts/model/DeleteMCTemplateRequest.h - include/alibabacloud/mts/model/DeleteMCTemplateResult.h - include/alibabacloud/mts/model/DeleteMcuJobRequest.h - include/alibabacloud/mts/model/DeleteMcuJobResult.h - include/alibabacloud/mts/model/DeleteMcuTemplateRequest.h - include/alibabacloud/mts/model/DeleteMcuTemplateResult.h + include/alibabacloud/mts/model/DeleteCustomEntityRequest.h + include/alibabacloud/mts/model/DeleteCustomEntityResult.h + include/alibabacloud/mts/model/DeleteCustomGroupRequest.h + include/alibabacloud/mts/model/DeleteCustomGroupResult.h + include/alibabacloud/mts/model/DeleteCustomViewRequest.h + include/alibabacloud/mts/model/DeleteCustomViewResult.h include/alibabacloud/mts/model/DeleteMediaRequest.h include/alibabacloud/mts/model/DeleteMediaResult.h include/alibabacloud/mts/model/DeleteMediaTagRequest.h @@ -95,118 +71,50 @@ set(mts_public_header_model include/alibabacloud/mts/model/DeleteTemplateResult.h include/alibabacloud/mts/model/DeleteWaterMarkTemplateRequest.h include/alibabacloud/mts/model/DeleteWaterMarkTemplateResult.h - include/alibabacloud/mts/model/DescribeMtsUserResourcePackageRequest.h - include/alibabacloud/mts/model/DescribeMtsUserResourcePackageResult.h - include/alibabacloud/mts/model/DetectImageSyncRequest.h - include/alibabacloud/mts/model/DetectImageSyncResult.h - include/alibabacloud/mts/model/GetJobInfoRequest.h - include/alibabacloud/mts/model/GetJobInfoResult.h - include/alibabacloud/mts/model/GetLicenseRequest.h - include/alibabacloud/mts/model/GetLicenseResult.h - include/alibabacloud/mts/model/GetPackageRequest.h - include/alibabacloud/mts/model/GetPackageResult.h - include/alibabacloud/mts/model/ListAllCategoryRequest.h - include/alibabacloud/mts/model/ListAllCategoryResult.h + include/alibabacloud/mts/model/ImAuditRequest.h + include/alibabacloud/mts/model/ImAuditResult.h + include/alibabacloud/mts/model/ImportFpShotJobRequest.h + include/alibabacloud/mts/model/ImportFpShotJobResult.h include/alibabacloud/mts/model/ListAllMediaBucketRequest.h include/alibabacloud/mts/model/ListAllMediaBucketResult.h - include/alibabacloud/mts/model/ListAsrPipelineRequest.h - include/alibabacloud/mts/model/ListAsrPipelineResult.h - include/alibabacloud/mts/model/ListCensorPipelineRequest.h - include/alibabacloud/mts/model/ListCensorPipelineResult.h - include/alibabacloud/mts/model/ListCoverPipelineRequest.h - include/alibabacloud/mts/model/ListCoverPipelineResult.h + include/alibabacloud/mts/model/ListCustomEntitiesRequest.h + include/alibabacloud/mts/model/ListCustomEntitiesResult.h + include/alibabacloud/mts/model/ListCustomGroupsRequest.h + include/alibabacloud/mts/model/ListCustomGroupsResult.h include/alibabacloud/mts/model/ListCustomPersonsRequest.h include/alibabacloud/mts/model/ListCustomPersonsResult.h + include/alibabacloud/mts/model/ListCustomViewsRequest.h + include/alibabacloud/mts/model/ListCustomViewsResult.h include/alibabacloud/mts/model/ListFpShotDBRequest.h include/alibabacloud/mts/model/ListFpShotDBResult.h include/alibabacloud/mts/model/ListFpShotFilesRequest.h include/alibabacloud/mts/model/ListFpShotFilesResult.h - include/alibabacloud/mts/model/ListFpShotNotaryRequest.h - include/alibabacloud/mts/model/ListFpShotNotaryResult.h - include/alibabacloud/mts/model/ListInferenceJobRequest.h - include/alibabacloud/mts/model/ListInferenceJobResult.h + include/alibabacloud/mts/model/ListFpShotImportJobRequest.h + include/alibabacloud/mts/model/ListFpShotImportJobResult.h include/alibabacloud/mts/model/ListJobRequest.h include/alibabacloud/mts/model/ListJobResult.h - include/alibabacloud/mts/model/ListMediaRequest.h - include/alibabacloud/mts/model/ListMediaResult.h include/alibabacloud/mts/model/ListMediaWorkflowExecutionsRequest.h include/alibabacloud/mts/model/ListMediaWorkflowExecutionsResult.h - include/alibabacloud/mts/model/ListPornPipelineRequest.h - include/alibabacloud/mts/model/ListPornPipelineResult.h - include/alibabacloud/mts/model/ListTerrorismPipelineRequest.h - include/alibabacloud/mts/model/ListTerrorismPipelineResult.h - include/alibabacloud/mts/model/LogicalDeleteResourceRequest.h - include/alibabacloud/mts/model/LogicalDeleteResourceResult.h - include/alibabacloud/mts/model/PhysicalDeleteResourceRequest.h - include/alibabacloud/mts/model/PhysicalDeleteResourceResult.h - include/alibabacloud/mts/model/PlayInfoRequest.h - include/alibabacloud/mts/model/PlayInfoResult.h - include/alibabacloud/mts/model/PlayerAuthRequest.h - include/alibabacloud/mts/model/PlayerAuthResult.h include/alibabacloud/mts/model/QueryAnalysisJobListRequest.h include/alibabacloud/mts/model/QueryAnalysisJobListResult.h - include/alibabacloud/mts/model/QueryAnnotationJobListRequest.h - include/alibabacloud/mts/model/QueryAnnotationJobListResult.h - include/alibabacloud/mts/model/QueryAsrJobListRequest.h - include/alibabacloud/mts/model/QueryAsrJobListResult.h - include/alibabacloud/mts/model/QueryAsrPipelineListRequest.h - include/alibabacloud/mts/model/QueryAsrPipelineListResult.h - include/alibabacloud/mts/model/QueryAuthConfigRequest.h - include/alibabacloud/mts/model/QueryAuthConfigResult.h - include/alibabacloud/mts/model/QueryCensorJobListRequest.h - include/alibabacloud/mts/model/QueryCensorJobListResult.h - include/alibabacloud/mts/model/QueryCensorPipelineListRequest.h - include/alibabacloud/mts/model/QueryCensorPipelineListResult.h - include/alibabacloud/mts/model/QueryComplexJobListRequest.h - include/alibabacloud/mts/model/QueryComplexJobListResult.h - include/alibabacloud/mts/model/QueryCoverJobListRequest.h - include/alibabacloud/mts/model/QueryCoverJobListResult.h - include/alibabacloud/mts/model/QueryCoverPipelineListRequest.h - include/alibabacloud/mts/model/QueryCoverPipelineListResult.h - include/alibabacloud/mts/model/QueryEditingJobListRequest.h - include/alibabacloud/mts/model/QueryEditingJobListResult.h - include/alibabacloud/mts/model/QueryFacerecogJobListRequest.h - include/alibabacloud/mts/model/QueryFacerecogJobListResult.h - include/alibabacloud/mts/model/QueryFpCompareJobListRequest.h - include/alibabacloud/mts/model/QueryFpCompareJobListResult.h + include/alibabacloud/mts/model/QueryCopyrightExtractJobRequest.h + include/alibabacloud/mts/model/QueryCopyrightExtractJobResult.h + include/alibabacloud/mts/model/QueryCopyrightJobRequest.h + include/alibabacloud/mts/model/QueryCopyrightJobResult.h include/alibabacloud/mts/model/QueryFpDBDeleteJobListRequest.h include/alibabacloud/mts/model/QueryFpDBDeleteJobListResult.h include/alibabacloud/mts/model/QueryFpFileDeleteJobListRequest.h include/alibabacloud/mts/model/QueryFpFileDeleteJobListResult.h - include/alibabacloud/mts/model/QueryFpImportResultRequest.h - include/alibabacloud/mts/model/QueryFpImportResultResult.h include/alibabacloud/mts/model/QueryFpShotJobListRequest.h include/alibabacloud/mts/model/QueryFpShotJobListResult.h include/alibabacloud/mts/model/QueryIProductionJobRequest.h include/alibabacloud/mts/model/QueryIProductionJobResult.h - include/alibabacloud/mts/model/QueryIProductionJobListRequest.h - include/alibabacloud/mts/model/QueryIProductionJobListResult.h - include/alibabacloud/mts/model/QueryImageSearchJobListRequest.h - include/alibabacloud/mts/model/QueryImageSearchJobListResult.h - include/alibabacloud/mts/model/QueryInferenceJobRequest.h - include/alibabacloud/mts/model/QueryInferenceJobResult.h - include/alibabacloud/mts/model/QueryInferenceServerRequest.h - include/alibabacloud/mts/model/QueryInferenceServerResult.h - include/alibabacloud/mts/model/QueryInnerJobRequest.h - include/alibabacloud/mts/model/QueryInnerJobResult.h include/alibabacloud/mts/model/QueryJobListRequest.h include/alibabacloud/mts/model/QueryJobListResult.h - include/alibabacloud/mts/model/QueryMCJobListRequest.h - include/alibabacloud/mts/model/QueryMCJobListResult.h - include/alibabacloud/mts/model/QueryMCTemplateListRequest.h - include/alibabacloud/mts/model/QueryMCTemplateListResult.h - include/alibabacloud/mts/model/QueryMcuJobRequest.h - include/alibabacloud/mts/model/QueryMcuJobResult.h - include/alibabacloud/mts/model/QueryMcuTemplateRequest.h - include/alibabacloud/mts/model/QueryMcuTemplateResult.h include/alibabacloud/mts/model/QueryMediaCensorJobDetailRequest.h include/alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h include/alibabacloud/mts/model/QueryMediaCensorJobListRequest.h include/alibabacloud/mts/model/QueryMediaCensorJobListResult.h - include/alibabacloud/mts/model/QueryMediaDetailJobListRequest.h - include/alibabacloud/mts/model/QueryMediaDetailJobListResult.h - include/alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h - include/alibabacloud/mts/model/QueryMediaFpDeleteJobListResult.h include/alibabacloud/mts/model/QueryMediaInfoJobListRequest.h include/alibabacloud/mts/model/QueryMediaInfoJobListResult.h include/alibabacloud/mts/model/QueryMediaListRequest.h @@ -219,68 +127,26 @@ set(mts_public_header_model include/alibabacloud/mts/model/QueryMediaWorkflowListResult.h include/alibabacloud/mts/model/QueryPipelineListRequest.h include/alibabacloud/mts/model/QueryPipelineListResult.h - include/alibabacloud/mts/model/QueryPornJobListRequest.h - include/alibabacloud/mts/model/QueryPornJobListResult.h - include/alibabacloud/mts/model/QueryPornPipelineListRequest.h - include/alibabacloud/mts/model/QueryPornPipelineListResult.h include/alibabacloud/mts/model/QuerySmarttagJobRequest.h include/alibabacloud/mts/model/QuerySmarttagJobResult.h include/alibabacloud/mts/model/QuerySmarttagTemplateListRequest.h include/alibabacloud/mts/model/QuerySmarttagTemplateListResult.h include/alibabacloud/mts/model/QuerySnapshotJobListRequest.h include/alibabacloud/mts/model/QuerySnapshotJobListResult.h - include/alibabacloud/mts/model/QuerySubtitleJobListRequest.h - include/alibabacloud/mts/model/QuerySubtitleJobListResult.h - include/alibabacloud/mts/model/QueryTagJobListRequest.h - include/alibabacloud/mts/model/QueryTagJobListResult.h include/alibabacloud/mts/model/QueryTemplateListRequest.h include/alibabacloud/mts/model/QueryTemplateListResult.h - include/alibabacloud/mts/model/QueryTerrorismJobListRequest.h - include/alibabacloud/mts/model/QueryTerrorismJobListResult.h - include/alibabacloud/mts/model/QueryTerrorismPipelineListRequest.h - include/alibabacloud/mts/model/QueryTerrorismPipelineListResult.h - include/alibabacloud/mts/model/QueryVideoGifJobListRequest.h - include/alibabacloud/mts/model/QueryVideoGifJobListResult.h - include/alibabacloud/mts/model/QueryVideoPoseJobListRequest.h - include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h - include/alibabacloud/mts/model/QueryVideoQualityJobRequest.h - include/alibabacloud/mts/model/QueryVideoQualityJobResult.h - include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h - include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h - include/alibabacloud/mts/model/QueryVideoSummaryJobListRequest.h - include/alibabacloud/mts/model/QueryVideoSummaryJobListResult.h + include/alibabacloud/mts/model/QueryTraceAbJobRequest.h + include/alibabacloud/mts/model/QueryTraceAbJobResult.h + include/alibabacloud/mts/model/QueryTraceExtractJobRequest.h + include/alibabacloud/mts/model/QueryTraceExtractJobResult.h + include/alibabacloud/mts/model/QueryTraceM3u8JobRequest.h + include/alibabacloud/mts/model/QueryTraceM3u8JobResult.h include/alibabacloud/mts/model/QueryWaterMarkTemplateListRequest.h include/alibabacloud/mts/model/QueryWaterMarkTemplateListResult.h - include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheRequest.h - include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheResult.h include/alibabacloud/mts/model/RegisterCustomFaceRequest.h include/alibabacloud/mts/model/RegisterCustomFaceResult.h - include/alibabacloud/mts/model/RegisterMediaDetailPersonRequest.h - include/alibabacloud/mts/model/RegisterMediaDetailPersonResult.h - include/alibabacloud/mts/model/RegisterMediaDetailScenarioRequest.h - include/alibabacloud/mts/model/RegisterMediaDetailScenarioResult.h - include/alibabacloud/mts/model/ReportAnnotationJobResultRequest.h - include/alibabacloud/mts/model/ReportAnnotationJobResultResult.h - include/alibabacloud/mts/model/ReportCensorJobResultRequest.h - include/alibabacloud/mts/model/ReportCensorJobResultResult.h - include/alibabacloud/mts/model/ReportCoverJobResultRequest.h - include/alibabacloud/mts/model/ReportCoverJobResultResult.h - include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h - include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h - include/alibabacloud/mts/model/ReportFpShotJobResultRequest.h - include/alibabacloud/mts/model/ReportFpShotJobResultResult.h - include/alibabacloud/mts/model/ReportMediaDetailJobResultRequest.h - include/alibabacloud/mts/model/ReportMediaDetailJobResultResult.h - include/alibabacloud/mts/model/ReportPornJobResultRequest.h - include/alibabacloud/mts/model/ReportPornJobResultResult.h - include/alibabacloud/mts/model/ReportTagJobResultRequest.h - include/alibabacloud/mts/model/ReportTagJobResultResult.h - include/alibabacloud/mts/model/ReportTerrorismJobResultRequest.h - include/alibabacloud/mts/model/ReportTerrorismJobResultResult.h - include/alibabacloud/mts/model/ReportVideoSplitJobResultRequest.h - include/alibabacloud/mts/model/ReportVideoSplitJobResultResult.h - include/alibabacloud/mts/model/SearchMediaRequest.h - include/alibabacloud/mts/model/SearchMediaResult.h + include/alibabacloud/mts/model/RegisterCustomViewRequest.h + include/alibabacloud/mts/model/RegisterCustomViewResult.h include/alibabacloud/mts/model/SearchMediaWorkflowRequest.h include/alibabacloud/mts/model/SearchMediaWorkflowResult.h include/alibabacloud/mts/model/SearchPipelineRequest.h @@ -289,28 +155,12 @@ set(mts_public_header_model include/alibabacloud/mts/model/SearchTemplateResult.h include/alibabacloud/mts/model/SearchWaterMarkTemplateRequest.h include/alibabacloud/mts/model/SearchWaterMarkTemplateResult.h - include/alibabacloud/mts/model/SetAuthConfigRequest.h - include/alibabacloud/mts/model/SetAuthConfigResult.h - include/alibabacloud/mts/model/StopIProductionJobRequest.h - include/alibabacloud/mts/model/StopIProductionJobResult.h include/alibabacloud/mts/model/SubmitAnalysisJobRequest.h include/alibabacloud/mts/model/SubmitAnalysisJobResult.h - include/alibabacloud/mts/model/SubmitAnnotationJobRequest.h - include/alibabacloud/mts/model/SubmitAnnotationJobResult.h - include/alibabacloud/mts/model/SubmitAsrJobRequest.h - include/alibabacloud/mts/model/SubmitAsrJobResult.h - include/alibabacloud/mts/model/SubmitBeautifyJobsRequest.h - include/alibabacloud/mts/model/SubmitBeautifyJobsResult.h - include/alibabacloud/mts/model/SubmitComplexJobRequest.h - include/alibabacloud/mts/model/SubmitComplexJobResult.h - include/alibabacloud/mts/model/SubmitCoverJobRequest.h - include/alibabacloud/mts/model/SubmitCoverJobResult.h - include/alibabacloud/mts/model/SubmitEditingJobsRequest.h - include/alibabacloud/mts/model/SubmitEditingJobsResult.h - include/alibabacloud/mts/model/SubmitFacerecogJobRequest.h - include/alibabacloud/mts/model/SubmitFacerecogJobResult.h - include/alibabacloud/mts/model/SubmitFpCompareJobRequest.h - include/alibabacloud/mts/model/SubmitFpCompareJobResult.h + include/alibabacloud/mts/model/SubmitCopyrightExtractJobRequest.h + include/alibabacloud/mts/model/SubmitCopyrightExtractJobResult.h + include/alibabacloud/mts/model/SubmitCopyrightJobRequest.h + include/alibabacloud/mts/model/SubmitCopyrightJobResult.h include/alibabacloud/mts/model/SubmitFpDBDeleteJobRequest.h include/alibabacloud/mts/model/SubmitFpDBDeleteJobResult.h include/alibabacloud/mts/model/SubmitFpFileDeleteJobRequest.h @@ -319,52 +169,24 @@ set(mts_public_header_model include/alibabacloud/mts/model/SubmitFpShotJobResult.h include/alibabacloud/mts/model/SubmitIProductionJobRequest.h include/alibabacloud/mts/model/SubmitIProductionJobResult.h - include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h - include/alibabacloud/mts/model/SubmitImageQualityJobResult.h - include/alibabacloud/mts/model/SubmitImageSearchJobRequest.h - include/alibabacloud/mts/model/SubmitImageSearchJobResult.h - include/alibabacloud/mts/model/SubmitInferenceJobRequest.h - include/alibabacloud/mts/model/SubmitInferenceJobResult.h - include/alibabacloud/mts/model/SubmitInnerJobRequest.h - include/alibabacloud/mts/model/SubmitInnerJobResult.h + include/alibabacloud/mts/model/SubmitImageCopyrightRequest.h + include/alibabacloud/mts/model/SubmitImageCopyrightResult.h include/alibabacloud/mts/model/SubmitJobsRequest.h include/alibabacloud/mts/model/SubmitJobsResult.h - include/alibabacloud/mts/model/SubmitMCJobRequest.h - include/alibabacloud/mts/model/SubmitMCJobResult.h - include/alibabacloud/mts/model/SubmitMcuJobRequest.h - include/alibabacloud/mts/model/SubmitMcuJobResult.h include/alibabacloud/mts/model/SubmitMediaCensorJobRequest.h include/alibabacloud/mts/model/SubmitMediaCensorJobResult.h - include/alibabacloud/mts/model/SubmitMediaDetailJobRequest.h - include/alibabacloud/mts/model/SubmitMediaDetailJobResult.h - include/alibabacloud/mts/model/SubmitMediaFpDeleteJobRequest.h - include/alibabacloud/mts/model/SubmitMediaFpDeleteJobResult.h include/alibabacloud/mts/model/SubmitMediaInfoJobRequest.h include/alibabacloud/mts/model/SubmitMediaInfoJobResult.h - include/alibabacloud/mts/model/SubmitPornJobRequest.h - include/alibabacloud/mts/model/SubmitPornJobResult.h include/alibabacloud/mts/model/SubmitSmarttagJobRequest.h include/alibabacloud/mts/model/SubmitSmarttagJobResult.h include/alibabacloud/mts/model/SubmitSnapshotJobRequest.h include/alibabacloud/mts/model/SubmitSnapshotJobResult.h - include/alibabacloud/mts/model/SubmitSubtitleJobRequest.h - include/alibabacloud/mts/model/SubmitSubtitleJobResult.h - include/alibabacloud/mts/model/SubmitTagJobRequest.h - include/alibabacloud/mts/model/SubmitTagJobResult.h - include/alibabacloud/mts/model/SubmitTerrorismJobRequest.h - include/alibabacloud/mts/model/SubmitTerrorismJobResult.h - include/alibabacloud/mts/model/SubmitURLUploadJobRequest.h - include/alibabacloud/mts/model/SubmitURLUploadJobResult.h - include/alibabacloud/mts/model/SubmitVideoGifJobRequest.h - include/alibabacloud/mts/model/SubmitVideoGifJobResult.h - include/alibabacloud/mts/model/SubmitVideoPoseJobRequest.h - include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h - include/alibabacloud/mts/model/SubmitVideoQualityJobRequest.h - include/alibabacloud/mts/model/SubmitVideoQualityJobResult.h - include/alibabacloud/mts/model/SubmitVideoSplitJobRequest.h - include/alibabacloud/mts/model/SubmitVideoSplitJobResult.h - include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h - include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h + include/alibabacloud/mts/model/SubmitTraceAbJobRequest.h + include/alibabacloud/mts/model/SubmitTraceAbJobResult.h + include/alibabacloud/mts/model/SubmitTraceExtractJobRequest.h + include/alibabacloud/mts/model/SubmitTraceExtractJobResult.h + include/alibabacloud/mts/model/SubmitTraceM3u8JobRequest.h + include/alibabacloud/mts/model/SubmitTraceM3u8JobResult.h include/alibabacloud/mts/model/TagCustomPersonRequest.h include/alibabacloud/mts/model/TagCustomPersonResult.h include/alibabacloud/mts/model/UnbindInputBucketRequest.h @@ -373,18 +195,6 @@ set(mts_public_header_model include/alibabacloud/mts/model/UnbindOutputBucketResult.h include/alibabacloud/mts/model/UnregisterCustomFaceRequest.h include/alibabacloud/mts/model/UnregisterCustomFaceResult.h - include/alibabacloud/mts/model/UpdateAsrPipelineRequest.h - include/alibabacloud/mts/model/UpdateAsrPipelineResult.h - include/alibabacloud/mts/model/UpdateCategoryNameRequest.h - include/alibabacloud/mts/model/UpdateCategoryNameResult.h - include/alibabacloud/mts/model/UpdateCensorPipelineRequest.h - include/alibabacloud/mts/model/UpdateCensorPipelineResult.h - include/alibabacloud/mts/model/UpdateCoverPipelineRequest.h - include/alibabacloud/mts/model/UpdateCoverPipelineResult.h - include/alibabacloud/mts/model/UpdateMCTemplateRequest.h - include/alibabacloud/mts/model/UpdateMCTemplateResult.h - include/alibabacloud/mts/model/UpdateMcuTemplateRequest.h - include/alibabacloud/mts/model/UpdateMcuTemplateResult.h include/alibabacloud/mts/model/UpdateMediaRequest.h include/alibabacloud/mts/model/UpdateMediaResult.h include/alibabacloud/mts/model/UpdateMediaCategoryRequest.h @@ -399,14 +209,10 @@ set(mts_public_header_model include/alibabacloud/mts/model/UpdateMediaWorkflowTriggerModeResult.h include/alibabacloud/mts/model/UpdatePipelineRequest.h include/alibabacloud/mts/model/UpdatePipelineResult.h - include/alibabacloud/mts/model/UpdatePornPipelineRequest.h - include/alibabacloud/mts/model/UpdatePornPipelineResult.h include/alibabacloud/mts/model/UpdateSmarttagTemplateRequest.h include/alibabacloud/mts/model/UpdateSmarttagTemplateResult.h include/alibabacloud/mts/model/UpdateTemplateRequest.h include/alibabacloud/mts/model/UpdateTemplateResult.h - include/alibabacloud/mts/model/UpdateTerrorismPipelineRequest.h - include/alibabacloud/mts/model/UpdateTerrorismPipelineResult.h include/alibabacloud/mts/model/UpdateWaterMarkTemplateRequest.h include/alibabacloud/mts/model/UpdateWaterMarkTemplateResult.h ) @@ -414,16 +220,6 @@ set(mts_src src/MtsClient.cc src/model/ActivateMediaWorkflowRequest.cc src/model/ActivateMediaWorkflowResult.cc - src/model/AddAsrPipelineRequest.cc - src/model/AddAsrPipelineResult.cc - src/model/AddCategoryRequest.cc - src/model/AddCategoryResult.cc - src/model/AddCensorPipelineRequest.cc - src/model/AddCensorPipelineResult.cc - src/model/AddCoverPipelineRequest.cc - src/model/AddCoverPipelineResult.cc - src/model/AddMCTemplateRequest.cc - src/model/AddMCTemplateResult.cc src/model/AddMediaRequest.cc src/model/AddMediaResult.cc src/model/AddMediaTagRequest.cc @@ -432,14 +228,10 @@ set(mts_src src/model/AddMediaWorkflowResult.cc src/model/AddPipelineRequest.cc src/model/AddPipelineResult.cc - src/model/AddPornPipelineRequest.cc - src/model/AddPornPipelineResult.cc src/model/AddSmarttagTemplateRequest.cc src/model/AddSmarttagTemplateResult.cc src/model/AddTemplateRequest.cc src/model/AddTemplateResult.cc - src/model/AddTerrorismPipelineRequest.cc - src/model/AddTerrorismPipelineResult.cc src/model/AddWaterMarkTemplateRequest.cc src/model/AddWaterMarkTemplateResult.cc src/model/BindInputBucketRequest.cc @@ -448,30 +240,20 @@ set(mts_src src/model/BindOutputBucketResult.cc src/model/CancelJobRequest.cc src/model/CancelJobResult.cc - src/model/CategoryTreeRequest.cc - src/model/CategoryTreeResult.cc - src/model/CheckResourceRequest.cc - src/model/CheckResourceResult.cc + src/model/CreateCustomEntityRequest.cc + src/model/CreateCustomEntityResult.cc + src/model/CreateCustomGroupRequest.cc + src/model/CreateCustomGroupResult.cc src/model/CreateFpShotDBRequest.cc src/model/CreateFpShotDBResult.cc - src/model/CreateInferenceServerRequest.cc - src/model/CreateInferenceServerResult.cc - src/model/CreateMcuTemplateRequest.cc - src/model/CreateMcuTemplateResult.cc - src/model/CreateSessionRequest.cc - src/model/CreateSessionResult.cc src/model/DeactivateMediaWorkflowRequest.cc src/model/DeactivateMediaWorkflowResult.cc - src/model/DecryptKeyRequest.cc - src/model/DecryptKeyResult.cc - src/model/DeleteCategoryRequest.cc - src/model/DeleteCategoryResult.cc - src/model/DeleteMCTemplateRequest.cc - src/model/DeleteMCTemplateResult.cc - src/model/DeleteMcuJobRequest.cc - src/model/DeleteMcuJobResult.cc - src/model/DeleteMcuTemplateRequest.cc - src/model/DeleteMcuTemplateResult.cc + src/model/DeleteCustomEntityRequest.cc + src/model/DeleteCustomEntityResult.cc + src/model/DeleteCustomGroupRequest.cc + src/model/DeleteCustomGroupResult.cc + src/model/DeleteCustomViewRequest.cc + src/model/DeleteCustomViewResult.cc src/model/DeleteMediaRequest.cc src/model/DeleteMediaResult.cc src/model/DeleteMediaTagRequest.cc @@ -486,118 +268,50 @@ set(mts_src src/model/DeleteTemplateResult.cc src/model/DeleteWaterMarkTemplateRequest.cc src/model/DeleteWaterMarkTemplateResult.cc - src/model/DescribeMtsUserResourcePackageRequest.cc - src/model/DescribeMtsUserResourcePackageResult.cc - src/model/DetectImageSyncRequest.cc - src/model/DetectImageSyncResult.cc - src/model/GetJobInfoRequest.cc - src/model/GetJobInfoResult.cc - src/model/GetLicenseRequest.cc - src/model/GetLicenseResult.cc - src/model/GetPackageRequest.cc - src/model/GetPackageResult.cc - src/model/ListAllCategoryRequest.cc - src/model/ListAllCategoryResult.cc + src/model/ImAuditRequest.cc + src/model/ImAuditResult.cc + src/model/ImportFpShotJobRequest.cc + src/model/ImportFpShotJobResult.cc src/model/ListAllMediaBucketRequest.cc src/model/ListAllMediaBucketResult.cc - src/model/ListAsrPipelineRequest.cc - src/model/ListAsrPipelineResult.cc - src/model/ListCensorPipelineRequest.cc - src/model/ListCensorPipelineResult.cc - src/model/ListCoverPipelineRequest.cc - src/model/ListCoverPipelineResult.cc + src/model/ListCustomEntitiesRequest.cc + src/model/ListCustomEntitiesResult.cc + src/model/ListCustomGroupsRequest.cc + src/model/ListCustomGroupsResult.cc src/model/ListCustomPersonsRequest.cc src/model/ListCustomPersonsResult.cc + src/model/ListCustomViewsRequest.cc + src/model/ListCustomViewsResult.cc src/model/ListFpShotDBRequest.cc src/model/ListFpShotDBResult.cc src/model/ListFpShotFilesRequest.cc src/model/ListFpShotFilesResult.cc - src/model/ListFpShotNotaryRequest.cc - src/model/ListFpShotNotaryResult.cc - src/model/ListInferenceJobRequest.cc - src/model/ListInferenceJobResult.cc + src/model/ListFpShotImportJobRequest.cc + src/model/ListFpShotImportJobResult.cc src/model/ListJobRequest.cc src/model/ListJobResult.cc - src/model/ListMediaRequest.cc - src/model/ListMediaResult.cc src/model/ListMediaWorkflowExecutionsRequest.cc src/model/ListMediaWorkflowExecutionsResult.cc - src/model/ListPornPipelineRequest.cc - src/model/ListPornPipelineResult.cc - src/model/ListTerrorismPipelineRequest.cc - src/model/ListTerrorismPipelineResult.cc - src/model/LogicalDeleteResourceRequest.cc - src/model/LogicalDeleteResourceResult.cc - src/model/PhysicalDeleteResourceRequest.cc - src/model/PhysicalDeleteResourceResult.cc - src/model/PlayInfoRequest.cc - src/model/PlayInfoResult.cc - src/model/PlayerAuthRequest.cc - src/model/PlayerAuthResult.cc src/model/QueryAnalysisJobListRequest.cc src/model/QueryAnalysisJobListResult.cc - src/model/QueryAnnotationJobListRequest.cc - src/model/QueryAnnotationJobListResult.cc - src/model/QueryAsrJobListRequest.cc - src/model/QueryAsrJobListResult.cc - src/model/QueryAsrPipelineListRequest.cc - src/model/QueryAsrPipelineListResult.cc - src/model/QueryAuthConfigRequest.cc - src/model/QueryAuthConfigResult.cc - src/model/QueryCensorJobListRequest.cc - src/model/QueryCensorJobListResult.cc - src/model/QueryCensorPipelineListRequest.cc - src/model/QueryCensorPipelineListResult.cc - src/model/QueryComplexJobListRequest.cc - src/model/QueryComplexJobListResult.cc - src/model/QueryCoverJobListRequest.cc - src/model/QueryCoverJobListResult.cc - src/model/QueryCoverPipelineListRequest.cc - src/model/QueryCoverPipelineListResult.cc - src/model/QueryEditingJobListRequest.cc - src/model/QueryEditingJobListResult.cc - src/model/QueryFacerecogJobListRequest.cc - src/model/QueryFacerecogJobListResult.cc - src/model/QueryFpCompareJobListRequest.cc - src/model/QueryFpCompareJobListResult.cc + src/model/QueryCopyrightExtractJobRequest.cc + src/model/QueryCopyrightExtractJobResult.cc + src/model/QueryCopyrightJobRequest.cc + src/model/QueryCopyrightJobResult.cc src/model/QueryFpDBDeleteJobListRequest.cc src/model/QueryFpDBDeleteJobListResult.cc src/model/QueryFpFileDeleteJobListRequest.cc src/model/QueryFpFileDeleteJobListResult.cc - src/model/QueryFpImportResultRequest.cc - src/model/QueryFpImportResultResult.cc src/model/QueryFpShotJobListRequest.cc src/model/QueryFpShotJobListResult.cc src/model/QueryIProductionJobRequest.cc src/model/QueryIProductionJobResult.cc - src/model/QueryIProductionJobListRequest.cc - src/model/QueryIProductionJobListResult.cc - src/model/QueryImageSearchJobListRequest.cc - src/model/QueryImageSearchJobListResult.cc - src/model/QueryInferenceJobRequest.cc - src/model/QueryInferenceJobResult.cc - src/model/QueryInferenceServerRequest.cc - src/model/QueryInferenceServerResult.cc - src/model/QueryInnerJobRequest.cc - src/model/QueryInnerJobResult.cc src/model/QueryJobListRequest.cc src/model/QueryJobListResult.cc - src/model/QueryMCJobListRequest.cc - src/model/QueryMCJobListResult.cc - src/model/QueryMCTemplateListRequest.cc - src/model/QueryMCTemplateListResult.cc - src/model/QueryMcuJobRequest.cc - src/model/QueryMcuJobResult.cc - src/model/QueryMcuTemplateRequest.cc - src/model/QueryMcuTemplateResult.cc src/model/QueryMediaCensorJobDetailRequest.cc src/model/QueryMediaCensorJobDetailResult.cc src/model/QueryMediaCensorJobListRequest.cc src/model/QueryMediaCensorJobListResult.cc - src/model/QueryMediaDetailJobListRequest.cc - src/model/QueryMediaDetailJobListResult.cc - src/model/QueryMediaFpDeleteJobListRequest.cc - src/model/QueryMediaFpDeleteJobListResult.cc src/model/QueryMediaInfoJobListRequest.cc src/model/QueryMediaInfoJobListResult.cc src/model/QueryMediaListRequest.cc @@ -610,68 +324,26 @@ set(mts_src src/model/QueryMediaWorkflowListResult.cc src/model/QueryPipelineListRequest.cc src/model/QueryPipelineListResult.cc - src/model/QueryPornJobListRequest.cc - src/model/QueryPornJobListResult.cc - src/model/QueryPornPipelineListRequest.cc - src/model/QueryPornPipelineListResult.cc src/model/QuerySmarttagJobRequest.cc src/model/QuerySmarttagJobResult.cc src/model/QuerySmarttagTemplateListRequest.cc src/model/QuerySmarttagTemplateListResult.cc src/model/QuerySnapshotJobListRequest.cc src/model/QuerySnapshotJobListResult.cc - src/model/QuerySubtitleJobListRequest.cc - src/model/QuerySubtitleJobListResult.cc - src/model/QueryTagJobListRequest.cc - src/model/QueryTagJobListResult.cc src/model/QueryTemplateListRequest.cc src/model/QueryTemplateListResult.cc - src/model/QueryTerrorismJobListRequest.cc - src/model/QueryTerrorismJobListResult.cc - src/model/QueryTerrorismPipelineListRequest.cc - src/model/QueryTerrorismPipelineListResult.cc - src/model/QueryVideoGifJobListRequest.cc - src/model/QueryVideoGifJobListResult.cc - src/model/QueryVideoPoseJobListRequest.cc - src/model/QueryVideoPoseJobListResult.cc - src/model/QueryVideoQualityJobRequest.cc - src/model/QueryVideoQualityJobResult.cc - src/model/QueryVideoSplitJobListRequest.cc - src/model/QueryVideoSplitJobListResult.cc - src/model/QueryVideoSummaryJobListRequest.cc - src/model/QueryVideoSummaryJobListResult.cc + src/model/QueryTraceAbJobRequest.cc + src/model/QueryTraceAbJobResult.cc + src/model/QueryTraceExtractJobRequest.cc + src/model/QueryTraceExtractJobResult.cc + src/model/QueryTraceM3u8JobRequest.cc + src/model/QueryTraceM3u8JobResult.cc src/model/QueryWaterMarkTemplateListRequest.cc src/model/QueryWaterMarkTemplateListResult.cc - src/model/RefreshCdnDomainConfigsCacheRequest.cc - src/model/RefreshCdnDomainConfigsCacheResult.cc src/model/RegisterCustomFaceRequest.cc src/model/RegisterCustomFaceResult.cc - src/model/RegisterMediaDetailPersonRequest.cc - src/model/RegisterMediaDetailPersonResult.cc - src/model/RegisterMediaDetailScenarioRequest.cc - src/model/RegisterMediaDetailScenarioResult.cc - src/model/ReportAnnotationJobResultRequest.cc - src/model/ReportAnnotationJobResultResult.cc - src/model/ReportCensorJobResultRequest.cc - src/model/ReportCensorJobResultResult.cc - src/model/ReportCoverJobResultRequest.cc - src/model/ReportCoverJobResultResult.cc - src/model/ReportFacerecogJobResultRequest.cc - src/model/ReportFacerecogJobResultResult.cc - src/model/ReportFpShotJobResultRequest.cc - src/model/ReportFpShotJobResultResult.cc - src/model/ReportMediaDetailJobResultRequest.cc - src/model/ReportMediaDetailJobResultResult.cc - src/model/ReportPornJobResultRequest.cc - src/model/ReportPornJobResultResult.cc - src/model/ReportTagJobResultRequest.cc - src/model/ReportTagJobResultResult.cc - src/model/ReportTerrorismJobResultRequest.cc - src/model/ReportTerrorismJobResultResult.cc - src/model/ReportVideoSplitJobResultRequest.cc - src/model/ReportVideoSplitJobResultResult.cc - src/model/SearchMediaRequest.cc - src/model/SearchMediaResult.cc + src/model/RegisterCustomViewRequest.cc + src/model/RegisterCustomViewResult.cc src/model/SearchMediaWorkflowRequest.cc src/model/SearchMediaWorkflowResult.cc src/model/SearchPipelineRequest.cc @@ -680,28 +352,12 @@ set(mts_src src/model/SearchTemplateResult.cc src/model/SearchWaterMarkTemplateRequest.cc src/model/SearchWaterMarkTemplateResult.cc - src/model/SetAuthConfigRequest.cc - src/model/SetAuthConfigResult.cc - src/model/StopIProductionJobRequest.cc - src/model/StopIProductionJobResult.cc src/model/SubmitAnalysisJobRequest.cc src/model/SubmitAnalysisJobResult.cc - src/model/SubmitAnnotationJobRequest.cc - src/model/SubmitAnnotationJobResult.cc - src/model/SubmitAsrJobRequest.cc - src/model/SubmitAsrJobResult.cc - src/model/SubmitBeautifyJobsRequest.cc - src/model/SubmitBeautifyJobsResult.cc - src/model/SubmitComplexJobRequest.cc - src/model/SubmitComplexJobResult.cc - src/model/SubmitCoverJobRequest.cc - src/model/SubmitCoverJobResult.cc - src/model/SubmitEditingJobsRequest.cc - src/model/SubmitEditingJobsResult.cc - src/model/SubmitFacerecogJobRequest.cc - src/model/SubmitFacerecogJobResult.cc - src/model/SubmitFpCompareJobRequest.cc - src/model/SubmitFpCompareJobResult.cc + src/model/SubmitCopyrightExtractJobRequest.cc + src/model/SubmitCopyrightExtractJobResult.cc + src/model/SubmitCopyrightJobRequest.cc + src/model/SubmitCopyrightJobResult.cc src/model/SubmitFpDBDeleteJobRequest.cc src/model/SubmitFpDBDeleteJobResult.cc src/model/SubmitFpFileDeleteJobRequest.cc @@ -710,52 +366,24 @@ set(mts_src src/model/SubmitFpShotJobResult.cc src/model/SubmitIProductionJobRequest.cc src/model/SubmitIProductionJobResult.cc - src/model/SubmitImageQualityJobRequest.cc - src/model/SubmitImageQualityJobResult.cc - src/model/SubmitImageSearchJobRequest.cc - src/model/SubmitImageSearchJobResult.cc - src/model/SubmitInferenceJobRequest.cc - src/model/SubmitInferenceJobResult.cc - src/model/SubmitInnerJobRequest.cc - src/model/SubmitInnerJobResult.cc + src/model/SubmitImageCopyrightRequest.cc + src/model/SubmitImageCopyrightResult.cc src/model/SubmitJobsRequest.cc src/model/SubmitJobsResult.cc - src/model/SubmitMCJobRequest.cc - src/model/SubmitMCJobResult.cc - src/model/SubmitMcuJobRequest.cc - src/model/SubmitMcuJobResult.cc src/model/SubmitMediaCensorJobRequest.cc src/model/SubmitMediaCensorJobResult.cc - src/model/SubmitMediaDetailJobRequest.cc - src/model/SubmitMediaDetailJobResult.cc - src/model/SubmitMediaFpDeleteJobRequest.cc - src/model/SubmitMediaFpDeleteJobResult.cc src/model/SubmitMediaInfoJobRequest.cc src/model/SubmitMediaInfoJobResult.cc - src/model/SubmitPornJobRequest.cc - src/model/SubmitPornJobResult.cc src/model/SubmitSmarttagJobRequest.cc src/model/SubmitSmarttagJobResult.cc src/model/SubmitSnapshotJobRequest.cc src/model/SubmitSnapshotJobResult.cc - src/model/SubmitSubtitleJobRequest.cc - src/model/SubmitSubtitleJobResult.cc - src/model/SubmitTagJobRequest.cc - src/model/SubmitTagJobResult.cc - src/model/SubmitTerrorismJobRequest.cc - src/model/SubmitTerrorismJobResult.cc - src/model/SubmitURLUploadJobRequest.cc - src/model/SubmitURLUploadJobResult.cc - src/model/SubmitVideoGifJobRequest.cc - src/model/SubmitVideoGifJobResult.cc - src/model/SubmitVideoPoseJobRequest.cc - src/model/SubmitVideoPoseJobResult.cc - src/model/SubmitVideoQualityJobRequest.cc - src/model/SubmitVideoQualityJobResult.cc - src/model/SubmitVideoSplitJobRequest.cc - src/model/SubmitVideoSplitJobResult.cc - src/model/SubmitVideoSummaryJobRequest.cc - src/model/SubmitVideoSummaryJobResult.cc + src/model/SubmitTraceAbJobRequest.cc + src/model/SubmitTraceAbJobResult.cc + src/model/SubmitTraceExtractJobRequest.cc + src/model/SubmitTraceExtractJobResult.cc + src/model/SubmitTraceM3u8JobRequest.cc + src/model/SubmitTraceM3u8JobResult.cc src/model/TagCustomPersonRequest.cc src/model/TagCustomPersonResult.cc src/model/UnbindInputBucketRequest.cc @@ -764,18 +392,6 @@ set(mts_src src/model/UnbindOutputBucketResult.cc src/model/UnregisterCustomFaceRequest.cc src/model/UnregisterCustomFaceResult.cc - src/model/UpdateAsrPipelineRequest.cc - src/model/UpdateAsrPipelineResult.cc - src/model/UpdateCategoryNameRequest.cc - src/model/UpdateCategoryNameResult.cc - src/model/UpdateCensorPipelineRequest.cc - src/model/UpdateCensorPipelineResult.cc - src/model/UpdateCoverPipelineRequest.cc - src/model/UpdateCoverPipelineResult.cc - src/model/UpdateMCTemplateRequest.cc - src/model/UpdateMCTemplateResult.cc - src/model/UpdateMcuTemplateRequest.cc - src/model/UpdateMcuTemplateResult.cc src/model/UpdateMediaRequest.cc src/model/UpdateMediaResult.cc src/model/UpdateMediaCategoryRequest.cc @@ -790,14 +406,10 @@ set(mts_src src/model/UpdateMediaWorkflowTriggerModeResult.cc src/model/UpdatePipelineRequest.cc src/model/UpdatePipelineResult.cc - src/model/UpdatePornPipelineRequest.cc - src/model/UpdatePornPipelineResult.cc src/model/UpdateSmarttagTemplateRequest.cc src/model/UpdateSmarttagTemplateResult.cc src/model/UpdateTemplateRequest.cc src/model/UpdateTemplateResult.cc - src/model/UpdateTerrorismPipelineRequest.cc - src/model/UpdateTerrorismPipelineResult.cc src/model/UpdateWaterMarkTemplateRequest.cc src/model/UpdateWaterMarkTemplateResult.cc ) diff --git a/mts/include/alibabacloud/mts/MtsClient.h b/mts/include/alibabacloud/mts/MtsClient.h index 0f06714a5..56a396aef 100644 --- a/mts/include/alibabacloud/mts/MtsClient.h +++ b/mts/include/alibabacloud/mts/MtsClient.h @@ -24,16 +24,6 @@ #include "MtsExport.h" #include "model/ActivateMediaWorkflowRequest.h" #include "model/ActivateMediaWorkflowResult.h" -#include "model/AddAsrPipelineRequest.h" -#include "model/AddAsrPipelineResult.h" -#include "model/AddCategoryRequest.h" -#include "model/AddCategoryResult.h" -#include "model/AddCensorPipelineRequest.h" -#include "model/AddCensorPipelineResult.h" -#include "model/AddCoverPipelineRequest.h" -#include "model/AddCoverPipelineResult.h" -#include "model/AddMCTemplateRequest.h" -#include "model/AddMCTemplateResult.h" #include "model/AddMediaRequest.h" #include "model/AddMediaResult.h" #include "model/AddMediaTagRequest.h" @@ -42,14 +32,10 @@ #include "model/AddMediaWorkflowResult.h" #include "model/AddPipelineRequest.h" #include "model/AddPipelineResult.h" -#include "model/AddPornPipelineRequest.h" -#include "model/AddPornPipelineResult.h" #include "model/AddSmarttagTemplateRequest.h" #include "model/AddSmarttagTemplateResult.h" #include "model/AddTemplateRequest.h" #include "model/AddTemplateResult.h" -#include "model/AddTerrorismPipelineRequest.h" -#include "model/AddTerrorismPipelineResult.h" #include "model/AddWaterMarkTemplateRequest.h" #include "model/AddWaterMarkTemplateResult.h" #include "model/BindInputBucketRequest.h" @@ -58,30 +44,20 @@ #include "model/BindOutputBucketResult.h" #include "model/CancelJobRequest.h" #include "model/CancelJobResult.h" -#include "model/CategoryTreeRequest.h" -#include "model/CategoryTreeResult.h" -#include "model/CheckResourceRequest.h" -#include "model/CheckResourceResult.h" +#include "model/CreateCustomEntityRequest.h" +#include "model/CreateCustomEntityResult.h" +#include "model/CreateCustomGroupRequest.h" +#include "model/CreateCustomGroupResult.h" #include "model/CreateFpShotDBRequest.h" #include "model/CreateFpShotDBResult.h" -#include "model/CreateInferenceServerRequest.h" -#include "model/CreateInferenceServerResult.h" -#include "model/CreateMcuTemplateRequest.h" -#include "model/CreateMcuTemplateResult.h" -#include "model/CreateSessionRequest.h" -#include "model/CreateSessionResult.h" #include "model/DeactivateMediaWorkflowRequest.h" #include "model/DeactivateMediaWorkflowResult.h" -#include "model/DecryptKeyRequest.h" -#include "model/DecryptKeyResult.h" -#include "model/DeleteCategoryRequest.h" -#include "model/DeleteCategoryResult.h" -#include "model/DeleteMCTemplateRequest.h" -#include "model/DeleteMCTemplateResult.h" -#include "model/DeleteMcuJobRequest.h" -#include "model/DeleteMcuJobResult.h" -#include "model/DeleteMcuTemplateRequest.h" -#include "model/DeleteMcuTemplateResult.h" +#include "model/DeleteCustomEntityRequest.h" +#include "model/DeleteCustomEntityResult.h" +#include "model/DeleteCustomGroupRequest.h" +#include "model/DeleteCustomGroupResult.h" +#include "model/DeleteCustomViewRequest.h" +#include "model/DeleteCustomViewResult.h" #include "model/DeleteMediaRequest.h" #include "model/DeleteMediaResult.h" #include "model/DeleteMediaTagRequest.h" @@ -96,118 +72,50 @@ #include "model/DeleteTemplateResult.h" #include "model/DeleteWaterMarkTemplateRequest.h" #include "model/DeleteWaterMarkTemplateResult.h" -#include "model/DescribeMtsUserResourcePackageRequest.h" -#include "model/DescribeMtsUserResourcePackageResult.h" -#include "model/DetectImageSyncRequest.h" -#include "model/DetectImageSyncResult.h" -#include "model/GetJobInfoRequest.h" -#include "model/GetJobInfoResult.h" -#include "model/GetLicenseRequest.h" -#include "model/GetLicenseResult.h" -#include "model/GetPackageRequest.h" -#include "model/GetPackageResult.h" -#include "model/ListAllCategoryRequest.h" -#include "model/ListAllCategoryResult.h" +#include "model/ImAuditRequest.h" +#include "model/ImAuditResult.h" +#include "model/ImportFpShotJobRequest.h" +#include "model/ImportFpShotJobResult.h" #include "model/ListAllMediaBucketRequest.h" #include "model/ListAllMediaBucketResult.h" -#include "model/ListAsrPipelineRequest.h" -#include "model/ListAsrPipelineResult.h" -#include "model/ListCensorPipelineRequest.h" -#include "model/ListCensorPipelineResult.h" -#include "model/ListCoverPipelineRequest.h" -#include "model/ListCoverPipelineResult.h" +#include "model/ListCustomEntitiesRequest.h" +#include "model/ListCustomEntitiesResult.h" +#include "model/ListCustomGroupsRequest.h" +#include "model/ListCustomGroupsResult.h" #include "model/ListCustomPersonsRequest.h" #include "model/ListCustomPersonsResult.h" +#include "model/ListCustomViewsRequest.h" +#include "model/ListCustomViewsResult.h" #include "model/ListFpShotDBRequest.h" #include "model/ListFpShotDBResult.h" #include "model/ListFpShotFilesRequest.h" #include "model/ListFpShotFilesResult.h" -#include "model/ListFpShotNotaryRequest.h" -#include "model/ListFpShotNotaryResult.h" -#include "model/ListInferenceJobRequest.h" -#include "model/ListInferenceJobResult.h" +#include "model/ListFpShotImportJobRequest.h" +#include "model/ListFpShotImportJobResult.h" #include "model/ListJobRequest.h" #include "model/ListJobResult.h" -#include "model/ListMediaRequest.h" -#include "model/ListMediaResult.h" #include "model/ListMediaWorkflowExecutionsRequest.h" #include "model/ListMediaWorkflowExecutionsResult.h" -#include "model/ListPornPipelineRequest.h" -#include "model/ListPornPipelineResult.h" -#include "model/ListTerrorismPipelineRequest.h" -#include "model/ListTerrorismPipelineResult.h" -#include "model/LogicalDeleteResourceRequest.h" -#include "model/LogicalDeleteResourceResult.h" -#include "model/PhysicalDeleteResourceRequest.h" -#include "model/PhysicalDeleteResourceResult.h" -#include "model/PlayInfoRequest.h" -#include "model/PlayInfoResult.h" -#include "model/PlayerAuthRequest.h" -#include "model/PlayerAuthResult.h" #include "model/QueryAnalysisJobListRequest.h" #include "model/QueryAnalysisJobListResult.h" -#include "model/QueryAnnotationJobListRequest.h" -#include "model/QueryAnnotationJobListResult.h" -#include "model/QueryAsrJobListRequest.h" -#include "model/QueryAsrJobListResult.h" -#include "model/QueryAsrPipelineListRequest.h" -#include "model/QueryAsrPipelineListResult.h" -#include "model/QueryAuthConfigRequest.h" -#include "model/QueryAuthConfigResult.h" -#include "model/QueryCensorJobListRequest.h" -#include "model/QueryCensorJobListResult.h" -#include "model/QueryCensorPipelineListRequest.h" -#include "model/QueryCensorPipelineListResult.h" -#include "model/QueryComplexJobListRequest.h" -#include "model/QueryComplexJobListResult.h" -#include "model/QueryCoverJobListRequest.h" -#include "model/QueryCoverJobListResult.h" -#include "model/QueryCoverPipelineListRequest.h" -#include "model/QueryCoverPipelineListResult.h" -#include "model/QueryEditingJobListRequest.h" -#include "model/QueryEditingJobListResult.h" -#include "model/QueryFacerecogJobListRequest.h" -#include "model/QueryFacerecogJobListResult.h" -#include "model/QueryFpCompareJobListRequest.h" -#include "model/QueryFpCompareJobListResult.h" +#include "model/QueryCopyrightExtractJobRequest.h" +#include "model/QueryCopyrightExtractJobResult.h" +#include "model/QueryCopyrightJobRequest.h" +#include "model/QueryCopyrightJobResult.h" #include "model/QueryFpDBDeleteJobListRequest.h" #include "model/QueryFpDBDeleteJobListResult.h" #include "model/QueryFpFileDeleteJobListRequest.h" #include "model/QueryFpFileDeleteJobListResult.h" -#include "model/QueryFpImportResultRequest.h" -#include "model/QueryFpImportResultResult.h" #include "model/QueryFpShotJobListRequest.h" #include "model/QueryFpShotJobListResult.h" #include "model/QueryIProductionJobRequest.h" #include "model/QueryIProductionJobResult.h" -#include "model/QueryIProductionJobListRequest.h" -#include "model/QueryIProductionJobListResult.h" -#include "model/QueryImageSearchJobListRequest.h" -#include "model/QueryImageSearchJobListResult.h" -#include "model/QueryInferenceJobRequest.h" -#include "model/QueryInferenceJobResult.h" -#include "model/QueryInferenceServerRequest.h" -#include "model/QueryInferenceServerResult.h" -#include "model/QueryInnerJobRequest.h" -#include "model/QueryInnerJobResult.h" #include "model/QueryJobListRequest.h" #include "model/QueryJobListResult.h" -#include "model/QueryMCJobListRequest.h" -#include "model/QueryMCJobListResult.h" -#include "model/QueryMCTemplateListRequest.h" -#include "model/QueryMCTemplateListResult.h" -#include "model/QueryMcuJobRequest.h" -#include "model/QueryMcuJobResult.h" -#include "model/QueryMcuTemplateRequest.h" -#include "model/QueryMcuTemplateResult.h" #include "model/QueryMediaCensorJobDetailRequest.h" #include "model/QueryMediaCensorJobDetailResult.h" #include "model/QueryMediaCensorJobListRequest.h" #include "model/QueryMediaCensorJobListResult.h" -#include "model/QueryMediaDetailJobListRequest.h" -#include "model/QueryMediaDetailJobListResult.h" -#include "model/QueryMediaFpDeleteJobListRequest.h" -#include "model/QueryMediaFpDeleteJobListResult.h" #include "model/QueryMediaInfoJobListRequest.h" #include "model/QueryMediaInfoJobListResult.h" #include "model/QueryMediaListRequest.h" @@ -220,68 +128,26 @@ #include "model/QueryMediaWorkflowListResult.h" #include "model/QueryPipelineListRequest.h" #include "model/QueryPipelineListResult.h" -#include "model/QueryPornJobListRequest.h" -#include "model/QueryPornJobListResult.h" -#include "model/QueryPornPipelineListRequest.h" -#include "model/QueryPornPipelineListResult.h" #include "model/QuerySmarttagJobRequest.h" #include "model/QuerySmarttagJobResult.h" #include "model/QuerySmarttagTemplateListRequest.h" #include "model/QuerySmarttagTemplateListResult.h" #include "model/QuerySnapshotJobListRequest.h" #include "model/QuerySnapshotJobListResult.h" -#include "model/QuerySubtitleJobListRequest.h" -#include "model/QuerySubtitleJobListResult.h" -#include "model/QueryTagJobListRequest.h" -#include "model/QueryTagJobListResult.h" #include "model/QueryTemplateListRequest.h" #include "model/QueryTemplateListResult.h" -#include "model/QueryTerrorismJobListRequest.h" -#include "model/QueryTerrorismJobListResult.h" -#include "model/QueryTerrorismPipelineListRequest.h" -#include "model/QueryTerrorismPipelineListResult.h" -#include "model/QueryVideoGifJobListRequest.h" -#include "model/QueryVideoGifJobListResult.h" -#include "model/QueryVideoPoseJobListRequest.h" -#include "model/QueryVideoPoseJobListResult.h" -#include "model/QueryVideoQualityJobRequest.h" -#include "model/QueryVideoQualityJobResult.h" -#include "model/QueryVideoSplitJobListRequest.h" -#include "model/QueryVideoSplitJobListResult.h" -#include "model/QueryVideoSummaryJobListRequest.h" -#include "model/QueryVideoSummaryJobListResult.h" +#include "model/QueryTraceAbJobRequest.h" +#include "model/QueryTraceAbJobResult.h" +#include "model/QueryTraceExtractJobRequest.h" +#include "model/QueryTraceExtractJobResult.h" +#include "model/QueryTraceM3u8JobRequest.h" +#include "model/QueryTraceM3u8JobResult.h" #include "model/QueryWaterMarkTemplateListRequest.h" #include "model/QueryWaterMarkTemplateListResult.h" -#include "model/RefreshCdnDomainConfigsCacheRequest.h" -#include "model/RefreshCdnDomainConfigsCacheResult.h" #include "model/RegisterCustomFaceRequest.h" #include "model/RegisterCustomFaceResult.h" -#include "model/RegisterMediaDetailPersonRequest.h" -#include "model/RegisterMediaDetailPersonResult.h" -#include "model/RegisterMediaDetailScenarioRequest.h" -#include "model/RegisterMediaDetailScenarioResult.h" -#include "model/ReportAnnotationJobResultRequest.h" -#include "model/ReportAnnotationJobResultResult.h" -#include "model/ReportCensorJobResultRequest.h" -#include "model/ReportCensorJobResultResult.h" -#include "model/ReportCoverJobResultRequest.h" -#include "model/ReportCoverJobResultResult.h" -#include "model/ReportFacerecogJobResultRequest.h" -#include "model/ReportFacerecogJobResultResult.h" -#include "model/ReportFpShotJobResultRequest.h" -#include "model/ReportFpShotJobResultResult.h" -#include "model/ReportMediaDetailJobResultRequest.h" -#include "model/ReportMediaDetailJobResultResult.h" -#include "model/ReportPornJobResultRequest.h" -#include "model/ReportPornJobResultResult.h" -#include "model/ReportTagJobResultRequest.h" -#include "model/ReportTagJobResultResult.h" -#include "model/ReportTerrorismJobResultRequest.h" -#include "model/ReportTerrorismJobResultResult.h" -#include "model/ReportVideoSplitJobResultRequest.h" -#include "model/ReportVideoSplitJobResultResult.h" -#include "model/SearchMediaRequest.h" -#include "model/SearchMediaResult.h" +#include "model/RegisterCustomViewRequest.h" +#include "model/RegisterCustomViewResult.h" #include "model/SearchMediaWorkflowRequest.h" #include "model/SearchMediaWorkflowResult.h" #include "model/SearchPipelineRequest.h" @@ -290,28 +156,12 @@ #include "model/SearchTemplateResult.h" #include "model/SearchWaterMarkTemplateRequest.h" #include "model/SearchWaterMarkTemplateResult.h" -#include "model/SetAuthConfigRequest.h" -#include "model/SetAuthConfigResult.h" -#include "model/StopIProductionJobRequest.h" -#include "model/StopIProductionJobResult.h" #include "model/SubmitAnalysisJobRequest.h" #include "model/SubmitAnalysisJobResult.h" -#include "model/SubmitAnnotationJobRequest.h" -#include "model/SubmitAnnotationJobResult.h" -#include "model/SubmitAsrJobRequest.h" -#include "model/SubmitAsrJobResult.h" -#include "model/SubmitBeautifyJobsRequest.h" -#include "model/SubmitBeautifyJobsResult.h" -#include "model/SubmitComplexJobRequest.h" -#include "model/SubmitComplexJobResult.h" -#include "model/SubmitCoverJobRequest.h" -#include "model/SubmitCoverJobResult.h" -#include "model/SubmitEditingJobsRequest.h" -#include "model/SubmitEditingJobsResult.h" -#include "model/SubmitFacerecogJobRequest.h" -#include "model/SubmitFacerecogJobResult.h" -#include "model/SubmitFpCompareJobRequest.h" -#include "model/SubmitFpCompareJobResult.h" +#include "model/SubmitCopyrightExtractJobRequest.h" +#include "model/SubmitCopyrightExtractJobResult.h" +#include "model/SubmitCopyrightJobRequest.h" +#include "model/SubmitCopyrightJobResult.h" #include "model/SubmitFpDBDeleteJobRequest.h" #include "model/SubmitFpDBDeleteJobResult.h" #include "model/SubmitFpFileDeleteJobRequest.h" @@ -320,52 +170,24 @@ #include "model/SubmitFpShotJobResult.h" #include "model/SubmitIProductionJobRequest.h" #include "model/SubmitIProductionJobResult.h" -#include "model/SubmitImageQualityJobRequest.h" -#include "model/SubmitImageQualityJobResult.h" -#include "model/SubmitImageSearchJobRequest.h" -#include "model/SubmitImageSearchJobResult.h" -#include "model/SubmitInferenceJobRequest.h" -#include "model/SubmitInferenceJobResult.h" -#include "model/SubmitInnerJobRequest.h" -#include "model/SubmitInnerJobResult.h" +#include "model/SubmitImageCopyrightRequest.h" +#include "model/SubmitImageCopyrightResult.h" #include "model/SubmitJobsRequest.h" #include "model/SubmitJobsResult.h" -#include "model/SubmitMCJobRequest.h" -#include "model/SubmitMCJobResult.h" -#include "model/SubmitMcuJobRequest.h" -#include "model/SubmitMcuJobResult.h" #include "model/SubmitMediaCensorJobRequest.h" #include "model/SubmitMediaCensorJobResult.h" -#include "model/SubmitMediaDetailJobRequest.h" -#include "model/SubmitMediaDetailJobResult.h" -#include "model/SubmitMediaFpDeleteJobRequest.h" -#include "model/SubmitMediaFpDeleteJobResult.h" #include "model/SubmitMediaInfoJobRequest.h" #include "model/SubmitMediaInfoJobResult.h" -#include "model/SubmitPornJobRequest.h" -#include "model/SubmitPornJobResult.h" #include "model/SubmitSmarttagJobRequest.h" #include "model/SubmitSmarttagJobResult.h" #include "model/SubmitSnapshotJobRequest.h" #include "model/SubmitSnapshotJobResult.h" -#include "model/SubmitSubtitleJobRequest.h" -#include "model/SubmitSubtitleJobResult.h" -#include "model/SubmitTagJobRequest.h" -#include "model/SubmitTagJobResult.h" -#include "model/SubmitTerrorismJobRequest.h" -#include "model/SubmitTerrorismJobResult.h" -#include "model/SubmitURLUploadJobRequest.h" -#include "model/SubmitURLUploadJobResult.h" -#include "model/SubmitVideoGifJobRequest.h" -#include "model/SubmitVideoGifJobResult.h" -#include "model/SubmitVideoPoseJobRequest.h" -#include "model/SubmitVideoPoseJobResult.h" -#include "model/SubmitVideoQualityJobRequest.h" -#include "model/SubmitVideoQualityJobResult.h" -#include "model/SubmitVideoSplitJobRequest.h" -#include "model/SubmitVideoSplitJobResult.h" -#include "model/SubmitVideoSummaryJobRequest.h" -#include "model/SubmitVideoSummaryJobResult.h" +#include "model/SubmitTraceAbJobRequest.h" +#include "model/SubmitTraceAbJobResult.h" +#include "model/SubmitTraceExtractJobRequest.h" +#include "model/SubmitTraceExtractJobResult.h" +#include "model/SubmitTraceM3u8JobRequest.h" +#include "model/SubmitTraceM3u8JobResult.h" #include "model/TagCustomPersonRequest.h" #include "model/TagCustomPersonResult.h" #include "model/UnbindInputBucketRequest.h" @@ -374,18 +196,6 @@ #include "model/UnbindOutputBucketResult.h" #include "model/UnregisterCustomFaceRequest.h" #include "model/UnregisterCustomFaceResult.h" -#include "model/UpdateAsrPipelineRequest.h" -#include "model/UpdateAsrPipelineResult.h" -#include "model/UpdateCategoryNameRequest.h" -#include "model/UpdateCategoryNameResult.h" -#include "model/UpdateCensorPipelineRequest.h" -#include "model/UpdateCensorPipelineResult.h" -#include "model/UpdateCoverPipelineRequest.h" -#include "model/UpdateCoverPipelineResult.h" -#include "model/UpdateMCTemplateRequest.h" -#include "model/UpdateMCTemplateResult.h" -#include "model/UpdateMcuTemplateRequest.h" -#include "model/UpdateMcuTemplateResult.h" #include "model/UpdateMediaRequest.h" #include "model/UpdateMediaResult.h" #include "model/UpdateMediaCategoryRequest.h" @@ -400,14 +210,10 @@ #include "model/UpdateMediaWorkflowTriggerModeResult.h" #include "model/UpdatePipelineRequest.h" #include "model/UpdatePipelineResult.h" -#include "model/UpdatePornPipelineRequest.h" -#include "model/UpdatePornPipelineResult.h" #include "model/UpdateSmarttagTemplateRequest.h" #include "model/UpdateSmarttagTemplateResult.h" #include "model/UpdateTemplateRequest.h" #include "model/UpdateTemplateResult.h" -#include "model/UpdateTerrorismPipelineRequest.h" -#include "model/UpdateTerrorismPipelineResult.h" #include "model/UpdateWaterMarkTemplateRequest.h" #include "model/UpdateWaterMarkTemplateResult.h" @@ -422,21 +228,6 @@ namespace AlibabaCloud typedef Outcome ActivateMediaWorkflowOutcome; typedef std::future ActivateMediaWorkflowOutcomeCallable; typedef std::function&)> ActivateMediaWorkflowAsyncHandler; - typedef Outcome AddAsrPipelineOutcome; - typedef std::future AddAsrPipelineOutcomeCallable; - typedef std::function&)> AddAsrPipelineAsyncHandler; - typedef Outcome AddCategoryOutcome; - typedef std::future AddCategoryOutcomeCallable; - typedef std::function&)> AddCategoryAsyncHandler; - typedef Outcome AddCensorPipelineOutcome; - typedef std::future AddCensorPipelineOutcomeCallable; - typedef std::function&)> AddCensorPipelineAsyncHandler; - typedef Outcome AddCoverPipelineOutcome; - typedef std::future AddCoverPipelineOutcomeCallable; - typedef std::function&)> AddCoverPipelineAsyncHandler; - typedef Outcome AddMCTemplateOutcome; - typedef std::future AddMCTemplateOutcomeCallable; - typedef std::function&)> AddMCTemplateAsyncHandler; typedef Outcome AddMediaOutcome; typedef std::future AddMediaOutcomeCallable; typedef std::function&)> AddMediaAsyncHandler; @@ -449,18 +240,12 @@ namespace AlibabaCloud typedef Outcome AddPipelineOutcome; typedef std::future AddPipelineOutcomeCallable; typedef std::function&)> AddPipelineAsyncHandler; - typedef Outcome AddPornPipelineOutcome; - typedef std::future AddPornPipelineOutcomeCallable; - typedef std::function&)> AddPornPipelineAsyncHandler; typedef Outcome AddSmarttagTemplateOutcome; typedef std::future AddSmarttagTemplateOutcomeCallable; typedef std::function&)> AddSmarttagTemplateAsyncHandler; typedef Outcome AddTemplateOutcome; typedef std::future AddTemplateOutcomeCallable; typedef std::function&)> AddTemplateAsyncHandler; - typedef Outcome AddTerrorismPipelineOutcome; - typedef std::future AddTerrorismPipelineOutcomeCallable; - typedef std::function&)> AddTerrorismPipelineAsyncHandler; typedef Outcome AddWaterMarkTemplateOutcome; typedef std::future AddWaterMarkTemplateOutcomeCallable; typedef std::function&)> AddWaterMarkTemplateAsyncHandler; @@ -473,42 +258,27 @@ namespace AlibabaCloud typedef Outcome CancelJobOutcome; typedef std::future CancelJobOutcomeCallable; typedef std::function&)> CancelJobAsyncHandler; - typedef Outcome CategoryTreeOutcome; - typedef std::future CategoryTreeOutcomeCallable; - typedef std::function&)> CategoryTreeAsyncHandler; - typedef Outcome CheckResourceOutcome; - typedef std::future CheckResourceOutcomeCallable; - typedef std::function&)> CheckResourceAsyncHandler; + typedef Outcome CreateCustomEntityOutcome; + typedef std::future CreateCustomEntityOutcomeCallable; + typedef std::function&)> CreateCustomEntityAsyncHandler; + typedef Outcome CreateCustomGroupOutcome; + typedef std::future CreateCustomGroupOutcomeCallable; + typedef std::function&)> CreateCustomGroupAsyncHandler; typedef Outcome CreateFpShotDBOutcome; typedef std::future CreateFpShotDBOutcomeCallable; typedef std::function&)> CreateFpShotDBAsyncHandler; - typedef Outcome CreateInferenceServerOutcome; - typedef std::future CreateInferenceServerOutcomeCallable; - typedef std::function&)> CreateInferenceServerAsyncHandler; - typedef Outcome CreateMcuTemplateOutcome; - typedef std::future CreateMcuTemplateOutcomeCallable; - typedef std::function&)> CreateMcuTemplateAsyncHandler; - typedef Outcome CreateSessionOutcome; - typedef std::future CreateSessionOutcomeCallable; - typedef std::function&)> CreateSessionAsyncHandler; typedef Outcome DeactivateMediaWorkflowOutcome; typedef std::future DeactivateMediaWorkflowOutcomeCallable; typedef std::function&)> DeactivateMediaWorkflowAsyncHandler; - typedef Outcome DecryptKeyOutcome; - typedef std::future DecryptKeyOutcomeCallable; - typedef std::function&)> DecryptKeyAsyncHandler; - typedef Outcome DeleteCategoryOutcome; - typedef std::future DeleteCategoryOutcomeCallable; - typedef std::function&)> DeleteCategoryAsyncHandler; - typedef Outcome DeleteMCTemplateOutcome; - typedef std::future DeleteMCTemplateOutcomeCallable; - typedef std::function&)> DeleteMCTemplateAsyncHandler; - typedef Outcome DeleteMcuJobOutcome; - typedef std::future DeleteMcuJobOutcomeCallable; - typedef std::function&)> DeleteMcuJobAsyncHandler; - typedef Outcome DeleteMcuTemplateOutcome; - typedef std::future DeleteMcuTemplateOutcomeCallable; - typedef std::function&)> DeleteMcuTemplateAsyncHandler; + typedef Outcome DeleteCustomEntityOutcome; + typedef std::future DeleteCustomEntityOutcomeCallable; + typedef std::function&)> DeleteCustomEntityAsyncHandler; + typedef Outcome DeleteCustomGroupOutcome; + typedef std::future DeleteCustomGroupOutcomeCallable; + typedef std::function&)> DeleteCustomGroupAsyncHandler; + typedef Outcome DeleteCustomViewOutcome; + typedef std::future DeleteCustomViewOutcomeCallable; + typedef std::function&)> DeleteCustomViewAsyncHandler; typedef Outcome DeleteMediaOutcome; typedef std::future DeleteMediaOutcomeCallable; typedef std::function&)> DeleteMediaAsyncHandler; @@ -530,174 +300,72 @@ namespace AlibabaCloud typedef Outcome DeleteWaterMarkTemplateOutcome; typedef std::future DeleteWaterMarkTemplateOutcomeCallable; typedef std::function&)> DeleteWaterMarkTemplateAsyncHandler; - typedef Outcome DescribeMtsUserResourcePackageOutcome; - typedef std::future DescribeMtsUserResourcePackageOutcomeCallable; - typedef std::function&)> DescribeMtsUserResourcePackageAsyncHandler; - typedef Outcome DetectImageSyncOutcome; - typedef std::future DetectImageSyncOutcomeCallable; - typedef std::function&)> DetectImageSyncAsyncHandler; - typedef Outcome GetJobInfoOutcome; - typedef std::future GetJobInfoOutcomeCallable; - typedef std::function&)> GetJobInfoAsyncHandler; - typedef Outcome GetLicenseOutcome; - typedef std::future GetLicenseOutcomeCallable; - typedef std::function&)> GetLicenseAsyncHandler; - typedef Outcome GetPackageOutcome; - typedef std::future GetPackageOutcomeCallable; - typedef std::function&)> GetPackageAsyncHandler; - typedef Outcome ListAllCategoryOutcome; - typedef std::future ListAllCategoryOutcomeCallable; - typedef std::function&)> ListAllCategoryAsyncHandler; + typedef Outcome ImAuditOutcome; + typedef std::future ImAuditOutcomeCallable; + typedef std::function&)> ImAuditAsyncHandler; + typedef Outcome ImportFpShotJobOutcome; + typedef std::future ImportFpShotJobOutcomeCallable; + typedef std::function&)> ImportFpShotJobAsyncHandler; typedef Outcome ListAllMediaBucketOutcome; typedef std::future ListAllMediaBucketOutcomeCallable; typedef std::function&)> ListAllMediaBucketAsyncHandler; - typedef Outcome ListAsrPipelineOutcome; - typedef std::future ListAsrPipelineOutcomeCallable; - typedef std::function&)> ListAsrPipelineAsyncHandler; - typedef Outcome ListCensorPipelineOutcome; - typedef std::future ListCensorPipelineOutcomeCallable; - typedef std::function&)> ListCensorPipelineAsyncHandler; - typedef Outcome ListCoverPipelineOutcome; - typedef std::future ListCoverPipelineOutcomeCallable; - typedef std::function&)> ListCoverPipelineAsyncHandler; + typedef Outcome ListCustomEntitiesOutcome; + typedef std::future ListCustomEntitiesOutcomeCallable; + typedef std::function&)> ListCustomEntitiesAsyncHandler; + typedef Outcome ListCustomGroupsOutcome; + typedef std::future ListCustomGroupsOutcomeCallable; + typedef std::function&)> ListCustomGroupsAsyncHandler; typedef Outcome ListCustomPersonsOutcome; typedef std::future ListCustomPersonsOutcomeCallable; typedef std::function&)> ListCustomPersonsAsyncHandler; + typedef Outcome ListCustomViewsOutcome; + typedef std::future ListCustomViewsOutcomeCallable; + typedef std::function&)> ListCustomViewsAsyncHandler; typedef Outcome ListFpShotDBOutcome; typedef std::future ListFpShotDBOutcomeCallable; typedef std::function&)> ListFpShotDBAsyncHandler; typedef Outcome ListFpShotFilesOutcome; typedef std::future ListFpShotFilesOutcomeCallable; typedef std::function&)> ListFpShotFilesAsyncHandler; - typedef Outcome ListFpShotNotaryOutcome; - typedef std::future ListFpShotNotaryOutcomeCallable; - typedef std::function&)> ListFpShotNotaryAsyncHandler; - typedef Outcome ListInferenceJobOutcome; - typedef std::future ListInferenceJobOutcomeCallable; - typedef std::function&)> ListInferenceJobAsyncHandler; + typedef Outcome ListFpShotImportJobOutcome; + typedef std::future ListFpShotImportJobOutcomeCallable; + typedef std::function&)> ListFpShotImportJobAsyncHandler; typedef Outcome ListJobOutcome; typedef std::future ListJobOutcomeCallable; typedef std::function&)> ListJobAsyncHandler; - typedef Outcome ListMediaOutcome; - typedef std::future ListMediaOutcomeCallable; - typedef std::function&)> ListMediaAsyncHandler; typedef Outcome ListMediaWorkflowExecutionsOutcome; typedef std::future ListMediaWorkflowExecutionsOutcomeCallable; typedef std::function&)> ListMediaWorkflowExecutionsAsyncHandler; - typedef Outcome ListPornPipelineOutcome; - typedef std::future ListPornPipelineOutcomeCallable; - typedef std::function&)> ListPornPipelineAsyncHandler; - typedef Outcome ListTerrorismPipelineOutcome; - typedef std::future ListTerrorismPipelineOutcomeCallable; - typedef std::function&)> ListTerrorismPipelineAsyncHandler; - typedef Outcome LogicalDeleteResourceOutcome; - typedef std::future LogicalDeleteResourceOutcomeCallable; - typedef std::function&)> LogicalDeleteResourceAsyncHandler; - typedef Outcome PhysicalDeleteResourceOutcome; - typedef std::future PhysicalDeleteResourceOutcomeCallable; - typedef std::function&)> PhysicalDeleteResourceAsyncHandler; - typedef Outcome PlayInfoOutcome; - typedef std::future PlayInfoOutcomeCallable; - typedef std::function&)> PlayInfoAsyncHandler; - typedef Outcome PlayerAuthOutcome; - typedef std::future PlayerAuthOutcomeCallable; - typedef std::function&)> PlayerAuthAsyncHandler; typedef Outcome QueryAnalysisJobListOutcome; typedef std::future QueryAnalysisJobListOutcomeCallable; typedef std::function&)> QueryAnalysisJobListAsyncHandler; - typedef Outcome QueryAnnotationJobListOutcome; - typedef std::future QueryAnnotationJobListOutcomeCallable; - typedef std::function&)> QueryAnnotationJobListAsyncHandler; - typedef Outcome QueryAsrJobListOutcome; - typedef std::future QueryAsrJobListOutcomeCallable; - typedef std::function&)> QueryAsrJobListAsyncHandler; - typedef Outcome QueryAsrPipelineListOutcome; - typedef std::future QueryAsrPipelineListOutcomeCallable; - typedef std::function&)> QueryAsrPipelineListAsyncHandler; - typedef Outcome QueryAuthConfigOutcome; - typedef std::future QueryAuthConfigOutcomeCallable; - typedef std::function&)> QueryAuthConfigAsyncHandler; - typedef Outcome QueryCensorJobListOutcome; - typedef std::future QueryCensorJobListOutcomeCallable; - typedef std::function&)> QueryCensorJobListAsyncHandler; - typedef Outcome QueryCensorPipelineListOutcome; - typedef std::future QueryCensorPipelineListOutcomeCallable; - typedef std::function&)> QueryCensorPipelineListAsyncHandler; - typedef Outcome QueryComplexJobListOutcome; - typedef std::future QueryComplexJobListOutcomeCallable; - typedef std::function&)> QueryComplexJobListAsyncHandler; - typedef Outcome QueryCoverJobListOutcome; - typedef std::future QueryCoverJobListOutcomeCallable; - typedef std::function&)> QueryCoverJobListAsyncHandler; - typedef Outcome QueryCoverPipelineListOutcome; - typedef std::future QueryCoverPipelineListOutcomeCallable; - typedef std::function&)> QueryCoverPipelineListAsyncHandler; - typedef Outcome QueryEditingJobListOutcome; - typedef std::future QueryEditingJobListOutcomeCallable; - typedef std::function&)> QueryEditingJobListAsyncHandler; - typedef Outcome QueryFacerecogJobListOutcome; - typedef std::future QueryFacerecogJobListOutcomeCallable; - typedef std::function&)> QueryFacerecogJobListAsyncHandler; - typedef Outcome QueryFpCompareJobListOutcome; - typedef std::future QueryFpCompareJobListOutcomeCallable; - typedef std::function&)> QueryFpCompareJobListAsyncHandler; + typedef Outcome QueryCopyrightExtractJobOutcome; + typedef std::future QueryCopyrightExtractJobOutcomeCallable; + typedef std::function&)> QueryCopyrightExtractJobAsyncHandler; + typedef Outcome QueryCopyrightJobOutcome; + typedef std::future QueryCopyrightJobOutcomeCallable; + typedef std::function&)> QueryCopyrightJobAsyncHandler; typedef Outcome QueryFpDBDeleteJobListOutcome; typedef std::future QueryFpDBDeleteJobListOutcomeCallable; typedef std::function&)> QueryFpDBDeleteJobListAsyncHandler; typedef Outcome QueryFpFileDeleteJobListOutcome; typedef std::future QueryFpFileDeleteJobListOutcomeCallable; typedef std::function&)> QueryFpFileDeleteJobListAsyncHandler; - typedef Outcome QueryFpImportResultOutcome; - typedef std::future QueryFpImportResultOutcomeCallable; - typedef std::function&)> QueryFpImportResultAsyncHandler; typedef Outcome QueryFpShotJobListOutcome; typedef std::future QueryFpShotJobListOutcomeCallable; typedef std::function&)> QueryFpShotJobListAsyncHandler; typedef Outcome QueryIProductionJobOutcome; typedef std::future QueryIProductionJobOutcomeCallable; typedef std::function&)> QueryIProductionJobAsyncHandler; - typedef Outcome QueryIProductionJobListOutcome; - typedef std::future QueryIProductionJobListOutcomeCallable; - typedef std::function&)> QueryIProductionJobListAsyncHandler; - typedef Outcome QueryImageSearchJobListOutcome; - typedef std::future QueryImageSearchJobListOutcomeCallable; - typedef std::function&)> QueryImageSearchJobListAsyncHandler; - typedef Outcome QueryInferenceJobOutcome; - typedef std::future QueryInferenceJobOutcomeCallable; - typedef std::function&)> QueryInferenceJobAsyncHandler; - typedef Outcome QueryInferenceServerOutcome; - typedef std::future QueryInferenceServerOutcomeCallable; - typedef std::function&)> QueryInferenceServerAsyncHandler; - typedef Outcome QueryInnerJobOutcome; - typedef std::future QueryInnerJobOutcomeCallable; - typedef std::function&)> QueryInnerJobAsyncHandler; typedef Outcome QueryJobListOutcome; typedef std::future QueryJobListOutcomeCallable; typedef std::function&)> QueryJobListAsyncHandler; - typedef Outcome QueryMCJobListOutcome; - typedef std::future QueryMCJobListOutcomeCallable; - typedef std::function&)> QueryMCJobListAsyncHandler; - typedef Outcome QueryMCTemplateListOutcome; - typedef std::future QueryMCTemplateListOutcomeCallable; - typedef std::function&)> QueryMCTemplateListAsyncHandler; - typedef Outcome QueryMcuJobOutcome; - typedef std::future QueryMcuJobOutcomeCallable; - typedef std::function&)> QueryMcuJobAsyncHandler; - typedef Outcome QueryMcuTemplateOutcome; - typedef std::future QueryMcuTemplateOutcomeCallable; - typedef std::function&)> QueryMcuTemplateAsyncHandler; typedef Outcome QueryMediaCensorJobDetailOutcome; typedef std::future QueryMediaCensorJobDetailOutcomeCallable; typedef std::function&)> QueryMediaCensorJobDetailAsyncHandler; typedef Outcome QueryMediaCensorJobListOutcome; typedef std::future QueryMediaCensorJobListOutcomeCallable; typedef std::function&)> QueryMediaCensorJobListAsyncHandler; - typedef Outcome QueryMediaDetailJobListOutcome; - typedef std::future QueryMediaDetailJobListOutcomeCallable; - typedef std::function&)> QueryMediaDetailJobListAsyncHandler; - typedef Outcome QueryMediaFpDeleteJobListOutcome; - typedef std::future QueryMediaFpDeleteJobListOutcomeCallable; - typedef std::function&)> QueryMediaFpDeleteJobListAsyncHandler; typedef Outcome QueryMediaInfoJobListOutcome; typedef std::future QueryMediaInfoJobListOutcomeCallable; typedef std::function&)> QueryMediaInfoJobListAsyncHandler; @@ -716,12 +384,6 @@ namespace AlibabaCloud typedef Outcome QueryPipelineListOutcome; typedef std::future QueryPipelineListOutcomeCallable; typedef std::function&)> QueryPipelineListAsyncHandler; - typedef Outcome QueryPornJobListOutcome; - typedef std::future QueryPornJobListOutcomeCallable; - typedef std::function&)> QueryPornJobListAsyncHandler; - typedef Outcome QueryPornPipelineListOutcome; - typedef std::future QueryPornPipelineListOutcomeCallable; - typedef std::function&)> QueryPornPipelineListAsyncHandler; typedef Outcome QuerySmarttagJobOutcome; typedef std::future QuerySmarttagJobOutcomeCallable; typedef std::function&)> QuerySmarttagJobAsyncHandler; @@ -731,84 +393,27 @@ namespace AlibabaCloud typedef Outcome QuerySnapshotJobListOutcome; typedef std::future QuerySnapshotJobListOutcomeCallable; typedef std::function&)> QuerySnapshotJobListAsyncHandler; - typedef Outcome QuerySubtitleJobListOutcome; - typedef std::future QuerySubtitleJobListOutcomeCallable; - typedef std::function&)> QuerySubtitleJobListAsyncHandler; - typedef Outcome QueryTagJobListOutcome; - typedef std::future QueryTagJobListOutcomeCallable; - typedef std::function&)> QueryTagJobListAsyncHandler; typedef Outcome QueryTemplateListOutcome; typedef std::future QueryTemplateListOutcomeCallable; typedef std::function&)> QueryTemplateListAsyncHandler; - typedef Outcome QueryTerrorismJobListOutcome; - typedef std::future QueryTerrorismJobListOutcomeCallable; - typedef std::function&)> QueryTerrorismJobListAsyncHandler; - typedef Outcome QueryTerrorismPipelineListOutcome; - typedef std::future QueryTerrorismPipelineListOutcomeCallable; - typedef std::function&)> QueryTerrorismPipelineListAsyncHandler; - typedef Outcome QueryVideoGifJobListOutcome; - typedef std::future QueryVideoGifJobListOutcomeCallable; - typedef std::function&)> QueryVideoGifJobListAsyncHandler; - typedef Outcome QueryVideoPoseJobListOutcome; - typedef std::future QueryVideoPoseJobListOutcomeCallable; - typedef std::function&)> QueryVideoPoseJobListAsyncHandler; - typedef Outcome QueryVideoQualityJobOutcome; - typedef std::future QueryVideoQualityJobOutcomeCallable; - typedef std::function&)> QueryVideoQualityJobAsyncHandler; - typedef Outcome QueryVideoSplitJobListOutcome; - typedef std::future QueryVideoSplitJobListOutcomeCallable; - typedef std::function&)> QueryVideoSplitJobListAsyncHandler; - typedef Outcome QueryVideoSummaryJobListOutcome; - typedef std::future QueryVideoSummaryJobListOutcomeCallable; - typedef std::function&)> QueryVideoSummaryJobListAsyncHandler; + typedef Outcome QueryTraceAbJobOutcome; + typedef std::future QueryTraceAbJobOutcomeCallable; + typedef std::function&)> QueryTraceAbJobAsyncHandler; + typedef Outcome QueryTraceExtractJobOutcome; + typedef std::future QueryTraceExtractJobOutcomeCallable; + typedef std::function&)> QueryTraceExtractJobAsyncHandler; + typedef Outcome QueryTraceM3u8JobOutcome; + typedef std::future QueryTraceM3u8JobOutcomeCallable; + typedef std::function&)> QueryTraceM3u8JobAsyncHandler; typedef Outcome QueryWaterMarkTemplateListOutcome; typedef std::future QueryWaterMarkTemplateListOutcomeCallable; typedef std::function&)> QueryWaterMarkTemplateListAsyncHandler; - typedef Outcome RefreshCdnDomainConfigsCacheOutcome; - typedef std::future RefreshCdnDomainConfigsCacheOutcomeCallable; - typedef std::function&)> RefreshCdnDomainConfigsCacheAsyncHandler; typedef Outcome RegisterCustomFaceOutcome; typedef std::future RegisterCustomFaceOutcomeCallable; typedef std::function&)> RegisterCustomFaceAsyncHandler; - typedef Outcome RegisterMediaDetailPersonOutcome; - typedef std::future RegisterMediaDetailPersonOutcomeCallable; - typedef std::function&)> RegisterMediaDetailPersonAsyncHandler; - typedef Outcome RegisterMediaDetailScenarioOutcome; - typedef std::future RegisterMediaDetailScenarioOutcomeCallable; - typedef std::function&)> RegisterMediaDetailScenarioAsyncHandler; - typedef Outcome ReportAnnotationJobResultOutcome; - typedef std::future ReportAnnotationJobResultOutcomeCallable; - typedef std::function&)> ReportAnnotationJobResultAsyncHandler; - typedef Outcome ReportCensorJobResultOutcome; - typedef std::future ReportCensorJobResultOutcomeCallable; - typedef std::function&)> ReportCensorJobResultAsyncHandler; - typedef Outcome ReportCoverJobResultOutcome; - typedef std::future ReportCoverJobResultOutcomeCallable; - typedef std::function&)> ReportCoverJobResultAsyncHandler; - typedef Outcome ReportFacerecogJobResultOutcome; - typedef std::future ReportFacerecogJobResultOutcomeCallable; - typedef std::function&)> ReportFacerecogJobResultAsyncHandler; - typedef Outcome ReportFpShotJobResultOutcome; - typedef std::future ReportFpShotJobResultOutcomeCallable; - typedef std::function&)> ReportFpShotJobResultAsyncHandler; - typedef Outcome ReportMediaDetailJobResultOutcome; - typedef std::future ReportMediaDetailJobResultOutcomeCallable; - typedef std::function&)> ReportMediaDetailJobResultAsyncHandler; - typedef Outcome ReportPornJobResultOutcome; - typedef std::future ReportPornJobResultOutcomeCallable; - typedef std::function&)> ReportPornJobResultAsyncHandler; - typedef Outcome ReportTagJobResultOutcome; - typedef std::future ReportTagJobResultOutcomeCallable; - typedef std::function&)> ReportTagJobResultAsyncHandler; - typedef Outcome ReportTerrorismJobResultOutcome; - typedef std::future ReportTerrorismJobResultOutcomeCallable; - typedef std::function&)> ReportTerrorismJobResultAsyncHandler; - typedef Outcome ReportVideoSplitJobResultOutcome; - typedef std::future ReportVideoSplitJobResultOutcomeCallable; - typedef std::function&)> ReportVideoSplitJobResultAsyncHandler; - typedef Outcome SearchMediaOutcome; - typedef std::future SearchMediaOutcomeCallable; - typedef std::function&)> SearchMediaAsyncHandler; + typedef Outcome RegisterCustomViewOutcome; + typedef std::future RegisterCustomViewOutcomeCallable; + typedef std::function&)> RegisterCustomViewAsyncHandler; typedef Outcome SearchMediaWorkflowOutcome; typedef std::future SearchMediaWorkflowOutcomeCallable; typedef std::function&)> SearchMediaWorkflowAsyncHandler; @@ -821,39 +426,15 @@ namespace AlibabaCloud typedef Outcome SearchWaterMarkTemplateOutcome; typedef std::future SearchWaterMarkTemplateOutcomeCallable; typedef std::function&)> SearchWaterMarkTemplateAsyncHandler; - typedef Outcome SetAuthConfigOutcome; - typedef std::future SetAuthConfigOutcomeCallable; - typedef std::function&)> SetAuthConfigAsyncHandler; - typedef Outcome StopIProductionJobOutcome; - typedef std::future StopIProductionJobOutcomeCallable; - typedef std::function&)> StopIProductionJobAsyncHandler; typedef Outcome SubmitAnalysisJobOutcome; typedef std::future SubmitAnalysisJobOutcomeCallable; typedef std::function&)> SubmitAnalysisJobAsyncHandler; - typedef Outcome SubmitAnnotationJobOutcome; - typedef std::future SubmitAnnotationJobOutcomeCallable; - typedef std::function&)> SubmitAnnotationJobAsyncHandler; - typedef Outcome SubmitAsrJobOutcome; - typedef std::future SubmitAsrJobOutcomeCallable; - typedef std::function&)> SubmitAsrJobAsyncHandler; - typedef Outcome SubmitBeautifyJobsOutcome; - typedef std::future SubmitBeautifyJobsOutcomeCallable; - typedef std::function&)> SubmitBeautifyJobsAsyncHandler; - typedef Outcome SubmitComplexJobOutcome; - typedef std::future SubmitComplexJobOutcomeCallable; - typedef std::function&)> SubmitComplexJobAsyncHandler; - typedef Outcome SubmitCoverJobOutcome; - typedef std::future SubmitCoverJobOutcomeCallable; - typedef std::function&)> SubmitCoverJobAsyncHandler; - typedef Outcome SubmitEditingJobsOutcome; - typedef std::future SubmitEditingJobsOutcomeCallable; - typedef std::function&)> SubmitEditingJobsAsyncHandler; - typedef Outcome SubmitFacerecogJobOutcome; - typedef std::future SubmitFacerecogJobOutcomeCallable; - typedef std::function&)> SubmitFacerecogJobAsyncHandler; - typedef Outcome SubmitFpCompareJobOutcome; - typedef std::future SubmitFpCompareJobOutcomeCallable; - typedef std::function&)> SubmitFpCompareJobAsyncHandler; + typedef Outcome SubmitCopyrightExtractJobOutcome; + typedef std::future SubmitCopyrightExtractJobOutcomeCallable; + typedef std::function&)> SubmitCopyrightExtractJobAsyncHandler; + typedef Outcome SubmitCopyrightJobOutcome; + typedef std::future SubmitCopyrightJobOutcomeCallable; + typedef std::function&)> SubmitCopyrightJobAsyncHandler; typedef Outcome SubmitFpDBDeleteJobOutcome; typedef std::future SubmitFpDBDeleteJobOutcomeCallable; typedef std::function&)> SubmitFpDBDeleteJobAsyncHandler; @@ -866,75 +447,33 @@ namespace AlibabaCloud typedef Outcome SubmitIProductionJobOutcome; typedef std::future SubmitIProductionJobOutcomeCallable; typedef std::function&)> SubmitIProductionJobAsyncHandler; - typedef Outcome SubmitImageQualityJobOutcome; - typedef std::future SubmitImageQualityJobOutcomeCallable; - typedef std::function&)> SubmitImageQualityJobAsyncHandler; - typedef Outcome SubmitImageSearchJobOutcome; - typedef std::future SubmitImageSearchJobOutcomeCallable; - typedef std::function&)> SubmitImageSearchJobAsyncHandler; - typedef Outcome SubmitInferenceJobOutcome; - typedef std::future SubmitInferenceJobOutcomeCallable; - typedef std::function&)> SubmitInferenceJobAsyncHandler; - typedef Outcome SubmitInnerJobOutcome; - typedef std::future SubmitInnerJobOutcomeCallable; - typedef std::function&)> SubmitInnerJobAsyncHandler; + typedef Outcome SubmitImageCopyrightOutcome; + typedef std::future SubmitImageCopyrightOutcomeCallable; + typedef std::function&)> SubmitImageCopyrightAsyncHandler; typedef Outcome SubmitJobsOutcome; typedef std::future SubmitJobsOutcomeCallable; typedef std::function&)> SubmitJobsAsyncHandler; - typedef Outcome SubmitMCJobOutcome; - typedef std::future SubmitMCJobOutcomeCallable; - typedef std::function&)> SubmitMCJobAsyncHandler; - typedef Outcome SubmitMcuJobOutcome; - typedef std::future SubmitMcuJobOutcomeCallable; - typedef std::function&)> SubmitMcuJobAsyncHandler; typedef Outcome SubmitMediaCensorJobOutcome; typedef std::future SubmitMediaCensorJobOutcomeCallable; typedef std::function&)> SubmitMediaCensorJobAsyncHandler; - typedef Outcome SubmitMediaDetailJobOutcome; - typedef std::future SubmitMediaDetailJobOutcomeCallable; - typedef std::function&)> SubmitMediaDetailJobAsyncHandler; - typedef Outcome SubmitMediaFpDeleteJobOutcome; - typedef std::future SubmitMediaFpDeleteJobOutcomeCallable; - typedef std::function&)> SubmitMediaFpDeleteJobAsyncHandler; typedef Outcome SubmitMediaInfoJobOutcome; typedef std::future SubmitMediaInfoJobOutcomeCallable; typedef std::function&)> SubmitMediaInfoJobAsyncHandler; - typedef Outcome SubmitPornJobOutcome; - typedef std::future SubmitPornJobOutcomeCallable; - typedef std::function&)> SubmitPornJobAsyncHandler; typedef Outcome SubmitSmarttagJobOutcome; typedef std::future SubmitSmarttagJobOutcomeCallable; typedef std::function&)> SubmitSmarttagJobAsyncHandler; typedef Outcome SubmitSnapshotJobOutcome; typedef std::future SubmitSnapshotJobOutcomeCallable; typedef std::function&)> SubmitSnapshotJobAsyncHandler; - typedef Outcome SubmitSubtitleJobOutcome; - typedef std::future SubmitSubtitleJobOutcomeCallable; - typedef std::function&)> SubmitSubtitleJobAsyncHandler; - typedef Outcome SubmitTagJobOutcome; - typedef std::future SubmitTagJobOutcomeCallable; - typedef std::function&)> SubmitTagJobAsyncHandler; - typedef Outcome SubmitTerrorismJobOutcome; - typedef std::future SubmitTerrorismJobOutcomeCallable; - typedef std::function&)> SubmitTerrorismJobAsyncHandler; - typedef Outcome SubmitURLUploadJobOutcome; - typedef std::future SubmitURLUploadJobOutcomeCallable; - typedef std::function&)> SubmitURLUploadJobAsyncHandler; - typedef Outcome SubmitVideoGifJobOutcome; - typedef std::future SubmitVideoGifJobOutcomeCallable; - typedef std::function&)> SubmitVideoGifJobAsyncHandler; - typedef Outcome SubmitVideoPoseJobOutcome; - typedef std::future SubmitVideoPoseJobOutcomeCallable; - typedef std::function&)> SubmitVideoPoseJobAsyncHandler; - typedef Outcome SubmitVideoQualityJobOutcome; - typedef std::future SubmitVideoQualityJobOutcomeCallable; - typedef std::function&)> SubmitVideoQualityJobAsyncHandler; - typedef Outcome SubmitVideoSplitJobOutcome; - typedef std::future SubmitVideoSplitJobOutcomeCallable; - typedef std::function&)> SubmitVideoSplitJobAsyncHandler; - typedef Outcome SubmitVideoSummaryJobOutcome; - typedef std::future SubmitVideoSummaryJobOutcomeCallable; - typedef std::function&)> SubmitVideoSummaryJobAsyncHandler; + typedef Outcome SubmitTraceAbJobOutcome; + typedef std::future SubmitTraceAbJobOutcomeCallable; + typedef std::function&)> SubmitTraceAbJobAsyncHandler; + typedef Outcome SubmitTraceExtractJobOutcome; + typedef std::future SubmitTraceExtractJobOutcomeCallable; + typedef std::function&)> SubmitTraceExtractJobAsyncHandler; + typedef Outcome SubmitTraceM3u8JobOutcome; + typedef std::future SubmitTraceM3u8JobOutcomeCallable; + typedef std::function&)> SubmitTraceM3u8JobAsyncHandler; typedef Outcome TagCustomPersonOutcome; typedef std::future TagCustomPersonOutcomeCallable; typedef std::function&)> TagCustomPersonAsyncHandler; @@ -947,24 +486,6 @@ namespace AlibabaCloud typedef Outcome UnregisterCustomFaceOutcome; typedef std::future UnregisterCustomFaceOutcomeCallable; typedef std::function&)> UnregisterCustomFaceAsyncHandler; - typedef Outcome UpdateAsrPipelineOutcome; - typedef std::future UpdateAsrPipelineOutcomeCallable; - typedef std::function&)> UpdateAsrPipelineAsyncHandler; - typedef Outcome UpdateCategoryNameOutcome; - typedef std::future UpdateCategoryNameOutcomeCallable; - typedef std::function&)> UpdateCategoryNameAsyncHandler; - typedef Outcome UpdateCensorPipelineOutcome; - typedef std::future UpdateCensorPipelineOutcomeCallable; - typedef std::function&)> UpdateCensorPipelineAsyncHandler; - typedef Outcome UpdateCoverPipelineOutcome; - typedef std::future UpdateCoverPipelineOutcomeCallable; - typedef std::function&)> UpdateCoverPipelineAsyncHandler; - typedef Outcome UpdateMCTemplateOutcome; - typedef std::future UpdateMCTemplateOutcomeCallable; - typedef std::function&)> UpdateMCTemplateAsyncHandler; - typedef Outcome UpdateMcuTemplateOutcome; - typedef std::future UpdateMcuTemplateOutcomeCallable; - typedef std::function&)> UpdateMcuTemplateAsyncHandler; typedef Outcome UpdateMediaOutcome; typedef std::future UpdateMediaOutcomeCallable; typedef std::function&)> UpdateMediaAsyncHandler; @@ -986,18 +507,12 @@ namespace AlibabaCloud typedef Outcome UpdatePipelineOutcome; typedef std::future UpdatePipelineOutcomeCallable; typedef std::function&)> UpdatePipelineAsyncHandler; - typedef Outcome UpdatePornPipelineOutcome; - typedef std::future UpdatePornPipelineOutcomeCallable; - typedef std::function&)> UpdatePornPipelineAsyncHandler; typedef Outcome UpdateSmarttagTemplateOutcome; typedef std::future UpdateSmarttagTemplateOutcomeCallable; typedef std::function&)> UpdateSmarttagTemplateAsyncHandler; typedef Outcome UpdateTemplateOutcome; typedef std::future UpdateTemplateOutcomeCallable; typedef std::function&)> UpdateTemplateAsyncHandler; - typedef Outcome UpdateTerrorismPipelineOutcome; - typedef std::future UpdateTerrorismPipelineOutcomeCallable; - typedef std::function&)> UpdateTerrorismPipelineAsyncHandler; typedef Outcome UpdateWaterMarkTemplateOutcome; typedef std::future UpdateWaterMarkTemplateOutcomeCallable; typedef std::function&)> UpdateWaterMarkTemplateAsyncHandler; @@ -1009,21 +524,6 @@ namespace AlibabaCloud ActivateMediaWorkflowOutcome activateMediaWorkflow(const Model::ActivateMediaWorkflowRequest &request)const; void activateMediaWorkflowAsync(const Model::ActivateMediaWorkflowRequest& request, const ActivateMediaWorkflowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ActivateMediaWorkflowOutcomeCallable activateMediaWorkflowCallable(const Model::ActivateMediaWorkflowRequest& request) const; - AddAsrPipelineOutcome addAsrPipeline(const Model::AddAsrPipelineRequest &request)const; - void addAsrPipelineAsync(const Model::AddAsrPipelineRequest& request, const AddAsrPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddAsrPipelineOutcomeCallable addAsrPipelineCallable(const Model::AddAsrPipelineRequest& request) const; - AddCategoryOutcome addCategory(const Model::AddCategoryRequest &request)const; - void addCategoryAsync(const Model::AddCategoryRequest& request, const AddCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddCategoryOutcomeCallable addCategoryCallable(const Model::AddCategoryRequest& request) const; - AddCensorPipelineOutcome addCensorPipeline(const Model::AddCensorPipelineRequest &request)const; - void addCensorPipelineAsync(const Model::AddCensorPipelineRequest& request, const AddCensorPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddCensorPipelineOutcomeCallable addCensorPipelineCallable(const Model::AddCensorPipelineRequest& request) const; - AddCoverPipelineOutcome addCoverPipeline(const Model::AddCoverPipelineRequest &request)const; - void addCoverPipelineAsync(const Model::AddCoverPipelineRequest& request, const AddCoverPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddCoverPipelineOutcomeCallable addCoverPipelineCallable(const Model::AddCoverPipelineRequest& request) const; - AddMCTemplateOutcome addMCTemplate(const Model::AddMCTemplateRequest &request)const; - void addMCTemplateAsync(const Model::AddMCTemplateRequest& request, const AddMCTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddMCTemplateOutcomeCallable addMCTemplateCallable(const Model::AddMCTemplateRequest& request) const; AddMediaOutcome addMedia(const Model::AddMediaRequest &request)const; void addMediaAsync(const Model::AddMediaRequest& request, const AddMediaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddMediaOutcomeCallable addMediaCallable(const Model::AddMediaRequest& request) const; @@ -1036,18 +536,12 @@ namespace AlibabaCloud AddPipelineOutcome addPipeline(const Model::AddPipelineRequest &request)const; void addPipelineAsync(const Model::AddPipelineRequest& request, const AddPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddPipelineOutcomeCallable addPipelineCallable(const Model::AddPipelineRequest& request) const; - AddPornPipelineOutcome addPornPipeline(const Model::AddPornPipelineRequest &request)const; - void addPornPipelineAsync(const Model::AddPornPipelineRequest& request, const AddPornPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddPornPipelineOutcomeCallable addPornPipelineCallable(const Model::AddPornPipelineRequest& request) const; AddSmarttagTemplateOutcome addSmarttagTemplate(const Model::AddSmarttagTemplateRequest &request)const; void addSmarttagTemplateAsync(const Model::AddSmarttagTemplateRequest& request, const AddSmarttagTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddSmarttagTemplateOutcomeCallable addSmarttagTemplateCallable(const Model::AddSmarttagTemplateRequest& request) const; AddTemplateOutcome addTemplate(const Model::AddTemplateRequest &request)const; void addTemplateAsync(const Model::AddTemplateRequest& request, const AddTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddTemplateOutcomeCallable addTemplateCallable(const Model::AddTemplateRequest& request) const; - AddTerrorismPipelineOutcome addTerrorismPipeline(const Model::AddTerrorismPipelineRequest &request)const; - void addTerrorismPipelineAsync(const Model::AddTerrorismPipelineRequest& request, const AddTerrorismPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddTerrorismPipelineOutcomeCallable addTerrorismPipelineCallable(const Model::AddTerrorismPipelineRequest& request) const; AddWaterMarkTemplateOutcome addWaterMarkTemplate(const Model::AddWaterMarkTemplateRequest &request)const; void addWaterMarkTemplateAsync(const Model::AddWaterMarkTemplateRequest& request, const AddWaterMarkTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddWaterMarkTemplateOutcomeCallable addWaterMarkTemplateCallable(const Model::AddWaterMarkTemplateRequest& request) const; @@ -1060,42 +554,27 @@ namespace AlibabaCloud CancelJobOutcome cancelJob(const Model::CancelJobRequest &request)const; void cancelJobAsync(const Model::CancelJobRequest& request, const CancelJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelJobOutcomeCallable cancelJobCallable(const Model::CancelJobRequest& request) const; - CategoryTreeOutcome categoryTree(const Model::CategoryTreeRequest &request)const; - void categoryTreeAsync(const Model::CategoryTreeRequest& request, const CategoryTreeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CategoryTreeOutcomeCallable categoryTreeCallable(const Model::CategoryTreeRequest& request) const; - CheckResourceOutcome checkResource(const Model::CheckResourceRequest &request)const; - void checkResourceAsync(const Model::CheckResourceRequest& request, const CheckResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckResourceOutcomeCallable checkResourceCallable(const Model::CheckResourceRequest& request) const; + CreateCustomEntityOutcome createCustomEntity(const Model::CreateCustomEntityRequest &request)const; + void createCustomEntityAsync(const Model::CreateCustomEntityRequest& request, const CreateCustomEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCustomEntityOutcomeCallable createCustomEntityCallable(const Model::CreateCustomEntityRequest& request) const; + CreateCustomGroupOutcome createCustomGroup(const Model::CreateCustomGroupRequest &request)const; + void createCustomGroupAsync(const Model::CreateCustomGroupRequest& request, const CreateCustomGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCustomGroupOutcomeCallable createCustomGroupCallable(const Model::CreateCustomGroupRequest& request) const; CreateFpShotDBOutcome createFpShotDB(const Model::CreateFpShotDBRequest &request)const; void createFpShotDBAsync(const Model::CreateFpShotDBRequest& request, const CreateFpShotDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFpShotDBOutcomeCallable createFpShotDBCallable(const Model::CreateFpShotDBRequest& request) const; - CreateInferenceServerOutcome createInferenceServer(const Model::CreateInferenceServerRequest &request)const; - void createInferenceServerAsync(const Model::CreateInferenceServerRequest& request, const CreateInferenceServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateInferenceServerOutcomeCallable createInferenceServerCallable(const Model::CreateInferenceServerRequest& request) const; - CreateMcuTemplateOutcome createMcuTemplate(const Model::CreateMcuTemplateRequest &request)const; - void createMcuTemplateAsync(const Model::CreateMcuTemplateRequest& request, const CreateMcuTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateMcuTemplateOutcomeCallable createMcuTemplateCallable(const Model::CreateMcuTemplateRequest& request) const; - CreateSessionOutcome createSession(const Model::CreateSessionRequest &request)const; - void createSessionAsync(const Model::CreateSessionRequest& request, const CreateSessionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateSessionOutcomeCallable createSessionCallable(const Model::CreateSessionRequest& request) const; DeactivateMediaWorkflowOutcome deactivateMediaWorkflow(const Model::DeactivateMediaWorkflowRequest &request)const; void deactivateMediaWorkflowAsync(const Model::DeactivateMediaWorkflowRequest& request, const DeactivateMediaWorkflowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeactivateMediaWorkflowOutcomeCallable deactivateMediaWorkflowCallable(const Model::DeactivateMediaWorkflowRequest& request) const; - DecryptKeyOutcome decryptKey(const Model::DecryptKeyRequest &request)const; - void decryptKeyAsync(const Model::DecryptKeyRequest& request, const DecryptKeyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DecryptKeyOutcomeCallable decryptKeyCallable(const Model::DecryptKeyRequest& request) const; - DeleteCategoryOutcome deleteCategory(const Model::DeleteCategoryRequest &request)const; - void deleteCategoryAsync(const Model::DeleteCategoryRequest& request, const DeleteCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteCategoryOutcomeCallable deleteCategoryCallable(const Model::DeleteCategoryRequest& request) const; - DeleteMCTemplateOutcome deleteMCTemplate(const Model::DeleteMCTemplateRequest &request)const; - void deleteMCTemplateAsync(const Model::DeleteMCTemplateRequest& request, const DeleteMCTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteMCTemplateOutcomeCallable deleteMCTemplateCallable(const Model::DeleteMCTemplateRequest& request) const; - DeleteMcuJobOutcome deleteMcuJob(const Model::DeleteMcuJobRequest &request)const; - void deleteMcuJobAsync(const Model::DeleteMcuJobRequest& request, const DeleteMcuJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteMcuJobOutcomeCallable deleteMcuJobCallable(const Model::DeleteMcuJobRequest& request) const; - DeleteMcuTemplateOutcome deleteMcuTemplate(const Model::DeleteMcuTemplateRequest &request)const; - void deleteMcuTemplateAsync(const Model::DeleteMcuTemplateRequest& request, const DeleteMcuTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteMcuTemplateOutcomeCallable deleteMcuTemplateCallable(const Model::DeleteMcuTemplateRequest& request) const; + DeleteCustomEntityOutcome deleteCustomEntity(const Model::DeleteCustomEntityRequest &request)const; + void deleteCustomEntityAsync(const Model::DeleteCustomEntityRequest& request, const DeleteCustomEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCustomEntityOutcomeCallable deleteCustomEntityCallable(const Model::DeleteCustomEntityRequest& request) const; + DeleteCustomGroupOutcome deleteCustomGroup(const Model::DeleteCustomGroupRequest &request)const; + void deleteCustomGroupAsync(const Model::DeleteCustomGroupRequest& request, const DeleteCustomGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCustomGroupOutcomeCallable deleteCustomGroupCallable(const Model::DeleteCustomGroupRequest& request) const; + DeleteCustomViewOutcome deleteCustomView(const Model::DeleteCustomViewRequest &request)const; + void deleteCustomViewAsync(const Model::DeleteCustomViewRequest& request, const DeleteCustomViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCustomViewOutcomeCallable deleteCustomViewCallable(const Model::DeleteCustomViewRequest& request) const; DeleteMediaOutcome deleteMedia(const Model::DeleteMediaRequest &request)const; void deleteMediaAsync(const Model::DeleteMediaRequest& request, const DeleteMediaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteMediaOutcomeCallable deleteMediaCallable(const Model::DeleteMediaRequest& request) const; @@ -1117,174 +596,72 @@ namespace AlibabaCloud DeleteWaterMarkTemplateOutcome deleteWaterMarkTemplate(const Model::DeleteWaterMarkTemplateRequest &request)const; void deleteWaterMarkTemplateAsync(const Model::DeleteWaterMarkTemplateRequest& request, const DeleteWaterMarkTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteWaterMarkTemplateOutcomeCallable deleteWaterMarkTemplateCallable(const Model::DeleteWaterMarkTemplateRequest& request) const; - DescribeMtsUserResourcePackageOutcome describeMtsUserResourcePackage(const Model::DescribeMtsUserResourcePackageRequest &request)const; - void describeMtsUserResourcePackageAsync(const Model::DescribeMtsUserResourcePackageRequest& request, const DescribeMtsUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeMtsUserResourcePackageOutcomeCallable describeMtsUserResourcePackageCallable(const Model::DescribeMtsUserResourcePackageRequest& request) const; - DetectImageSyncOutcome detectImageSync(const Model::DetectImageSyncRequest &request)const; - void detectImageSyncAsync(const Model::DetectImageSyncRequest& request, const DetectImageSyncAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DetectImageSyncOutcomeCallable detectImageSyncCallable(const Model::DetectImageSyncRequest& request) const; - GetJobInfoOutcome getJobInfo(const Model::GetJobInfoRequest &request)const; - void getJobInfoAsync(const Model::GetJobInfoRequest& request, const GetJobInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetJobInfoOutcomeCallable getJobInfoCallable(const Model::GetJobInfoRequest& request) const; - GetLicenseOutcome getLicense(const Model::GetLicenseRequest &request)const; - void getLicenseAsync(const Model::GetLicenseRequest& request, const GetLicenseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetLicenseOutcomeCallable getLicenseCallable(const Model::GetLicenseRequest& request) const; - GetPackageOutcome getPackage(const Model::GetPackageRequest &request)const; - void getPackageAsync(const Model::GetPackageRequest& request, const GetPackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetPackageOutcomeCallable getPackageCallable(const Model::GetPackageRequest& request) const; - ListAllCategoryOutcome listAllCategory(const Model::ListAllCategoryRequest &request)const; - void listAllCategoryAsync(const Model::ListAllCategoryRequest& request, const ListAllCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAllCategoryOutcomeCallable listAllCategoryCallable(const Model::ListAllCategoryRequest& request) const; + ImAuditOutcome imAudit(const Model::ImAuditRequest &request)const; + void imAuditAsync(const Model::ImAuditRequest& request, const ImAuditAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImAuditOutcomeCallable imAuditCallable(const Model::ImAuditRequest& request) const; + ImportFpShotJobOutcome importFpShotJob(const Model::ImportFpShotJobRequest &request)const; + void importFpShotJobAsync(const Model::ImportFpShotJobRequest& request, const ImportFpShotJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportFpShotJobOutcomeCallable importFpShotJobCallable(const Model::ImportFpShotJobRequest& request) const; ListAllMediaBucketOutcome listAllMediaBucket(const Model::ListAllMediaBucketRequest &request)const; void listAllMediaBucketAsync(const Model::ListAllMediaBucketRequest& request, const ListAllMediaBucketAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListAllMediaBucketOutcomeCallable listAllMediaBucketCallable(const Model::ListAllMediaBucketRequest& request) const; - ListAsrPipelineOutcome listAsrPipeline(const Model::ListAsrPipelineRequest &request)const; - void listAsrPipelineAsync(const Model::ListAsrPipelineRequest& request, const ListAsrPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAsrPipelineOutcomeCallable listAsrPipelineCallable(const Model::ListAsrPipelineRequest& request) const; - ListCensorPipelineOutcome listCensorPipeline(const Model::ListCensorPipelineRequest &request)const; - void listCensorPipelineAsync(const Model::ListCensorPipelineRequest& request, const ListCensorPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListCensorPipelineOutcomeCallable listCensorPipelineCallable(const Model::ListCensorPipelineRequest& request) const; - ListCoverPipelineOutcome listCoverPipeline(const Model::ListCoverPipelineRequest &request)const; - void listCoverPipelineAsync(const Model::ListCoverPipelineRequest& request, const ListCoverPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListCoverPipelineOutcomeCallable listCoverPipelineCallable(const Model::ListCoverPipelineRequest& request) const; + ListCustomEntitiesOutcome listCustomEntities(const Model::ListCustomEntitiesRequest &request)const; + void listCustomEntitiesAsync(const Model::ListCustomEntitiesRequest& request, const ListCustomEntitiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCustomEntitiesOutcomeCallable listCustomEntitiesCallable(const Model::ListCustomEntitiesRequest& request) const; + ListCustomGroupsOutcome listCustomGroups(const Model::ListCustomGroupsRequest &request)const; + void listCustomGroupsAsync(const Model::ListCustomGroupsRequest& request, const ListCustomGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCustomGroupsOutcomeCallable listCustomGroupsCallable(const Model::ListCustomGroupsRequest& request) const; ListCustomPersonsOutcome listCustomPersons(const Model::ListCustomPersonsRequest &request)const; void listCustomPersonsAsync(const Model::ListCustomPersonsRequest& request, const ListCustomPersonsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListCustomPersonsOutcomeCallable listCustomPersonsCallable(const Model::ListCustomPersonsRequest& request) const; + ListCustomViewsOutcome listCustomViews(const Model::ListCustomViewsRequest &request)const; + void listCustomViewsAsync(const Model::ListCustomViewsRequest& request, const ListCustomViewsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCustomViewsOutcomeCallable listCustomViewsCallable(const Model::ListCustomViewsRequest& request) const; ListFpShotDBOutcome listFpShotDB(const Model::ListFpShotDBRequest &request)const; void listFpShotDBAsync(const Model::ListFpShotDBRequest& request, const ListFpShotDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFpShotDBOutcomeCallable listFpShotDBCallable(const Model::ListFpShotDBRequest& request) const; ListFpShotFilesOutcome listFpShotFiles(const Model::ListFpShotFilesRequest &request)const; void listFpShotFilesAsync(const Model::ListFpShotFilesRequest& request, const ListFpShotFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFpShotFilesOutcomeCallable listFpShotFilesCallable(const Model::ListFpShotFilesRequest& request) const; - ListFpShotNotaryOutcome listFpShotNotary(const Model::ListFpShotNotaryRequest &request)const; - void listFpShotNotaryAsync(const Model::ListFpShotNotaryRequest& request, const ListFpShotNotaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListFpShotNotaryOutcomeCallable listFpShotNotaryCallable(const Model::ListFpShotNotaryRequest& request) const; - ListInferenceJobOutcome listInferenceJob(const Model::ListInferenceJobRequest &request)const; - void listInferenceJobAsync(const Model::ListInferenceJobRequest& request, const ListInferenceJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListInferenceJobOutcomeCallable listInferenceJobCallable(const Model::ListInferenceJobRequest& request) const; + ListFpShotImportJobOutcome listFpShotImportJob(const Model::ListFpShotImportJobRequest &request)const; + void listFpShotImportJobAsync(const Model::ListFpShotImportJobRequest& request, const ListFpShotImportJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFpShotImportJobOutcomeCallable listFpShotImportJobCallable(const Model::ListFpShotImportJobRequest& request) const; ListJobOutcome listJob(const Model::ListJobRequest &request)const; void listJobAsync(const Model::ListJobRequest& request, const ListJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListJobOutcomeCallable listJobCallable(const Model::ListJobRequest& request) const; - ListMediaOutcome listMedia(const Model::ListMediaRequest &request)const; - void listMediaAsync(const Model::ListMediaRequest& request, const ListMediaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListMediaOutcomeCallable listMediaCallable(const Model::ListMediaRequest& request) const; ListMediaWorkflowExecutionsOutcome listMediaWorkflowExecutions(const Model::ListMediaWorkflowExecutionsRequest &request)const; void listMediaWorkflowExecutionsAsync(const Model::ListMediaWorkflowExecutionsRequest& request, const ListMediaWorkflowExecutionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListMediaWorkflowExecutionsOutcomeCallable listMediaWorkflowExecutionsCallable(const Model::ListMediaWorkflowExecutionsRequest& request) const; - ListPornPipelineOutcome listPornPipeline(const Model::ListPornPipelineRequest &request)const; - void listPornPipelineAsync(const Model::ListPornPipelineRequest& request, const ListPornPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListPornPipelineOutcomeCallable listPornPipelineCallable(const Model::ListPornPipelineRequest& request) const; - ListTerrorismPipelineOutcome listTerrorismPipeline(const Model::ListTerrorismPipelineRequest &request)const; - void listTerrorismPipelineAsync(const Model::ListTerrorismPipelineRequest& request, const ListTerrorismPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTerrorismPipelineOutcomeCallable listTerrorismPipelineCallable(const Model::ListTerrorismPipelineRequest& request) const; - LogicalDeleteResourceOutcome logicalDeleteResource(const Model::LogicalDeleteResourceRequest &request)const; - void logicalDeleteResourceAsync(const Model::LogicalDeleteResourceRequest& request, const LogicalDeleteResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - LogicalDeleteResourceOutcomeCallable logicalDeleteResourceCallable(const Model::LogicalDeleteResourceRequest& request) const; - PhysicalDeleteResourceOutcome physicalDeleteResource(const Model::PhysicalDeleteResourceRequest &request)const; - void physicalDeleteResourceAsync(const Model::PhysicalDeleteResourceRequest& request, const PhysicalDeleteResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PhysicalDeleteResourceOutcomeCallable physicalDeleteResourceCallable(const Model::PhysicalDeleteResourceRequest& request) const; - PlayInfoOutcome playInfo(const Model::PlayInfoRequest &request)const; - void playInfoAsync(const Model::PlayInfoRequest& request, const PlayInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PlayInfoOutcomeCallable playInfoCallable(const Model::PlayInfoRequest& request) const; - PlayerAuthOutcome playerAuth(const Model::PlayerAuthRequest &request)const; - void playerAuthAsync(const Model::PlayerAuthRequest& request, const PlayerAuthAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PlayerAuthOutcomeCallable playerAuthCallable(const Model::PlayerAuthRequest& request) const; QueryAnalysisJobListOutcome queryAnalysisJobList(const Model::QueryAnalysisJobListRequest &request)const; void queryAnalysisJobListAsync(const Model::QueryAnalysisJobListRequest& request, const QueryAnalysisJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryAnalysisJobListOutcomeCallable queryAnalysisJobListCallable(const Model::QueryAnalysisJobListRequest& request) const; - QueryAnnotationJobListOutcome queryAnnotationJobList(const Model::QueryAnnotationJobListRequest &request)const; - void queryAnnotationJobListAsync(const Model::QueryAnnotationJobListRequest& request, const QueryAnnotationJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryAnnotationJobListOutcomeCallable queryAnnotationJobListCallable(const Model::QueryAnnotationJobListRequest& request) const; - QueryAsrJobListOutcome queryAsrJobList(const Model::QueryAsrJobListRequest &request)const; - void queryAsrJobListAsync(const Model::QueryAsrJobListRequest& request, const QueryAsrJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryAsrJobListOutcomeCallable queryAsrJobListCallable(const Model::QueryAsrJobListRequest& request) const; - QueryAsrPipelineListOutcome queryAsrPipelineList(const Model::QueryAsrPipelineListRequest &request)const; - void queryAsrPipelineListAsync(const Model::QueryAsrPipelineListRequest& request, const QueryAsrPipelineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryAsrPipelineListOutcomeCallable queryAsrPipelineListCallable(const Model::QueryAsrPipelineListRequest& request) const; - QueryAuthConfigOutcome queryAuthConfig(const Model::QueryAuthConfigRequest &request)const; - void queryAuthConfigAsync(const Model::QueryAuthConfigRequest& request, const QueryAuthConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryAuthConfigOutcomeCallable queryAuthConfigCallable(const Model::QueryAuthConfigRequest& request) const; - QueryCensorJobListOutcome queryCensorJobList(const Model::QueryCensorJobListRequest &request)const; - void queryCensorJobListAsync(const Model::QueryCensorJobListRequest& request, const QueryCensorJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryCensorJobListOutcomeCallable queryCensorJobListCallable(const Model::QueryCensorJobListRequest& request) const; - QueryCensorPipelineListOutcome queryCensorPipelineList(const Model::QueryCensorPipelineListRequest &request)const; - void queryCensorPipelineListAsync(const Model::QueryCensorPipelineListRequest& request, const QueryCensorPipelineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryCensorPipelineListOutcomeCallable queryCensorPipelineListCallable(const Model::QueryCensorPipelineListRequest& request) const; - QueryComplexJobListOutcome queryComplexJobList(const Model::QueryComplexJobListRequest &request)const; - void queryComplexJobListAsync(const Model::QueryComplexJobListRequest& request, const QueryComplexJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryComplexJobListOutcomeCallable queryComplexJobListCallable(const Model::QueryComplexJobListRequest& request) const; - QueryCoverJobListOutcome queryCoverJobList(const Model::QueryCoverJobListRequest &request)const; - void queryCoverJobListAsync(const Model::QueryCoverJobListRequest& request, const QueryCoverJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryCoverJobListOutcomeCallable queryCoverJobListCallable(const Model::QueryCoverJobListRequest& request) const; - QueryCoverPipelineListOutcome queryCoverPipelineList(const Model::QueryCoverPipelineListRequest &request)const; - void queryCoverPipelineListAsync(const Model::QueryCoverPipelineListRequest& request, const QueryCoverPipelineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryCoverPipelineListOutcomeCallable queryCoverPipelineListCallable(const Model::QueryCoverPipelineListRequest& request) const; - QueryEditingJobListOutcome queryEditingJobList(const Model::QueryEditingJobListRequest &request)const; - void queryEditingJobListAsync(const Model::QueryEditingJobListRequest& request, const QueryEditingJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryEditingJobListOutcomeCallable queryEditingJobListCallable(const Model::QueryEditingJobListRequest& request) const; - QueryFacerecogJobListOutcome queryFacerecogJobList(const Model::QueryFacerecogJobListRequest &request)const; - void queryFacerecogJobListAsync(const Model::QueryFacerecogJobListRequest& request, const QueryFacerecogJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryFacerecogJobListOutcomeCallable queryFacerecogJobListCallable(const Model::QueryFacerecogJobListRequest& request) const; - QueryFpCompareJobListOutcome queryFpCompareJobList(const Model::QueryFpCompareJobListRequest &request)const; - void queryFpCompareJobListAsync(const Model::QueryFpCompareJobListRequest& request, const QueryFpCompareJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryFpCompareJobListOutcomeCallable queryFpCompareJobListCallable(const Model::QueryFpCompareJobListRequest& request) const; + QueryCopyrightExtractJobOutcome queryCopyrightExtractJob(const Model::QueryCopyrightExtractJobRequest &request)const; + void queryCopyrightExtractJobAsync(const Model::QueryCopyrightExtractJobRequest& request, const QueryCopyrightExtractJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCopyrightExtractJobOutcomeCallable queryCopyrightExtractJobCallable(const Model::QueryCopyrightExtractJobRequest& request) const; + QueryCopyrightJobOutcome queryCopyrightJob(const Model::QueryCopyrightJobRequest &request)const; + void queryCopyrightJobAsync(const Model::QueryCopyrightJobRequest& request, const QueryCopyrightJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCopyrightJobOutcomeCallable queryCopyrightJobCallable(const Model::QueryCopyrightJobRequest& request) const; QueryFpDBDeleteJobListOutcome queryFpDBDeleteJobList(const Model::QueryFpDBDeleteJobListRequest &request)const; void queryFpDBDeleteJobListAsync(const Model::QueryFpDBDeleteJobListRequest& request, const QueryFpDBDeleteJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryFpDBDeleteJobListOutcomeCallable queryFpDBDeleteJobListCallable(const Model::QueryFpDBDeleteJobListRequest& request) const; QueryFpFileDeleteJobListOutcome queryFpFileDeleteJobList(const Model::QueryFpFileDeleteJobListRequest &request)const; void queryFpFileDeleteJobListAsync(const Model::QueryFpFileDeleteJobListRequest& request, const QueryFpFileDeleteJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryFpFileDeleteJobListOutcomeCallable queryFpFileDeleteJobListCallable(const Model::QueryFpFileDeleteJobListRequest& request) const; - QueryFpImportResultOutcome queryFpImportResult(const Model::QueryFpImportResultRequest &request)const; - void queryFpImportResultAsync(const Model::QueryFpImportResultRequest& request, const QueryFpImportResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryFpImportResultOutcomeCallable queryFpImportResultCallable(const Model::QueryFpImportResultRequest& request) const; QueryFpShotJobListOutcome queryFpShotJobList(const Model::QueryFpShotJobListRequest &request)const; void queryFpShotJobListAsync(const Model::QueryFpShotJobListRequest& request, const QueryFpShotJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryFpShotJobListOutcomeCallable queryFpShotJobListCallable(const Model::QueryFpShotJobListRequest& request) const; QueryIProductionJobOutcome queryIProductionJob(const Model::QueryIProductionJobRequest &request)const; void queryIProductionJobAsync(const Model::QueryIProductionJobRequest& request, const QueryIProductionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryIProductionJobOutcomeCallable queryIProductionJobCallable(const Model::QueryIProductionJobRequest& request) const; - QueryIProductionJobListOutcome queryIProductionJobList(const Model::QueryIProductionJobListRequest &request)const; - void queryIProductionJobListAsync(const Model::QueryIProductionJobListRequest& request, const QueryIProductionJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryIProductionJobListOutcomeCallable queryIProductionJobListCallable(const Model::QueryIProductionJobListRequest& request) const; - QueryImageSearchJobListOutcome queryImageSearchJobList(const Model::QueryImageSearchJobListRequest &request)const; - void queryImageSearchJobListAsync(const Model::QueryImageSearchJobListRequest& request, const QueryImageSearchJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryImageSearchJobListOutcomeCallable queryImageSearchJobListCallable(const Model::QueryImageSearchJobListRequest& request) const; - QueryInferenceJobOutcome queryInferenceJob(const Model::QueryInferenceJobRequest &request)const; - void queryInferenceJobAsync(const Model::QueryInferenceJobRequest& request, const QueryInferenceJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryInferenceJobOutcomeCallable queryInferenceJobCallable(const Model::QueryInferenceJobRequest& request) const; - QueryInferenceServerOutcome queryInferenceServer(const Model::QueryInferenceServerRequest &request)const; - void queryInferenceServerAsync(const Model::QueryInferenceServerRequest& request, const QueryInferenceServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryInferenceServerOutcomeCallable queryInferenceServerCallable(const Model::QueryInferenceServerRequest& request) const; - QueryInnerJobOutcome queryInnerJob(const Model::QueryInnerJobRequest &request)const; - void queryInnerJobAsync(const Model::QueryInnerJobRequest& request, const QueryInnerJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryInnerJobOutcomeCallable queryInnerJobCallable(const Model::QueryInnerJobRequest& request) const; QueryJobListOutcome queryJobList(const Model::QueryJobListRequest &request)const; void queryJobListAsync(const Model::QueryJobListRequest& request, const QueryJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryJobListOutcomeCallable queryJobListCallable(const Model::QueryJobListRequest& request) const; - QueryMCJobListOutcome queryMCJobList(const Model::QueryMCJobListRequest &request)const; - void queryMCJobListAsync(const Model::QueryMCJobListRequest& request, const QueryMCJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryMCJobListOutcomeCallable queryMCJobListCallable(const Model::QueryMCJobListRequest& request) const; - QueryMCTemplateListOutcome queryMCTemplateList(const Model::QueryMCTemplateListRequest &request)const; - void queryMCTemplateListAsync(const Model::QueryMCTemplateListRequest& request, const QueryMCTemplateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryMCTemplateListOutcomeCallable queryMCTemplateListCallable(const Model::QueryMCTemplateListRequest& request) const; - QueryMcuJobOutcome queryMcuJob(const Model::QueryMcuJobRequest &request)const; - void queryMcuJobAsync(const Model::QueryMcuJobRequest& request, const QueryMcuJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryMcuJobOutcomeCallable queryMcuJobCallable(const Model::QueryMcuJobRequest& request) const; - QueryMcuTemplateOutcome queryMcuTemplate(const Model::QueryMcuTemplateRequest &request)const; - void queryMcuTemplateAsync(const Model::QueryMcuTemplateRequest& request, const QueryMcuTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryMcuTemplateOutcomeCallable queryMcuTemplateCallable(const Model::QueryMcuTemplateRequest& request) const; QueryMediaCensorJobDetailOutcome queryMediaCensorJobDetail(const Model::QueryMediaCensorJobDetailRequest &request)const; void queryMediaCensorJobDetailAsync(const Model::QueryMediaCensorJobDetailRequest& request, const QueryMediaCensorJobDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryMediaCensorJobDetailOutcomeCallable queryMediaCensorJobDetailCallable(const Model::QueryMediaCensorJobDetailRequest& request) const; QueryMediaCensorJobListOutcome queryMediaCensorJobList(const Model::QueryMediaCensorJobListRequest &request)const; void queryMediaCensorJobListAsync(const Model::QueryMediaCensorJobListRequest& request, const QueryMediaCensorJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryMediaCensorJobListOutcomeCallable queryMediaCensorJobListCallable(const Model::QueryMediaCensorJobListRequest& request) const; - QueryMediaDetailJobListOutcome queryMediaDetailJobList(const Model::QueryMediaDetailJobListRequest &request)const; - void queryMediaDetailJobListAsync(const Model::QueryMediaDetailJobListRequest& request, const QueryMediaDetailJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryMediaDetailJobListOutcomeCallable queryMediaDetailJobListCallable(const Model::QueryMediaDetailJobListRequest& request) const; - QueryMediaFpDeleteJobListOutcome queryMediaFpDeleteJobList(const Model::QueryMediaFpDeleteJobListRequest &request)const; - void queryMediaFpDeleteJobListAsync(const Model::QueryMediaFpDeleteJobListRequest& request, const QueryMediaFpDeleteJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryMediaFpDeleteJobListOutcomeCallable queryMediaFpDeleteJobListCallable(const Model::QueryMediaFpDeleteJobListRequest& request) const; QueryMediaInfoJobListOutcome queryMediaInfoJobList(const Model::QueryMediaInfoJobListRequest &request)const; void queryMediaInfoJobListAsync(const Model::QueryMediaInfoJobListRequest& request, const QueryMediaInfoJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryMediaInfoJobListOutcomeCallable queryMediaInfoJobListCallable(const Model::QueryMediaInfoJobListRequest& request) const; @@ -1303,12 +680,6 @@ namespace AlibabaCloud QueryPipelineListOutcome queryPipelineList(const Model::QueryPipelineListRequest &request)const; void queryPipelineListAsync(const Model::QueryPipelineListRequest& request, const QueryPipelineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryPipelineListOutcomeCallable queryPipelineListCallable(const Model::QueryPipelineListRequest& request) const; - QueryPornJobListOutcome queryPornJobList(const Model::QueryPornJobListRequest &request)const; - void queryPornJobListAsync(const Model::QueryPornJobListRequest& request, const QueryPornJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryPornJobListOutcomeCallable queryPornJobListCallable(const Model::QueryPornJobListRequest& request) const; - QueryPornPipelineListOutcome queryPornPipelineList(const Model::QueryPornPipelineListRequest &request)const; - void queryPornPipelineListAsync(const Model::QueryPornPipelineListRequest& request, const QueryPornPipelineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryPornPipelineListOutcomeCallable queryPornPipelineListCallable(const Model::QueryPornPipelineListRequest& request) const; QuerySmarttagJobOutcome querySmarttagJob(const Model::QuerySmarttagJobRequest &request)const; void querySmarttagJobAsync(const Model::QuerySmarttagJobRequest& request, const QuerySmarttagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QuerySmarttagJobOutcomeCallable querySmarttagJobCallable(const Model::QuerySmarttagJobRequest& request) const; @@ -1318,84 +689,27 @@ namespace AlibabaCloud QuerySnapshotJobListOutcome querySnapshotJobList(const Model::QuerySnapshotJobListRequest &request)const; void querySnapshotJobListAsync(const Model::QuerySnapshotJobListRequest& request, const QuerySnapshotJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QuerySnapshotJobListOutcomeCallable querySnapshotJobListCallable(const Model::QuerySnapshotJobListRequest& request) const; - QuerySubtitleJobListOutcome querySubtitleJobList(const Model::QuerySubtitleJobListRequest &request)const; - void querySubtitleJobListAsync(const Model::QuerySubtitleJobListRequest& request, const QuerySubtitleJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QuerySubtitleJobListOutcomeCallable querySubtitleJobListCallable(const Model::QuerySubtitleJobListRequest& request) const; - QueryTagJobListOutcome queryTagJobList(const Model::QueryTagJobListRequest &request)const; - void queryTagJobListAsync(const Model::QueryTagJobListRequest& request, const QueryTagJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTagJobListOutcomeCallable queryTagJobListCallable(const Model::QueryTagJobListRequest& request) const; QueryTemplateListOutcome queryTemplateList(const Model::QueryTemplateListRequest &request)const; void queryTemplateListAsync(const Model::QueryTemplateListRequest& request, const QueryTemplateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryTemplateListOutcomeCallable queryTemplateListCallable(const Model::QueryTemplateListRequest& request) const; - QueryTerrorismJobListOutcome queryTerrorismJobList(const Model::QueryTerrorismJobListRequest &request)const; - void queryTerrorismJobListAsync(const Model::QueryTerrorismJobListRequest& request, const QueryTerrorismJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTerrorismJobListOutcomeCallable queryTerrorismJobListCallable(const Model::QueryTerrorismJobListRequest& request) const; - QueryTerrorismPipelineListOutcome queryTerrorismPipelineList(const Model::QueryTerrorismPipelineListRequest &request)const; - void queryTerrorismPipelineListAsync(const Model::QueryTerrorismPipelineListRequest& request, const QueryTerrorismPipelineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTerrorismPipelineListOutcomeCallable queryTerrorismPipelineListCallable(const Model::QueryTerrorismPipelineListRequest& request) const; - QueryVideoGifJobListOutcome queryVideoGifJobList(const Model::QueryVideoGifJobListRequest &request)const; - void queryVideoGifJobListAsync(const Model::QueryVideoGifJobListRequest& request, const QueryVideoGifJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryVideoGifJobListOutcomeCallable queryVideoGifJobListCallable(const Model::QueryVideoGifJobListRequest& request) const; - QueryVideoPoseJobListOutcome queryVideoPoseJobList(const Model::QueryVideoPoseJobListRequest &request)const; - void queryVideoPoseJobListAsync(const Model::QueryVideoPoseJobListRequest& request, const QueryVideoPoseJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryVideoPoseJobListOutcomeCallable queryVideoPoseJobListCallable(const Model::QueryVideoPoseJobListRequest& request) const; - QueryVideoQualityJobOutcome queryVideoQualityJob(const Model::QueryVideoQualityJobRequest &request)const; - void queryVideoQualityJobAsync(const Model::QueryVideoQualityJobRequest& request, const QueryVideoQualityJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryVideoQualityJobOutcomeCallable queryVideoQualityJobCallable(const Model::QueryVideoQualityJobRequest& request) const; - QueryVideoSplitJobListOutcome queryVideoSplitJobList(const Model::QueryVideoSplitJobListRequest &request)const; - void queryVideoSplitJobListAsync(const Model::QueryVideoSplitJobListRequest& request, const QueryVideoSplitJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryVideoSplitJobListOutcomeCallable queryVideoSplitJobListCallable(const Model::QueryVideoSplitJobListRequest& request) const; - QueryVideoSummaryJobListOutcome queryVideoSummaryJobList(const Model::QueryVideoSummaryJobListRequest &request)const; - void queryVideoSummaryJobListAsync(const Model::QueryVideoSummaryJobListRequest& request, const QueryVideoSummaryJobListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryVideoSummaryJobListOutcomeCallable queryVideoSummaryJobListCallable(const Model::QueryVideoSummaryJobListRequest& request) const; + QueryTraceAbJobOutcome queryTraceAbJob(const Model::QueryTraceAbJobRequest &request)const; + void queryTraceAbJobAsync(const Model::QueryTraceAbJobRequest& request, const QueryTraceAbJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTraceAbJobOutcomeCallable queryTraceAbJobCallable(const Model::QueryTraceAbJobRequest& request) const; + QueryTraceExtractJobOutcome queryTraceExtractJob(const Model::QueryTraceExtractJobRequest &request)const; + void queryTraceExtractJobAsync(const Model::QueryTraceExtractJobRequest& request, const QueryTraceExtractJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTraceExtractJobOutcomeCallable queryTraceExtractJobCallable(const Model::QueryTraceExtractJobRequest& request) const; + QueryTraceM3u8JobOutcome queryTraceM3u8Job(const Model::QueryTraceM3u8JobRequest &request)const; + void queryTraceM3u8JobAsync(const Model::QueryTraceM3u8JobRequest& request, const QueryTraceM3u8JobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTraceM3u8JobOutcomeCallable queryTraceM3u8JobCallable(const Model::QueryTraceM3u8JobRequest& request) const; QueryWaterMarkTemplateListOutcome queryWaterMarkTemplateList(const Model::QueryWaterMarkTemplateListRequest &request)const; void queryWaterMarkTemplateListAsync(const Model::QueryWaterMarkTemplateListRequest& request, const QueryWaterMarkTemplateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryWaterMarkTemplateListOutcomeCallable queryWaterMarkTemplateListCallable(const Model::QueryWaterMarkTemplateListRequest& request) const; - RefreshCdnDomainConfigsCacheOutcome refreshCdnDomainConfigsCache(const Model::RefreshCdnDomainConfigsCacheRequest &request)const; - void refreshCdnDomainConfigsCacheAsync(const Model::RefreshCdnDomainConfigsCacheRequest& request, const RefreshCdnDomainConfigsCacheAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RefreshCdnDomainConfigsCacheOutcomeCallable refreshCdnDomainConfigsCacheCallable(const Model::RefreshCdnDomainConfigsCacheRequest& request) const; RegisterCustomFaceOutcome registerCustomFace(const Model::RegisterCustomFaceRequest &request)const; void registerCustomFaceAsync(const Model::RegisterCustomFaceRequest& request, const RegisterCustomFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegisterCustomFaceOutcomeCallable registerCustomFaceCallable(const Model::RegisterCustomFaceRequest& request) const; - RegisterMediaDetailPersonOutcome registerMediaDetailPerson(const Model::RegisterMediaDetailPersonRequest &request)const; - void registerMediaDetailPersonAsync(const Model::RegisterMediaDetailPersonRequest& request, const RegisterMediaDetailPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RegisterMediaDetailPersonOutcomeCallable registerMediaDetailPersonCallable(const Model::RegisterMediaDetailPersonRequest& request) const; - RegisterMediaDetailScenarioOutcome registerMediaDetailScenario(const Model::RegisterMediaDetailScenarioRequest &request)const; - void registerMediaDetailScenarioAsync(const Model::RegisterMediaDetailScenarioRequest& request, const RegisterMediaDetailScenarioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RegisterMediaDetailScenarioOutcomeCallable registerMediaDetailScenarioCallable(const Model::RegisterMediaDetailScenarioRequest& request) const; - ReportAnnotationJobResultOutcome reportAnnotationJobResult(const Model::ReportAnnotationJobResultRequest &request)const; - void reportAnnotationJobResultAsync(const Model::ReportAnnotationJobResultRequest& request, const ReportAnnotationJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportAnnotationJobResultOutcomeCallable reportAnnotationJobResultCallable(const Model::ReportAnnotationJobResultRequest& request) const; - ReportCensorJobResultOutcome reportCensorJobResult(const Model::ReportCensorJobResultRequest &request)const; - void reportCensorJobResultAsync(const Model::ReportCensorJobResultRequest& request, const ReportCensorJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportCensorJobResultOutcomeCallable reportCensorJobResultCallable(const Model::ReportCensorJobResultRequest& request) const; - ReportCoverJobResultOutcome reportCoverJobResult(const Model::ReportCoverJobResultRequest &request)const; - void reportCoverJobResultAsync(const Model::ReportCoverJobResultRequest& request, const ReportCoverJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportCoverJobResultOutcomeCallable reportCoverJobResultCallable(const Model::ReportCoverJobResultRequest& request) const; - ReportFacerecogJobResultOutcome reportFacerecogJobResult(const Model::ReportFacerecogJobResultRequest &request)const; - void reportFacerecogJobResultAsync(const Model::ReportFacerecogJobResultRequest& request, const ReportFacerecogJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportFacerecogJobResultOutcomeCallable reportFacerecogJobResultCallable(const Model::ReportFacerecogJobResultRequest& request) const; - ReportFpShotJobResultOutcome reportFpShotJobResult(const Model::ReportFpShotJobResultRequest &request)const; - void reportFpShotJobResultAsync(const Model::ReportFpShotJobResultRequest& request, const ReportFpShotJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportFpShotJobResultOutcomeCallable reportFpShotJobResultCallable(const Model::ReportFpShotJobResultRequest& request) const; - ReportMediaDetailJobResultOutcome reportMediaDetailJobResult(const Model::ReportMediaDetailJobResultRequest &request)const; - void reportMediaDetailJobResultAsync(const Model::ReportMediaDetailJobResultRequest& request, const ReportMediaDetailJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportMediaDetailJobResultOutcomeCallable reportMediaDetailJobResultCallable(const Model::ReportMediaDetailJobResultRequest& request) const; - ReportPornJobResultOutcome reportPornJobResult(const Model::ReportPornJobResultRequest &request)const; - void reportPornJobResultAsync(const Model::ReportPornJobResultRequest& request, const ReportPornJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportPornJobResultOutcomeCallable reportPornJobResultCallable(const Model::ReportPornJobResultRequest& request) const; - ReportTagJobResultOutcome reportTagJobResult(const Model::ReportTagJobResultRequest &request)const; - void reportTagJobResultAsync(const Model::ReportTagJobResultRequest& request, const ReportTagJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportTagJobResultOutcomeCallable reportTagJobResultCallable(const Model::ReportTagJobResultRequest& request) const; - ReportTerrorismJobResultOutcome reportTerrorismJobResult(const Model::ReportTerrorismJobResultRequest &request)const; - void reportTerrorismJobResultAsync(const Model::ReportTerrorismJobResultRequest& request, const ReportTerrorismJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportTerrorismJobResultOutcomeCallable reportTerrorismJobResultCallable(const Model::ReportTerrorismJobResultRequest& request) const; - ReportVideoSplitJobResultOutcome reportVideoSplitJobResult(const Model::ReportVideoSplitJobResultRequest &request)const; - void reportVideoSplitJobResultAsync(const Model::ReportVideoSplitJobResultRequest& request, const ReportVideoSplitJobResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReportVideoSplitJobResultOutcomeCallable reportVideoSplitJobResultCallable(const Model::ReportVideoSplitJobResultRequest& request) const; - SearchMediaOutcome searchMedia(const Model::SearchMediaRequest &request)const; - void searchMediaAsync(const Model::SearchMediaRequest& request, const SearchMediaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SearchMediaOutcomeCallable searchMediaCallable(const Model::SearchMediaRequest& request) const; + RegisterCustomViewOutcome registerCustomView(const Model::RegisterCustomViewRequest &request)const; + void registerCustomViewAsync(const Model::RegisterCustomViewRequest& request, const RegisterCustomViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RegisterCustomViewOutcomeCallable registerCustomViewCallable(const Model::RegisterCustomViewRequest& request) const; SearchMediaWorkflowOutcome searchMediaWorkflow(const Model::SearchMediaWorkflowRequest &request)const; void searchMediaWorkflowAsync(const Model::SearchMediaWorkflowRequest& request, const SearchMediaWorkflowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SearchMediaWorkflowOutcomeCallable searchMediaWorkflowCallable(const Model::SearchMediaWorkflowRequest& request) const; @@ -1408,39 +722,15 @@ namespace AlibabaCloud SearchWaterMarkTemplateOutcome searchWaterMarkTemplate(const Model::SearchWaterMarkTemplateRequest &request)const; void searchWaterMarkTemplateAsync(const Model::SearchWaterMarkTemplateRequest& request, const SearchWaterMarkTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SearchWaterMarkTemplateOutcomeCallable searchWaterMarkTemplateCallable(const Model::SearchWaterMarkTemplateRequest& request) const; - SetAuthConfigOutcome setAuthConfig(const Model::SetAuthConfigRequest &request)const; - void setAuthConfigAsync(const Model::SetAuthConfigRequest& request, const SetAuthConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetAuthConfigOutcomeCallable setAuthConfigCallable(const Model::SetAuthConfigRequest& request) const; - StopIProductionJobOutcome stopIProductionJob(const Model::StopIProductionJobRequest &request)const; - void stopIProductionJobAsync(const Model::StopIProductionJobRequest& request, const StopIProductionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StopIProductionJobOutcomeCallable stopIProductionJobCallable(const Model::StopIProductionJobRequest& request) const; SubmitAnalysisJobOutcome submitAnalysisJob(const Model::SubmitAnalysisJobRequest &request)const; void submitAnalysisJobAsync(const Model::SubmitAnalysisJobRequest& request, const SubmitAnalysisJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitAnalysisJobOutcomeCallable submitAnalysisJobCallable(const Model::SubmitAnalysisJobRequest& request) const; - SubmitAnnotationJobOutcome submitAnnotationJob(const Model::SubmitAnnotationJobRequest &request)const; - void submitAnnotationJobAsync(const Model::SubmitAnnotationJobRequest& request, const SubmitAnnotationJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitAnnotationJobOutcomeCallable submitAnnotationJobCallable(const Model::SubmitAnnotationJobRequest& request) const; - SubmitAsrJobOutcome submitAsrJob(const Model::SubmitAsrJobRequest &request)const; - void submitAsrJobAsync(const Model::SubmitAsrJobRequest& request, const SubmitAsrJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitAsrJobOutcomeCallable submitAsrJobCallable(const Model::SubmitAsrJobRequest& request) const; - SubmitBeautifyJobsOutcome submitBeautifyJobs(const Model::SubmitBeautifyJobsRequest &request)const; - void submitBeautifyJobsAsync(const Model::SubmitBeautifyJobsRequest& request, const SubmitBeautifyJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitBeautifyJobsOutcomeCallable submitBeautifyJobsCallable(const Model::SubmitBeautifyJobsRequest& request) const; - SubmitComplexJobOutcome submitComplexJob(const Model::SubmitComplexJobRequest &request)const; - void submitComplexJobAsync(const Model::SubmitComplexJobRequest& request, const SubmitComplexJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitComplexJobOutcomeCallable submitComplexJobCallable(const Model::SubmitComplexJobRequest& request) const; - SubmitCoverJobOutcome submitCoverJob(const Model::SubmitCoverJobRequest &request)const; - void submitCoverJobAsync(const Model::SubmitCoverJobRequest& request, const SubmitCoverJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitCoverJobOutcomeCallable submitCoverJobCallable(const Model::SubmitCoverJobRequest& request) const; - SubmitEditingJobsOutcome submitEditingJobs(const Model::SubmitEditingJobsRequest &request)const; - void submitEditingJobsAsync(const Model::SubmitEditingJobsRequest& request, const SubmitEditingJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitEditingJobsOutcomeCallable submitEditingJobsCallable(const Model::SubmitEditingJobsRequest& request) const; - SubmitFacerecogJobOutcome submitFacerecogJob(const Model::SubmitFacerecogJobRequest &request)const; - void submitFacerecogJobAsync(const Model::SubmitFacerecogJobRequest& request, const SubmitFacerecogJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitFacerecogJobOutcomeCallable submitFacerecogJobCallable(const Model::SubmitFacerecogJobRequest& request) const; - SubmitFpCompareJobOutcome submitFpCompareJob(const Model::SubmitFpCompareJobRequest &request)const; - void submitFpCompareJobAsync(const Model::SubmitFpCompareJobRequest& request, const SubmitFpCompareJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitFpCompareJobOutcomeCallable submitFpCompareJobCallable(const Model::SubmitFpCompareJobRequest& request) const; + SubmitCopyrightExtractJobOutcome submitCopyrightExtractJob(const Model::SubmitCopyrightExtractJobRequest &request)const; + void submitCopyrightExtractJobAsync(const Model::SubmitCopyrightExtractJobRequest& request, const SubmitCopyrightExtractJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitCopyrightExtractJobOutcomeCallable submitCopyrightExtractJobCallable(const Model::SubmitCopyrightExtractJobRequest& request) const; + SubmitCopyrightJobOutcome submitCopyrightJob(const Model::SubmitCopyrightJobRequest &request)const; + void submitCopyrightJobAsync(const Model::SubmitCopyrightJobRequest& request, const SubmitCopyrightJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitCopyrightJobOutcomeCallable submitCopyrightJobCallable(const Model::SubmitCopyrightJobRequest& request) const; SubmitFpDBDeleteJobOutcome submitFpDBDeleteJob(const Model::SubmitFpDBDeleteJobRequest &request)const; void submitFpDBDeleteJobAsync(const Model::SubmitFpDBDeleteJobRequest& request, const SubmitFpDBDeleteJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitFpDBDeleteJobOutcomeCallable submitFpDBDeleteJobCallable(const Model::SubmitFpDBDeleteJobRequest& request) const; @@ -1453,75 +743,33 @@ namespace AlibabaCloud SubmitIProductionJobOutcome submitIProductionJob(const Model::SubmitIProductionJobRequest &request)const; void submitIProductionJobAsync(const Model::SubmitIProductionJobRequest& request, const SubmitIProductionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitIProductionJobOutcomeCallable submitIProductionJobCallable(const Model::SubmitIProductionJobRequest& request) const; - SubmitImageQualityJobOutcome submitImageQualityJob(const Model::SubmitImageQualityJobRequest &request)const; - void submitImageQualityJobAsync(const Model::SubmitImageQualityJobRequest& request, const SubmitImageQualityJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitImageQualityJobOutcomeCallable submitImageQualityJobCallable(const Model::SubmitImageQualityJobRequest& request) const; - SubmitImageSearchJobOutcome submitImageSearchJob(const Model::SubmitImageSearchJobRequest &request)const; - void submitImageSearchJobAsync(const Model::SubmitImageSearchJobRequest& request, const SubmitImageSearchJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitImageSearchJobOutcomeCallable submitImageSearchJobCallable(const Model::SubmitImageSearchJobRequest& request) const; - SubmitInferenceJobOutcome submitInferenceJob(const Model::SubmitInferenceJobRequest &request)const; - void submitInferenceJobAsync(const Model::SubmitInferenceJobRequest& request, const SubmitInferenceJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitInferenceJobOutcomeCallable submitInferenceJobCallable(const Model::SubmitInferenceJobRequest& request) const; - SubmitInnerJobOutcome submitInnerJob(const Model::SubmitInnerJobRequest &request)const; - void submitInnerJobAsync(const Model::SubmitInnerJobRequest& request, const SubmitInnerJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitInnerJobOutcomeCallable submitInnerJobCallable(const Model::SubmitInnerJobRequest& request) const; + SubmitImageCopyrightOutcome submitImageCopyright(const Model::SubmitImageCopyrightRequest &request)const; + void submitImageCopyrightAsync(const Model::SubmitImageCopyrightRequest& request, const SubmitImageCopyrightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitImageCopyrightOutcomeCallable submitImageCopyrightCallable(const Model::SubmitImageCopyrightRequest& request) const; SubmitJobsOutcome submitJobs(const Model::SubmitJobsRequest &request)const; void submitJobsAsync(const Model::SubmitJobsRequest& request, const SubmitJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitJobsOutcomeCallable submitJobsCallable(const Model::SubmitJobsRequest& request) const; - SubmitMCJobOutcome submitMCJob(const Model::SubmitMCJobRequest &request)const; - void submitMCJobAsync(const Model::SubmitMCJobRequest& request, const SubmitMCJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitMCJobOutcomeCallable submitMCJobCallable(const Model::SubmitMCJobRequest& request) const; - SubmitMcuJobOutcome submitMcuJob(const Model::SubmitMcuJobRequest &request)const; - void submitMcuJobAsync(const Model::SubmitMcuJobRequest& request, const SubmitMcuJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitMcuJobOutcomeCallable submitMcuJobCallable(const Model::SubmitMcuJobRequest& request) const; SubmitMediaCensorJobOutcome submitMediaCensorJob(const Model::SubmitMediaCensorJobRequest &request)const; void submitMediaCensorJobAsync(const Model::SubmitMediaCensorJobRequest& request, const SubmitMediaCensorJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitMediaCensorJobOutcomeCallable submitMediaCensorJobCallable(const Model::SubmitMediaCensorJobRequest& request) const; - SubmitMediaDetailJobOutcome submitMediaDetailJob(const Model::SubmitMediaDetailJobRequest &request)const; - void submitMediaDetailJobAsync(const Model::SubmitMediaDetailJobRequest& request, const SubmitMediaDetailJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitMediaDetailJobOutcomeCallable submitMediaDetailJobCallable(const Model::SubmitMediaDetailJobRequest& request) const; - SubmitMediaFpDeleteJobOutcome submitMediaFpDeleteJob(const Model::SubmitMediaFpDeleteJobRequest &request)const; - void submitMediaFpDeleteJobAsync(const Model::SubmitMediaFpDeleteJobRequest& request, const SubmitMediaFpDeleteJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitMediaFpDeleteJobOutcomeCallable submitMediaFpDeleteJobCallable(const Model::SubmitMediaFpDeleteJobRequest& request) const; SubmitMediaInfoJobOutcome submitMediaInfoJob(const Model::SubmitMediaInfoJobRequest &request)const; void submitMediaInfoJobAsync(const Model::SubmitMediaInfoJobRequest& request, const SubmitMediaInfoJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitMediaInfoJobOutcomeCallable submitMediaInfoJobCallable(const Model::SubmitMediaInfoJobRequest& request) const; - SubmitPornJobOutcome submitPornJob(const Model::SubmitPornJobRequest &request)const; - void submitPornJobAsync(const Model::SubmitPornJobRequest& request, const SubmitPornJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitPornJobOutcomeCallable submitPornJobCallable(const Model::SubmitPornJobRequest& request) const; SubmitSmarttagJobOutcome submitSmarttagJob(const Model::SubmitSmarttagJobRequest &request)const; void submitSmarttagJobAsync(const Model::SubmitSmarttagJobRequest& request, const SubmitSmarttagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitSmarttagJobOutcomeCallable submitSmarttagJobCallable(const Model::SubmitSmarttagJobRequest& request) const; SubmitSnapshotJobOutcome submitSnapshotJob(const Model::SubmitSnapshotJobRequest &request)const; void submitSnapshotJobAsync(const Model::SubmitSnapshotJobRequest& request, const SubmitSnapshotJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitSnapshotJobOutcomeCallable submitSnapshotJobCallable(const Model::SubmitSnapshotJobRequest& request) const; - SubmitSubtitleJobOutcome submitSubtitleJob(const Model::SubmitSubtitleJobRequest &request)const; - void submitSubtitleJobAsync(const Model::SubmitSubtitleJobRequest& request, const SubmitSubtitleJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitSubtitleJobOutcomeCallable submitSubtitleJobCallable(const Model::SubmitSubtitleJobRequest& request) const; - SubmitTagJobOutcome submitTagJob(const Model::SubmitTagJobRequest &request)const; - void submitTagJobAsync(const Model::SubmitTagJobRequest& request, const SubmitTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitTagJobOutcomeCallable submitTagJobCallable(const Model::SubmitTagJobRequest& request) const; - SubmitTerrorismJobOutcome submitTerrorismJob(const Model::SubmitTerrorismJobRequest &request)const; - void submitTerrorismJobAsync(const Model::SubmitTerrorismJobRequest& request, const SubmitTerrorismJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitTerrorismJobOutcomeCallable submitTerrorismJobCallable(const Model::SubmitTerrorismJobRequest& request) const; - SubmitURLUploadJobOutcome submitURLUploadJob(const Model::SubmitURLUploadJobRequest &request)const; - void submitURLUploadJobAsync(const Model::SubmitURLUploadJobRequest& request, const SubmitURLUploadJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitURLUploadJobOutcomeCallable submitURLUploadJobCallable(const Model::SubmitURLUploadJobRequest& request) const; - SubmitVideoGifJobOutcome submitVideoGifJob(const Model::SubmitVideoGifJobRequest &request)const; - void submitVideoGifJobAsync(const Model::SubmitVideoGifJobRequest& request, const SubmitVideoGifJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitVideoGifJobOutcomeCallable submitVideoGifJobCallable(const Model::SubmitVideoGifJobRequest& request) const; - SubmitVideoPoseJobOutcome submitVideoPoseJob(const Model::SubmitVideoPoseJobRequest &request)const; - void submitVideoPoseJobAsync(const Model::SubmitVideoPoseJobRequest& request, const SubmitVideoPoseJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitVideoPoseJobOutcomeCallable submitVideoPoseJobCallable(const Model::SubmitVideoPoseJobRequest& request) const; - SubmitVideoQualityJobOutcome submitVideoQualityJob(const Model::SubmitVideoQualityJobRequest &request)const; - void submitVideoQualityJobAsync(const Model::SubmitVideoQualityJobRequest& request, const SubmitVideoQualityJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitVideoQualityJobOutcomeCallable submitVideoQualityJobCallable(const Model::SubmitVideoQualityJobRequest& request) const; - SubmitVideoSplitJobOutcome submitVideoSplitJob(const Model::SubmitVideoSplitJobRequest &request)const; - void submitVideoSplitJobAsync(const Model::SubmitVideoSplitJobRequest& request, const SubmitVideoSplitJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitVideoSplitJobOutcomeCallable submitVideoSplitJobCallable(const Model::SubmitVideoSplitJobRequest& request) const; - SubmitVideoSummaryJobOutcome submitVideoSummaryJob(const Model::SubmitVideoSummaryJobRequest &request)const; - void submitVideoSummaryJobAsync(const Model::SubmitVideoSummaryJobRequest& request, const SubmitVideoSummaryJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitVideoSummaryJobOutcomeCallable submitVideoSummaryJobCallable(const Model::SubmitVideoSummaryJobRequest& request) const; + SubmitTraceAbJobOutcome submitTraceAbJob(const Model::SubmitTraceAbJobRequest &request)const; + void submitTraceAbJobAsync(const Model::SubmitTraceAbJobRequest& request, const SubmitTraceAbJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitTraceAbJobOutcomeCallable submitTraceAbJobCallable(const Model::SubmitTraceAbJobRequest& request) const; + SubmitTraceExtractJobOutcome submitTraceExtractJob(const Model::SubmitTraceExtractJobRequest &request)const; + void submitTraceExtractJobAsync(const Model::SubmitTraceExtractJobRequest& request, const SubmitTraceExtractJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitTraceExtractJobOutcomeCallable submitTraceExtractJobCallable(const Model::SubmitTraceExtractJobRequest& request) const; + SubmitTraceM3u8JobOutcome submitTraceM3u8Job(const Model::SubmitTraceM3u8JobRequest &request)const; + void submitTraceM3u8JobAsync(const Model::SubmitTraceM3u8JobRequest& request, const SubmitTraceM3u8JobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitTraceM3u8JobOutcomeCallable submitTraceM3u8JobCallable(const Model::SubmitTraceM3u8JobRequest& request) const; TagCustomPersonOutcome tagCustomPerson(const Model::TagCustomPersonRequest &request)const; void tagCustomPersonAsync(const Model::TagCustomPersonRequest& request, const TagCustomPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TagCustomPersonOutcomeCallable tagCustomPersonCallable(const Model::TagCustomPersonRequest& request) const; @@ -1534,24 +782,6 @@ namespace AlibabaCloud UnregisterCustomFaceOutcome unregisterCustomFace(const Model::UnregisterCustomFaceRequest &request)const; void unregisterCustomFaceAsync(const Model::UnregisterCustomFaceRequest& request, const UnregisterCustomFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnregisterCustomFaceOutcomeCallable unregisterCustomFaceCallable(const Model::UnregisterCustomFaceRequest& request) const; - UpdateAsrPipelineOutcome updateAsrPipeline(const Model::UpdateAsrPipelineRequest &request)const; - void updateAsrPipelineAsync(const Model::UpdateAsrPipelineRequest& request, const UpdateAsrPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateAsrPipelineOutcomeCallable updateAsrPipelineCallable(const Model::UpdateAsrPipelineRequest& request) const; - UpdateCategoryNameOutcome updateCategoryName(const Model::UpdateCategoryNameRequest &request)const; - void updateCategoryNameAsync(const Model::UpdateCategoryNameRequest& request, const UpdateCategoryNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateCategoryNameOutcomeCallable updateCategoryNameCallable(const Model::UpdateCategoryNameRequest& request) const; - UpdateCensorPipelineOutcome updateCensorPipeline(const Model::UpdateCensorPipelineRequest &request)const; - void updateCensorPipelineAsync(const Model::UpdateCensorPipelineRequest& request, const UpdateCensorPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateCensorPipelineOutcomeCallable updateCensorPipelineCallable(const Model::UpdateCensorPipelineRequest& request) const; - UpdateCoverPipelineOutcome updateCoverPipeline(const Model::UpdateCoverPipelineRequest &request)const; - void updateCoverPipelineAsync(const Model::UpdateCoverPipelineRequest& request, const UpdateCoverPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateCoverPipelineOutcomeCallable updateCoverPipelineCallable(const Model::UpdateCoverPipelineRequest& request) const; - UpdateMCTemplateOutcome updateMCTemplate(const Model::UpdateMCTemplateRequest &request)const; - void updateMCTemplateAsync(const Model::UpdateMCTemplateRequest& request, const UpdateMCTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateMCTemplateOutcomeCallable updateMCTemplateCallable(const Model::UpdateMCTemplateRequest& request) const; - UpdateMcuTemplateOutcome updateMcuTemplate(const Model::UpdateMcuTemplateRequest &request)const; - void updateMcuTemplateAsync(const Model::UpdateMcuTemplateRequest& request, const UpdateMcuTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateMcuTemplateOutcomeCallable updateMcuTemplateCallable(const Model::UpdateMcuTemplateRequest& request) const; UpdateMediaOutcome updateMedia(const Model::UpdateMediaRequest &request)const; void updateMediaAsync(const Model::UpdateMediaRequest& request, const UpdateMediaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateMediaOutcomeCallable updateMediaCallable(const Model::UpdateMediaRequest& request) const; @@ -1573,18 +803,12 @@ namespace AlibabaCloud UpdatePipelineOutcome updatePipeline(const Model::UpdatePipelineRequest &request)const; void updatePipelineAsync(const Model::UpdatePipelineRequest& request, const UpdatePipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdatePipelineOutcomeCallable updatePipelineCallable(const Model::UpdatePipelineRequest& request) const; - UpdatePornPipelineOutcome updatePornPipeline(const Model::UpdatePornPipelineRequest &request)const; - void updatePornPipelineAsync(const Model::UpdatePornPipelineRequest& request, const UpdatePornPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdatePornPipelineOutcomeCallable updatePornPipelineCallable(const Model::UpdatePornPipelineRequest& request) const; UpdateSmarttagTemplateOutcome updateSmarttagTemplate(const Model::UpdateSmarttagTemplateRequest &request)const; void updateSmarttagTemplateAsync(const Model::UpdateSmarttagTemplateRequest& request, const UpdateSmarttagTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateSmarttagTemplateOutcomeCallable updateSmarttagTemplateCallable(const Model::UpdateSmarttagTemplateRequest& request) const; UpdateTemplateOutcome updateTemplate(const Model::UpdateTemplateRequest &request)const; void updateTemplateAsync(const Model::UpdateTemplateRequest& request, const UpdateTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateTemplateOutcomeCallable updateTemplateCallable(const Model::UpdateTemplateRequest& request) const; - UpdateTerrorismPipelineOutcome updateTerrorismPipeline(const Model::UpdateTerrorismPipelineRequest &request)const; - void updateTerrorismPipelineAsync(const Model::UpdateTerrorismPipelineRequest& request, const UpdateTerrorismPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateTerrorismPipelineOutcomeCallable updateTerrorismPipelineCallable(const Model::UpdateTerrorismPipelineRequest& request) const; UpdateWaterMarkTemplateOutcome updateWaterMarkTemplate(const Model::UpdateWaterMarkTemplateRequest &request)const; void updateWaterMarkTemplateAsync(const Model::UpdateWaterMarkTemplateRequest& request, const UpdateWaterMarkTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateWaterMarkTemplateOutcomeCallable updateWaterMarkTemplateCallable(const Model::UpdateWaterMarkTemplateRequest& request) const; diff --git a/mts/include/alibabacloud/mts/model/AddAsrPipelineRequest.h b/mts/include/alibabacloud/mts/model/AddAsrPipelineRequest.h deleted file mode 100644 index 7a9609f35..000000000 --- a/mts/include/alibabacloud/mts/model/AddAsrPipelineRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDASRPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDASRPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT AddAsrPipelineRequest : public RpcServiceRequest { -public: - AddAsrPipelineRequest(); - ~AddAsrPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - int priority_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDASRPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/AddAsrPipelineResult.h b/mts/include/alibabacloud/mts/model/AddAsrPipelineResult.h deleted file mode 100644 index 12611bdfe..000000000 --- a/mts/include/alibabacloud/mts/model/AddAsrPipelineResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDASRPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDASRPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT AddAsrPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - AddAsrPipelineResult(); - explicit AddAsrPipelineResult(const std::string &payload); - ~AddAsrPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_ADDASRPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddCategoryRequest.h b/mts/include/alibabacloud/mts/model/AddCategoryRequest.h deleted file mode 100644 index f5b352af7..000000000 --- a/mts/include/alibabacloud/mts/model/AddCategoryRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDCATEGORYREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDCATEGORYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT AddCategoryRequest : public RpcServiceRequest { -public: - AddCategoryRequest(); - ~AddCategoryRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - long getParentId() const; - void setParentId(long parentId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getCateName() const; - void setCateName(const std::string &cateName); - 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); - -private: - long resourceOwnerId_; - long parentId_; - std::string accessKeyId_; - std::string cateName_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDCATEGORYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/AddCategoryResult.h b/mts/include/alibabacloud/mts/model/AddCategoryResult.h deleted file mode 100644 index 5c78cb748..000000000 --- a/mts/include/alibabacloud/mts/model/AddCategoryResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDCATEGORYRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDCATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT AddCategoryResult : public ServiceResult - { - public: - struct Category - { - std::string parentId; - std::string level; - std::string cateName; - std::string cateId; - }; - - - AddCategoryResult(); - explicit AddCategoryResult(const std::string &payload); - ~AddCategoryResult(); - Category getCategory()const; - - protected: - void parse(const std::string &payload); - private: - Category category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_ADDCATEGORYRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddCensorPipelineResult.h b/mts/include/alibabacloud/mts/model/AddCensorPipelineResult.h deleted file mode 100644 index dfe3412ed..000000000 --- a/mts/include/alibabacloud/mts/model/AddCensorPipelineResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDCENSORPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDCENSORPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT AddCensorPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - AddCensorPipelineResult(); - explicit AddCensorPipelineResult(const std::string &payload); - ~AddCensorPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_ADDCENSORPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddCoverPipelineRequest.h b/mts/include/alibabacloud/mts/model/AddCoverPipelineRequest.h deleted file mode 100644 index ffc972a62..000000000 --- a/mts/include/alibabacloud/mts/model/AddCoverPipelineRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDCOVERPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDCOVERPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT AddCoverPipelineRequest : public RpcServiceRequest { -public: - AddCoverPipelineRequest(); - ~AddCoverPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRole() const; - void setRole(const std::string &role); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPriority() const; - void setPriority(const std::string &priority); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string role_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - std::string priority_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDCOVERPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/AddCoverPipelineResult.h b/mts/include/alibabacloud/mts/model/AddCoverPipelineResult.h deleted file mode 100644 index 4ea7cc02d..000000000 --- a/mts/include/alibabacloud/mts/model/AddCoverPipelineResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDCOVERPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDCOVERPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT AddCoverPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string role; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - AddCoverPipelineResult(); - explicit AddCoverPipelineResult(const std::string &payload); - ~AddCoverPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_ADDCOVERPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddMCTemplateRequest.h b/mts/include/alibabacloud/mts/model/AddMCTemplateRequest.h deleted file mode 100644 index 2a01c4585..000000000 --- a/mts/include/alibabacloud/mts/model/AddMCTemplateRequest.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_ - -#include -#include -#include -#include -#include - -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 getAbuse() const; - void setAbuse(const std::string &abuse); - std::string getQrcode() const; - void setQrcode(const std::string &qrcode); - 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 getLogo() const; - void setLogo(const std::string &logo); - std::string getLive() const; - void setLive(const std::string &live); - std::string getContraband() const; - void setContraband(const std::string &contraband); - std::string getAd() const; - void setAd(const std::string &ad); - 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 getName() const; - void setName(const std::string &name); - std::string getSpam() const; - void setSpam(const std::string &spam); - -private: - std::string politics_; - long resourceOwnerId_; - std::string abuse_; - std::string qrcode_; - std::string accessKeyId_; - std::string porn_; - std::string terrorism_; - std::string logo_; - std::string live_; - std::string contraband_; - std::string ad_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string name_; - std::string spam_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/AddMCTemplateResult.h b/mts/include/alibabacloud/mts/model/AddMCTemplateResult.h deleted file mode 100644 index 6e9cb8706..000000000 --- a/mts/include/alibabacloud/mts/model/AddMCTemplateResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT AddMCTemplateResult : public ServiceResult - { - public: - struct _Template - { - std::string contraband; - std::string qrcode; - std::string ad; - std::string abuse; - std::string terrorism; - std::string live; - std::string politics; - std::string porn; - std::string spam; - std::string templateId; - std::string logo; - std::string name; - }; - - - 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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddPipelineRequest.h b/mts/include/alibabacloud/mts/model/AddPipelineRequest.h index 29b689e90..66e04fe03 100644 --- a/mts/include/alibabacloud/mts/model/AddPipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/AddPipelineRequest.h @@ -38,6 +38,8 @@ public: void setSpeed(const std::string &speed); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); + std::string getExtendConfig() const; + void setExtendConfig(const std::string &extendConfig); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -56,6 +58,7 @@ private: std::string role_; std::string speed_; std::string accessKeyId_; + std::string extendConfig_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string notifyConfig_; diff --git a/mts/include/alibabacloud/mts/model/AddPipelineResult.h b/mts/include/alibabacloud/mts/model/AddPipelineResult.h index 633e40d86..451638861 100644 --- a/mts/include/alibabacloud/mts/model/AddPipelineResult.h +++ b/mts/include/alibabacloud/mts/model/AddPipelineResult.h @@ -41,6 +41,12 @@ namespace AlibabaCloud std::string topic; std::string queueName; }; + struct ExtendConfig + { + bool isBoostNew; + std::string multiSpeedDowngradePolicy; + int maxMultiSpeed; + }; std::string role; std::string speed; long speedLevel; @@ -48,6 +54,7 @@ namespace AlibabaCloud std::string state; NotifyConfig notifyConfig; std::string id; + ExtendConfig extendConfig; std::string name; }; diff --git a/mts/include/alibabacloud/mts/model/AddSmarttagTemplateRequest.h b/mts/include/alibabacloud/mts/model/AddSmarttagTemplateRequest.h index a6d9abb1b..39d01ac99 100644 --- a/mts/include/alibabacloud/mts/model/AddSmarttagTemplateRequest.h +++ b/mts/include/alibabacloud/mts/model/AddSmarttagTemplateRequest.h @@ -32,39 +32,60 @@ public: ~AddSmarttagTemplateRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getKnowledgeConfig() const; + void setKnowledgeConfig(const std::string &knowledgeConfig); std::string getIndustry() const; void setIndustry(const std::string &industry); + std::string getLabelVersion() const; + void setLabelVersion(const std::string &labelVersion); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); std::string getScene() const; void setScene(const std::string &scene); + std::string getFaceCustomParamsConfig() const; + void setFaceCustomParamsConfig(const std::string &faceCustomParamsConfig); std::string getTemplateName() const; void setTemplateName(const std::string &templateName); bool getIsDefault() const; void setIsDefault(bool isDefault); std::string getFaceCategoryIds() const; void setFaceCategoryIds(const std::string &faceCategoryIds); + std::string getKeywordConfig() const; + void setKeywordConfig(const std::string &keywordConfig); + std::string getLandmarkGroupIds() const; + void setLandmarkGroupIds(const std::string &landmarkGroupIds); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); + std::string getObjectGroupIds() const; + void setObjectGroupIds(const std::string &objectGroupIds); long getOwnerId() const; void setOwnerId(long ownerId); std::string getAnalyseTypes() const; void setAnalyseTypes(const std::string &analyseTypes); + std::string getLabelType() const; + void setLabelType(const std::string &labelType); private: long resourceOwnerId_; + std::string knowledgeConfig_; std::string industry_; + std::string labelVersion_; std::string accessKeyId_; std::string scene_; + std::string faceCustomParamsConfig_; std::string templateName_; bool isDefault_; std::string faceCategoryIds_; + std::string keywordConfig_; + std::string landmarkGroupIds_; std::string resourceOwnerAccount_; std::string ownerAccount_; + std::string objectGroupIds_; long ownerId_; std::string analyseTypes_; + std::string labelType_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/AddTemplateResult.h b/mts/include/alibabacloud/mts/model/AddTemplateResult.h index 914150e34..62735e734 100644 --- a/mts/include/alibabacloud/mts/model/AddTemplateResult.h +++ b/mts/include/alibabacloud/mts/model/AddTemplateResult.h @@ -41,7 +41,15 @@ namespace AlibabaCloud std::string min; std::string max; }; + struct NarrowBand + { + float maxAbrRatio; + std::string version; + float abrmax; + }; + NarrowBand narrowBand; std::string bufsize; + std::string hdr2sdr; std::string qscale; std::string scanMode; std::string preset; @@ -100,8 +108,12 @@ namespace AlibabaCloud { struct Volume { + std::string loudnessRangeTarget; + std::string truePeak; + std::string integratedLoudnessTarget; std::string level; std::string method; + std::string peakLevel; }; std::string codec; std::string qscale; diff --git a/mts/include/alibabacloud/mts/model/AddTerrorismPipelineRequest.h b/mts/include/alibabacloud/mts/model/AddTerrorismPipelineRequest.h deleted file mode 100644 index 7243d7b88..000000000 --- a/mts/include/alibabacloud/mts/model/AddTerrorismPipelineRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDTERRORISMPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDTERRORISMPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT AddTerrorismPipelineRequest : public RpcServiceRequest { -public: - AddTerrorismPipelineRequest(); - ~AddTerrorismPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - int priority_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDTERRORISMPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/AddTerrorismPipelineResult.h b/mts/include/alibabacloud/mts/model/AddTerrorismPipelineResult.h deleted file mode 100644 index fcc3e1980..000000000 --- a/mts/include/alibabacloud/mts/model/AddTerrorismPipelineResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_ADDTERRORISMPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDTERRORISMPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT AddTerrorismPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - AddTerrorismPipelineResult(); - explicit AddTerrorismPipelineResult(const std::string &payload); - ~AddTerrorismPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_ADDTERRORISMPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/BindInputBucketRequest.h b/mts/include/alibabacloud/mts/model/BindInputBucketRequest.h index b15c5db22..731496a9e 100644 --- a/mts/include/alibabacloud/mts/model/BindInputBucketRequest.h +++ b/mts/include/alibabacloud/mts/model/BindInputBucketRequest.h @@ -30,8 +30,12 @@ class ALIBABACLOUD_MTS_EXPORT BindInputBucketRequest : public RpcServiceRequest public: BindInputBucketRequest(); ~BindInputBucketRequest(); + std::string getReferer() const; + void setReferer(const std::string &referer); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getDepositorCredentials() const; + void setDepositorCredentials(const std::string &depositorCredentials); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); std::string getResourceOwnerAccount() const; @@ -46,7 +50,9 @@ public: void setRoleArn(const std::string &roleArn); private: + std::string referer_; long resourceOwnerId_; + std::string depositorCredentials_; std::string accessKeyId_; std::string resourceOwnerAccount_; std::string ownerAccount_; diff --git a/mts/include/alibabacloud/mts/model/BindOutputBucketRequest.h b/mts/include/alibabacloud/mts/model/BindOutputBucketRequest.h index 28582b5b9..521bcdfca 100644 --- a/mts/include/alibabacloud/mts/model/BindOutputBucketRequest.h +++ b/mts/include/alibabacloud/mts/model/BindOutputBucketRequest.h @@ -32,6 +32,8 @@ public: ~BindOutputBucketRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getDepositorCredentials() const; + void setDepositorCredentials(const std::string &depositorCredentials); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); std::string getResourceOwnerAccount() const; @@ -47,6 +49,7 @@ public: private: long resourceOwnerId_; + std::string depositorCredentials_; std::string accessKeyId_; std::string resourceOwnerAccount_; std::string ownerAccount_; diff --git a/mts/include/alibabacloud/mts/model/CancelJobRequest.h b/mts/include/alibabacloud/mts/model/CancelJobRequest.h index 2f681081d..bed2bc9b3 100644 --- a/mts/include/alibabacloud/mts/model/CancelJobRequest.h +++ b/mts/include/alibabacloud/mts/model/CancelJobRequest.h @@ -32,24 +32,24 @@ public: ~CancelJobRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getJobId() const; + void setJobId(const std::string &jobId); 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 getJobId() const; - void setJobId(const std::string &jobId); private: long resourceOwnerId_; + std::string accessKeyId_; + std::string jobId_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; - std::string jobId_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/CategoryTreeRequest.h b/mts/include/alibabacloud/mts/model/CategoryTreeRequest.h deleted file mode 100644 index 3a88862ed..000000000 --- a/mts/include/alibabacloud/mts/model/CategoryTreeRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_CATEGORYTREEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_CATEGORYTREEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT CategoryTreeRequest : public RpcServiceRequest { -public: - CategoryTreeRequest(); - ~CategoryTreeRequest(); - 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: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_CATEGORYTREEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/CategoryTreeResult.h b/mts/include/alibabacloud/mts/model/CategoryTreeResult.h deleted file mode 100644 index 54ad5d7cf..000000000 --- a/mts/include/alibabacloud/mts/model/CategoryTreeResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_CATEGORYTREERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_CATEGORYTREERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT CategoryTreeResult : public ServiceResult - { - public: - - - CategoryTreeResult(); - explicit CategoryTreeResult(const std::string &payload); - ~CategoryTreeResult(); - std::string getCategoryTree()const; - - protected: - void parse(const std::string &payload); - private: - std::string categoryTree_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_CATEGORYTREERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/CheckResourceRequest.h b/mts/include/alibabacloud/mts/model/CheckResourceRequest.h deleted file mode 100644 index ed3261f66..000000000 --- a/mts/include/alibabacloud/mts/model/CheckResourceRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_CHECKRESOURCEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_CHECKRESOURCEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT CheckResourceRequest : public RpcServiceRequest { -public: - CheckResourceRequest(); - ~CheckResourceRequest(); - std::string getCountry() const; - void setCountry(const std::string &country); - long getHid() const; - void setHid(long hid); - long getLevel() const; - void setLevel(long level); - std::string getInvoker() const; - void setInvoker(const std::string &invoker); - std::string getMessage() const; - void setMessage(const std::string &message); - std::string getUrl() const; - void setUrl(const std::string &url); - bool getSuccess() const; - void setSuccess(bool success); - bool getInterrupt() const; - void setInterrupt(bool interrupt); - std::string getGmtWakeup() const; - void setGmtWakeup(const std::string &gmtWakeup); - std::string getPk() const; - void setPk(const std::string &pk); - std::string getBid() const; - void setBid(const std::string &bid); - std::string getPrompt() const; - void setPrompt(const std::string &prompt); - std::string getTaskExtraData() const; - void setTaskExtraData(const std::string &taskExtraData); - std::string getTaskIdentifier() const; - void setTaskIdentifier(const std::string &taskIdentifier); - -private: - std::string country_; - long hid_; - long level_; - std::string invoker_; - std::string message_; - std::string url_; - bool success_; - bool interrupt_; - std::string gmtWakeup_; - std::string pk_; - std::string bid_; - std::string prompt_; - std::string taskExtraData_; - std::string taskIdentifier_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_CHECKRESOURCEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/CheckResourceResult.h b/mts/include/alibabacloud/mts/model/CheckResourceResult.h deleted file mode 100644 index 9a6bb13ce..000000000 --- a/mts/include/alibabacloud/mts/model/CheckResourceResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_CHECKRESOURCERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_CHECKRESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT CheckResourceResult : public ServiceResult - { - public: - - - CheckResourceResult(); - explicit CheckResourceResult(const std::string &payload); - ~CheckResourceResult(); - std::string getGmtWakeup()const; - long getHid()const; - std::string getMessage()const; - std::string getTaskIdentifier()const; - bool getSuccess()const; - std::string getUrl()const; - bool getInterrupt()const; - std::string getInvoker()const; - std::string getTaskExtraData()const; - std::string getCountry()const; - std::string getPrompt()const; - long getLevel()const; - std::string getPk()const; - std::string getBid()const; - - protected: - void parse(const std::string &payload); - private: - std::string gmtWakeup_; - long hid_; - std::string message_; - std::string taskIdentifier_; - bool success_; - std::string url_; - bool interrupt_; - std::string invoker_; - std::string taskExtraData_; - std::string country_; - std::string prompt_; - long level_; - std::string pk_; - std::string bid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_CHECKRESOURCERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportTagJobResultRequest.h b/mts/include/alibabacloud/mts/model/CreateCustomEntityRequest.h similarity index 63% rename from mts/include/alibabacloud/mts/model/ReportTagJobResultRequest.h rename to mts/include/alibabacloud/mts/model/CreateCustomEntityRequest.h index c7133b72b..fdf224d4b 100644 --- a/mts/include/alibabacloud/mts/model/ReportTagJobResultRequest.h +++ b/mts/include/alibabacloud/mts/model/CreateCustomEntityRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTTAGJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTTAGJOBRESULTREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_CREATECUSTOMENTITYREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_CREATECUSTOMENTITYREQUEST_H_ #include #include @@ -26,38 +26,41 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportTagJobResultRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT CreateCustomEntityRequest : public RpcServiceRequest { public: - ReportTagJobResultRequest(); - ~ReportTagJobResultRequest(); + CreateCustomEntityRequest(); + ~CreateCustomEntityRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); - std::string getResult() const; - void setResult(const std::string &result); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getTag() const; - void setTag(const std::string &tag); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); + std::string getCustomEntityName() const; + void setCustomEntityName(const std::string &customEntityName); 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 getCustomEntityInfo() const; + void setCustomEntityInfo(const std::string &customEntityInfo); private: long resourceOwnerId_; std::string accessKeyId_; - std::string result_; - std::string jobId_; - std::string tag_; + std::string algorithm_; + std::string customGroupId_; + std::string customEntityName_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; + std::string customEntityInfo_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTTAGJOBRESULTREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_CREATECUSTOMENTITYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/StopIProductionJobResult.h b/mts/include/alibabacloud/mts/model/CreateCustomEntityResult.h similarity index 68% rename from mts/include/alibabacloud/mts/model/StopIProductionJobResult.h rename to mts/include/alibabacloud/mts/model/CreateCustomEntityResult.h index 31ae4a2b0..0b4f68bd1 100644 --- a/mts/include/alibabacloud/mts/model/StopIProductionJobResult.h +++ b/mts/include/alibabacloud/mts/model/CreateCustomEntityResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_STOPIPRODUCTIONJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_STOPIPRODUCTIONJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_CREATECUSTOMENTITYRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_CREATECUSTOMENTITYRESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT StopIProductionJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT CreateCustomEntityResult : public ServiceResult { public: - StopIProductionJobResult(); - explicit StopIProductionJobResult(const std::string &payload); - ~StopIProductionJobResult(); - std::string getJobId()const; + CreateCustomEntityResult(); + explicit CreateCustomEntityResult(const std::string &payload); + ~CreateCustomEntityResult(); + std::string getCustomEntityId()const; protected: void parse(const std::string &payload); private: - std::string jobId_; + std::string customEntityId_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_STOPIPRODUCTIONJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_CREATECUSTOMENTITYRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddCensorPipelineRequest.h b/mts/include/alibabacloud/mts/model/CreateCustomGroupRequest.h similarity index 66% rename from mts/include/alibabacloud/mts/model/AddCensorPipelineRequest.h rename to mts/include/alibabacloud/mts/model/CreateCustomGroupRequest.h index 12c49f091..1739564e7 100644 --- a/mts/include/alibabacloud/mts/model/AddCensorPipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/CreateCustomGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_ADDCENSORPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDCENSORPIPELINEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_CREATECUSTOMGROUPREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_CREATECUSTOMGROUPREQUEST_H_ #include #include @@ -26,38 +26,38 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT AddCensorPipelineRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT CreateCustomGroupRequest : public RpcServiceRequest { public: - AddCensorPipelineRequest(); - ~AddCensorPipelineRequest(); + CreateCustomGroupRequest(); + ~CreateCustomGroupRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); + std::string getCustomGroupName() const; + void setCustomGroupName(const std::string &customGroupName); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); long getOwnerId() const; void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getName() const; - void setName(const std::string &name); + std::string getCustomGroupDescription() const; + void setCustomGroupDescription(const std::string &customGroupDescription); private: long resourceOwnerId_; std::string accessKeyId_; + std::string customGroupName_; + std::string algorithm_; std::string resourceOwnerAccount_; std::string ownerAccount_; - std::string notifyConfig_; long ownerId_; - int priority_; - std::string name_; + std::string customGroupDescription_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDCENSORPIPELINEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_CREATECUSTOMGROUPREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/CreateMcuTemplateResult.h b/mts/include/alibabacloud/mts/model/CreateCustomGroupResult.h similarity index 68% rename from mts/include/alibabacloud/mts/model/CreateMcuTemplateResult.h rename to mts/include/alibabacloud/mts/model/CreateCustomGroupResult.h index a79a7d0fb..2752bd175 100644 --- a/mts/include/alibabacloud/mts/model/CreateMcuTemplateResult.h +++ b/mts/include/alibabacloud/mts/model/CreateCustomGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATERESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_CREATECUSTOMGROUPRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_CREATECUSTOMGROUPRESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT CreateMcuTemplateResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT CreateCustomGroupResult : public ServiceResult { public: - CreateMcuTemplateResult(); - explicit CreateMcuTemplateResult(const std::string &payload); - ~CreateMcuTemplateResult(); - std::string getTemplateId()const; + CreateCustomGroupResult(); + explicit CreateCustomGroupResult(const std::string &payload); + ~CreateCustomGroupResult(); + std::string getCustomGroupId()const; protected: void parse(const std::string &payload); private: - std::string templateId_; + std::string customGroupId_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_CREATECUSTOMGROUPRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/CreateFpShotDBRequest.h b/mts/include/alibabacloud/mts/model/CreateFpShotDBRequest.h index 8a7ee7fcc..4679d1976 100644 --- a/mts/include/alibabacloud/mts/model/CreateFpShotDBRequest.h +++ b/mts/include/alibabacloud/mts/model/CreateFpShotDBRequest.h @@ -44,6 +44,8 @@ public: void setOwnerAccount(const std::string &ownerAccount); long getOwnerId() const; void setOwnerId(long ownerId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); std::string getName() const; void setName(const std::string &name); std::string getConfig() const; @@ -57,6 +59,7 @@ private: int modelId_; std::string ownerAccount_; long ownerId_; + std::string instanceId_; std::string name_; std::string config_; }; diff --git a/mts/include/alibabacloud/mts/model/CreateFpShotDBResult.h b/mts/include/alibabacloud/mts/model/CreateFpShotDBResult.h index 4d309e597..50ee0305d 100644 --- a/mts/include/alibabacloud/mts/model/CreateFpShotDBResult.h +++ b/mts/include/alibabacloud/mts/model/CreateFpShotDBResult.h @@ -35,6 +35,7 @@ namespace AlibabaCloud struct FpShotDB { std::string description; + std::string instanceId; std::string state; std::string config; std::string fpDBId; diff --git a/mts/include/alibabacloud/mts/model/CreateSessionRequest.h b/mts/include/alibabacloud/mts/model/CreateSessionRequest.h deleted file mode 100644 index 0d9424972..000000000 --- a/mts/include/alibabacloud/mts/model/CreateSessionRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_CREATESESSIONREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_CREATESESSIONREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT CreateSessionRequest : public RpcServiceRequest { -public: - CreateSessionRequest(); - ~CreateSessionRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - int getSessionTime() const; - void setSessionTime(int sessionTime); - std::string getEndUserId() const; - void setEndUserId(const std::string &endUserId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getMediaId() const; - void setMediaId(const std::string &mediaId); - -private: - std::string resourceOwnerId_; - std::string accessKeyId_; - int sessionTime_; - std::string endUserId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_CREATESESSIONREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/CreateSessionResult.h b/mts/include/alibabacloud/mts/model/CreateSessionResult.h deleted file mode 100644 index 9cd887c60..000000000 --- a/mts/include/alibabacloud/mts/model/CreateSessionResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_CREATESESSIONRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_CREATESESSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT CreateSessionResult : public ServiceResult - { - public: - - - CreateSessionResult(); - explicit CreateSessionResult(const std::string &payload); - ~CreateSessionResult(); - std::string getTicket()const; - std::string getSessionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string ticket_; - std::string sessionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_CREATESESSIONRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DecryptKeyRequest.h b/mts/include/alibabacloud/mts/model/DecryptKeyRequest.h deleted file mode 100644 index 4a9a93573..000000000 --- a/mts/include/alibabacloud/mts/model/DecryptKeyRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DECRYPTKEYREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DECRYPTKEYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT DecryptKeyRequest : public RpcServiceRequest { -public: - DecryptKeyRequest(); - ~DecryptKeyRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getRand() const; - void setRand(const std::string &rand); - std::string getCiphertextBlob() const; - void setCiphertextBlob(const std::string &ciphertextBlob); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - -private: - std::string resourceOwnerId_; - std::string accessKeyId_; - std::string rand_; - std::string ciphertextBlob_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DECRYPTKEYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/DecryptKeyResult.h b/mts/include/alibabacloud/mts/model/DecryptKeyResult.h deleted file mode 100644 index 752ecaed2..000000000 --- a/mts/include/alibabacloud/mts/model/DecryptKeyResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DECRYPTKEYRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DECRYPTKEYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT DecryptKeyResult : public ServiceResult - { - public: - - - DecryptKeyResult(); - explicit DecryptKeyResult(const std::string &payload); - ~DecryptKeyResult(); - std::string getRand()const; - std::string getPlaintext()const; - - protected: - void parse(const std::string &payload); - private: - std::string rand_; - std::string plaintext_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_DECRYPTKEYRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DeleteCategoryRequest.h b/mts/include/alibabacloud/mts/model/DeleteCategoryRequest.h deleted file mode 100644 index 8c41ea06c..000000000 --- a/mts/include/alibabacloud/mts/model/DeleteCategoryRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DELETECATEGORYREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETECATEGORYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT DeleteCategoryRequest : public RpcServiceRequest { -public: - DeleteCategoryRequest(); - ~DeleteCategoryRequest(); - 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); - long getCateId() const; - void setCateId(long cateId); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - long cateId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DELETECATEGORYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListCensorPipelineRequest.h b/mts/include/alibabacloud/mts/model/DeleteCustomEntityRequest.h similarity index 67% rename from mts/include/alibabacloud/mts/model/ListCensorPipelineRequest.h rename to mts/include/alibabacloud/mts/model/DeleteCustomEntityRequest.h index 1c988642c..0aee408e5 100644 --- a/mts/include/alibabacloud/mts/model/ListCensorPipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/DeleteCustomEntityRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_LISTCENSORPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTCENSORPIPELINEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_DELETECUSTOMENTITYREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_DELETECUSTOMENTITYREQUEST_H_ #include #include @@ -26,38 +26,38 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListCensorPipelineRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT DeleteCustomEntityRequest : public RpcServiceRequest { public: - ListCensorPipelineRequest(); - ~ListCensorPipelineRequest(); + DeleteCustomEntityRequest(); + ~DeleteCustomEntityRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); - long getPageNumber() const; - void setPageNumber(long pageNumber); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); - long getPageSize() const; - void setPageSize(long pageSize); - std::string getState() const; - void setState(const std::string &state); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); + std::string getCustomEntityId() const; + void setCustomEntityId(const std::string &customEntityId); long getOwnerId() const; void setOwnerId(long ownerId); private: long resourceOwnerId_; - long pageNumber_; std::string accessKeyId_; - long pageSize_; - std::string state_; + std::string algorithm_; + std::string customGroupId_; std::string resourceOwnerAccount_; std::string ownerAccount_; + std::string customEntityId_; long ownerId_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTCENSORPIPELINEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_DELETECUSTOMENTITYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateCategoryNameResult.h b/mts/include/alibabacloud/mts/model/DeleteCustomEntityResult.h similarity index 72% rename from mts/include/alibabacloud/mts/model/UpdateCategoryNameResult.h rename to mts/include/alibabacloud/mts/model/DeleteCustomEntityResult.h index 7ab412b15..772f33173 100644 --- a/mts/include/alibabacloud/mts/model/UpdateCategoryNameResult.h +++ b/mts/include/alibabacloud/mts/model/DeleteCustomEntityResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATECATEGORYNAMERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATECATEGORYNAMERESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_DELETECUSTOMENTITYRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_DELETECUSTOMENTITYRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT UpdateCategoryNameResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT DeleteCustomEntityResult : public ServiceResult { public: - UpdateCategoryNameResult(); - explicit UpdateCategoryNameResult(const std::string &payload); - ~UpdateCategoryNameResult(); + DeleteCustomEntityResult(); + explicit DeleteCustomEntityResult(const std::string &payload); + ~DeleteCustomEntityResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATECATEGORYNAMERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_DELETECUSTOMENTITYRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/CreateMcuTemplateRequest.h b/mts/include/alibabacloud/mts/model/DeleteCustomGroupRequest.h similarity index 72% rename from mts/include/alibabacloud/mts/model/CreateMcuTemplateRequest.h rename to mts/include/alibabacloud/mts/model/DeleteCustomGroupRequest.h index feac04895..6d154bdcc 100644 --- a/mts/include/alibabacloud/mts/model/CreateMcuTemplateRequest.h +++ b/mts/include/alibabacloud/mts/model/DeleteCustomGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_DELETECUSTOMGROUPREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_DELETECUSTOMGROUPREQUEST_H_ #include #include @@ -26,32 +26,35 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT CreateMcuTemplateRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT DeleteCustomGroupRequest : public RpcServiceRequest { public: - CreateMcuTemplateRequest(); - ~CreateMcuTemplateRequest(); - std::string get_Template() const; - void set_Template(const std::string &_template); + DeleteCustomGroupRequest(); + ~DeleteCustomGroupRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); 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 accessKeyId_; + std::string algorithm_; + std::string customGroupId_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_CREATEMCUTEMPLATEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_DELETECUSTOMGROUPREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/GetLicenseResult.h b/mts/include/alibabacloud/mts/model/DeleteCustomGroupResult.h similarity index 70% rename from mts/include/alibabacloud/mts/model/GetLicenseResult.h rename to mts/include/alibabacloud/mts/model/DeleteCustomGroupResult.h index e4bc401b9..46c7631e7 100644 --- a/mts/include/alibabacloud/mts/model/GetLicenseResult.h +++ b/mts/include/alibabacloud/mts/model/DeleteCustomGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_GETLICENSERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_GETLICENSERESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_DELETECUSTOMGROUPRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_DELETECUSTOMGROUPRESULT_H_ #include #include @@ -29,23 +29,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT GetLicenseResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT DeleteCustomGroupResult : public ServiceResult { public: - GetLicenseResult(); - explicit GetLicenseResult(const std::string &payload); - ~GetLicenseResult(); - std::string getLicense()const; + DeleteCustomGroupResult(); + explicit DeleteCustomGroupResult(const std::string &payload); + ~DeleteCustomGroupResult(); protected: void parse(const std::string &payload); private: - std::string license_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_GETLICENSERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_DELETECUSTOMGROUPRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListPornPipelineRequest.h b/mts/include/alibabacloud/mts/model/DeleteCustomViewRequest.h similarity index 64% rename from mts/include/alibabacloud/mts/model/ListPornPipelineRequest.h rename to mts/include/alibabacloud/mts/model/DeleteCustomViewRequest.h index e4f4bbd37..053a25c81 100644 --- a/mts/include/alibabacloud/mts/model/ListPornPipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/DeleteCustomViewRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_LISTPORNPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTPORNPIPELINEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_DELETECUSTOMVIEWREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_DELETECUSTOMVIEWREQUEST_H_ #include #include @@ -26,38 +26,41 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListPornPipelineRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT DeleteCustomViewRequest : public RpcServiceRequest { public: - ListPornPipelineRequest(); - ~ListPornPipelineRequest(); + DeleteCustomViewRequest(); + ~DeleteCustomViewRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); - long getPageNumber() const; - void setPageNumber(long pageNumber); + std::string getCustomViewId() const; + void setCustomViewId(const std::string &customViewId); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); - long getPageSize() const; - void setPageSize(long pageSize); - std::string getState() const; - void setState(const std::string &state); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); + std::string getCustomEntityId() const; + void setCustomEntityId(const std::string &customEntityId); long getOwnerId() const; void setOwnerId(long ownerId); private: long resourceOwnerId_; - long pageNumber_; + std::string customViewId_; std::string accessKeyId_; - long pageSize_; - std::string state_; + std::string algorithm_; + std::string customGroupId_; std::string resourceOwnerAccount_; std::string ownerAccount_; + std::string customEntityId_; long ownerId_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTPORNPIPELINEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_DELETECUSTOMVIEWREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/DeleteCategoryResult.h b/mts/include/alibabacloud/mts/model/DeleteCustomViewResult.h similarity index 71% rename from mts/include/alibabacloud/mts/model/DeleteCategoryResult.h rename to mts/include/alibabacloud/mts/model/DeleteCustomViewResult.h index 3c828aff4..f596b5e63 100644 --- a/mts/include/alibabacloud/mts/model/DeleteCategoryResult.h +++ b/mts/include/alibabacloud/mts/model/DeleteCustomViewResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_DELETECATEGORYRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETECATEGORYRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_DELETECUSTOMVIEWRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_DELETECUSTOMVIEWRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT DeleteCategoryResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT DeleteCustomViewResult : public ServiceResult { public: - DeleteCategoryResult(); - explicit DeleteCategoryResult(const std::string &payload); - ~DeleteCategoryResult(); + DeleteCustomViewResult(); + explicit DeleteCustomViewResult(const std::string &payload); + ~DeleteCustomViewResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_MTS_MODEL_DELETECATEGORYRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_DELETECUSTOMVIEWRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DeleteMCTemplateResult.h b/mts/include/alibabacloud/mts/model/DeleteMCTemplateResult.h deleted file mode 100644 index 99f3938f1..000000000 --- a/mts/include/alibabacloud/mts/model/DeleteMCTemplateResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DeleteMcuJobRequest.h b/mts/include/alibabacloud/mts/model/DeleteMcuJobRequest.h deleted file mode 100644 index b9cd079a9..000000000 --- a/mts/include/alibabacloud/mts/model/DeleteMcuJobRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -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); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/DeleteMcuJobResult.h b/mts/include/alibabacloud/mts/model/DeleteMcuJobResult.h deleted file mode 100644 index 7ff679e62..000000000 --- a/mts/include/alibabacloud/mts/model/DeleteMcuJobResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT DeleteMcuJobResult : public ServiceResult - { - public: - - - DeleteMcuJobResult(); - explicit DeleteMcuJobResult(const std::string &payload); - ~DeleteMcuJobResult(); - std::vector getNonExistJobIds()const; - std::vector getDeletedJobIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistJobIds_; - std::vector deletedJobIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DeleteMcuTemplateRequest.h b/mts/include/alibabacloud/mts/model/DeleteMcuTemplateRequest.h deleted file mode 100644 index c579569de..000000000 --- a/mts/include/alibabacloud/mts/model/DeleteMcuTemplateRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATEREQUEST_H_ - -#include -#include -#include -#include -#include - -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_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/DeleteMcuTemplateResult.h b/mts/include/alibabacloud/mts/model/DeleteMcuTemplateResult.h deleted file mode 100644 index fe9f0dc4f..000000000 --- a/mts/include/alibabacloud/mts/model/DeleteMcuTemplateResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETEMCUTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageRequest.h b/mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageRequest.h deleted file mode 100644 index d9e19faa0..000000000 --- a/mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DESCRIBEMTSUSERRESOURCEPACKAGEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DESCRIBEMTSUSERRESOURCEPACKAGEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT DescribeMtsUserResourcePackageRequest : public RpcServiceRequest { -public: - DescribeMtsUserResourcePackageRequest(); - ~DescribeMtsUserResourcePackageRequest(); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getSecurityToken() const; - void setSecurityToken(const std::string &securityToken); - std::string getShowLog() const; - void setShowLog(const std::string &showLog); - -private: - long ownerId_; - std::string securityToken_; - std::string showLog_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DESCRIBEMTSUSERRESOURCEPACKAGEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageResult.h b/mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageResult.h deleted file mode 100644 index b694b324c..000000000 --- a/mts/include/alibabacloud/mts/model/DescribeMtsUserResourcePackageResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DESCRIBEMTSUSERRESOURCEPACKAGERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DESCRIBEMTSUSERRESOURCEPACKAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT DescribeMtsUserResourcePackageResult : public ServiceResult - { - public: - struct ResourcePackageInfo - { - std::string status; - std::string initCapacity; - std::string instanceId; - std::string displayName; - std::string commodityCode; - std::string currCapacity; - }; - - - DescribeMtsUserResourcePackageResult(); - explicit DescribeMtsUserResourcePackageResult(const std::string &payload); - ~DescribeMtsUserResourcePackageResult(); - std::vector getResourcePackageInfos()const; - - protected: - void parse(const std::string &payload); - private: - std::vector resourcePackageInfos_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_DESCRIBEMTSUSERRESOURCEPACKAGERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DetectImageSyncRequest.h b/mts/include/alibabacloud/mts/model/DetectImageSyncRequest.h deleted file mode 100644 index 28fdf7278..000000000 --- a/mts/include/alibabacloud/mts/model/DetectImageSyncRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_DETECTIMAGESYNCREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DETECTIMAGESYNCREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT DetectImageSyncRequest : public RpcServiceRequest { -public: - DetectImageSyncRequest(); - ~DetectImageSyncRequest(); - std::string getImage() const; - void setImage(const std::string &image); - -private: - std::string image_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DETECTIMAGESYNCREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/GetJobInfoResult.h b/mts/include/alibabacloud/mts/model/GetJobInfoResult.h deleted file mode 100644 index 1fca36b68..000000000 --- a/mts/include/alibabacloud/mts/model/GetJobInfoResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_GETJOBINFORESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_GETJOBINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT GetJobInfoResult : public ServiceResult - { - public: - struct MtsTransferJob - { - std::string jobType; - std::string modifiedTime; - std::string userData; - std::string extend; - std::string requestJson; - std::string state; - std::string createTime; - std::string errorCode; - std::string errorMessage; - std::string finishedTime; - std::string jobId; - }; - - - GetJobInfoResult(); - explicit GetJobInfoResult(const std::string &payload); - ~GetJobInfoResult(); - MtsTransferJob getMtsTransferJob()const; - - protected: - void parse(const std::string &payload); - private: - MtsTransferJob mtsTransferJob_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_GETJOBINFORESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/GetLicenseRequest.h b/mts/include/alibabacloud/mts/model/GetLicenseRequest.h deleted file mode 100644 index 128ad0e4e..000000000 --- a/mts/include/alibabacloud/mts/model/GetLicenseRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_GETLICENSEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_GETLICENSEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT GetLicenseRequest : public RpcServiceRequest { -public: - GetLicenseRequest(); - ~GetLicenseRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getData() const; - void setData(const std::string &data); - std::string getType() const; - void setType(const std::string &type); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getMediaId() const; - void setMediaId(const std::string &mediaId); - std::string getHeader() const; - void setHeader(const std::string &header); - std::string getLicenseUrl() const; - void setLicenseUrl(const std::string &licenseUrl); - -private: - std::string resourceOwnerId_; - std::string data_; - std::string type_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - std::string header_; - std::string licenseUrl_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_GETLICENSEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/GetPackageRequest.h b/mts/include/alibabacloud/mts/model/GetPackageRequest.h deleted file mode 100644 index 9a1e9fdef..000000000 --- a/mts/include/alibabacloud/mts/model/GetPackageRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_GETPACKAGEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_GETPACKAGEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT GetPackageRequest : public RpcServiceRequest { -public: - GetPackageRequest(); - ~GetPackageRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getData() const; - void setData(const std::string &data); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - -private: - std::string resourceOwnerId_; - std::string data_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_GETPACKAGEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/GetPackageResult.h b/mts/include/alibabacloud/mts/model/GetPackageResult.h deleted file mode 100644 index 14774727d..000000000 --- a/mts/include/alibabacloud/mts/model/GetPackageResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_GETPACKAGERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_GETPACKAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT GetPackageResult : public ServiceResult - { - public: - - - GetPackageResult(); - explicit GetPackageResult(const std::string &payload); - ~GetPackageResult(); - std::string getCertPackage()const; - - protected: - void parse(const std::string &payload); - private: - std::string certPackage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_GETPACKAGERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitInnerJobRequest.h b/mts/include/alibabacloud/mts/model/ImAuditRequest.h similarity index 67% rename from mts/include/alibabacloud/mts/model/SubmitInnerJobRequest.h rename to mts/include/alibabacloud/mts/model/ImAuditRequest.h index 4791a6d18..05f503c67 100644 --- a/mts/include/alibabacloud/mts/model/SubmitInnerJobRequest.h +++ b/mts/include/alibabacloud/mts/model/ImAuditRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITINNERJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITINNERJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_IMAUDITREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_IMAUDITREQUEST_H_ #include #include @@ -26,41 +26,38 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitInnerJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT ImAuditRequest : public RpcServiceRequest { public: - SubmitInnerJobRequest(); - ~SubmitInnerJobRequest(); + ImAuditRequest(); + ~ImAuditRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); - std::string getVideo() const; - void setVideo(const std::string &video); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); - long getUid() const; - void setUid(long uid); std::string getImages() const; void setImages(const std::string &images); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); long getOwnerId() const; void setOwnerId(long ownerId); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getConfig() const; - void setConfig(const std::string &config); + std::string getBizType() const; + void setBizType(const std::string &bizType); + std::string getContents() const; + void setContents(const std::string &contents); + std::string getScenes() const; + void setScenes(const std::string &scenes); private: long resourceOwnerId_; - std::string video_; std::string accessKeyId_; - long uid_; std::string images_; std::string resourceOwnerAccount_; long ownerId_; - std::string pipelineId_; - std::string config_; + std::string bizType_; + std::string contents_; + std::string scenes_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITINNERJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_IMAUDITREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ImAuditResult.h b/mts/include/alibabacloud/mts/model/ImAuditResult.h new file mode 100644 index 000000000..2f3f02200 --- /dev/null +++ b/mts/include/alibabacloud/mts/model/ImAuditResult.h @@ -0,0 +1,167 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_IMAUDITRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_IMAUDITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Mts + { + namespace Model + { + class ALIBABACLOUD_MTS_EXPORT ImAuditResult : public ServiceResult + { + public: + struct ImageResults + { + struct ResultItem + { + struct Result + { + struct HintWordsInfoItem + { + std::string context; + }; + struct QrcodeLocationsItem + { + std::string qrcode; + float w; + float x; + float h; + float y; + }; + struct ProgramCodeDataItem + { + float w; + float x; + float h; + float y; + }; + struct LogoDataItem + { + std::string type; + float w; + float x; + float h; + float y; + std::string name; + }; + struct SfaceDataItem + { + struct FacesItem + { + float re; + std::string idid; + std::string name; + }; + float w; + float x; + float h; + float y; + std::vector faces; + }; + struct FramesItem + { + float rate; + std::string url; + }; + std::string suggestion; + std::vector frames; + std::vector qrcodeLocations; + double rate; + std::vector logoData; + std::string label; + std::vector hintWordsInfo; + std::vector programCodeData; + std::vector qrcodeData; + std::vector ocrData; + std::vector sfaceData; + std::string scene; + }; + std::string msg; + std::string dataId; + std::string taskId; + std::string extras; + std::vector results; + long code; + std::string url; + }; + std::vector result; + }; + struct TextResults + { + struct ResultItem2 + { + struct Result4 + { + struct DetailsItem + { + struct ContextsItem + { + std::string context; + std::string libName; + std::vector positions; + std::string libCode; + std::string ruleType; + }; + std::string label; + std::vector contexts; + }; + std::string suggestion; + double rate; + std::string label; + std::vector details; + std::string scene; + }; + std::string msg; + std::vector results3; + std::string dataId; + std::string taskId; + std::string content; + long code; + }; + std::vector result1; + }; + + + ImAuditResult(); + explicit ImAuditResult(const std::string &payload); + ~ImAuditResult(); + bool getTextQuotaExceed()const; + bool getImageQuotaExceed()const; + ImageResults getImageResults()const; + TextResults getTextResults()const; + + protected: + void parse(const std::string &payload); + private: + bool textQuotaExceed_; + bool imageQuotaExceed_; + ImageResults imageResults_; + TextResults textResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_MTS_MODEL_IMAUDITRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobRequest.h b/mts/include/alibabacloud/mts/model/ImportFpShotJobRequest.h similarity index 75% rename from mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobRequest.h rename to mts/include/alibabacloud/mts/model/ImportFpShotJobRequest.h index 3af0bbac9..bcd1dac97 100644 --- a/mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobRequest.h +++ b/mts/include/alibabacloud/mts/model/ImportFpShotJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_IMPORTFPSHOTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_IMPORTFPSHOTJOBREQUEST_H_ #include #include @@ -26,10 +26,10 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitMediaFpDeleteJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT ImportFpShotJobRequest : public RpcServiceRequest { public: - SubmitMediaFpDeleteJobRequest(); - ~SubmitMediaFpDeleteJobRequest(); + ImportFpShotJobRequest(); + ~ImportFpShotJobRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); std::string getFpDBId() const; @@ -38,29 +38,32 @@ public: void setAccessKeyId(const std::string &accessKeyId); std::string getUserData() const; void setUserData(const std::string &userData); - std::string getPrimaryKey() const; - void setPrimaryKey(const std::string &primaryKey); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getFpImportConfig() const; + void setFpImportConfig(const std::string &fpImportConfig); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); long getOwnerId() const; void setOwnerId(long ownerId); std::string getPipelineId() const; void setPipelineId(const std::string &pipelineId); + std::string getInput() const; + void setInput(const std::string &input); private: long resourceOwnerId_; std::string fpDBId_; std::string accessKeyId_; std::string userData_; - std::string primaryKey_; std::string resourceOwnerAccount_; + std::string fpImportConfig_; std::string ownerAccount_; long ownerId_; std::string pipelineId_; + std::string input_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_IMPORTFPSHOTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitInnerJobResult.h b/mts/include/alibabacloud/mts/model/ImportFpShotJobResult.h similarity index 72% rename from mts/include/alibabacloud/mts/model/SubmitInnerJobResult.h rename to mts/include/alibabacloud/mts/model/ImportFpShotJobResult.h index 5bec8ceca..8f42c61fe 100644 --- a/mts/include/alibabacloud/mts/model/SubmitInnerJobResult.h +++ b/mts/include/alibabacloud/mts/model/ImportFpShotJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITINNERJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITINNERJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_IMPORTFPSHOTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_IMPORTFPSHOTJOBRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT SubmitInnerJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT ImportFpShotJobResult : public ServiceResult { public: - SubmitInnerJobResult(); - explicit SubmitInnerJobResult(const std::string &payload); - ~SubmitInnerJobResult(); + ImportFpShotJobResult(); + explicit ImportFpShotJobResult(const std::string &payload); + ~ImportFpShotJobResult(); std::string getJobId()const; protected: @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITINNERJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_IMPORTFPSHOTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListAllCategoryRequest.h b/mts/include/alibabacloud/mts/model/ListAllCategoryRequest.h deleted file mode 100644 index bd1fd9f48..000000000 --- a/mts/include/alibabacloud/mts/model/ListAllCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTALLCATEGORYREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTALLCATEGORYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListAllCategoryRequest : public RpcServiceRequest { -public: - ListAllCategoryRequest(); - ~ListAllCategoryRequest(); - 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: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTALLCATEGORYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListAllCategoryResult.h b/mts/include/alibabacloud/mts/model/ListAllCategoryResult.h deleted file mode 100644 index a7d8b5f2e..000000000 --- a/mts/include/alibabacloud/mts/model/ListAllCategoryResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTALLCATEGORYRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTALLCATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListAllCategoryResult : public ServiceResult - { - public: - struct Category - { - std::string parentId; - std::string level; - std::string cateName; - std::string cateId; - }; - - - ListAllCategoryResult(); - explicit ListAllCategoryResult(const std::string &payload); - ~ListAllCategoryResult(); - std::vector getCategoryList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector categoryList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTALLCATEGORYRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListAllMediaBucketResult.h b/mts/include/alibabacloud/mts/model/ListAllMediaBucketResult.h index f040f267d..2c2c2e2ef 100644 --- a/mts/include/alibabacloud/mts/model/ListAllMediaBucketResult.h +++ b/mts/include/alibabacloud/mts/model/ListAllMediaBucketResult.h @@ -36,6 +36,7 @@ namespace AlibabaCloud { std::string type; std::string bucket; + std::string referer; }; diff --git a/mts/include/alibabacloud/mts/model/ListAsrPipelineRequest.h b/mts/include/alibabacloud/mts/model/ListAsrPipelineRequest.h deleted file mode 100644 index 99cd4b462..000000000 --- a/mts/include/alibabacloud/mts/model/ListAsrPipelineRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTASRPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTASRPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListAsrPipelineRequest : public RpcServiceRequest { -public: - ListAsrPipelineRequest(); - ~ListAsrPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - long getPageNumber() const; - void setPageNumber(long pageNumber); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getPageSize() const; - void setPageSize(long pageSize); - std::string getState() const; - void setState(const std::string &state); - 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); - -private: - long resourceOwnerId_; - long pageNumber_; - std::string accessKeyId_; - long pageSize_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTASRPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListAsrPipelineResult.h b/mts/include/alibabacloud/mts/model/ListAsrPipelineResult.h deleted file mode 100644 index c045f1811..000000000 --- a/mts/include/alibabacloud/mts/model/ListAsrPipelineResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTASRPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTASRPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListAsrPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queueName; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - ListAsrPipelineResult(); - explicit ListAsrPipelineResult(const std::string &payload); - ~ListAsrPipelineResult(); - long getTotalCount()const; - long getPageSize()const; - long getPageNumber()const; - std::vector getPipelineList()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - long pageSize_; - long pageNumber_; - std::vector pipelineList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTASRPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListCensorPipelineResult.h b/mts/include/alibabacloud/mts/model/ListCensorPipelineResult.h deleted file mode 100644 index 4bf116389..000000000 --- a/mts/include/alibabacloud/mts/model/ListCensorPipelineResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTCENSORPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTCENSORPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListCensorPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - ListCensorPipelineResult(); - explicit ListCensorPipelineResult(const std::string &payload); - ~ListCensorPipelineResult(); - long getTotalCount()const; - long getPageSize()const; - long getPageNumber()const; - std::vector getPipelineList()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - long pageSize_; - long pageNumber_; - std::vector pipelineList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTCENSORPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListCoverPipelineRequest.h b/mts/include/alibabacloud/mts/model/ListCoverPipelineRequest.h deleted file mode 100644 index b71de5b4f..000000000 --- a/mts/include/alibabacloud/mts/model/ListCoverPipelineRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTCOVERPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTCOVERPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListCoverPipelineRequest : public RpcServiceRequest { -public: - ListCoverPipelineRequest(); - ~ListCoverPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - long getPageNumber() const; - void setPageNumber(long pageNumber); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getPageSize() const; - void setPageSize(long pageSize); - std::string getState() const; - void setState(const std::string &state); - 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); - -private: - long resourceOwnerId_; - long pageNumber_; - std::string accessKeyId_; - long pageSize_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTCOVERPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListCoverPipelineResult.h b/mts/include/alibabacloud/mts/model/ListCoverPipelineResult.h deleted file mode 100644 index 85ef3db04..000000000 --- a/mts/include/alibabacloud/mts/model/ListCoverPipelineResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTCOVERPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTCOVERPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListCoverPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - std::string role; - int quotaUsed; - std::string state; - long userId; - std::string priority; - std::string pipelineId; - std::string notifyConfig; - int quotaNum; - std::string extendConfig; - std::string name; - }; - - - ListCoverPipelineResult(); - explicit ListCoverPipelineResult(const std::string &payload); - ~ListCoverPipelineResult(); - long getTotalCount()const; - long getPageSize()const; - long getPageNumber()const; - std::vector getPipelineList()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - long pageSize_; - long pageNumber_; - std::vector pipelineList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTCOVERPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryCensorJobListRequest.h b/mts/include/alibabacloud/mts/model/ListCustomEntitiesRequest.h similarity index 66% rename from mts/include/alibabacloud/mts/model/QueryCensorJobListRequest.h rename to mts/include/alibabacloud/mts/model/ListCustomEntitiesRequest.h index 8fe1089b1..8ea7bec93 100644 --- a/mts/include/alibabacloud/mts/model/QueryCensorJobListRequest.h +++ b/mts/include/alibabacloud/mts/model/ListCustomEntitiesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCENSORJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCENSORJOBLISTREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTCUSTOMENTITIESREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTCUSTOMENTITIESREQUEST_H_ #include #include @@ -26,32 +26,41 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryCensorJobListRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT ListCustomEntitiesRequest : public RpcServiceRequest { public: - QueryCensorJobListRequest(); - ~QueryCensorJobListRequest(); + ListCustomEntitiesRequest(); + ~ListCustomEntitiesRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); 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 getJobIds() const; - void setJobIds(const std::string &jobIds); private: long resourceOwnerId_; + int pageNumber_; + std::string accessKeyId_; + int pageSize_; + std::string algorithm_; + std::string customGroupId_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; - std::string jobIds_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCENSORJOBLISTREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_LISTCUSTOMENTITIESREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdatePornPipelineResult.h b/mts/include/alibabacloud/mts/model/ListCustomEntitiesResult.h similarity index 56% rename from mts/include/alibabacloud/mts/model/UpdatePornPipelineResult.h rename to mts/include/alibabacloud/mts/model/ListCustomEntitiesResult.h index 740a306b0..86f334a0c 100644 --- a/mts/include/alibabacloud/mts/model/UpdatePornPipelineResult.h +++ b/mts/include/alibabacloud/mts/model/ListCustomEntitiesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEPORNPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEPORNPIPELINERESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTCUSTOMENTITIESRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTCUSTOMENTITIESRESULT_H_ #include #include @@ -29,36 +29,35 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT UpdatePornPipelineResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT ListCustomEntitiesResult : public ServiceResult { public: - struct Pipeline + struct CustomEntity { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; + std::string customEntityInfo; + std::string customEntityId; + std::string customEntityName; }; - UpdatePornPipelineResult(); - explicit UpdatePornPipelineResult(const std::string &payload); - ~UpdatePornPipelineResult(); - Pipeline getPipeline()const; + ListCustomEntitiesResult(); + explicit ListCustomEntitiesResult(const std::string &payload); + ~ListCustomEntitiesResult(); + long getTotalCount()const; + std::vector getCustomEntities()const; + int getPageSize()const; + int getPageNumber()const; protected: void parse(const std::string &payload); private: - Pipeline pipeline_; + long totalCount_; + std::vector customEntities_; + int pageSize_; + int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEPORNPIPELINERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_LISTCUSTOMENTITIESRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/DeleteMCTemplateRequest.h b/mts/include/alibabacloud/mts/model/ListCustomGroupsRequest.h similarity index 71% rename from mts/include/alibabacloud/mts/model/DeleteMCTemplateRequest.h rename to mts/include/alibabacloud/mts/model/ListCustomGroupsRequest.h index e6b2bc00d..cab81431e 100644 --- a/mts/include/alibabacloud/mts/model/DeleteMCTemplateRequest.h +++ b/mts/include/alibabacloud/mts/model/ListCustomGroupsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTCUSTOMGROUPSREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTCUSTOMGROUPSREQUEST_H_ #include #include @@ -26,32 +26,38 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT DeleteMCTemplateRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT ListCustomGroupsRequest : public RpcServiceRequest { public: - DeleteMCTemplateRequest(); - ~DeleteMCTemplateRequest(); + ListCustomGroupsRequest(); + ~ListCustomGroupsRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); 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_; + int pageNumber_; + std::string accessKeyId_; + int pageSize_; + std::string algorithm_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string templateId_; - std::string accessKeyId_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_DELETEMCTEMPLATEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_LISTCUSTOMGROUPSREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMcuTemplateResult.h b/mts/include/alibabacloud/mts/model/ListCustomGroupsResult.h similarity index 56% rename from mts/include/alibabacloud/mts/model/QueryMcuTemplateResult.h rename to mts/include/alibabacloud/mts/model/ListCustomGroupsResult.h index 308054f7c..8902bd031 100644 --- a/mts/include/alibabacloud/mts/model/QueryMcuTemplateResult.h +++ b/mts/include/alibabacloud/mts/model/ListCustomGroupsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTCUSTOMGROUPSRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTCUSTOMGROUPSRESULT_H_ #include #include @@ -29,28 +29,35 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT QueryMcuTemplateResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT ListCustomGroupsResult : public ServiceResult { public: - struct Job + struct CustomGroup { - std::string _template; - std::string templateId; + std::string customGroupName; + std::string customGroupId; + std::string customGroupDescription; }; - QueryMcuTemplateResult(); - explicit QueryMcuTemplateResult(const std::string &payload); - ~QueryMcuTemplateResult(); - std::vector getTemplates()const; + ListCustomGroupsResult(); + explicit ListCustomGroupsResult(const std::string &payload); + ~ListCustomGroupsResult(); + long getTotalCount()const; + int getPageSize()const; + std::vector getCustomGroups()const; + int getPageNumber()const; protected: void parse(const std::string &payload); private: - std::vector templates_; + long totalCount_; + int pageSize_; + std::vector customGroups_; + int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_LISTCUSTOMGROUPSRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/AddPornPipelineRequest.h b/mts/include/alibabacloud/mts/model/ListCustomViewsRequest.h similarity index 63% rename from mts/include/alibabacloud/mts/model/AddPornPipelineRequest.h rename to mts/include/alibabacloud/mts/model/ListCustomViewsRequest.h index 106cc7170..5e7844234 100644 --- a/mts/include/alibabacloud/mts/model/AddPornPipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/ListCustomViewsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_ADDPORNPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDPORNPIPELINEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTCUSTOMVIEWSREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTCUSTOMVIEWSREQUEST_H_ #include #include @@ -26,38 +26,44 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT AddPornPipelineRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT ListCustomViewsRequest : public RpcServiceRequest { public: - AddPornPipelineRequest(); - ~AddPornPipelineRequest(); + ListCustomViewsRequest(); + ~ListCustomViewsRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + int getPageNumber() const; + void setPageNumber(int pageNumber); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); + std::string getCustomEntityId() const; + void setCustomEntityId(const std::string &customEntityId); long getOwnerId() const; void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getName() const; - void setName(const std::string &name); private: long resourceOwnerId_; + int pageNumber_; std::string accessKeyId_; + int pageSize_; + std::string algorithm_; + std::string customGroupId_; std::string resourceOwnerAccount_; std::string ownerAccount_; - std::string notifyConfig_; + std::string customEntityId_; long ownerId_; - int priority_; - std::string name_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_ADDPORNPIPELINEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_LISTCUSTOMVIEWSREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/AddPornPipelineResult.h b/mts/include/alibabacloud/mts/model/ListCustomViewsResult.h similarity index 58% rename from mts/include/alibabacloud/mts/model/AddPornPipelineResult.h rename to mts/include/alibabacloud/mts/model/ListCustomViewsResult.h index 7cb074a2f..b1e683d4e 100644 --- a/mts/include/alibabacloud/mts/model/AddPornPipelineResult.h +++ b/mts/include/alibabacloud/mts/model/ListCustomViewsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_ADDPORNPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_ADDPORNPIPELINERESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTCUSTOMVIEWSRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTCUSTOMVIEWSRESULT_H_ #include #include @@ -29,36 +29,34 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT AddPornPipelineResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT ListCustomViewsResult : public ServiceResult { public: - struct Pipeline + struct CustomView { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; + std::string customViewId; + std::string imageUrl; }; - AddPornPipelineResult(); - explicit AddPornPipelineResult(const std::string &payload); - ~AddPornPipelineResult(); - Pipeline getPipeline()const; + ListCustomViewsResult(); + explicit ListCustomViewsResult(const std::string &payload); + ~ListCustomViewsResult(); + long getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getCustomViews()const; protected: void parse(const std::string &payload); private: - Pipeline pipeline_; + long totalCount_; + int pageSize_; + int pageNumber_; + std::vector customViews_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_ADDPORNPIPELINERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_LISTCUSTOMVIEWSRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListFpShotDBResult.h b/mts/include/alibabacloud/mts/model/ListFpShotDBResult.h index 18a767e69..6e11eab21 100644 --- a/mts/include/alibabacloud/mts/model/ListFpShotDBResult.h +++ b/mts/include/alibabacloud/mts/model/ListFpShotDBResult.h @@ -36,6 +36,7 @@ namespace AlibabaCloud { std::string status; std::string description; + std::string instanceId; int modelId; std::string fpDBId; std::string name; diff --git a/mts/include/alibabacloud/mts/model/ListFpShotFilesRequest.h b/mts/include/alibabacloud/mts/model/ListFpShotFilesRequest.h index d40e8bfcb..478539ffa 100644 --- a/mts/include/alibabacloud/mts/model/ListFpShotFilesRequest.h +++ b/mts/include/alibabacloud/mts/model/ListFpShotFilesRequest.h @@ -36,6 +36,8 @@ public: void setFpDBId(const std::string &fpDBId); std::string getNextPageToken() const; void setNextPageToken(const std::string &nextPageToken); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); int getPageSize() const; @@ -44,6 +46,8 @@ public: void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); long getOwnerId() const; void setOwnerId(long ownerId); @@ -51,10 +55,12 @@ private: long resourceOwnerId_; std::string fpDBId_; std::string nextPageToken_; + std::string startTime_; std::string accessKeyId_; int pageSize_; std::string resourceOwnerAccount_; std::string ownerAccount_; + std::string endTime_; long ownerId_; }; } // namespace Model diff --git a/mts/include/alibabacloud/mts/model/ListFpShotFilesResult.h b/mts/include/alibabacloud/mts/model/ListFpShotFilesResult.h index 386d63dba..cacb2ffbc 100644 --- a/mts/include/alibabacloud/mts/model/ListFpShotFilesResult.h +++ b/mts/include/alibabacloud/mts/model/ListFpShotFilesResult.h @@ -40,6 +40,7 @@ namespace AlibabaCloud std::string object; std::string location; }; + std::string storeTime; std::string primaryKey; std::string fileId; InputFile inputFile; diff --git a/mts/include/alibabacloud/mts/model/QueryEditingJobListRequest.h b/mts/include/alibabacloud/mts/model/ListFpShotImportJobRequest.h similarity index 81% rename from mts/include/alibabacloud/mts/model/QueryEditingJobListRequest.h rename to mts/include/alibabacloud/mts/model/ListFpShotImportJobRequest.h index 446f1f26b..93920d158 100644 --- a/mts/include/alibabacloud/mts/model/QueryEditingJobListRequest.h +++ b/mts/include/alibabacloud/mts/model/ListFpShotImportJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYEDITINGJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYEDITINGJOBLISTREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTFPSHOTIMPORTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTFPSHOTIMPORTJOBREQUEST_H_ #include #include @@ -26,10 +26,10 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryEditingJobListRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT ListFpShotImportJobRequest : public RpcServiceRequest { public: - QueryEditingJobListRequest(); - ~QueryEditingJobListRequest(); + ListFpShotImportJobRequest(); + ~ListFpShotImportJobRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount() const; @@ -54,4 +54,4 @@ private: } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYEDITINGJOBLISTREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_LISTFPSHOTIMPORTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListResult.h b/mts/include/alibabacloud/mts/model/ListFpShotImportJobResult.h similarity index 64% rename from mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListResult.h rename to mts/include/alibabacloud/mts/model/ListFpShotImportJobResult.h index 450727abc..f43253f1a 100644 --- a/mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListResult.h +++ b/mts/include/alibabacloud/mts/model/ListFpShotImportJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_LISTFPSHOTIMPORTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_LISTFPSHOTIMPORTJOBRESULT_H_ #include #include @@ -29,38 +29,40 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT QueryMediaFpDeleteJobListResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT ListFpShotImportJobResult : public ServiceResult { public: - struct MediaFpDeleteJob + struct FpShotImportJob { - std::string finishTime; + std::string status; + std::string input; std::string message; + std::string finishTime; std::string userData; - std::string state; - std::string creationTime; - std::string primaryKey; + std::string createTime; std::string pipelineId; + std::string processMessage; + std::string fpImportConfig; std::string id; std::string code; std::string fpDBId; }; - QueryMediaFpDeleteJobListResult(); - explicit QueryMediaFpDeleteJobListResult(const std::string &payload); - ~QueryMediaFpDeleteJobListResult(); + ListFpShotImportJobResult(); + explicit ListFpShotImportJobResult(const std::string &payload); + ~ListFpShotImportJobResult(); + std::vector getFpShotImportJobList()const; std::vector getNonExistIds()const; - std::vector getMediaFpDeleteJobList()const; protected: void parse(const std::string &payload); private: + std::vector fpShotImportJobList_; std::vector nonExistIds_; - std::vector mediaFpDeleteJobList_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_LISTFPSHOTIMPORTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListFpShotNotaryRequest.h b/mts/include/alibabacloud/mts/model/ListFpShotNotaryRequest.h deleted file mode 100644 index 821a87d88..000000000 --- a/mts/include/alibabacloud/mts/model/ListFpShotNotaryRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTFPSHOTNOTARYREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTFPSHOTNOTARYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListFpShotNotaryRequest : public RpcServiceRequest { -public: - ListFpShotNotaryRequest(); - ~ListFpShotNotaryRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFpDBId() const; - void setFpDBId(const std::string &fpDBId); - std::string getNextPageToken() const; - void setNextPageToken(const std::string &nextPageToken); - std::string getStartOfCreatedTimeRange() const; - void setStartOfCreatedTimeRange(const std::string &startOfCreatedTimeRange); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getEndOfCreatedTimeRange() const; - void setEndOfCreatedTimeRange(const std::string &endOfCreatedTimeRange); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - long getMaximumPageSize() const; - void setMaximumPageSize(long maximumPageSize); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - long resourceOwnerId_; - std::string fpDBId_; - std::string nextPageToken_; - std::string startOfCreatedTimeRange_; - std::string accessKeyId_; - std::string endOfCreatedTimeRange_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long maximumPageSize_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTFPSHOTNOTARYREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListFpShotNotaryResult.h b/mts/include/alibabacloud/mts/model/ListFpShotNotaryResult.h deleted file mode 100644 index 8cb7ad8ca..000000000 --- a/mts/include/alibabacloud/mts/model/ListFpShotNotaryResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTFPSHOTNOTARYRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTFPSHOTNOTARYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListFpShotNotaryResult : public ServiceResult - { - public: - struct FpShotNotary - { - std::string finishTime; - std::string txHash; - std::string creationTime; - std::string jobId; - std::string fpDBId; - std::string detail; - std::string transactionId; - }; - - - ListFpShotNotaryResult(); - explicit ListFpShotNotaryResult(const std::string &payload); - ~ListFpShotNotaryResult(); - std::vector getFpShotNotaryList()const; - std::string getNextPageToken()const; - - protected: - void parse(const std::string &payload); - private: - std::vector fpShotNotaryList_; - std::string nextPageToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTFPSHOTNOTARYRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListMediaRequest.h b/mts/include/alibabacloud/mts/model/ListMediaRequest.h deleted file mode 100644 index e9117f200..000000000 --- a/mts/include/alibabacloud/mts/model/ListMediaRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTMEDIAREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTMEDIAREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListMediaRequest : public RpcServiceRequest { -public: - ListMediaRequest(); - ~ListMediaRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getNextPageToken() const; - void setNextPageToken(const std::string &nextPageToken); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getFrom() const; - void setFrom(const std::string &from); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - 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 getTo() const; - void setTo(const std::string &to); - -private: - long resourceOwnerId_; - std::string nextPageToken_; - std::string accessKeyId_; - std::string from_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long maximumPageSize_; - long ownerId_; - std::string to_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTMEDIAREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListMediaResult.h b/mts/include/alibabacloud/mts/model/ListMediaResult.h deleted file mode 100644 index 029cde49f..000000000 --- a/mts/include/alibabacloud/mts/model/ListMediaResult.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTMEDIARESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTMEDIARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListMediaResult : public ServiceResult - { - public: - struct Media - { - struct File - { - std::string state; - std::string uRL; - }; - std::string censorState; - std::string description; - std::string size; - std::string fps; - std::string title; - std::string duration; - long cateId; - std::string bitrate; - std::string publishState; - std::string format; - std::string mediaId; - std::string creationTime; - std::string height; - std::string coverURL; - File file; - std::string width; - std::vector runIdList; - std::vector tags; - }; - - - ListMediaResult(); - explicit ListMediaResult(const std::string &payload); - ~ListMediaResult(); - std::vector getMediaList()const; - std::string getNextPageToken()const; - - protected: - void parse(const std::string &payload); - private: - std::vector mediaList_; - std::string nextPageToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTMEDIARESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListPornPipelineResult.h b/mts/include/alibabacloud/mts/model/ListPornPipelineResult.h deleted file mode 100644 index f5a2e9a3d..000000000 --- a/mts/include/alibabacloud/mts/model/ListPornPipelineResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTPORNPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTPORNPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListPornPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - ListPornPipelineResult(); - explicit ListPornPipelineResult(const std::string &payload); - ~ListPornPipelineResult(); - long getTotalCount()const; - long getPageSize()const; - long getPageNumber()const; - std::vector getPipelineList()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - long pageSize_; - long pageNumber_; - std::vector pipelineList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTPORNPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListTerrorismPipelineRequest.h b/mts/include/alibabacloud/mts/model/ListTerrorismPipelineRequest.h deleted file mode 100644 index ca00ec93c..000000000 --- a/mts/include/alibabacloud/mts/model/ListTerrorismPipelineRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTTERRORISMPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTTERRORISMPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListTerrorismPipelineRequest : public RpcServiceRequest { -public: - ListTerrorismPipelineRequest(); - ~ListTerrorismPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - long getPageNumber() const; - void setPageNumber(long pageNumber); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getPageSize() const; - void setPageSize(long pageSize); - std::string getState() const; - void setState(const std::string &state); - 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); - -private: - long resourceOwnerId_; - long pageNumber_; - std::string accessKeyId_; - long pageSize_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTTERRORISMPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListTerrorismPipelineResult.h b/mts/include/alibabacloud/mts/model/ListTerrorismPipelineResult.h deleted file mode 100644 index df8a9788c..000000000 --- a/mts/include/alibabacloud/mts/model/ListTerrorismPipelineResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LISTTERRORISMPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTTERRORISMPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ListTerrorismPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - ListTerrorismPipelineResult(); - explicit ListTerrorismPipelineResult(const std::string &payload); - ~ListTerrorismPipelineResult(); - long getTotalCount()const; - long getPageSize()const; - long getPageNumber()const; - std::vector getPipelineList()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - long pageSize_; - long pageNumber_; - std::vector pipelineList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LISTTERRORISMPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/LogicalDeleteResourceRequest.h b/mts/include/alibabacloud/mts/model/LogicalDeleteResourceRequest.h deleted file mode 100644 index 1b00fac1d..000000000 --- a/mts/include/alibabacloud/mts/model/LogicalDeleteResourceRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LOGICALDELETERESOURCEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LOGICALDELETERESOURCEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT LogicalDeleteResourceRequest : public RpcServiceRequest { -public: - LogicalDeleteResourceRequest(); - ~LogicalDeleteResourceRequest(); - std::string getCountry() const; - void setCountry(const std::string &country); - long getHid() const; - void setHid(long hid); - std::string getInvoker() const; - void setInvoker(const std::string &invoker); - std::string getMessage() const; - void setMessage(const std::string &message); - bool getSuccess() const; - void setSuccess(bool success); - bool getInterrupt() const; - void setInterrupt(bool interrupt); - std::string getGmtWakeup() const; - void setGmtWakeup(const std::string &gmtWakeup); - std::string getPk() const; - void setPk(const std::string &pk); - std::string getBid() const; - void setBid(const std::string &bid); - std::string getTaskExtraData() const; - void setTaskExtraData(const std::string &taskExtraData); - std::string getTaskIdentifier() const; - void setTaskIdentifier(const std::string &taskIdentifier); - -private: - std::string country_; - long hid_; - std::string invoker_; - std::string message_; - bool success_; - bool interrupt_; - std::string gmtWakeup_; - std::string pk_; - std::string bid_; - std::string taskExtraData_; - std::string taskIdentifier_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LOGICALDELETERESOURCEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/LogicalDeleteResourceResult.h b/mts/include/alibabacloud/mts/model/LogicalDeleteResourceResult.h deleted file mode 100644 index 70b13e58e..000000000 --- a/mts/include/alibabacloud/mts/model/LogicalDeleteResourceResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_LOGICALDELETERESOURCERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LOGICALDELETERESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT LogicalDeleteResourceResult : public ServiceResult - { - public: - - - LogicalDeleteResourceResult(); - explicit LogicalDeleteResourceResult(const std::string &payload); - ~LogicalDeleteResourceResult(); - std::string getGmtWakeup()const; - long getHid()const; - std::string getInvoker()const; - std::string getMessage()const; - std::string getTaskIdentifier()const; - std::string getTaskExtraData()const; - std::string getCountry()const; - std::string getPk()const; - std::string getBid()const; - bool getSuccess()const; - bool getInterrupt()const; - - protected: - void parse(const std::string &payload); - private: - std::string gmtWakeup_; - long hid_; - std::string invoker_; - std::string message_; - std::string taskIdentifier_; - std::string taskExtraData_; - std::string country_; - std::string pk_; - std::string bid_; - bool success_; - bool interrupt_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_LOGICALDELETERESOURCERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/PhysicalDeleteResourceRequest.h b/mts/include/alibabacloud/mts/model/PhysicalDeleteResourceRequest.h deleted file mode 100644 index e0a65aab6..000000000 --- a/mts/include/alibabacloud/mts/model/PhysicalDeleteResourceRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_PHYSICALDELETERESOURCEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_PHYSICALDELETERESOURCEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT PhysicalDeleteResourceRequest : public RpcServiceRequest { -public: - PhysicalDeleteResourceRequest(); - ~PhysicalDeleteResourceRequest(); - std::string getCountry() const; - void setCountry(const std::string &country); - long getHid() const; - void setHid(long hid); - std::string getInvoker() const; - void setInvoker(const std::string &invoker); - std::string getMessage() const; - void setMessage(const std::string &message); - bool getSuccess() const; - void setSuccess(bool success); - bool getInterrupt() const; - void setInterrupt(bool interrupt); - std::string getGmtWakeup() const; - void setGmtWakeup(const std::string &gmtWakeup); - std::string getPk() const; - void setPk(const std::string &pk); - std::string getBid() const; - void setBid(const std::string &bid); - std::string getTaskExtraData() const; - void setTaskExtraData(const std::string &taskExtraData); - std::string getTaskIdentifier() const; - void setTaskIdentifier(const std::string &taskIdentifier); - -private: - std::string country_; - long hid_; - std::string invoker_; - std::string message_; - bool success_; - bool interrupt_; - std::string gmtWakeup_; - std::string pk_; - std::string bid_; - std::string taskExtraData_; - std::string taskIdentifier_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_PHYSICALDELETERESOURCEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/PhysicalDeleteResourceResult.h b/mts/include/alibabacloud/mts/model/PhysicalDeleteResourceResult.h deleted file mode 100644 index d7488c235..000000000 --- a/mts/include/alibabacloud/mts/model/PhysicalDeleteResourceResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_PHYSICALDELETERESOURCERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_PHYSICALDELETERESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT PhysicalDeleteResourceResult : public ServiceResult - { - public: - - - PhysicalDeleteResourceResult(); - explicit PhysicalDeleteResourceResult(const std::string &payload); - ~PhysicalDeleteResourceResult(); - std::string getGmtWakeup()const; - long getHid()const; - std::string getInvoker()const; - std::string getMessage()const; - std::string getTaskIdentifier()const; - std::string getTaskExtraData()const; - std::string getCountry()const; - std::string getPk()const; - std::string getBid()const; - bool getSuccess()const; - bool getInterrupt()const; - - protected: - void parse(const std::string &payload); - private: - std::string gmtWakeup_; - long hid_; - std::string invoker_; - std::string message_; - std::string taskIdentifier_; - std::string taskExtraData_; - std::string country_; - std::string pk_; - std::string bid_; - bool success_; - bool interrupt_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_PHYSICALDELETERESOURCERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/PlayInfoRequest.h b/mts/include/alibabacloud/mts/model/PlayInfoRequest.h deleted file mode 100644 index d853160e0..000000000 --- a/mts/include/alibabacloud/mts/model/PlayInfoRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_PLAYINFOREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_PLAYINFOREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT PlayInfoRequest : public RpcServiceRequest { -public: - PlayInfoRequest(); - ~PlayInfoRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getFormats() const; - void setFormats(const std::string &formats); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getRand() const; - void setRand(const std::string &rand); - long getAuthTimeout() const; - void setAuthTimeout(long authTimeout); - std::string getPlayDomain() const; - void setPlayDomain(const std::string &playDomain); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getHlsUriToken() const; - void setHlsUriToken(const std::string &hlsUriToken); - std::string getTerminal() const; - void setTerminal(const std::string &terminal); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getMediaId() const; - void setMediaId(const std::string &mediaId); - std::string getAuthInfo() const; - void setAuthInfo(const std::string &authInfo); - -private: - std::string resourceOwnerId_; - std::string formats_; - std::string accessKeyId_; - std::string rand_; - long authTimeout_; - std::string playDomain_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string hlsUriToken_; - std::string terminal_; - std::string ownerId_; - std::string mediaId_; - std::string authInfo_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_PLAYINFOREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/PlayInfoResult.h b/mts/include/alibabacloud/mts/model/PlayInfoResult.h deleted file mode 100644 index 78b6b36e9..000000000 --- a/mts/include/alibabacloud/mts/model/PlayInfoResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_PLAYINFORESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_PLAYINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT PlayInfoResult : public ServiceResult - { - public: - struct PlayInfo - { - std::string encryptionType; - std::string rand; - std::string downloadType; - std::string activityName; - std::string size; - std::string definition; - std::string fps; - std::string duration; - std::string encryption; - std::string bitrate; - std::string url; - std::string complexity; - std::string format; - std::string plaintext; - std::string height; - std::string width; - }; - - - PlayInfoResult(); - explicit PlayInfoResult(const std::string &payload); - ~PlayInfoResult(); - std::vector getPlayInfoList()const; - std::vector getNotFoundCDNDomain()const; - - protected: - void parse(const std::string &payload); - private: - std::vector playInfoList_; - std::vector notFoundCDNDomain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_PLAYINFORESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/PlayerAuthRequest.h b/mts/include/alibabacloud/mts/model/PlayerAuthRequest.h deleted file mode 100644 index b0a67fabf..000000000 --- a/mts/include/alibabacloud/mts/model/PlayerAuthRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_PLAYERAUTHREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_PLAYERAUTHREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT PlayerAuthRequest : public RpcServiceRequest { -public: - PlayerAuthRequest(); - ~PlayerAuthRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - -private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_PLAYERAUTHREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/PlayerAuthResult.h b/mts/include/alibabacloud/mts/model/PlayerAuthResult.h deleted file mode 100644 index 5f3b0db8c..000000000 --- a/mts/include/alibabacloud/mts/model/PlayerAuthResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_PLAYERAUTHRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_PLAYERAUTHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT PlayerAuthResult : public ServiceResult - { - public: - struct _Switch - { - std::string functionId; - std::string functionName; - std::string state; - std::string switchId; - }; - - - PlayerAuthResult(); - explicit PlayerAuthResult(const std::string &payload); - ~PlayerAuthResult(); - std::string getLogURL()const; - std::vector<_Switch> getSwitchList()const; - - protected: - void parse(const std::string &payload); - private: - std::string logURL_; - std::vector<_Switch> switchList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_PLAYERAUTHRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryAnnotationJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryAnnotationJobListRequest.h deleted file mode 100644 index 09e9fd08b..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAnnotationJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYANNOTATIONJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYANNOTATIONJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryAnnotationJobListRequest : public RpcServiceRequest { -public: - QueryAnnotationJobListRequest(); - ~QueryAnnotationJobListRequest(); - 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 getAnnotationJobIds() const; - void setAnnotationJobIds(const std::string &annotationJobIds); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string annotationJobIds_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYANNOTATIONJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryAnnotationJobListResult.h b/mts/include/alibabacloud/mts/model/QueryAnnotationJobListResult.h deleted file mode 100644 index 0963f91bc..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAnnotationJobListResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYANNOTATIONJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYANNOTATIONJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryAnnotationJobListResult : public ServiceResult - { - public: - struct AnnotationJob - { - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - struct VideoAnnotationResult - { - struct Annotation - { - std::string score; - std::string label; - }; - std::vector annotations; - std::string details; - }; - VideoAnnotationResult videoAnnotationResult; - Input input; - std::string message; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - std::string code; - }; - - - QueryAnnotationJobListResult(); - explicit QueryAnnotationJobListResult(const std::string &payload); - ~QueryAnnotationJobListResult(); - std::vector getAnnotationJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector annotationJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYANNOTATIONJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryAsrJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryAsrJobListRequest.h deleted file mode 100644 index d054aba4c..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAsrJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYASRJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYASRJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryAsrJobListRequest : public RpcServiceRequest { -public: - QueryAsrJobListRequest(); - ~QueryAsrJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYASRJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryAsrJobListResult.h b/mts/include/alibabacloud/mts/model/QueryAsrJobListResult.h deleted file mode 100644 index 39b4cee31..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAsrJobListResult.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYASRJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYASRJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryAsrJobListResult : public ServiceResult - { - public: - struct Job - { - struct AsrConfig - { - std::string scene; - }; - 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 asrTextList; - std::string duration; - }; - AsrConfig asrConfig; - Input input; - std::string message; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - AsrResult asrResult; - std::string code; - }; - - - QueryAsrJobListResult(); - explicit QueryAsrJobListResult(const std::string &payload); - ~QueryAsrJobListResult(); - std::vector getJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYASRJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryAsrPipelineListRequest.h b/mts/include/alibabacloud/mts/model/QueryAsrPipelineListRequest.h deleted file mode 100644 index 7113295c8..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAsrPipelineListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYASRPIPELINELISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYASRPIPELINELISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryAsrPipelineListRequest : public RpcServiceRequest { -public: - QueryAsrPipelineListRequest(); - ~QueryAsrPipelineListRequest(); - 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); - std::string getPipelineIds() const; - void setPipelineIds(const std::string &pipelineIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string pipelineIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYASRPIPELINELISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryAsrPipelineListResult.h b/mts/include/alibabacloud/mts/model/QueryAsrPipelineListResult.h deleted file mode 100644 index 750760024..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAsrPipelineListResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYASRPIPELINELISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYASRPIPELINELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryAsrPipelineListResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queueName; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - QueryAsrPipelineListResult(); - explicit QueryAsrPipelineListResult(const std::string &payload); - ~QueryAsrPipelineListResult(); - std::vector getPipelineList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector pipelineList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYASRPIPELINELISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryAuthConfigRequest.h b/mts/include/alibabacloud/mts/model/QueryAuthConfigRequest.h deleted file mode 100644 index cbf3ead2c..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAuthConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYAUTHCONFIGREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYAUTHCONFIGREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryAuthConfigRequest : public RpcServiceRequest { -public: - QueryAuthConfigRequest(); - ~QueryAuthConfigRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - -private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYAUTHCONFIGREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryAuthConfigResult.h b/mts/include/alibabacloud/mts/model/QueryAuthConfigResult.h deleted file mode 100644 index d9edb6ea4..000000000 --- a/mts/include/alibabacloud/mts/model/QueryAuthConfigResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYAUTHCONFIGRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYAUTHCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryAuthConfigResult : public ServiceResult - { - public: - - - QueryAuthConfigResult(); - explicit QueryAuthConfigResult(const std::string &payload); - ~QueryAuthConfigResult(); - std::string getKey2()const; - std::string getKey1()const; - - protected: - void parse(const std::string &payload); - private: - std::string key2_; - std::string key1_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYAUTHCONFIGRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryCensorJobListResult.h b/mts/include/alibabacloud/mts/model/QueryCensorJobListResult.h deleted file mode 100644 index 5cc8d023d..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCensorJobListResult.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCENSORJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCENSORJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryCensorJobListResult : public ServiceResult - { - public: - struct CensorJob - { - struct CensorTerrorismResult - { - struct Top - { - std::string score; - std::string label; - std::string index; - std::string object; - std::string timestamp; - }; - struct Counter - { - std::string label; - int count; - }; - std::vector terrorismCounterList; - std::string suggestion; - std::string maxScore; - std::string averageScore; - std::string label; - std::vector terrorismTopList; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - struct CensorConfig - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - OutputFile outputFile; - std::string scenes; - std::string saveType; - std::string bizType; - std::string interval; - }; - struct CensorPornResult - { - struct Counter1 - { - std::string label; - int count; - }; - struct Top2 - { - std::string score; - std::string label; - std::string index; - std::string object; - std::string timestamp; - }; - std::string suggestion; - std::string maxScore; - std::string averageScore; - std::vector pornCounterList; - std::vector pornTopList; - std::string label; - }; - struct ImageCensorResult - { - std::string imageBucket; - std::string imageObject; - std::string imageLocation; - std::string result; - }; - CensorTerrorismResult censorTerrorismResult; - std::vector imageCensorResults; - std::string message; - std::string descCensorResult; - std::string userData; - CensorPornResult censorPornResult; - std::string code; - Input input; - std::string state; - std::string creationTime; - std::string barrageCensorResult; - std::string pipelineId; - std::string resultSaveObject; - std::string id; - CensorConfig censorConfig; - std::string titleCensorResult; - }; - - - QueryCensorJobListResult(); - explicit QueryCensorJobListResult(const std::string &payload); - ~QueryCensorJobListResult(); - std::vector getCensorJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector censorJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCENSORJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryCensorPipelineListRequest.h b/mts/include/alibabacloud/mts/model/QueryCensorPipelineListRequest.h deleted file mode 100644 index 1ef370176..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCensorPipelineListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCENSORPIPELINELISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCENSORPIPELINELISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryCensorPipelineListRequest : public RpcServiceRequest { -public: - QueryCensorPipelineListRequest(); - ~QueryCensorPipelineListRequest(); - 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); - std::string getPipelineIds() const; - void setPipelineIds(const std::string &pipelineIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string pipelineIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCENSORPIPELINELISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryCensorPipelineListResult.h b/mts/include/alibabacloud/mts/model/QueryCensorPipelineListResult.h deleted file mode 100644 index 2b01afcc3..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCensorPipelineListResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCENSORPIPELINELISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCENSORPIPELINELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryCensorPipelineListResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - QueryCensorPipelineListResult(); - explicit QueryCensorPipelineListResult(const std::string &payload); - ~QueryCensorPipelineListResult(); - std::vector getPipelineList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector pipelineList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCENSORPIPELINELISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryComplexJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryComplexJobListRequest.h deleted file mode 100644 index 4e2c06cea..000000000 --- a/mts/include/alibabacloud/mts/model/QueryComplexJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOMPLEXJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCOMPLEXJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryComplexJobListRequest : public RpcServiceRequest { -public: - QueryComplexJobListRequest(); - ~QueryComplexJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOMPLEXJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryComplexJobListResult.h b/mts/include/alibabacloud/mts/model/QueryComplexJobListResult.h deleted file mode 100644 index 4407109a3..000000000 --- a/mts/include/alibabacloud/mts/model/QueryComplexJobListResult.h +++ /dev/null @@ -1,451 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOMPLEXJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCOMPLEXJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryComplexJobListResult : public ServiceResult - { - public: - struct Job - { - struct TranscodeOutput - { - struct Video - { - struct BitrateBnd - { - std::string min; - std::string max; - }; - std::string bufsize; - std::string qscale; - std::string scanMode; - std::string preset; - std::string fps; - std::string gop; - BitrateBnd bitrateBnd; - std::string pixFmt; - std::string bitrate; - std::string profile; - std::string crop; - std::string pad; - std::string codec; - std::string maxrate; - std::string maxFps; - std::string crf; - std::string height; - std::string degrain; - std::string width; - }; - struct TransConfig - { - std::string isCheckAudioBitrate; - std::string adjDarMethod; - std::string isCheckAudioBitrateFail; - std::string isCheckVideoBitrateFail; - std::string isCheckReso; - std::string duration; - std::string isCheckVideoBitrate; - std::string transMode; - std::string isCheckResoFail; - }; - struct Encryption - { - std::string type; - std::string keyType; - std::string id; - std::string skipCnt; - std::string key; - std::string keyUri; - }; - struct M3U8NonStandardSupport - { - struct TS - { - bool sizeSupport; - bool md5Support; - }; - TS tS; - }; - struct Audio - { - struct Volume - { - std::string level; - std::string method; - }; - std::string codec; - std::string qscale; - Volume volume; - std::string samplerate; - std::string bitrate; - std::string profile; - std::string channels; - }; - struct SuperReso - { - std::string isHalfSample; - }; - struct DigiWaterMark - { - struct InputFile3 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string alpha; - InputFile3 inputFile3; - }; - struct OutputFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct Container - { - std::string format; - }; - struct Clip4 - { - struct TimeSpan - { - std::string duration; - std::string seek; - }; - TimeSpan timeSpan; - }; - struct MuxConfig - { - struct Gif - { - std::string finalDelay; - std::string loop; - std::string ditherMode; - std::string isCustomPalette; - }; - struct Segment - { - std::string duration; - }; - Gif gif; - Segment segment; - }; - struct SubtitleConfig - { - struct ExtSubtitle - { - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - std::string charEnc; - Input input; - std::string fontName; - }; - struct Subtitle - { - std::string map; - }; - std::vector extSubtitleList; - std::vector subtitleList; - }; - 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 sar; - std::string startTime; - std::string fps; - std::string index; - std::string lang; - std::string duration; - std::string pixFmt; - NetworkCost networkCost; - std::string bitrate; - std::string codecName; - std::string avgFPS; - std::string profile; - std::string timebase; - std::string codecTagString; - std::string hasBFrames; - std::string dar; - std::string codecLongName; - std::string height; - std::string level; - std::string numFrames; - std::string width; - }; - struct AudioStream - { - std::string codecTag; - std::string codecTimeBase; - std::string channelLayout; - std::string startTime; - std::string index; - std::string lang; - std::string duration; - std::string sampleFmt; - std::string samplerate; - std::string bitrate; - std::string codecName; - std::string channels; - std::string timebase; - std::string codecTagString; - std::string codecLongName; - std::string numFrames; - }; - struct SubtitleStream - { - std::string index; - std::string lang; - }; - std::vector videoStreamList; - std::vector subtitleStreamList; - std::vector 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 WaterMark - { - struct InputFile2 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string dx; - std::string dy; - std::string waterMarkTemplateId; - std::string height; - std::string referPos; - std::string width; - InputFile2 inputFile2; - }; - struct Merge - { - std::string start; - std::string mergeURL; - std::string duration; - std::string roleArn; - }; - OutputFile outputFile; - std::string rotate; - DigiWaterMark digiWaterMark; - std::string userData; - Clip4 clip4; - std::string priority; - std::string mergeConfigUrl; - Encryption encryption; - Properties properties; - SuperReso superReso; - std::vector waterMarkList; - std::string deWatermark; - M3U8NonStandardSupport m3U8NonStandardSupport; - Container container; - TransConfig transConfig; - Video video; - std::string waterMarkConfigUrl; - std::string videoStreamMap; - std::string audioStreamMap; - Audio audio; - MuxConfig muxConfig; - SubtitleConfig subtitleConfig; - std::string templateId; - std::vector mergeList; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - struct ComplexEditingConfigsItem - { - struct Editing - { - struct Timeline - { - struct TimelineConfig - { - struct TimelineConfigAudio - { - std::string channelLayout; - std::string samplerate; - std::string channels; - }; - struct TimelineConfigVideo - { - std::string renderRatio; - std::string reclosePrec; - std::string fps; - std::string isGpuData; - std::string height; - std::string bgColor; - std::string isOneTrackData; - std::string width; - }; - TimelineConfigVideo timelineConfigVideo; - TimelineConfigAudio timelineConfigAudio; - }; - struct Track - { - struct Clip1 - { - struct ClipsConfig - { - struct ClipsConfigVideo - { - std::string t; - std::string l; - }; - ClipsConfigVideo clipsConfigVideo; - }; - std::string clipID; - std::string in; - ClipsConfig clipsConfig; - std::string out; - }; - std::string order; - std::vector clips; - std::string type; - std::string id; - }; - std::vector trackList; - TimelineConfig timelineConfig; - }; - struct Clip - { - struct Effect - { - std::string effect; - std::string effectConfig; - }; - std::string type; - std::string in; - std::string sourceID; - std::string sourceType; - std::vector effects; - std::string id; - std::string sourceStrmMap; - std::string out; - }; - Timeline timeline; - std::vector clipList; - }; - Editing editing; - }; - struct InputsItem - { - struct EditingInput - { - struct InputFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct InputConfig - { - std::string deinterlaceMethod; - std::string isNormalSar; - }; - InputConfig inputConfig; - std::string id; - InputFile inputFile; - }; - std::vector editingInputs; - }; - std::string finishTime; - std::string message; - long percent; - std::string state; - MNSMessageResult mNSMessageResult; - std::string creationTime; - std::vector complexEditingConfigs; - std::string pipelineId; - TranscodeOutput transcodeOutput; - std::vector inputs; - std::string code; - std::string jobId; - }; - - - QueryComplexJobListResult(); - explicit QueryComplexJobListResult(const std::string &payload); - ~QueryComplexJobListResult(); - std::vector getNonExistJobIds()const; - std::vector getJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistJobIds_; - std::vector jobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOMPLEXJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/GetJobInfoRequest.h b/mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobRequest.h similarity index 71% rename from mts/include/alibabacloud/mts/model/GetJobInfoRequest.h rename to mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobRequest.h index 4886468fe..a3c1ad37a 100644 --- a/mts/include/alibabacloud/mts/model/GetJobInfoRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_GETJOBINFOREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_GETJOBINFOREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTEXTRACTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTEXTRACTJOBREQUEST_H_ #include #include @@ -26,10 +26,10 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT GetJobInfoRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT QueryCopyrightExtractJobRequest : public RpcServiceRequest { public: - GetJobInfoRequest(); - ~GetJobInfoRequest(); + QueryCopyrightExtractJobRequest(); + ~QueryCopyrightExtractJobRequest(); std::string getJobId() const; void setJobId(const std::string &jobId); @@ -39,4 +39,4 @@ private: } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_GETJOBINFOREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTEXTRACTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobResult.h b/mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobResult.h new file mode 100644 index 000000000..6ae9e03eb --- /dev/null +++ b/mts/include/alibabacloud/mts/model/QueryCopyrightExtractJobResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_QUERYCOPYRIGHTEXTRACTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTEXTRACTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Mts + { + namespace Model + { + class ALIBABACLOUD_MTS_EXPORT QueryCopyrightExtractJobResult : public ServiceResult + { + public: + struct Data + { + std::string message; + }; + + + QueryCopyrightExtractJobResult(); + explicit QueryCopyrightExtractJobResult(const std::string &payload); + ~QueryCopyrightExtractJobResult(); + std::string getMessage()const; + Data getData()const; + long getStatusCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + long statusCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTEXTRACTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryInnerJobRequest.h b/mts/include/alibabacloud/mts/model/QueryCopyrightJobRequest.h similarity index 55% rename from mts/include/alibabacloud/mts/model/QueryInnerJobRequest.h rename to mts/include/alibabacloud/mts/model/QueryCopyrightJobRequest.h index f16de58a8..174dffef4 100644 --- a/mts/include/alibabacloud/mts/model/QueryInnerJobRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryCopyrightJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYINNERJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYINNERJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTJOBREQUEST_H_ #include #include @@ -26,29 +26,32 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryInnerJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT QueryCopyrightJobRequest : public RpcServiceRequest { public: - QueryInnerJobRequest(); - ~QueryInnerJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); + QueryCopyrightJobRequest(); + ~QueryCopyrightJobRequest(); + long getLevel() const; + void setLevel(long level); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getCreateTimeEnd() const; + void setCreateTimeEnd(long createTimeEnd); std::string getJobId() const; void setJobId(const std::string &jobId); + long getPageSize() const; + void setPageSize(long pageSize); + long getCreateTimeStart() const; + void setCreateTimeStart(long createTimeStart); private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string accessKeyId_; + long level_; + long pageNumber_; + long createTimeEnd_; std::string jobId_; + long pageSize_; + long createTimeStart_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYINNERJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryInferenceJobResult.h b/mts/include/alibabacloud/mts/model/QueryCopyrightJobResult.h similarity index 62% rename from mts/include/alibabacloud/mts/model/QueryInferenceJobResult.h rename to mts/include/alibabacloud/mts/model/QueryCopyrightJobResult.h index cfa1c8212..033ca9289 100644 --- a/mts/include/alibabacloud/mts/model/QueryInferenceJobResult.h +++ b/mts/include/alibabacloud/mts/model/QueryCopyrightJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYINFERENCEJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYINFERENCEJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTJOBRESULT_H_ #include #include @@ -29,37 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT QueryInferenceJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT QueryCopyrightJobResult : public ServiceResult { public: - struct Job + struct DataItem { std::string status; std::string message; - long userId; - long jobTime; - std::string jobId; - std::string jobParams; + std::string userData; + long gmtModified; std::string result; + long gmtCreate; + std::string input; + std::string callback; + long userId; + std::string output; + long level; + std::string jobId; + long messageId; }; - QueryInferenceJobResult(); - explicit QueryInferenceJobResult(const std::string &payload); - ~QueryInferenceJobResult(); + QueryCopyrightJobResult(); + explicit QueryCopyrightJobResult(const std::string &payload); + ~QueryCopyrightJobResult(); std::string getMessage()const; - Job getJob()const; - std::string getCode()const; + std::vector getData()const; + long getStatusCode()const; protected: void parse(const std::string &payload); private: std::string message_; - Job job_; - std::string code_; + std::vector data_; + long statusCode_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYINFERENCEJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOPYRIGHTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryCoverJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryCoverJobListRequest.h deleted file mode 100644 index 6eee6720e..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCoverJobListRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOVERJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCOVERJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryCoverJobListRequest : public RpcServiceRequest { -public: - QueryCoverJobListRequest(); - ~QueryCoverJobListRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getNextPageToken() const; - void setNextPageToken(const std::string &nextPageToken); - std::string getStartOfJobCreatedTimeRange() const; - void setStartOfJobCreatedTimeRange(const std::string &startOfJobCreatedTimeRange); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getCoverJobIds() const; - void setCoverJobIds(const std::string &coverJobIds); - std::string getState() const; - void setState(const std::string &state); - std::string getEndOfJobCreatedTimeRange() const; - void setEndOfJobCreatedTimeRange(const std::string &endOfJobCreatedTimeRange); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - -private: - long resourceOwnerId_; - std::string nextPageToken_; - std::string startOfJobCreatedTimeRange_; - std::string accessKeyId_; - std::string coverJobIds_; - std::string state_; - std::string endOfJobCreatedTimeRange_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long maximumPageSize_; - long ownerId_; - std::string pipelineId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOVERJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryCoverJobListResult.h b/mts/include/alibabacloud/mts/model/QueryCoverJobListResult.h deleted file mode 100644 index f5abb5cdd..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCoverJobListResult.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOVERJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCOVERJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryCoverJobListResult : public ServiceResult - { - public: - struct CoverJob - { - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - struct CoverConfig - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - OutputFile outputFile; - }; - struct CoverImage - { - std::string score; - std::string time; - std::string url; - }; - std::vector coverImageList; - Input input; - std::string message; - std::string userData; - CoverConfig coverConfig; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - std::string code; - }; - - - QueryCoverJobListResult(); - explicit QueryCoverJobListResult(const std::string &payload); - ~QueryCoverJobListResult(); - std::vector getCoverJobList()const; - std::string getNextPageToken()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector coverJobList_; - std::string nextPageToken_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOVERJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryCoverPipelineListRequest.h b/mts/include/alibabacloud/mts/model/QueryCoverPipelineListRequest.h deleted file mode 100644 index b09c538eb..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCoverPipelineListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOVERPIPELINELISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCOVERPIPELINELISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryCoverPipelineListRequest : public RpcServiceRequest { -public: - QueryCoverPipelineListRequest(); - ~QueryCoverPipelineListRequest(); - 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); - std::string getPipelineIds() const; - void setPipelineIds(const std::string &pipelineIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string pipelineIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOVERPIPELINELISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryCoverPipelineListResult.h b/mts/include/alibabacloud/mts/model/QueryCoverPipelineListResult.h deleted file mode 100644 index 0ffaff84e..000000000 --- a/mts/include/alibabacloud/mts/model/QueryCoverPipelineListResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYCOVERPIPELINELISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYCOVERPIPELINELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryCoverPipelineListResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string role; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - QueryCoverPipelineListResult(); - explicit QueryCoverPipelineListResult(const std::string &payload); - ~QueryCoverPipelineListResult(); - std::vector getPipelineList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector pipelineList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYCOVERPIPELINELISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryEditingJobListResult.h b/mts/include/alibabacloud/mts/model/QueryEditingJobListResult.h deleted file mode 100644 index 76da69bb4..000000000 --- a/mts/include/alibabacloud/mts/model/QueryEditingJobListResult.h +++ /dev/null @@ -1,443 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYEDITINGJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYEDITINGJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryEditingJobListResult : public ServiceResult - { - public: - struct Job - { - struct EditingConfig - { - struct Video - { - struct BitrateBnd - { - std::string min; - std::string max; - }; - std::string bufsize; - std::string qscale; - std::string scanMode; - std::string preset; - std::string fps; - std::string gop; - BitrateBnd bitrateBnd; - std::string pixFmt; - std::string bitrate; - std::string profile; - std::string crop; - std::string pad; - std::string codec; - std::string maxrate; - std::string maxFps; - std::string crf; - std::string height; - std::string degrain; - std::string width; - }; - struct TransConfig - { - std::string isCheckAudioBitrate; - std::string adjDarMethod; - std::string isCheckAudioBitrateFail; - std::string isCheckVideoBitrateFail; - std::string isCheckReso; - std::string duration; - std::string isCheckVideoBitrate; - std::string transMode; - std::string isCheckResoFail; - }; - struct Encryption - { - std::string type; - std::string keyType; - std::string id; - std::string skipCnt; - std::string key; - std::string keyUri; - }; - struct M3U8NonStandardSupport - { - struct TS - { - bool sizeSupport; - bool md5Support; - }; - TS tS; - }; - struct Audio - { - struct Volume - { - std::string level; - std::string method; - }; - std::string codec; - std::string qscale; - Volume volume; - std::string samplerate; - std::string bitrate; - std::string profile; - std::string channels; - }; - struct SuperReso - { - std::string isHalfSample; - }; - struct DigiWaterMark - { - struct InputFile2 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string alpha; - InputFile2 inputFile2; - }; - struct OutputFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct Editing - { - struct Timeline - { - struct TimelineConfig - { - struct TimelineConfigAudio - { - std::string channelLayout; - std::string samplerate; - std::string channels; - }; - struct TimelineConfigVideo - { - std::string renderRatio; - std::string reclosePrec; - std::string fps; - std::string isGpuData; - std::string height; - std::string bgColor; - std::string isOneTrackData; - std::string width; - }; - TimelineConfigVideo timelineConfigVideo; - TimelineConfigAudio timelineConfigAudio; - }; - struct Track - { - struct Clip3 - { - struct ClipsConfig - { - struct ClipsConfigVideo - { - std::string t; - std::string l; - }; - ClipsConfigVideo clipsConfigVideo; - }; - std::string clipID; - std::string in; - ClipsConfig clipsConfig; - std::string out; - }; - std::string order; - std::vector clips; - std::string type; - std::string id; - }; - std::vector trackList; - TimelineConfig timelineConfig; - }; - struct Clip - { - struct Effect - { - std::string effect; - std::string effectConfig; - }; - std::string type; - std::string in; - std::string sourceID; - std::string sourceType; - std::vector effects; - std::string id; - std::string sourceStrmMap; - std::string out; - }; - Timeline timeline; - std::vector clipList; - }; - struct Container - { - std::string format; - }; - struct Clip4 - { - struct TimeSpan - { - std::string duration; - std::string seek; - }; - TimeSpan timeSpan; - }; - struct MuxConfig - { - struct Gif - { - std::string finalDelay; - std::string loop; - std::string ditherMode; - std::string isCustomPalette; - }; - struct Segment - { - std::string duration; - }; - Gif gif; - Segment segment; - }; - struct SubtitleConfig - { - struct ExtSubtitle - { - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - std::string charEnc; - Input input; - std::string fontName; - }; - struct Subtitle - { - std::string map; - }; - std::vector extSubtitleList; - std::vector subtitleList; - }; - 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 sar; - std::string startTime; - std::string fps; - std::string index; - std::string lang; - std::string duration; - std::string pixFmt; - NetworkCost networkCost; - std::string bitrate; - std::string codecName; - std::string avgFPS; - std::string profile; - std::string timebase; - std::string codecTagString; - std::string hasBFrames; - std::string dar; - std::string codecLongName; - std::string height; - std::string level; - std::string numFrames; - std::string width; - }; - struct AudioStream - { - std::string codecTag; - std::string codecTimeBase; - std::string channelLayout; - std::string startTime; - std::string index; - std::string lang; - std::string duration; - std::string sampleFmt; - std::string samplerate; - std::string bitrate; - std::string codecName; - std::string channels; - std::string timebase; - std::string codecTagString; - std::string codecLongName; - std::string numFrames; - }; - struct SubtitleStream - { - std::string index; - std::string lang; - }; - std::vector videoStreamList; - std::vector subtitleStreamList; - std::vector 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 WaterMark - { - struct InputFile1 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string dx; - std::string dy; - InputFile1 inputFile1; - std::string waterMarkTemplateId; - std::string height; - std::string referPos; - std::string width; - }; - struct Merge - { - std::string start; - std::string mergeURL; - std::string duration; - std::string roleArn; - }; - std::string rotate; - DigiWaterMark digiWaterMark; - std::string userData; - Editing editing; - Encryption encryption; - Properties properties; - SuperReso superReso; - std::vector waterMarkList; - Container container; - TransConfig transConfig; - std::string waterMarkConfigUrl; - MuxConfig muxConfig; - SubtitleConfig subtitleConfig; - std::string templateId; - OutputFile outputFile; - Clip4 clip4; - std::string priority; - std::string mergeConfigUrl; - std::string deWatermark; - M3U8NonStandardSupport m3U8NonStandardSupport; - Video video; - std::string videoStreamMap; - std::string audioStreamMap; - Audio audio; - std::vector mergeList; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - struct EditingInput - { - struct InputFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct InputConfig - { - std::string deinterlaceMethod; - std::string isNormalSar; - }; - InputConfig inputConfig; - std::string id; - InputFile inputFile; - }; - std::vector editingInputs; - std::string finishTime; - std::string message; - long percent; - std::string state; - MNSMessageResult mNSMessageResult; - std::string creationTime; - EditingConfig editingConfig; - std::string pipelineId; - std::string code; - std::string jobId; - }; - - - QueryEditingJobListResult(); - explicit QueryEditingJobListResult(const std::string &payload); - ~QueryEditingJobListResult(); - std::vector getNonExistJobIds()const; - std::vector getJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistJobIds_; - std::vector jobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYEDITINGJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryFacerecogJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryFacerecogJobListRequest.h deleted file mode 100644 index 2686bf13d..000000000 --- a/mts/include/alibabacloud/mts/model/QueryFacerecogJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFACERECOGJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYFACERECOGJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryFacerecogJobListRequest : public RpcServiceRequest { -public: - QueryFacerecogJobListRequest(); - ~QueryFacerecogJobListRequest(); - 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 getFacerecogJobIds() const; - void setFacerecogJobIds(const std::string &facerecogJobIds); - 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 facerecogJobIds_; - long ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFACERECOGJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryFacerecogJobListResult.h b/mts/include/alibabacloud/mts/model/QueryFacerecogJobListResult.h deleted file mode 100644 index 6d59754f9..000000000 --- a/mts/include/alibabacloud/mts/model/QueryFacerecogJobListResult.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFACERECOGJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYFACERECOGJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryFacerecogJobListResult : public ServiceResult - { - public: - struct FacerecogJob - { - struct VideoFacerecogResult - { - struct Facerecog - { - struct Face - { - std::string score; - std::string target; - std::string name; - }; - std::string time; - std::vector faces; - }; - std::vector facerecogs; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - Input input; - VideoFacerecogResult videoFacerecogResult; - std::string message; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - std::string code; - }; - - - QueryFacerecogJobListResult(); - explicit QueryFacerecogJobListResult(const std::string &payload); - ~QueryFacerecogJobListResult(); - std::vector getNonExistIds()const; - std::vector getFacerecogJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistIds_; - std::vector facerecogJobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFACERECOGJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryFpCompareJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryFpCompareJobListRequest.h deleted file mode 100644 index 1637b1370..000000000 --- a/mts/include/alibabacloud/mts/model/QueryFpCompareJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPCOMPAREJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYFPCOMPAREJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryFpCompareJobListRequest : public RpcServiceRequest { -public: - QueryFpCompareJobListRequest(); - ~QueryFpCompareJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPCOMPAREJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryFpCompareJobListResult.h b/mts/include/alibabacloud/mts/model/QueryFpCompareJobListResult.h deleted file mode 100644 index c2c8deab5..000000000 --- a/mts/include/alibabacloud/mts/model/QueryFpCompareJobListResult.h +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPCOMPAREJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYFPCOMPAREJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryFpCompareJobListResult : public ServiceResult - { - public: - struct FpCompareJob - { - struct MasterFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct QueryFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct MatchFrameStorage - { - struct MasterMediaFrames - { - std::string bucket; - std::string object; - std::string location; - }; - struct MatchedFramesDescFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct QueryMediaFrames - { - std::string bucket; - std::string object; - std::string location; - }; - MasterMediaFrames masterMediaFrames; - MatchedFramesDescFile matchedFramesDescFile; - QueryMediaFrames queryMediaFrames; - }; - struct FpCompareResult - { - struct QueryMediaInfo - { - std::string audioSampleRate; - std::string audioBitRate; - std::string fpNum; - std::string totalVideoFrame; - std::string audioChannels; - std::string fps; - std::string height; - std::string duration; - std::string width; - }; - struct MasterMediaInfo - { - std::string audioSampleRate; - std::string audioBitRate; - std::string fpNum; - std::string totalVideoFrame; - std::string audioChannels; - std::string fps; - std::string height; - std::string duration; - std::string width; - }; - struct MediaMatchSegment - { - std::string masterStartFrame; - std::string score; - std::string masterStartTime; - std::string queryEndFrame; - std::string totalMatchFrameNum; - std::string queryStartFrame; - std::string queryEndTime; - std::string masterEndTime; - std::string masterEndFrame; - std::string queryStartTime; - }; - MasterMediaInfo masterMediaInfo; - QueryMediaInfo queryMediaInfo; - std::vector mediaMatchSegments; - }; - std::string message; - std::string userData; - std::string code; - FpCompareResult fpCompareResult; - std::string finishTime; - std::string state; - std::string creationTime; - MatchFrameStorage matchFrameStorage; - std::string pipelineId; - std::string id; - QueryFile queryFile; - MasterFile masterFile; - std::string fpDBId; - }; - - - QueryFpCompareJobListResult(); - explicit QueryFpCompareJobListResult(const std::string &payload); - ~QueryFpCompareJobListResult(); - std::vector getFpCompareJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector fpCompareJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPCOMPAREJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryFpImportResultRequest.h b/mts/include/alibabacloud/mts/model/QueryFpImportResultRequest.h deleted file mode 100644 index d1aa76dec..000000000 --- a/mts/include/alibabacloud/mts/model/QueryFpImportResultRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryFpImportResultRequest : public RpcServiceRequest { -public: - QueryFpImportResultRequest(); - ~QueryFpImportResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - long getStartTime() const; - void setStartTime(long startTime); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getPageSize() const; - void setPageSize(long pageSize); - long getPageIndex() const; - void setPageIndex(long pageIndex); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - long getEndTime() const; - void setEndTime(long endTime); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - long resourceOwnerId_; - long startTime_; - std::string accessKeyId_; - long pageSize_; - long pageIndex_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long endTime_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryFpImportResultResult.h b/mts/include/alibabacloud/mts/model/QueryFpImportResultResult.h deleted file mode 100644 index d74e4fb59..000000000 --- a/mts/include/alibabacloud/mts/model/QueryFpImportResultResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -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 getFpResultLogInfoList()const; - long getLogCount()const; - - protected: - void parse(const std::string &payload); - private: - PageInfo pageInfo_; - std::vector fpResultLogInfoList_; - long logCount_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryFpShotJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryFpShotJobListRequest.h index 79f3e775f..03dbfc346 100644 --- a/mts/include/alibabacloud/mts/model/QueryFpShotJobListRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryFpShotJobListRequest.h @@ -38,6 +38,8 @@ public: void setStartOfJobCreatedTimeRange(const std::string &startOfJobCreatedTimeRange); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); std::string getState() const; void setState(const std::string &state); std::string getEndOfJobCreatedTimeRange() const; @@ -62,6 +64,7 @@ private: std::string nextPageToken_; std::string startOfJobCreatedTimeRange_; std::string accessKeyId_; + std::string userData_; std::string state_; std::string endOfJobCreatedTimeRange_; std::string resourceOwnerAccount_; diff --git a/mts/include/alibabacloud/mts/model/QueryFpShotJobListResult.h b/mts/include/alibabacloud/mts/model/QueryFpShotJobListResult.h index 57c7fd8fa..318355f1b 100644 --- a/mts/include/alibabacloud/mts/model/QueryFpShotJobListResult.h +++ b/mts/include/alibabacloud/mts/model/QueryFpShotJobListResult.h @@ -58,7 +58,26 @@ namespace AlibabaCloud std::string primaryKey; std::vector fpShotSlices; }; + struct TextFpShot + { + struct TextFpShotSlice + { + struct InputFragment + { + std::string start; + std::string duration; + }; + std::string similarity; + std::string inputText; + std::string duplicationText; + InputFragment inputFragment; + }; + std::string similarity; + std::string primaryKey; + std::vector textFpShotSlices; + }; std::vector audioFpShots; + std::vector textFpShots; std::vector fpShots; }; struct FpShotConfig @@ -78,10 +97,12 @@ namespace AlibabaCloud std::string userData; std::string txHash; FpShotResult fpShotResult; + int duration; std::string code; InputFile inputFile; std::string transactionId; FpShotConfig fpShotConfig; + std::string input; std::string finishTime; std::string state; std::string creationTime; diff --git a/mts/include/alibabacloud/mts/model/QueryIProductionJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryIProductionJobListRequest.h deleted file mode 100644 index b6d502931..000000000 --- a/mts/include/alibabacloud/mts/model/QueryIProductionJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYIPRODUCTIONJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYIPRODUCTIONJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryIProductionJobListRequest : public RpcServiceRequest { -public: - QueryIProductionJobListRequest(); - ~QueryIProductionJobListRequest(); - 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); - std::string getIProductionJobIds() const; - void setIProductionJobIds(const std::string &iProductionJobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string iProductionJobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIPRODUCTIONJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryIProductionJobListResult.h b/mts/include/alibabacloud/mts/model/QueryIProductionJobListResult.h deleted file mode 100644 index 824450ebb..000000000 --- a/mts/include/alibabacloud/mts/model/QueryIProductionJobListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYIPRODUCTIONJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYIPRODUCTIONJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryIProductionJobListResult : public ServiceResult - { - public: - - - QueryIProductionJobListResult(); - explicit QueryIProductionJobListResult(const std::string &payload); - ~QueryIProductionJobListResult(); - std::vector getJobs()const; - std::string getNextPageToken()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobs_; - std::string nextPageToken_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIPRODUCTIONJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryImageSearchJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryImageSearchJobListRequest.h deleted file mode 100644 index 2cd82f0a6..000000000 --- a/mts/include/alibabacloud/mts/model/QueryImageSearchJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -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 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 getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryImageSearchJobListResult.h b/mts/include/alibabacloud/mts/model/QueryImageSearchJobListResult.h deleted file mode 100644 index 19ecb020c..000000000 --- a/mts/include/alibabacloud/mts/model/QueryImageSearchJobListResult.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryImageSearchJobListResult : public ServiceResult - { - public: - struct ImageSearchJob - { - struct Result - { - struct ImageSearchShotsItem - { - std::string matchedFrame; - std::string similarity; - std::string matchedTimestamp; - }; - std::vector imageSearchShots; - }; - struct InputImage - { - std::string bucket; - std::string object; - std::string location; - }; - struct InputVideo - { - std::string bucket; - std::string object; - std::string location; - }; - std::string finishTime; - std::string message; - 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 getImageSearchJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector imageSearchJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryInferenceServerResult.h b/mts/include/alibabacloud/mts/model/QueryInferenceServerResult.h deleted file mode 100644 index ded7eec85..000000000 --- a/mts/include/alibabacloud/mts/model/QueryInferenceServerResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYINFERENCESERVERRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYINFERENCESERVERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryInferenceServerResult : public ServiceResult - { - public: - struct FunctionsItem - { - std::string functionName; - std::string testId; - long userId; - std::string modelPath; - long createTime; - std::string modelType; - std::string pipelineId; - }; - - - QueryInferenceServerResult(); - explicit QueryInferenceServerResult(const std::string &payload); - ~QueryInferenceServerResult(); - std::string getMessage()const; - std::vector getFunctions()const; - long getTotalSize()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::vector functions_; - long totalSize_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYINFERENCESERVERRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryInnerJobResult.h b/mts/include/alibabacloud/mts/model/QueryInnerJobResult.h deleted file mode 100644 index 33fbe9afb..000000000 --- a/mts/include/alibabacloud/mts/model/QueryInnerJobResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYINNERJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYINNERJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryInnerJobResult : public ServiceResult - { - public: - struct Video - { - int index; - std::string code; - int result; - }; - struct Result - { - int index; - std::string code; - int result; - }; - - - QueryInnerJobResult(); - explicit QueryInnerJobResult(const std::string &payload); - ~QueryInnerJobResult(); - std::string getStatus()const; - std::string getSuggestion()const; - Video getVideo()const; - std::vector getImage()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string suggestion_; - Video video_; - std::vector image_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYINNERJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryJobListRequest.h index 17a695163..63b5c5846 100644 --- a/mts/include/alibabacloud/mts/model/QueryJobListRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryJobListRequest.h @@ -32,23 +32,26 @@ public: ~QueryJobListRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + bool getIncludePipelineInfo() const; + void setIncludePipelineInfo(bool includePipelineInfo); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); 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 getJobIds() const; void setJobIds(const std::string &jobIds); private: long resourceOwnerId_; + bool includePipelineInfo_; + std::string accessKeyId_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; std::string jobIds_; }; } // namespace Model diff --git a/mts/include/alibabacloud/mts/model/QueryJobListResult.h b/mts/include/alibabacloud/mts/model/QueryJobListResult.h index 7658a356d..9c6bc1176 100644 --- a/mts/include/alibabacloud/mts/model/QueryJobListResult.h +++ b/mts/include/alibabacloud/mts/model/QueryJobListResult.h @@ -186,29 +186,32 @@ namespace AlibabaCloud std::string preloadTime; std::string costBandwidth; }; - std::string codecTag; std::string codecTimeBase; std::string sar; - std::string startTime; std::string fps; std::string index; - std::string lang; - std::string duration; std::string pixFmt; + std::string bitsPerRawSample; NetworkCost networkCost; - std::string bitrate; std::string codecName; std::string avgFPS; std::string profile; + std::string colorPrimaries; + std::string height; + std::string numFrames; + std::string width; + std::string colorTransfer; + std::string codecTag; + std::string startTime; + std::string lang; + std::string duration; + std::string bitrate; std::string timebase; std::string codecTagString; std::string hasBFrames; std::string dar; std::string codecLongName; - std::string height; std::string level; - std::string numFrames; - std::string width; }; struct AudioStream { @@ -264,6 +267,25 @@ namespace AlibabaCloud Streams streams; std::string fileSize; }; + struct MultiSpeedInfo + { + std::string message; + std::string downgradePolicy; + std::string enable; + int settingSpeed; + double realSpeed; + double duration; + double timeCost; + std::string code; + }; + struct TraceMark + { + std::string enable; + }; + struct CopyrightMark + { + std::string content; + }; struct WaterMark { struct InputFile @@ -321,6 +343,7 @@ namespace AlibabaCloud }; std::string rotate; std::string userData; + TraceMark traceMark; Encryption encryption; Properties properties; SuperReso superReso; @@ -329,14 +352,17 @@ namespace AlibabaCloud Container container; TransConfig transConfig; std::string waterMarkConfigUrl; + std::string extendData; MuxConfig muxConfig; SubtitleConfig subtitleConfig; std::vector openingList; std::string templateId; + CopyrightMark copyrightMark; OutputFile outputFile; std::vector tailSlateList; std::string priority; std::string mergeConfigUrl; + MultiSpeedInfo multiSpeedInfo; std::string deWatermark; M3U8NonStandardSupport m3U8NonStandardSupport; Video video; @@ -358,16 +384,32 @@ namespace AlibabaCloud std::string errorMessage; std::string messageId; }; - Input input; - std::string finishTime; + struct Pipeline + { + struct ExtendConfig + { + bool isBoostNew; + std::string multiSpeedDowngradePolicy; + int maxMultiSpeed; + }; + std::string speed; + std::string state; + std::string id; + ExtendConfig extendConfig; + std::string name; + }; std::string message; long percent; + std::string code; + std::string submitTime; + Pipeline pipeline; + Input input; + std::string finishTime; std::string state; Output output; MNSMessageResult mNSMessageResult; std::string creationTime; std::string pipelineId; - std::string code; std::string jobId; }; diff --git a/mts/include/alibabacloud/mts/model/QueryMCJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryMCJobListRequest.h deleted file mode 100644 index fe1984fcc..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMCJobListRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -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 getNextPageToken() const; - void setNextPageToken(const std::string &nextPageToken); - std::string getStartOfJobCreatedTimeRange() const; - void setStartOfJobCreatedTimeRange(const std::string &startOfJobCreatedTimeRange); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getState() const; - void setState(const std::string &state); - std::string getEndOfJobCreatedTimeRange() const; - void setEndOfJobCreatedTimeRange(const std::string &endOfJobCreatedTimeRange); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string nextPageToken_; - std::string startOfJobCreatedTimeRange_; - std::string accessKeyId_; - std::string state_; - std::string endOfJobCreatedTimeRange_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long maximumPageSize_; - long ownerId_; - std::string pipelineId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMCJobListResult.h b/mts/include/alibabacloud/mts/model/QueryMCJobListResult.h deleted file mode 100644 index f966bdb6e..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMCJobListResult.h +++ /dev/null @@ -1,406 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryMCJobListResult : public ServiceResult - { - public: - struct Job - { - struct Result - { - struct PornResult - { - struct PornText - { - std::string suggestion; - std::string score; - std::string text; - }; - 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 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 text; - std::string object; - }; - std::vector pornImages; - std::vector pornAudios; - std::vector pornVideos; - std::vector pornTexts; - std::vector pornOcrs; - }; - struct AdResult - { - struct AdOcr - { - std::string suggestion; - std::string score; - std::string time; - 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 AdAudio - { - std::string suggestion; - std::string score; - std::string endTime; - std::string startTime; - std::string text; - std::string object; - }; - struct AdVideo - { - std::string suggestion; - std::string score; - std::string time; - std::string object; - }; - std::vector adImages; - std::vector adAudios; - std::vector adOcrs; - std::vector adVideos; - std::vector adTexts; - }; - struct LogoResult - { - struct LogoImage - { - std::string suggestion; - std::string score; - std::string text; - std::string url; - }; - struct LogoVideo - { - std::string suggestion; - std::string score; - std::string time; - std::string object; - }; - std::vector logoImages; - std::vector logoVideos; - }; - struct QrcodeResult - { - struct QrcodeImage - { - std::string suggestion; - std::string score; - std::string text; - std::string url; - }; - struct QrcodeVideo - { - std::string suggestion; - std::string score; - std::string time; - std::string object; - }; - std::vector qrcodeVideos; - std::vector qrcodeImages; - }; - struct PoliticsResult - { - struct PoliticsOcr - { - std::string suggestion; - std::string score; - std::string time; - std::string text; - std::string object; - }; - struct PoliticsVideo - { - std::string suggestion; - std::string score; - std::string time; - std::string object; - }; - struct PoliticsImage - { - std::string suggestion; - std::string score; - std::string text; - std::string url; - }; - struct PoliticsText - { - std::string suggestion; - std::string score; - std::string text; - }; - struct PoliticsAudio - { - std::string suggestion; - std::string score; - std::string endTime; - std::string startTime; - std::string text; - std::string object; - }; - std::vector politicsTexts; - std::vector politicsVideos; - std::vector politicsOcrs; - std::vector politicsAudios; - std::vector politicsImages; - }; - struct LiveResult - { - struct LiveImage - { - std::string suggestion; - std::string score; - std::string text; - std::string url; - }; - struct LiveVideo - { - std::string suggestion; - std::string score; - std::string time; - std::string object; - }; - std::vector liveVideos; - std::vector liveImages; - }; - struct AbuseResult - { - struct AbuseOcr - { - std::string suggestion; - std::string score; - std::string time; - std::string text; - std::string object; - }; - 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; - }; - std::vector abuseOcrs; - std::vector abuseTexts; - std::vector abuseAudios; - }; - struct SpamResult - { - struct SpamText - { - std::string suggestion; - std::string score; - std::string text; - }; - struct SpamAudio - { - std::string suggestion; - std::string score; - std::string endTime; - std::string startTime; - std::string text; - std::string object; - }; - struct SpamOcr - { - std::string suggestion; - std::string score; - std::string time; - std::string text; - std::string object; - }; - std::vector spamTexts; - std::vector spamAudios; - std::vector spamOcrs; - }; - struct ContrabandResult - { - struct ContrabandAudio - { - std::string suggestion; - std::string score; - std::string endTime; - std::string startTime; - std::string text; - std::string object; - }; - struct ContrabandOcr - { - std::string suggestion; - std::string score; - std::string time; - std::string text; - std::string object; - }; - struct ContrabandText - { - std::string suggestion; - std::string score; - std::string text; - }; - std::vector contrabandOcrs; - std::vector contrabandTexts; - std::vector contrabandAudios; - }; - struct TerrorismResult - { - struct TerrorismOcr - { - std::string suggestion; - std::string score; - std::string time; - std::string text; - std::string object; - }; - struct TerrorismAudio - { - std::string suggestion; - std::string score; - std::string endTime; - std::string startTime; - std::string text; - std::string object; - }; - struct TerrorismVideo - { - std::string suggestion; - std::string score; - std::string time; - 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; - }; - std::vector terrorismAudios; - std::vector terrorismTexts; - std::vector terrorismImages; - std::vector terrorismOcrs; - std::vector terrorismVideos; - }; - LogoResult logoResult; - std::string suggestion; - std::string score; - PoliticsResult politicsResult; - QrcodeResult qrcodeResult; - AbuseResult abuseResult; - LiveResult liveResult; - TerrorismResult terrorismResult; - SpamResult spamResult; - PornResult pornResult; - AdResult adResult; - ContrabandResult contrabandResult; - }; - std::string resultOutputFile; - std::string message; - 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 getJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::string nextPageToken_; - std::vector jobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryMCTemplateListRequest.h b/mts/include/alibabacloud/mts/model/QueryMCTemplateListRequest.h deleted file mode 100644 index 5f0432277..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMCTemplateListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_ - -#include -#include -#include -#include -#include - -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_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMCTemplateListResult.h b/mts/include/alibabacloud/mts/model/QueryMCTemplateListResult.h deleted file mode 100644 index d32f99134..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMCTemplateListResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryMCTemplateListResult : public ServiceResult - { - public: - struct _Template - { - std::string qrcode; - std::string ad; - std::string abuse; - std::string terrorism; - std::string live; - std::string spam; - std::string logo; - std::string name; - 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 getNonExistTids()const; - - protected: - void parse(const std::string &payload); - private: - std::vector<_Template> templateList_; - std::vector nonExistTids_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryMcuJobRequest.h b/mts/include/alibabacloud/mts/model/QueryMcuJobRequest.h deleted file mode 100644 index e91af465a..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMcuJobRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -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); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMcuJobResult.h b/mts/include/alibabacloud/mts/model/QueryMcuJobResult.h deleted file mode 100644 index 296429b52..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMcuJobResult.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryMcuJobResult : public ServiceResult - { - public: - struct Job - { - struct CategoryResult - { - struct Category - { - std::string score; - std::string label; - }; - std::string details; - std::vector categories; - }; - 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 asrTextList; - std::string duration; - }; - struct Tag - { - struct FrameTagInfo - { - std::string score; - std::string category; - std::string tag; - }; - std::string imageId; - std::string imageUrl; - std::string time; - std::vector frameTagInfos; - }; - struct Ocr - { - std::string ocrText; - std::string imageId; - std::string imageUrl; - std::string time; - }; - struct SubTask - { - std::string type; - std::string message; - std::string code; - }; - struct Face - { - struct Celebrity - { - std::string score; - std::string target; - std::string name; - }; - std::vector celebrities; - std::string imageId; - std::string imageUrl; - std::string time; - }; - std::vector ocrResult; - Input input; - std::string _template; - CategoryResult categoryResult; - std::vector faceResult; - std::string userData; - AsrResult asrResult; - std::vector tagResult; - std::string jobId; - std::string templateId; - std::vector subTaskInfo; - }; - - - QueryMcuJobResult(); - explicit QueryMcuJobResult(const std::string &payload); - ~QueryMcuJobResult(); - std::vector getNonExistJobIds()const; - std::vector getJobResult()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistJobIds_; - std::vector jobResult_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryMcuTemplateRequest.h b/mts/include/alibabacloud/mts/model/QueryMcuTemplateRequest.h deleted file mode 100644 index 3df2dfeb8..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMcuTemplateRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATEREQUEST_H_ - -#include -#include -#include -#include -#include - -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_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h b/mts/include/alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h index 97007e2e4..6f89a29eb 100644 --- a/mts/include/alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h +++ b/mts/include/alibabacloud/mts/model/QueryMediaCensorJobDetailResult.h @@ -99,6 +99,19 @@ namespace AlibabaCloud std::string nextPageToken; std::vector videoTimelines; }; + struct AudioCensorResult + { + struct AudioDetailResult + { + int endTime; + int startTime; + std::string label; + std::string text; + }; + std::string suggestion; + std::string label; + std::vector audioDetailResultList; + }; struct CoverImageCensorResult { struct Result @@ -120,6 +133,7 @@ namespace AlibabaCloud std::string code; std::string suggestion; Input input; + AudioCensorResult audioCensorResult; std::string finishTime; VensorCensorResult vensorCensorResult; std::string state; diff --git a/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListRequest.h index a13d09006..d82089251 100644 --- a/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListRequest.h @@ -38,8 +38,6 @@ public: void setStartOfJobCreatedTimeRange(const std::string &startOfJobCreatedTimeRange); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); std::string getState() const; void setState(const std::string &state); std::string getEndOfJobCreatedTimeRange() const; @@ -54,13 +52,14 @@ public: void setOwnerId(long ownerId); std::string getPipelineId() const; void setPipelineId(const std::string &pipelineId); + std::string getJobIds() const; + void setJobIds(const std::string &jobIds); private: long resourceOwnerId_; std::string nextPageToken_; std::string startOfJobCreatedTimeRange_; std::string accessKeyId_; - std::string jobId_; std::string state_; std::string endOfJobCreatedTimeRange_; std::string resourceOwnerAccount_; @@ -68,6 +67,7 @@ private: long maximumPageSize_; long ownerId_; std::string pipelineId_; + std::string jobIds_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListResult.h b/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListResult.h index ccea1ab23..c1ff396a8 100644 --- a/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListResult.h +++ b/mts/include/alibabacloud/mts/model/QueryMediaCensorJobListResult.h @@ -99,6 +99,11 @@ namespace AlibabaCloud std::string nextPageToken; std::vector videoTimelines; }; + struct AudioCensorResult + { + std::string suggestion; + std::string label; + }; struct CoverImageCensorResult { struct Result @@ -120,6 +125,7 @@ namespace AlibabaCloud std::string code; std::string suggestion; Input input; + AudioCensorResult audioCensorResult; std::string finishTime; VensorCensorResult vensorCensorResult; std::string state; diff --git a/mts/include/alibabacloud/mts/model/QueryMediaDetailJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryMediaDetailJobListRequest.h deleted file mode 100644 index d1c1346db..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMediaDetailJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMEDIADETAILJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIADETAILJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryMediaDetailJobListRequest : public RpcServiceRequest { -public: - QueryMediaDetailJobListRequest(); - ~QueryMediaDetailJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIADETAILJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryMediaDetailJobListResult.h b/mts/include/alibabacloud/mts/model/QueryMediaDetailJobListResult.h deleted file mode 100644 index 2b7a21b4b..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMediaDetailJobListResult.h +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMEDIADETAILJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIADETAILJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryMediaDetailJobListResult : public ServiceResult - { - public: - struct Job - { - struct MediaDetailResult - { - struct MediaDetailRecgResult - { - struct Sensitive - { - std::string score; - std::string target; - std::string name; - }; - struct Politician - { - std::string score; - std::string target; - std::string name; - }; - struct Custom - { - struct Clip - { - std::string maxScore; - std::string endTime; - std::string startTarget; - std::string startTime; - std::string endTarget; - std::string minScore; - std::string avgScore; - }; - std::vector clips; - std::string name; - }; - struct FrameTagInfo - { - std::string score; - std::string category; - std::string tag; - }; - struct Celebrity - { - std::string score; - std::string target; - std::string name; - }; - std::vector politicians; - std::vector customs; - std::string ocrText; - std::vector celebrities; - std::vector sensitives; - std::string imageUrl; - std::vector frameTags; - std::string time; - std::vector frameTagInfos; - }; - std::string status; - std::vector mediaDetailRecgResults; - std::vector tags; - }; - struct MediaDetailConfig - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - OutputFile outputFile; - std::string detailType; - std::string scenario; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - MediaDetailConfig mediaDetailConfig; - Input input; - std::string message; - std::string userData; - std::string state; - MediaDetailResult mediaDetailResult; - std::string creationTime; - std::string pipelineId; - std::string id; - std::string code; - }; - - - QueryMediaDetailJobListResult(); - explicit QueryMediaDetailJobListResult(const std::string &payload); - ~QueryMediaDetailJobListResult(); - std::vector getJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIADETAILJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h deleted file mode 100644 index 05788048f..000000000 --- a/mts/include/alibabacloud/mts/model/QueryMediaFpDeleteJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -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 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 getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryPipelineListResult.h b/mts/include/alibabacloud/mts/model/QueryPipelineListResult.h index b3efb6cde..1ab16bc07 100644 --- a/mts/include/alibabacloud/mts/model/QueryPipelineListResult.h +++ b/mts/include/alibabacloud/mts/model/QueryPipelineListResult.h @@ -41,6 +41,12 @@ namespace AlibabaCloud std::string topic; std::string queueName; }; + struct ExtendConfig + { + bool isBoostNew; + std::string multiSpeedDowngradePolicy; + int maxMultiSpeed; + }; std::string role; std::string speed; long speedLevel; @@ -48,6 +54,7 @@ namespace AlibabaCloud std::string state; NotifyConfig notifyConfig; std::string id; + ExtendConfig extendConfig; std::string name; }; diff --git a/mts/include/alibabacloud/mts/model/QueryPornJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryPornJobListRequest.h deleted file mode 100644 index dea7220b5..000000000 --- a/mts/include/alibabacloud/mts/model/QueryPornJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYPORNJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYPORNJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryPornJobListRequest : public RpcServiceRequest { -public: - QueryPornJobListRequest(); - ~QueryPornJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYPORNJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryPornJobListResult.h b/mts/include/alibabacloud/mts/model/QueryPornJobListResult.h deleted file mode 100644 index 88f8e75a2..000000000 --- a/mts/include/alibabacloud/mts/model/QueryPornJobListResult.h +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYPORNJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYPORNJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryPornJobListResult : public ServiceResult - { - public: - struct PornJob - { - struct PornConfig - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - OutputFile outputFile; - std::string bizType; - std::string interval; - }; - struct CensorPornResult - { - struct Counter - { - std::string label; - int count; - }; - struct Top - { - std::string score; - std::string label; - std::string index; - std::string object; - std::string timestamp; - }; - std::string suggestion; - std::string maxScore; - std::string averageScore; - std::vector pornCounterList; - std::vector pornTopList; - std::string label; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - Input input; - std::string message; - std::string userData; - std::string state; - CensorPornResult censorPornResult; - std::string creationTime; - std::string pipelineId; - PornConfig pornConfig; - std::string id; - std::string code; - }; - - - QueryPornJobListResult(); - explicit QueryPornJobListResult(const std::string &payload); - ~QueryPornJobListResult(); - std::vector getPornJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector pornJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYPORNJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryPornPipelineListRequest.h b/mts/include/alibabacloud/mts/model/QueryPornPipelineListRequest.h deleted file mode 100644 index a0933e96f..000000000 --- a/mts/include/alibabacloud/mts/model/QueryPornPipelineListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYPORNPIPELINELISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYPORNPIPELINELISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryPornPipelineListRequest : public RpcServiceRequest { -public: - QueryPornPipelineListRequest(); - ~QueryPornPipelineListRequest(); - 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); - std::string getPipelineIds() const; - void setPipelineIds(const std::string &pipelineIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string pipelineIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYPORNPIPELINELISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryPornPipelineListResult.h b/mts/include/alibabacloud/mts/model/QueryPornPipelineListResult.h deleted file mode 100644 index 111e86ca8..000000000 --- a/mts/include/alibabacloud/mts/model/QueryPornPipelineListResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYPORNPIPELINELISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYPORNPIPELINELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryPornPipelineListResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - QueryPornPipelineListResult(); - explicit QueryPornPipelineListResult(const std::string &payload); - ~QueryPornPipelineListResult(); - std::vector getPipelineList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector pipelineList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYPORNPIPELINELISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QuerySmarttagJobRequest.h b/mts/include/alibabacloud/mts/model/QuerySmarttagJobRequest.h index e5b6ab895..cc077a9d5 100644 --- a/mts/include/alibabacloud/mts/model/QuerySmarttagJobRequest.h +++ b/mts/include/alibabacloud/mts/model/QuerySmarttagJobRequest.h @@ -32,24 +32,27 @@ public: ~QuerySmarttagJobRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getJobId() const; + void setJobId(const std::string &jobId); 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 getJobId() const; - void setJobId(const std::string &jobId); + std::string getParams() const; + void setParams(const std::string ¶ms); private: long resourceOwnerId_; + std::string accessKeyId_; + std::string jobId_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; - std::string jobId_; + std::string params_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/QuerySmarttagTemplateListResult.h b/mts/include/alibabacloud/mts/model/QuerySmarttagTemplateListResult.h index b91db622f..1389569a8 100644 --- a/mts/include/alibabacloud/mts/model/QuerySmarttagTemplateListResult.h +++ b/mts/include/alibabacloud/mts/model/QuerySmarttagTemplateListResult.h @@ -34,13 +34,20 @@ namespace AlibabaCloud public: struct _Template { - std::string industry; bool isDefault; std::string faceCategoryIds; + std::string labelVersion; + std::string objectGroupIds; + std::string scene; + std::string industry; + std::string keywordConfig; + std::string labelType; std::string analyseTypes; std::string templateName; - std::string scene; + std::string knowledgeConfig; + std::string faceCustomParamsConfig; std::string templateId; + std::string landmarkGroupIds; }; diff --git a/mts/include/alibabacloud/mts/model/QuerySnapshotJobListResult.h b/mts/include/alibabacloud/mts/model/QuerySnapshotJobListResult.h index c0ba9047c..d9e083d54 100644 --- a/mts/include/alibabacloud/mts/model/QuerySnapshotJobListResult.h +++ b/mts/include/alibabacloud/mts/model/QuerySnapshotJobListResult.h @@ -64,6 +64,7 @@ namespace AlibabaCloud }; OutputFile outputFile; TileOutputFile tileOutputFile; + std::vector timeArray; std::string frameType; std::string num; TileOut tileOut; diff --git a/mts/include/alibabacloud/mts/model/QuerySubtitleJobListRequest.h b/mts/include/alibabacloud/mts/model/QuerySubtitleJobListRequest.h deleted file mode 100644 index 079a2fb4a..000000000 --- a/mts/include/alibabacloud/mts/model/QuerySubtitleJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYSUBTITLEJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYSUBTITLEJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QuerySubtitleJobListRequest : public RpcServiceRequest { -public: - QuerySubtitleJobListRequest(); - ~QuerySubtitleJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYSUBTITLEJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QuerySubtitleJobListResult.h b/mts/include/alibabacloud/mts/model/QuerySubtitleJobListResult.h deleted file mode 100644 index 96f726faf..000000000 --- a/mts/include/alibabacloud/mts/model/QuerySubtitleJobListResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYSUBTITLEJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYSUBTITLEJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QuerySubtitleJobListResult : public ServiceResult - { - public: - struct Job - { - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - std::string outputConfig; - std::string userData; - std::string state; - MNSMessageResult mNSMessageResult; - std::string inputConfig; - std::string jobId; - }; - - - QuerySubtitleJobListResult(); - explicit QuerySubtitleJobListResult(const std::string &payload); - ~QuerySubtitleJobListResult(); - std::vector getNonExistJobIds()const; - std::vector getJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistJobIds_; - std::vector jobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYSUBTITLEJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryTagJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryTagJobListRequest.h deleted file mode 100644 index ddffa5597..000000000 --- a/mts/include/alibabacloud/mts/model/QueryTagJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTAGJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYTAGJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryTagJobListRequest : public RpcServiceRequest { -public: - QueryTagJobListRequest(); - ~QueryTagJobListRequest(); - 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); - std::string getTagJobIds() const; - void setTagJobIds(const std::string &tagJobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string tagJobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTAGJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryTagJobListResult.h b/mts/include/alibabacloud/mts/model/QueryTagJobListResult.h deleted file mode 100644 index d7b00224c..000000000 --- a/mts/include/alibabacloud/mts/model/QueryTagJobListResult.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTAGJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYTAGJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryTagJobListResult : public ServiceResult - { - public: - struct TagJob - { - struct VideoTagResult - { - struct TagAnResult - { - std::string score; - std::string label; - }; - struct TagFrResult - { - struct TagFace - { - std::string score; - std::string target; - std::string name; - }; - std::vector tagFaces; - std::string time; - }; - std::string details; - std::vector tagAnResults; - std::vector tagFrResults; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - Input input; - std::string message; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - VideoTagResult videoTagResult; - std::string code; - }; - - - QueryTagJobListResult(); - explicit QueryTagJobListResult(const std::string &payload); - ~QueryTagJobListResult(); - std::vector getTagJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector tagJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTAGJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryTemplateListRequest.h b/mts/include/alibabacloud/mts/model/QueryTemplateListRequest.h index bde7efea7..8f9dcf9cd 100644 --- a/mts/include/alibabacloud/mts/model/QueryTemplateListRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryTemplateListRequest.h @@ -34,22 +34,25 @@ public: void setResourceOwnerId(long resourceOwnerId); std::string getTemplateIds() const; void setTemplateIds(const std::string &templateIds); + bool getForFrontend() const; + void setForFrontend(bool forFrontend); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); 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_; + bool forFrontend_; + std::string accessKeyId_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/QueryTemplateListResult.h b/mts/include/alibabacloud/mts/model/QueryTemplateListResult.h index cb99148a6..77a901676 100644 --- a/mts/include/alibabacloud/mts/model/QueryTemplateListResult.h +++ b/mts/include/alibabacloud/mts/model/QueryTemplateListResult.h @@ -41,7 +41,15 @@ namespace AlibabaCloud std::string min; std::string max; }; + struct NarrowBand + { + float maxAbrRatio; + std::string version; + float abrmax; + }; + NarrowBand narrowBand; std::string bufsize; + std::string hdr2sdr; std::string qscale; std::string scanMode; std::string preset; @@ -98,8 +106,18 @@ namespace AlibabaCloud }; struct Audio { + struct Volume + { + std::string loudnessRangeTarget; + std::string truePeak; + std::string integratedLoudnessTarget; + std::string level; + std::string method; + std::string peakLevel; + }; std::string codec; std::string qscale; + Volume volume; std::string remove; std::string samplerate; std::string bitrate; @@ -110,10 +128,20 @@ namespace AlibabaCloud { std::string format; }; + struct FrontendHint + { + std::string bitrateControlType; + bool isDynamic; + std::string transcodeType; + std::string source; + bool hasOldHdr2Sdr; + }; Container container; TransConfig transConfig; Video video; std::string state; + std::string creationTime; + FrontendHint frontendHint; std::string id; Audio audio; MuxConfig muxConfig; diff --git a/mts/include/alibabacloud/mts/model/QueryTerrorismJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryTerrorismJobListRequest.h deleted file mode 100644 index e81eaee65..000000000 --- a/mts/include/alibabacloud/mts/model/QueryTerrorismJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryTerrorismJobListRequest : public RpcServiceRequest { -public: - QueryTerrorismJobListRequest(); - ~QueryTerrorismJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryTerrorismJobListResult.h b/mts/include/alibabacloud/mts/model/QueryTerrorismJobListResult.h deleted file mode 100644 index ea3d29a63..000000000 --- a/mts/include/alibabacloud/mts/model/QueryTerrorismJobListResult.h +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryTerrorismJobListResult : public ServiceResult - { - public: - struct TerrorismJob - { - struct CensorTerrorismResult - { - struct Top - { - std::string score; - std::string label; - std::string index; - std::string object; - std::string timestamp; - }; - struct Counter - { - std::string label; - int count; - }; - std::vector terrorismCounterList; - std::string suggestion; - std::string maxScore; - std::string averageScore; - std::string label; - std::vector terrorismTopList; - }; - struct TerrorismConfig - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - OutputFile outputFile; - std::string bizType; - std::string interval; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - CensorTerrorismResult censorTerrorismResult; - Input input; - std::string message; - std::string userData; - std::string state; - TerrorismConfig terrorismConfig; - std::string creationTime; - std::string pipelineId; - std::string id; - std::string code; - }; - - - QueryTerrorismJobListResult(); - explicit QueryTerrorismJobListResult(const std::string &payload); - ~QueryTerrorismJobListResult(); - std::vector getTerrorismJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector terrorismJobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListRequest.h b/mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListRequest.h deleted file mode 100644 index 2b6cf56bd..000000000 --- a/mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMPIPELINELISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMPIPELINELISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryTerrorismPipelineListRequest : public RpcServiceRequest { -public: - QueryTerrorismPipelineListRequest(); - ~QueryTerrorismPipelineListRequest(); - 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); - std::string getPipelineIds() const; - void setPipelineIds(const std::string &pipelineIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string pipelineIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMPIPELINELISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListResult.h b/mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListResult.h deleted file mode 100644 index 50fa29100..000000000 --- a/mts/include/alibabacloud/mts/model/QueryTerrorismPipelineListResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMPIPELINELISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMPIPELINELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryTerrorismPipelineListResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - std::string priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - QueryTerrorismPipelineListResult(); - explicit QueryTerrorismPipelineListResult(const std::string &payload); - ~QueryTerrorismPipelineListResult(); - std::vector getPipelineList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector pipelineList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTERRORISMPIPELINELISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryVideoQualityJobRequest.h b/mts/include/alibabacloud/mts/model/QueryTraceAbJobRequest.h similarity index 69% rename from mts/include/alibabacloud/mts/model/QueryVideoQualityJobRequest.h rename to mts/include/alibabacloud/mts/model/QueryTraceAbJobRequest.h index ccffc1b60..7314d47cd 100644 --- a/mts/include/alibabacloud/mts/model/QueryVideoQualityJobRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryTraceAbJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOQUALITYJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOQUALITYJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTRACEABJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYTRACEABJOBREQUEST_H_ #include #include @@ -26,20 +26,20 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryVideoQualityJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT QueryTraceAbJobRequest : public RpcServiceRequest { public: - QueryVideoQualityJobRequest(); - ~QueryVideoQualityJobRequest(); - long getUserId() const; - void setUserId(long userId); + QueryTraceAbJobRequest(); + ~QueryTraceAbJobRequest(); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); std::string getJobId() const; void setJobId(const std::string &jobId); private: - long userId_; + std::string mediaId_; std::string jobId_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOQUALITYJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTRACEABJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ListInferenceJobResult.h b/mts/include/alibabacloud/mts/model/QueryTraceAbJobResult.h similarity index 60% rename from mts/include/alibabacloud/mts/model/ListInferenceJobResult.h rename to mts/include/alibabacloud/mts/model/QueryTraceAbJobResult.h index cb43a7f35..545a8f709 100644 --- a/mts/include/alibabacloud/mts/model/ListInferenceJobResult.h +++ b/mts/include/alibabacloud/mts/model/QueryTraceAbJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_LISTINFERENCEJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTINFERENCEJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTRACEABJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYTRACEABJOBRESULT_H_ #include #include @@ -29,39 +29,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT ListInferenceJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT QueryTraceAbJobResult : public ServiceResult { public: - struct JobsItem + struct DataItem { std::string status; - std::string message; + long gmtCreate; + std::string input; + std::string callback; + std::string mediaId; + std::string userData; long userId; - long jobTime; + std::string output; + long gmtModified; + long level; std::string jobId; - std::string jobParams; std::string result; }; - ListInferenceJobResult(); - explicit ListInferenceJobResult(const std::string &payload); - ~ListInferenceJobResult(); + QueryTraceAbJobResult(); + explicit QueryTraceAbJobResult(const std::string &payload); + ~QueryTraceAbJobResult(); std::string getMessage()const; - std::vector getJobs()const; - long getTotalSize()const; - std::string getCode()const; + std::vector getData()const; + long getStatusCode()const; protected: void parse(const std::string &payload); private: std::string message_; - std::vector jobs_; - long totalSize_; - std::string code_; + std::vector data_; + long statusCode_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_LISTINFERENCEJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTRACEABJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryInferenceJobRequest.h b/mts/include/alibabacloud/mts/model/QueryTraceExtractJobRequest.h similarity index 73% rename from mts/include/alibabacloud/mts/model/QueryInferenceJobRequest.h rename to mts/include/alibabacloud/mts/model/QueryTraceExtractJobRequest.h index c4b6870be..93f38ad3f 100644 --- a/mts/include/alibabacloud/mts/model/QueryInferenceJobRequest.h +++ b/mts/include/alibabacloud/mts/model/QueryTraceExtractJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYINFERENCEJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYINFERENCEJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTRACEEXTRACTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYTRACEEXTRACTJOBREQUEST_H_ #include #include @@ -26,10 +26,10 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryInferenceJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT QueryTraceExtractJobRequest : public RpcServiceRequest { public: - QueryInferenceJobRequest(); - ~QueryInferenceJobRequest(); + QueryTraceExtractJobRequest(); + ~QueryTraceExtractJobRequest(); std::string getJobId() const; void setJobId(const std::string &jobId); @@ -39,4 +39,4 @@ private: } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYINFERENCEJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTRACEEXTRACTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryTraceExtractJobResult.h b/mts/include/alibabacloud/mts/model/QueryTraceExtractJobResult.h new file mode 100644 index 000000000..5bff8a0bf --- /dev/null +++ b/mts/include/alibabacloud/mts/model/QueryTraceExtractJobResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_QUERYTRACEEXTRACTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYTRACEEXTRACTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Mts + { + namespace Model + { + class ALIBABACLOUD_MTS_EXPORT QueryTraceExtractJobResult : public ServiceResult + { + public: + struct Data + { + std::string trace; + }; + + + QueryTraceExtractJobResult(); + explicit QueryTraceExtractJobResult(const std::string &payload); + ~QueryTraceExtractJobResult(); + std::string getMessage()const; + Data getData()const; + long getStatusCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + long statusCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTRACEEXTRACTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryTraceM3u8JobRequest.h b/mts/include/alibabacloud/mts/model/QueryTraceM3u8JobRequest.h new file mode 100644 index 000000000..0d53796c5 --- /dev/null +++ b/mts/include/alibabacloud/mts/model/QueryTraceM3u8JobRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTRACEM3U8JOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYTRACEM3U8JOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Mts { +namespace Model { +class ALIBABACLOUD_MTS_EXPORT QueryTraceM3u8JobRequest : public RpcServiceRequest { +public: + QueryTraceM3u8JobRequest(); + ~QueryTraceM3u8JobRequest(); + long getLevel() const; + void setLevel(long level); + long getMessageId() const; + void setMessageId(long messageId); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getCreateTimeEnd() const; + void setCreateTimeEnd(long createTimeEnd); + std::string getJobId() const; + void setJobId(const std::string &jobId); + long getPageSize() const; + void setPageSize(long pageSize); + long getCreateTimeStart() const; + void setCreateTimeStart(long createTimeStart); + +private: + long level_; + long messageId_; + long pageNumber_; + long createTimeEnd_; + std::string jobId_; + long pageSize_; + long createTimeStart_; +}; +} // namespace Model +} // namespace Mts +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTRACEM3U8JOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryVideoQualityJobResult.h b/mts/include/alibabacloud/mts/model/QueryTraceM3u8JobResult.h similarity index 62% rename from mts/include/alibabacloud/mts/model/QueryVideoQualityJobResult.h rename to mts/include/alibabacloud/mts/model/QueryTraceM3u8JobResult.h index 68c03f9d0..dec2d8cd7 100644 --- a/mts/include/alibabacloud/mts/model/QueryVideoQualityJobResult.h +++ b/mts/include/alibabacloud/mts/model/QueryTraceM3u8JobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOQUALITYJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOQUALITYJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_QUERYTRACEM3U8JOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_QUERYTRACEM3U8JOBRESULT_H_ #include #include @@ -29,36 +29,40 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT QueryVideoQualityJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT QueryTraceM3u8JobResult : public ServiceResult { public: - struct Job + struct DataItem { + std::string trace; std::string status; - std::string message; + long gmtCreate; + std::string mediaId; + std::string userData; long userId; std::string output; - std::string videoQualityResults; + long gmtModified; + long traceId; std::string jobId; }; - QueryVideoQualityJobResult(); - explicit QueryVideoQualityJobResult(const std::string &payload); - ~QueryVideoQualityJobResult(); + QueryTraceM3u8JobResult(); + explicit QueryTraceM3u8JobResult(const std::string &payload); + ~QueryTraceM3u8JobResult(); std::string getMessage()const; - Job getJob()const; - std::string getCode()const; + std::vector getData()const; + long getStatusCode()const; protected: void parse(const std::string &payload); private: std::string message_; - Job job_; - std::string code_; + std::vector data_; + long statusCode_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOQUALITYJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_QUERYTRACEM3U8JOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryVideoGifJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryVideoGifJobListRequest.h deleted file mode 100644 index 99a2ce3ba..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoGifJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOGIFJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOGIFJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryVideoGifJobListRequest : public RpcServiceRequest { -public: - QueryVideoGifJobListRequest(); - ~QueryVideoGifJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOGIFJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryVideoGifJobListResult.h b/mts/include/alibabacloud/mts/model/QueryVideoGifJobListResult.h deleted file mode 100644 index 96ca0673f..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoGifJobListResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOGIFJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOGIFJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryVideoGifJobListResult : public ServiceResult - { - public: - struct Job - { - struct VideoGifResult - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - OutputFile outputFile; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - Input input; - std::string message; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - VideoGifResult videoGifResult; - std::string code; - }; - - - QueryVideoGifJobListResult(); - explicit QueryVideoGifJobListResult(const std::string &payload); - ~QueryVideoGifJobListResult(); - std::vector getJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOGIFJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryVideoPoseJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryVideoPoseJobListRequest.h deleted file mode 100644 index 624c8cea2..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoPoseJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -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 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 getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h b/mts/include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h deleted file mode 100644 index d15aba8e8..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoPoseJobListResult.h +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryVideoPoseJobListResult : public ServiceResult - { - public: - struct Job - { - struct OutputConfig - { - struct DataFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct VideoFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - DataFile dataFile; - VideoFile videoFile; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - struct Input - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - 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 startTime; - std::string fps; - std::string index; - std::string lang; - std::string duration; - std::string pixFmt; - NetworkCost networkCost; - std::string bitrate; - std::string codecName; - std::string avgFPS; - std::string profile; - 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 lang; - std::string duration; - std::string sampleFmt; - std::string samplerate; - std::string bitrate; - std::string codecName; - std::string channels; - std::string timebase; - std::string codecTagString; - std::string codecLongName; - std::string numFrames; - }; - struct SubtitleStream - { - std::string timebase; - std::string codecTag; - std::string codecTagString; - std::string codecTimeBase; - std::string codecLongName; - std::string startTime; - std::string index; - std::string lang; - std::string duration; - std::string codecName; - }; - std::vector videoStreamList; - std::vector subtitleStreamList; - std::vector 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; - }; - 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 getNonExistJobIds()const; - std::vector getJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector nonExistJobIds_; - std::vector jobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h deleted file mode 100644 index 881f1192b..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoSplitJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSPLITJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSPLITJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryVideoSplitJobListRequest : public RpcServiceRequest { -public: - QueryVideoSplitJobListRequest(); - ~QueryVideoSplitJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSPLITJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h b/mts/include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h deleted file mode 100644 index 3945ac0f2..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoSplitJobListResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSPLITJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSPLITJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryVideoSplitJobListResult : public ServiceResult - { - public: - struct Job - { - struct VideoSplitResult - { - struct VideoSplit - { - std::string path; - std::string endTime; - std::string startTime; - }; - std::vector videoSplitList; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - Input input; - std::string message; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - VideoSplitResult videoSplitResult; - std::string code; - }; - - - QueryVideoSplitJobListResult(); - explicit QueryVideoSplitJobListResult(const std::string &payload); - ~QueryVideoSplitJobListResult(); - std::vector getJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSPLITJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListRequest.h b/mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListRequest.h deleted file mode 100644 index 1830d3620..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSUMMARYJOBLISTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSUMMARYJOBLISTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryVideoSummaryJobListRequest : public RpcServiceRequest { -public: - QueryVideoSummaryJobListRequest(); - ~QueryVideoSummaryJobListRequest(); - 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); - std::string getJobIds() const; - void setJobIds(const std::string &jobIds); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobIds_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSUMMARYJOBLISTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListResult.h b/mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListResult.h deleted file mode 100644 index 4d2bf2bcc..000000000 --- a/mts/include/alibabacloud/mts/model/QueryVideoSummaryJobListResult.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSUMMARYJOBLISTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSUMMARYJOBLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT QueryVideoSummaryJobListResult : public ServiceResult - { - public: - struct Job - { - struct VideoSummaryResult - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct VideoSummary - { - std::string endTime; - std::string startTime; - }; - OutputFile outputFile; - std::vector videoSummaryList; - }; - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - Input input; - std::string message; - VideoSummaryResult videoSummaryResult; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string id; - std::string code; - }; - - - QueryVideoSummaryJobListResult(); - explicit QueryVideoSummaryJobListResult(const std::string &payload); - ~QueryVideoSummaryJobListResult(); - std::vector getJobList()const; - std::vector getNonExistIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobList_; - std::vector nonExistIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOSUMMARYJOBLISTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheRequest.h b/mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheRequest.h deleted file mode 100644 index 7bdce07c7..000000000 --- a/mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REFRESHCDNDOMAINCONFIGSCACHEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REFRESHCDNDOMAINCONFIGSCACHEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT RefreshCdnDomainConfigsCacheRequest : public RpcServiceRequest { -public: - RefreshCdnDomainConfigsCacheRequest(); - ~RefreshCdnDomainConfigsCacheRequest(); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getDomains() const; - void setDomains(const std::string &domains); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - -private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string domains_; - std::string ownerId_; - std::string accessKeyId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REFRESHCDNDOMAINCONFIGSCACHEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheResult.h b/mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheResult.h deleted file mode 100644 index 291e32af5..000000000 --- a/mts/include/alibabacloud/mts/model/RefreshCdnDomainConfigsCacheResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REFRESHCDNDOMAINCONFIGSCACHERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REFRESHCDNDOMAINCONFIGSCACHERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT RefreshCdnDomainConfigsCacheResult : public ServiceResult - { - public: - - - RefreshCdnDomainConfigsCacheResult(); - explicit RefreshCdnDomainConfigsCacheResult(const std::string &payload); - ~RefreshCdnDomainConfigsCacheResult(); - std::vector getSucessDomains()const; - std::vector getFailedDomains()const; - - protected: - void parse(const std::string &payload); - private: - std::vector sucessDomains_; - std::vector failedDomains_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REFRESHCDNDOMAINCONFIGSCACHERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UpdateAsrPipelineRequest.h b/mts/include/alibabacloud/mts/model/RegisterCustomViewRequest.h similarity index 65% rename from mts/include/alibabacloud/mts/model/UpdateAsrPipelineRequest.h rename to mts/include/alibabacloud/mts/model/RegisterCustomViewRequest.h index 071e58cd4..0f68987b7 100644 --- a/mts/include/alibabacloud/mts/model/UpdateAsrPipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/RegisterCustomViewRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEASRPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEASRPIPELINEREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_REGISTERCUSTOMVIEWREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_REGISTERCUSTOMVIEWREQUEST_H_ #include #include @@ -26,44 +26,41 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT UpdateAsrPipelineRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT RegisterCustomViewRequest : public RpcServiceRequest { public: - UpdateAsrPipelineRequest(); - ~UpdateAsrPipelineRequest(); + RegisterCustomViewRequest(); + ~RegisterCustomViewRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); - std::string getState() const; - void setState(const std::string &state); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCustomGroupId() const; + void setCustomGroupId(const std::string &customGroupId); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); + std::string getCustomEntityId() const; + void setCustomEntityId(const std::string &customEntityId); long getOwnerId() const; void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getName() const; - void setName(const std::string &name); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); private: long resourceOwnerId_; std::string accessKeyId_; - std::string state_; + std::string algorithm_; + std::string customGroupId_; std::string resourceOwnerAccount_; std::string ownerAccount_; - std::string notifyConfig_; + std::string customEntityId_; long ownerId_; - int priority_; - std::string pipelineId_; - std::string name_; + std::string imageUrl_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEASRPIPELINEREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_REGISTERCUSTOMVIEWREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportTagJobResultResult.h b/mts/include/alibabacloud/mts/model/RegisterCustomViewResult.h similarity index 68% rename from mts/include/alibabacloud/mts/model/ReportTagJobResultResult.h rename to mts/include/alibabacloud/mts/model/RegisterCustomViewResult.h index 3c9344a5f..efddedbd9 100644 --- a/mts/include/alibabacloud/mts/model/ReportTagJobResultResult.h +++ b/mts/include/alibabacloud/mts/model/RegisterCustomViewResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTTAGJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTTAGJOBRESULTRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_REGISTERCUSTOMVIEWRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_REGISTERCUSTOMVIEWRESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT ReportTagJobResultResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT RegisterCustomViewResult : public ServiceResult { public: - ReportTagJobResultResult(); - explicit ReportTagJobResultResult(const std::string &payload); - ~ReportTagJobResultResult(); - std::string getJobId()const; + RegisterCustomViewResult(); + explicit RegisterCustomViewResult(const std::string &payload); + ~RegisterCustomViewResult(); + std::string getCustomViewId()const; protected: void parse(const std::string &payload); private: - std::string jobId_; + std::string customViewId_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTTAGJOBRESULTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_REGISTERCUSTOMVIEWRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonRequest.h b/mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonRequest.h deleted file mode 100644 index 0be05fd0b..000000000 --- a/mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILPERSONREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILPERSONREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT RegisterMediaDetailPersonRequest : public RpcServiceRequest { -public: - RegisterMediaDetailPersonRequest(); - ~RegisterMediaDetailPersonRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getPersonLib() const; - void setPersonLib(const std::string &personLib); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getPersonName() const; - void setPersonName(const std::string &personName); - std::string getImages() const; - void setImages(const std::string &images); - 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 getCategory() const; - void setCategory(const std::string &category); - -private: - long resourceOwnerId_; - std::string personLib_; - std::string accessKeyId_; - std::string personName_; - std::string images_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string category_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILPERSONREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonResult.h b/mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonResult.h deleted file mode 100644 index 39585cc46..000000000 --- a/mts/include/alibabacloud/mts/model/RegisterMediaDetailPersonResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILPERSONRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILPERSONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT RegisterMediaDetailPersonResult : public ServiceResult - { - public: - struct RegisteredPersonage - { - struct ImageFile - { - std::string bucket; - std::string object; - std::string location; - }; - std::string faceId; - std::string personName; - std::string target; - ImageFile imageFile; - std::string quality; - std::string imageId; - std::string gender; - }; - struct FailedImage - { - struct ImageFile1 - { - std::string bucket; - std::string object; - std::string location; - }; - ImageFile1 imageFile1; - std::string code; - std::string success; - }; - - - RegisterMediaDetailPersonResult(); - explicit RegisterMediaDetailPersonResult(const std::string &payload); - ~RegisterMediaDetailPersonResult(); - std::vector getRegisteredPersonages()const; - std::vector getFailedImages()const; - - protected: - void parse(const std::string &payload); - private: - std::vector registeredPersonages_; - std::vector failedImages_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILPERSONRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioRequest.h b/mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioRequest.h deleted file mode 100644 index 10b3d67b0..000000000 --- a/mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILSCENARIOREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILSCENARIOREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT RegisterMediaDetailScenarioRequest : public RpcServiceRequest { -public: - RegisterMediaDetailScenarioRequest(); - ~RegisterMediaDetailScenarioRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription() const; - void setDescription(const std::string &description); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getScenario() const; - void setScenario(const std::string &scenario); - 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); - -private: - long resourceOwnerId_; - std::string description_; - std::string accessKeyId_; - std::string jobId_; - std::string scenario_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILSCENARIOREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioResult.h b/mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioResult.h deleted file mode 100644 index f87b12f10..000000000 --- a/mts/include/alibabacloud/mts/model/RegisterMediaDetailScenarioResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILSCENARIORESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILSCENARIORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT RegisterMediaDetailScenarioResult : public ServiceResult - { - public: - - - RegisterMediaDetailScenarioResult(); - explicit RegisterMediaDetailScenarioResult(const std::string &payload); - ~RegisterMediaDetailScenarioResult(); - std::string getScenarioId()const; - - protected: - void parse(const std::string &payload); - private: - std::string scenarioId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REGISTERMEDIADETAILSCENARIORESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportAnnotationJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportAnnotationJobResultRequest.h deleted file mode 100644 index 091adee06..000000000 --- a/mts/include/alibabacloud/mts/model/ReportAnnotationJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTANNOTATIONJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTANNOTATIONJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportAnnotationJobResultRequest : public RpcServiceRequest { -public: - ReportAnnotationJobResultRequest(); - ~ReportAnnotationJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getDetails() const; - void setDetails(const std::string &details); - std::string getAnnotation() const; - void setAnnotation(const std::string &annotation); - 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); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string jobId_; - std::string details_; - std::string annotation_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTANNOTATIONJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportAnnotationJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportAnnotationJobResultResult.h deleted file mode 100644 index 2c5462f4a..000000000 --- a/mts/include/alibabacloud/mts/model/ReportAnnotationJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTANNOTATIONJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTANNOTATIONJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportAnnotationJobResultResult : public ServiceResult - { - public: - - - ReportAnnotationJobResultResult(); - explicit ReportAnnotationJobResultResult(const std::string &payload); - ~ReportAnnotationJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTANNOTATIONJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportCensorJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportCensorJobResultRequest.h deleted file mode 100644 index 562cce56b..000000000 --- a/mts/include/alibabacloud/mts/model/ReportCensorJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTCENSORJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTCENSORJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportCensorJobResultRequest : public RpcServiceRequest { -public: - ReportCensorJobResultRequest(); - ~ReportCensorJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getLabel() const; - void setLabel(const std::string &label); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getDetail() const; - void setDetail(const std::string &detail); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string jobId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string label_; - long ownerId_; - std::string detail_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTCENSORJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportCensorJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportCensorJobResultResult.h deleted file mode 100644 index 84e894a69..000000000 --- a/mts/include/alibabacloud/mts/model/ReportCensorJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTCENSORJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTCENSORJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportCensorJobResultResult : public ServiceResult - { - public: - - - ReportCensorJobResultResult(); - explicit ReportCensorJobResultResult(const std::string &payload); - ~ReportCensorJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTCENSORJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportCoverJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportCoverJobResultRequest.h deleted file mode 100644 index 89816833e..000000000 --- a/mts/include/alibabacloud/mts/model/ReportCoverJobResultRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTCOVERJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTCOVERJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportCoverJobResultRequest : public RpcServiceRequest { -public: - ReportCoverJobResultRequest(); - ~ReportCoverJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResult() const; - void setResult(const std::string &result); - std::string getJobId() const; - void setJobId(const std::string &jobId); - 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); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string result_; - std::string jobId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTCOVERJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportCoverJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportCoverJobResultResult.h deleted file mode 100644 index ae3d0c17b..000000000 --- a/mts/include/alibabacloud/mts/model/ReportCoverJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTCOVERJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTCOVERJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportCoverJobResultResult : public ServiceResult - { - public: - - - ReportCoverJobResultResult(); - explicit ReportCoverJobResultResult(const std::string &payload); - ~ReportCoverJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTCOVERJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h deleted file mode 100644 index fef3929f6..000000000 --- a/mts/include/alibabacloud/mts/model/ReportFacerecogJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTFACERECOGJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTFACERECOGJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportFacerecogJobResultRequest : public RpcServiceRequest { -public: - ReportFacerecogJobResultRequest(); - ~ReportFacerecogJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFacerecog() const; - void setFacerecog(const std::string &facerecog); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getDetails() const; - void setDetails(const std::string &details); - 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); - -private: - long resourceOwnerId_; - std::string facerecog_; - std::string accessKeyId_; - std::string jobId_; - std::string details_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTFACERECOGJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h deleted file mode 100644 index e67689dbe..000000000 --- a/mts/include/alibabacloud/mts/model/ReportFacerecogJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTFACERECOGJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTFACERECOGJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportFacerecogJobResultResult : public ServiceResult - { - public: - - - ReportFacerecogJobResultResult(); - explicit ReportFacerecogJobResultResult(const std::string &payload); - ~ReportFacerecogJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTFACERECOGJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportFpShotJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportFpShotJobResultRequest.h deleted file mode 100644 index 2a2934f02..000000000 --- a/mts/include/alibabacloud/mts/model/ReportFpShotJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTFPSHOTJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTFPSHOTJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportFpShotJobResultRequest : public RpcServiceRequest { -public: - ReportFpShotJobResultRequest(); - ~ReportFpShotJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResult() const; - void setResult(const std::string &result); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getDetails() const; - void setDetails(const std::string &details); - 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); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string result_; - std::string jobId_; - std::string details_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTFPSHOTJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportFpShotJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportFpShotJobResultResult.h deleted file mode 100644 index a8ba08111..000000000 --- a/mts/include/alibabacloud/mts/model/ReportFpShotJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTFPSHOTJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTFPSHOTJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportFpShotJobResultResult : public ServiceResult - { - public: - - - ReportFpShotJobResultResult(); - explicit ReportFpShotJobResultResult(const std::string &payload); - ~ReportFpShotJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTFPSHOTJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultRequest.h deleted file mode 100644 index 7e4cb8341..000000000 --- a/mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTMEDIADETAILJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTMEDIADETAILJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportMediaDetailJobResultRequest : public RpcServiceRequest { -public: - ReportMediaDetailJobResultRequest(); - ~ReportMediaDetailJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getTag() const; - void setTag(const std::string &tag); - std::string getResults() const; - void setResults(const std::string &results); - 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); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string jobId_; - std::string tag_; - std::string results_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTMEDIADETAILJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultResult.h deleted file mode 100644 index ae9fdd835..000000000 --- a/mts/include/alibabacloud/mts/model/ReportMediaDetailJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTMEDIADETAILJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTMEDIADETAILJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportMediaDetailJobResultResult : public ServiceResult - { - public: - - - ReportMediaDetailJobResultResult(); - explicit ReportMediaDetailJobResultResult(const std::string &payload); - ~ReportMediaDetailJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTMEDIADETAILJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportPornJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportPornJobResultRequest.h deleted file mode 100644 index 07951242e..000000000 --- a/mts/include/alibabacloud/mts/model/ReportPornJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTPORNJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTPORNJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportPornJobResultRequest : public RpcServiceRequest { -public: - ReportPornJobResultRequest(); - ~ReportPornJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getLabel() const; - void setLabel(const std::string &label); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getDetail() const; - void setDetail(const std::string &detail); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string jobId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string label_; - long ownerId_; - std::string detail_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTPORNJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportPornJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportPornJobResultResult.h deleted file mode 100644 index 367d42440..000000000 --- a/mts/include/alibabacloud/mts/model/ReportPornJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTPORNJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTPORNJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportPornJobResultResult : public ServiceResult - { - public: - - - ReportPornJobResultResult(); - explicit ReportPornJobResultResult(const std::string &payload); - ~ReportPornJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTPORNJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportTerrorismJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportTerrorismJobResultRequest.h deleted file mode 100644 index 46922b5c2..000000000 --- a/mts/include/alibabacloud/mts/model/ReportTerrorismJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTTERRORISMJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTTERRORISMJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportTerrorismJobResultRequest : public RpcServiceRequest { -public: - ReportTerrorismJobResultRequest(); - ~ReportTerrorismJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getLabel() const; - void setLabel(const std::string &label); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getDetail() const; - void setDetail(const std::string &detail); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string jobId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string label_; - long ownerId_; - std::string detail_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTTERRORISMJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportTerrorismJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportTerrorismJobResultResult.h deleted file mode 100644 index dd889269d..000000000 --- a/mts/include/alibabacloud/mts/model/ReportTerrorismJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTTERRORISMJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTTERRORISMJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportTerrorismJobResultResult : public ServiceResult - { - public: - - - ReportTerrorismJobResultResult(); - explicit ReportTerrorismJobResultResult(const std::string &payload); - ~ReportTerrorismJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTTERRORISMJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultRequest.h b/mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultRequest.h deleted file mode 100644 index d0da0fa28..000000000 --- a/mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTVIDEOSPLITJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTVIDEOSPLITJOBRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT ReportVideoSplitJobResultRequest : public RpcServiceRequest { -public: - ReportVideoSplitJobResultRequest(); - ~ReportVideoSplitJobResultRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResult() const; - void setResult(const std::string &result); - std::string getJobId() const; - void setJobId(const std::string &jobId); - std::string getDetails() const; - void setDetails(const std::string &details); - 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); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string result_; - std::string jobId_; - std::string details_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTVIDEOSPLITJOBRESULTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultResult.h b/mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultResult.h deleted file mode 100644 index 3a01f0ece..000000000 --- a/mts/include/alibabacloud/mts/model/ReportVideoSplitJobResultResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_REPORTVIDEOSPLITJOBRESULTRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_REPORTVIDEOSPLITJOBRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT ReportVideoSplitJobResultResult : public ServiceResult - { - public: - - - ReportVideoSplitJobResultResult(); - explicit ReportVideoSplitJobResultResult(const std::string &payload); - ~ReportVideoSplitJobResultResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_REPORTVIDEOSPLITJOBRESULTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SearchMediaRequest.h b/mts/include/alibabacloud/mts/model/SearchMediaRequest.h deleted file mode 100644 index d7c477239..000000000 --- a/mts/include/alibabacloud/mts/model/SearchMediaRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SEARCHMEDIAREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SEARCHMEDIAREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SearchMediaRequest : public RpcServiceRequest { -public: - SearchMediaRequest(); - ~SearchMediaRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription() const; - void setDescription(const std::string &description); - std::string getTitle() const; - void setTitle(const std::string &title); - long getPageNumber() const; - void setPageNumber(long pageNumber); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getCateId() const; - void setCateId(const std::string &cateId); - long getPageSize() const; - void setPageSize(long pageSize); - std::string getFrom() const; - void setFrom(const std::string &from); - std::string getTag() const; - void setTag(const std::string &tag); - std::string getKeyWord() const; - void setKeyWord(const std::string &keyWord); - 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 getSortBy() const; - void setSortBy(const std::string &sortBy); - std::string getTo() const; - void setTo(const std::string &to); - -private: - long resourceOwnerId_; - std::string description_; - std::string title_; - long pageNumber_; - std::string accessKeyId_; - std::string cateId_; - long pageSize_; - std::string from_; - std::string tag_; - std::string keyWord_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string sortBy_; - std::string to_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SEARCHMEDIAREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SearchMediaResult.h b/mts/include/alibabacloud/mts/model/SearchMediaResult.h deleted file mode 100644 index abd8882c7..000000000 --- a/mts/include/alibabacloud/mts/model/SearchMediaResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SEARCHMEDIARESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SEARCHMEDIARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SearchMediaResult : public ServiceResult - { - public: - struct Media - { - struct File - { - std::string state; - std::string uRL; - }; - std::string description; - std::string size; - std::string fps; - std::string title; - std::string duration; - long cateId; - std::string bitrate; - std::string publishState; - std::string format; - std::string mediaId; - std::string creationTime; - std::string height; - std::string coverURL; - File file; - std::string width; - std::vector runIdList; - std::vector tags; - }; - - - SearchMediaResult(); - explicit SearchMediaResult(const std::string &payload); - ~SearchMediaResult(); - std::vector getMediaList()const; - long getTotalNum()const; - long getPageSize()const; - long getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - std::vector mediaList_; - long totalNum_; - long pageSize_; - long pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SEARCHMEDIARESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SearchPipelineResult.h b/mts/include/alibabacloud/mts/model/SearchPipelineResult.h index 751f11a4c..d5b87141f 100644 --- a/mts/include/alibabacloud/mts/model/SearchPipelineResult.h +++ b/mts/include/alibabacloud/mts/model/SearchPipelineResult.h @@ -41,13 +41,21 @@ namespace AlibabaCloud std::string topic; std::string queueName; }; + struct ExtendConfig + { + bool isBoostNew; + std::string multiSpeedDowngradePolicy; + int maxMultiSpeed; + }; std::string role; std::string speed; long speedLevel; long quotaAllocate; std::string state; + std::string creationTime; NotifyConfig notifyConfig; std::string id; + ExtendConfig extendConfig; std::string name; }; diff --git a/mts/include/alibabacloud/mts/model/SearchTemplateRequest.h b/mts/include/alibabacloud/mts/model/SearchTemplateRequest.h index 7ed1ec891..ad199367f 100644 --- a/mts/include/alibabacloud/mts/model/SearchTemplateRequest.h +++ b/mts/include/alibabacloud/mts/model/SearchTemplateRequest.h @@ -32,6 +32,8 @@ public: ~SearchTemplateRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + bool getForFrontend() const; + void setForFrontend(bool forFrontend); long getPageNumber() const; void setPageNumber(long pageNumber); std::string getAccessKeyId() const; @@ -40,22 +42,29 @@ public: void setPageSize(long pageSize); std::string getState() const; void setState(const std::string &state); + std::string getNamePrefix() const; + void setNamePrefix(const std::string &namePrefix); 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); private: long resourceOwnerId_; + bool forFrontend_; long pageNumber_; std::string accessKeyId_; long pageSize_; std::string state_; + std::string namePrefix_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; + std::string templateId_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/SearchTemplateResult.h b/mts/include/alibabacloud/mts/model/SearchTemplateResult.h index 1f06dede9..21cc6f081 100644 --- a/mts/include/alibabacloud/mts/model/SearchTemplateResult.h +++ b/mts/include/alibabacloud/mts/model/SearchTemplateResult.h @@ -41,7 +41,15 @@ namespace AlibabaCloud std::string min; std::string max; }; + struct NarrowBand + { + float maxAbrRatio; + std::string version; + float abrmax; + }; + NarrowBand narrowBand; std::string bufsize; + std::string hdr2sdr; std::string qscale; std::string scanMode; std::string preset; @@ -62,6 +70,7 @@ namespace AlibabaCloud std::string height; std::string degrain; std::string width; + std::string resoPriority; }; struct TransConfig { @@ -104,10 +113,20 @@ namespace AlibabaCloud { std::string format; }; + struct FrontendHint + { + std::string bitrateControlType; + bool isDynamic; + std::string transcodeType; + std::string source; + bool hasOldHdr2Sdr; + }; Container container; TransConfig transConfig; Video video; std::string state; + std::string creationTime; + FrontendHint frontendHint; std::string id; Audio audio; MuxConfig muxConfig; diff --git a/mts/include/alibabacloud/mts/model/SetAuthConfigRequest.h b/mts/include/alibabacloud/mts/model/SetAuthConfigRequest.h deleted file mode 100644 index 077fd2933..000000000 --- a/mts/include/alibabacloud/mts/model/SetAuthConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SETAUTHCONFIGREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SETAUTHCONFIGREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SetAuthConfigRequest : public RpcServiceRequest { -public: - SetAuthConfigRequest(); - ~SetAuthConfigRequest(); - std::string getKey1() const; - void setKey1(const std::string &key1); - std::string getKey2() const; - void setKey2(const std::string &key2); - std::string getResourceOwnerId() const; - void setResourceOwnerId(const std::string &resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getOwnerId() const; - void setOwnerId(const std::string &ownerId); - -private: - std::string key1_; - std::string key2_; - std::string resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SETAUTHCONFIGREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SetAuthConfigResult.h b/mts/include/alibabacloud/mts/model/SetAuthConfigResult.h deleted file mode 100644 index f736fdf02..000000000 --- a/mts/include/alibabacloud/mts/model/SetAuthConfigResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SETAUTHCONFIGRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SETAUTHCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SetAuthConfigResult : public ServiceResult - { - public: - - - SetAuthConfigResult(); - explicit SetAuthConfigResult(const std::string &payload); - ~SetAuthConfigResult(); - std::string getKey2()const; - std::string getKey1()const; - - protected: - void parse(const std::string &payload); - private: - std::string key2_; - std::string key1_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SETAUTHCONFIGRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/StopIProductionJobRequest.h b/mts/include/alibabacloud/mts/model/StopIProductionJobRequest.h deleted file mode 100644 index 1242e8f84..000000000 --- a/mts/include/alibabacloud/mts/model/StopIProductionJobRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_STOPIPRODUCTIONJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_STOPIPRODUCTIONJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT StopIProductionJobRequest : public RpcServiceRequest { -public: - StopIProductionJobRequest(); - ~StopIProductionJobRequest(); - 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); - std::string getJobId() const; - void setJobId(const std::string &jobId); - -private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string jobId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_STOPIPRODUCTIONJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitAnnotationJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitAnnotationJobRequest.h deleted file mode 100644 index 63ddba049..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitAnnotationJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITANNOTATIONJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITANNOTATIONJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitAnnotationJobRequest : public RpcServiceRequest { -public: - SubmitAnnotationJobRequest(); - ~SubmitAnnotationJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAnnotationConfig() const; - void setAnnotationConfig(const std::string &annotationConfig); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string annotationConfig_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITANNOTATIONJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitAnnotationJobResult.h b/mts/include/alibabacloud/mts/model/SubmitAnnotationJobResult.h deleted file mode 100644 index 4a5c35fb3..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitAnnotationJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITANNOTATIONJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITANNOTATIONJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitAnnotationJobResult : public ServiceResult - { - public: - - - SubmitAnnotationJobResult(); - explicit SubmitAnnotationJobResult(const std::string &payload); - ~SubmitAnnotationJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITANNOTATIONJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitAsrJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitAsrJobRequest.h deleted file mode 100644 index 80b89c459..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitAsrJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITASRJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITASRJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitAsrJobRequest : public RpcServiceRequest { -public: - SubmitAsrJobRequest(); - ~SubmitAsrJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getAsrConfig() const; - void setAsrConfig(const std::string &asrConfig); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string asrConfig_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITASRJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitAsrJobResult.h b/mts/include/alibabacloud/mts/model/SubmitAsrJobResult.h deleted file mode 100644 index 7abf6829a..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitAsrJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITASRJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITASRJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitAsrJobResult : public ServiceResult - { - public: - - - SubmitAsrJobResult(); - explicit SubmitAsrJobResult(const std::string &payload); - ~SubmitAsrJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITASRJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitBeautifyJobsRequest.h b/mts/include/alibabacloud/mts/model/SubmitBeautifyJobsRequest.h deleted file mode 100644 index 4d258aa89..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitBeautifyJobsRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITBEAUTIFYJOBSREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITBEAUTIFYJOBSREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitBeautifyJobsRequest : public RpcServiceRequest { -public: - SubmitBeautifyJobsRequest(); - ~SubmitBeautifyJobsRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getBeautifyConfig() const; - void setBeautifyConfig(const std::string &beautifyConfig); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - bool getAsync() const; - void setAsync(bool async); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string beautifyConfig_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - bool async_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITBEAUTIFYJOBSREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitBeautifyJobsResult.h b/mts/include/alibabacloud/mts/model/SubmitBeautifyJobsResult.h deleted file mode 100644 index 972c23cbd..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitBeautifyJobsResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITBEAUTIFYJOBSRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITBEAUTIFYJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitBeautifyJobsResult : public ServiceResult - { - public: - struct Job - { - struct BeautifyConfig - { - struct OutputFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - OutputFile outputFile; - }; - struct Input - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - Input input; - std::string message; - std::string userData; - std::string state; - MNSMessageResult mNSMessageResult; - std::string creationTime; - std::string pipelineId; - std::string id; - BeautifyConfig beautifyConfig; - std::string code; - }; - - - SubmitBeautifyJobsResult(); - explicit SubmitBeautifyJobsResult(const std::string &payload); - ~SubmitBeautifyJobsResult(); - std::vector getJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITBEAUTIFYJOBSRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitComplexJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitComplexJobRequest.h deleted file mode 100644 index 82a8d3dfc..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitComplexJobRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOMPLEXJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITCOMPLEXJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitComplexJobRequest : public RpcServiceRequest { -public: - SubmitComplexJobRequest(); - ~SubmitComplexJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTranscodeOutput() const; - void setTranscodeOutput(const std::string &transcodeOutput); - std::string getInputs() const; - void setInputs(const std::string &inputs); - std::string getOutputLocation() const; - void setOutputLocation(const std::string &outputLocation); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getOutputBucket() const; - void setOutputBucket(const std::string &outputBucket); - std::string getComplexConfigs() const; - void setComplexConfigs(const std::string &complexConfigs); - -private: - long resourceOwnerId_; - std::string transcodeOutput_; - std::string inputs_; - std::string outputLocation_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string outputBucket_; - std::string complexConfigs_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOMPLEXJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitComplexJobResult.h b/mts/include/alibabacloud/mts/model/SubmitComplexJobResult.h deleted file mode 100644 index f0a949069..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitComplexJobResult.h +++ /dev/null @@ -1,449 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOMPLEXJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITCOMPLEXJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitComplexJobResult : public ServiceResult - { - public: - struct ComplexJob - { - struct TranscodeOutput - { - struct Video - { - struct BitrateBnd - { - std::string min; - std::string max; - }; - std::string bufsize; - std::string qscale; - std::string scanMode; - std::string preset; - std::string fps; - std::string gop; - BitrateBnd bitrateBnd; - std::string pixFmt; - std::string bitrate; - std::string profile; - std::string crop; - std::string pad; - std::string codec; - std::string maxrate; - std::string maxFps; - std::string crf; - std::string height; - std::string degrain; - std::string width; - }; - struct TransConfig - { - std::string isCheckAudioBitrate; - std::string adjDarMethod; - std::string isCheckAudioBitrateFail; - std::string isCheckVideoBitrateFail; - std::string isCheckReso; - std::string duration; - std::string isCheckVideoBitrate; - std::string transMode; - std::string isCheckResoFail; - }; - struct Encryption - { - std::string type; - std::string keyType; - std::string id; - std::string skipCnt; - std::string key; - std::string keyUri; - }; - struct M3U8NonStandardSupport - { - struct TS - { - bool sizeSupport; - bool md5Support; - }; - TS tS; - }; - struct Audio - { - struct Volume - { - std::string level; - std::string method; - }; - std::string codec; - std::string qscale; - Volume volume; - std::string samplerate; - std::string bitrate; - std::string profile; - std::string channels; - }; - struct SuperReso - { - std::string isHalfSample; - }; - struct DigiWaterMark - { - struct InputFile3 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string alpha; - InputFile3 inputFile3; - }; - struct OutputFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct Container - { - std::string format; - }; - struct Clip4 - { - struct TimeSpan - { - std::string duration; - std::string seek; - }; - TimeSpan timeSpan; - }; - struct MuxConfig - { - struct Gif - { - std::string finalDelay; - std::string loop; - std::string ditherMode; - std::string isCustomPalette; - }; - struct Segment - { - std::string duration; - }; - Gif gif; - Segment segment; - }; - struct SubtitleConfig - { - struct ExtSubtitle - { - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - std::string charEnc; - Input input; - std::string fontName; - }; - struct Subtitle - { - std::string map; - }; - std::vector extSubtitleList; - std::vector subtitleList; - }; - 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 sar; - std::string startTime; - std::string fps; - std::string index; - std::string lang; - std::string duration; - std::string pixFmt; - NetworkCost networkCost; - std::string bitrate; - std::string codecName; - std::string avgFPS; - std::string profile; - std::string timebase; - std::string codecTagString; - std::string hasBFrames; - std::string dar; - std::string codecLongName; - std::string height; - std::string level; - std::string numFrames; - std::string width; - }; - struct AudioStream - { - std::string codecTag; - std::string codecTimeBase; - std::string channelLayout; - std::string startTime; - std::string index; - std::string lang; - std::string duration; - std::string sampleFmt; - std::string samplerate; - std::string bitrate; - std::string codecName; - std::string channels; - std::string timebase; - std::string codecTagString; - std::string codecLongName; - std::string numFrames; - }; - struct SubtitleStream - { - std::string index; - std::string lang; - }; - std::vector videoStreamList; - std::vector subtitleStreamList; - std::vector 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 WaterMark - { - struct InputFile2 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string dx; - std::string dy; - std::string waterMarkTemplateId; - std::string height; - std::string referPos; - std::string width; - InputFile2 inputFile2; - }; - struct Merge - { - std::string start; - std::string mergeURL; - std::string duration; - std::string roleArn; - }; - OutputFile outputFile; - std::string rotate; - DigiWaterMark digiWaterMark; - std::string userData; - Clip4 clip4; - std::string priority; - std::string mergeConfigUrl; - Encryption encryption; - Properties properties; - SuperReso superReso; - std::vector waterMarkList; - std::string deWatermark; - M3U8NonStandardSupport m3U8NonStandardSupport; - Container container; - TransConfig transConfig; - Video video; - std::string waterMarkConfigUrl; - std::string videoStreamMap; - std::string audioStreamMap; - Audio audio; - MuxConfig muxConfig; - SubtitleConfig subtitleConfig; - std::string templateId; - std::vector mergeList; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - struct ComplexEditingConfigsItem - { - struct Editing - { - struct Timeline - { - struct TimelineConfig - { - struct TimelineConfigAudio - { - std::string channelLayout; - std::string samplerate; - std::string channels; - }; - struct TimelineConfigVideo - { - std::string renderRatio; - std::string reclosePrec; - std::string fps; - std::string isGpuData; - std::string height; - std::string bgColor; - std::string isOneTrackData; - std::string width; - }; - TimelineConfigVideo timelineConfigVideo; - TimelineConfigAudio timelineConfigAudio; - }; - struct Track - { - struct Clip1 - { - struct ClipsConfig - { - struct ClipsConfigVideo - { - std::string t; - std::string l; - }; - ClipsConfigVideo clipsConfigVideo; - }; - std::string clipID; - std::string in; - ClipsConfig clipsConfig; - std::string out; - }; - std::string order; - std::vector clips; - std::string type; - std::string id; - }; - std::vector trackList; - TimelineConfig timelineConfig; - }; - struct Clip - { - struct Effect - { - std::string effect; - std::string effectConfig; - }; - std::string type; - std::string in; - std::string sourceID; - std::string sourceType; - std::vector effects; - std::string id; - std::string sourceStrmMap; - std::string out; - }; - Timeline timeline; - std::vector clipList; - }; - Editing editing; - }; - struct InputsItem - { - struct EditingInput - { - struct InputFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct InputConfig - { - std::string deinterlaceMethod; - std::string isNormalSar; - }; - InputConfig inputConfig; - std::string id; - InputFile inputFile; - }; - std::vector editingInputs; - }; - std::string finishTime; - std::string message; - long percent; - std::string state; - MNSMessageResult mNSMessageResult; - std::string creationTime; - std::vector complexEditingConfigs; - std::string pipelineId; - TranscodeOutput transcodeOutput; - std::vector inputs; - std::string code; - std::string jobId; - }; - - - SubmitComplexJobResult(); - explicit SubmitComplexJobResult(const std::string &payload); - ~SubmitComplexJobResult(); - ComplexJob getComplexJob()const; - - protected: - void parse(const std::string &payload); - private: - ComplexJob complexJob_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOMPLEXJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/CreateInferenceServerRequest.h b/mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobRequest.h similarity index 51% rename from mts/include/alibabacloud/mts/model/CreateInferenceServerRequest.h rename to mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobRequest.h index 57b58efdf..4d2098e1f 100644 --- a/mts/include/alibabacloud/mts/model/CreateInferenceServerRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_CREATEINFERENCESERVERREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_CREATEINFERENCESERVERREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTEXTRACTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTEXTRACTJOBREQUEST_H_ #include #include @@ -26,32 +26,29 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT CreateInferenceServerRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT SubmitCopyrightExtractJobRequest : public RpcServiceRequest { public: - CreateInferenceServerRequest(); - ~CreateInferenceServerRequest(); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); + SubmitCopyrightExtractJobRequest(); + ~SubmitCopyrightExtractJobRequest(); + std::string getParams() const; + void setParams(const std::string ¶ms); + std::string getUrl() const; + void setUrl(const std::string &url); + std::string getInput() const; + void setInput(const std::string &input); std::string getUserData() const; void setUserData(const std::string &userData); - std::string getModelType() const; - void setModelType(const std::string &modelType); - std::string getFunctionName() const; - void setFunctionName(const std::string &functionName); - std::string getTestId() const; - void setTestId(const std::string &testId); - std::string getModelPath() const; - void setModelPath(const std::string &modelPath); + std::string getCallBack() const; + void setCallBack(const std::string &callBack); private: - std::string pipelineId_; + std::string params_; + std::string url_; + std::string input_; std::string userData_; - std::string modelType_; - std::string functionName_; - std::string testId_; - std::string modelPath_; + std::string callBack_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_CREATEINFERENCESERVERREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTEXTRACTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobResult.h b/mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobResult.h new file mode 100644 index 000000000..1b8910182 --- /dev/null +++ b/mts/include/alibabacloud/mts/model/SubmitCopyrightExtractJobResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_SUBMITCOPYRIGHTEXTRACTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTEXTRACTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Mts + { + namespace Model + { + class ALIBABACLOUD_MTS_EXPORT SubmitCopyrightExtractJobResult : public ServiceResult + { + public: + struct Data + { + std::string jobId; + }; + + + SubmitCopyrightExtractJobResult(); + explicit SubmitCopyrightExtractJobResult(const std::string &payload); + ~SubmitCopyrightExtractJobResult(); + std::string getMessage()const; + Data getData()const; + long getStatusCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + long statusCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTEXTRACTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitCopyrightJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitCopyrightJobRequest.h new file mode 100644 index 000000000..fd3e66c0f --- /dev/null +++ b/mts/include/alibabacloud/mts/model/SubmitCopyrightJobRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Mts { +namespace Model { +class ALIBABACLOUD_MTS_EXPORT SubmitCopyrightJobRequest : public RpcServiceRequest { +public: + SubmitCopyrightJobRequest(); + ~SubmitCopyrightJobRequest(); + std::string getVisibleMessage() const; + void setVisibleMessage(const std::string &visibleMessage); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getOutput() const; + void setOutput(const std::string &output); + std::string getUserData() const; + void setUserData(const std::string &userData); + long getLevel() const; + void setLevel(long level); + std::string getMessage() const; + void setMessage(const std::string &message); + std::string getParams() const; + void setParams(const std::string ¶ms); + std::string getUrl() const; + void setUrl(const std::string &url); + std::string getInput() const; + void setInput(const std::string &input); + std::string getTotalTime() const; + void setTotalTime(const std::string &totalTime); + std::string getCallBack() const; + void setCallBack(const std::string &callBack); + +private: + std::string visibleMessage_; + std::string description_; + std::string startTime_; + std::string output_; + std::string userData_; + long level_; + std::string message_; + std::string params_; + std::string url_; + std::string input_; + std::string totalTime_; + std::string callBack_; +}; +} // namespace Model +} // namespace Mts +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitInferenceJobResult.h b/mts/include/alibabacloud/mts/model/SubmitCopyrightJobResult.h similarity index 65% rename from mts/include/alibabacloud/mts/model/SubmitInferenceJobResult.h rename to mts/include/alibabacloud/mts/model/SubmitCopyrightJobResult.h index da716c8cf..3669f0eb2 100644 --- a/mts/include/alibabacloud/mts/model/SubmitInferenceJobResult.h +++ b/mts/include/alibabacloud/mts/model/SubmitCopyrightJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITINFERENCEJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITINFERENCEJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTJOBRESULT_H_ #include #include @@ -29,29 +29,31 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT SubmitInferenceJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT SubmitCopyrightJobResult : public ServiceResult { public: + struct Data + { + std::string jobId; + }; - SubmitInferenceJobResult(); - explicit SubmitInferenceJobResult(const std::string &payload); - ~SubmitInferenceJobResult(); - std::string getTestId()const; + SubmitCopyrightJobResult(); + explicit SubmitCopyrightJobResult(const std::string &payload); + ~SubmitCopyrightJobResult(); std::string getMessage()const; - std::string getCode()const; - std::string getJobId()const; + Data getData()const; + long getStatusCode()const; protected: void parse(const std::string &payload); private: - std::string testId_; std::string message_; - std::string code_; - std::string jobId_; + Data data_; + long statusCode_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITINFERENCEJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOPYRIGHTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitCoverJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitCoverJobRequest.h deleted file mode 100644 index 6d5a940eb..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitCoverJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOVERJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITCOVERJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitCoverJobRequest : public RpcServiceRequest { -public: - SubmitCoverJobRequest(); - ~SubmitCoverJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getCoverConfig() const; - void setCoverConfig(const std::string &coverConfig); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string coverConfig_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOVERJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitCoverJobResult.h b/mts/include/alibabacloud/mts/model/SubmitCoverJobResult.h deleted file mode 100644 index cbf901f1b..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitCoverJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCOVERJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITCOVERJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitCoverJobResult : public ServiceResult - { - public: - - - SubmitCoverJobResult(); - explicit SubmitCoverJobResult(const std::string &payload); - ~SubmitCoverJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCOVERJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitEditingJobsRequest.h b/mts/include/alibabacloud/mts/model/SubmitEditingJobsRequest.h deleted file mode 100644 index 069d9dc53..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitEditingJobsRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITEDITINGJOBSREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITEDITINGJOBSREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitEditingJobsRequest : public RpcServiceRequest { -public: - SubmitEditingJobsRequest(); - ~SubmitEditingJobsRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getOutputLocation() const; - void setOutputLocation(const std::string &outputLocation); - std::string getEditingInputs() const; - void setEditingInputs(const std::string &editingInputs); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getEditingJobURL() const; - void setEditingJobURL(const std::string &editingJobURL); - long getEditingJobOssFileUid() const; - void setEditingJobOssFileUid(long editingJobOssFileUid); - std::string getEditingJobOutputs() const; - void setEditingJobOutputs(const std::string &editingJobOutputs); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getOutputBucket() const; - void setOutputBucket(const std::string &outputBucket); - std::string getEditingJobOssFileRoleArn() const; - void setEditingJobOssFileRoleArn(const std::string &editingJobOssFileRoleArn); - -private: - long resourceOwnerId_; - std::string outputLocation_; - std::string editingInputs_; - std::string accessKeyId_; - std::string editingJobURL_; - long editingJobOssFileUid_; - std::string editingJobOutputs_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string outputBucket_; - std::string editingJobOssFileRoleArn_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITEDITINGJOBSREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitEditingJobsResult.h b/mts/include/alibabacloud/mts/model/SubmitEditingJobsResult.h deleted file mode 100644 index 62b2d1697..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitEditingJobsResult.h +++ /dev/null @@ -1,448 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITEDITINGJOBSRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITEDITINGJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitEditingJobsResult : public ServiceResult - { - public: - struct JobResult - { - struct Job - { - struct EditingConfig - { - struct Video - { - struct BitrateBnd - { - std::string min; - std::string max; - }; - std::string bufsize; - std::string qscale; - std::string scanMode; - std::string preset; - std::string fps; - std::string gop; - BitrateBnd bitrateBnd; - std::string pixFmt; - std::string bitrate; - std::string profile; - std::string crop; - std::string pad; - std::string codec; - std::string maxrate; - std::string maxFps; - std::string crf; - std::string height; - std::string degrain; - std::string width; - }; - struct TransConfig - { - std::string isCheckAudioBitrate; - std::string adjDarMethod; - std::string isCheckAudioBitrateFail; - std::string isCheckVideoBitrateFail; - std::string isCheckReso; - std::string duration; - std::string isCheckVideoBitrate; - std::string transMode; - std::string isCheckResoFail; - }; - struct Encryption - { - std::string type; - std::string keyType; - std::string id; - std::string skipCnt; - std::string key; - std::string keyUri; - }; - struct M3U8NonStandardSupport - { - struct TS - { - bool sizeSupport; - bool md5Support; - }; - TS tS; - }; - struct Audio - { - struct Volume - { - std::string level; - std::string method; - }; - std::string codec; - std::string qscale; - Volume volume; - std::string samplerate; - std::string bitrate; - std::string profile; - std::string channels; - }; - struct SuperReso - { - std::string isHalfSample; - }; - struct DigiWaterMark - { - struct InputFile2 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string alpha; - InputFile2 inputFile2; - }; - struct OutputFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct Editing - { - struct Timeline - { - struct TimelineConfig - { - struct TimelineConfigAudio - { - std::string channelLayout; - std::string samplerate; - std::string channels; - }; - struct TimelineConfigVideo - { - std::string renderRatio; - std::string reclosePrec; - std::string fps; - std::string isGpuData; - std::string height; - std::string bgColor; - std::string isOneTrackData; - std::string width; - }; - TimelineConfigVideo timelineConfigVideo; - TimelineConfigAudio timelineConfigAudio; - }; - struct Track - { - struct Clip3 - { - struct ClipsConfig - { - struct ClipsConfigVideo - { - std::string t; - std::string l; - }; - ClipsConfigVideo clipsConfigVideo; - }; - std::string clipID; - std::string in; - ClipsConfig clipsConfig; - std::string out; - }; - std::string order; - std::vector clips; - std::string type; - std::string id; - }; - std::vector trackList; - TimelineConfig timelineConfig; - }; - struct Clip - { - struct Effect - { - std::string effect; - std::string effectConfig; - }; - std::string type; - std::string in; - std::string sourceID; - std::string sourceType; - std::vector effects; - std::string id; - std::string sourceStrmMap; - std::string out; - }; - Timeline timeline; - std::vector clipList; - }; - struct Container - { - std::string format; - }; - struct Clip4 - { - struct TimeSpan - { - std::string duration; - std::string seek; - }; - TimeSpan timeSpan; - }; - struct MuxConfig - { - struct Gif - { - std::string finalDelay; - std::string loop; - std::string ditherMode; - std::string isCustomPalette; - }; - struct Segment - { - std::string duration; - }; - Gif gif; - Segment segment; - }; - struct SubtitleConfig - { - struct ExtSubtitle - { - struct Input - { - std::string bucket; - std::string object; - std::string location; - }; - std::string charEnc; - Input input; - std::string fontName; - }; - struct Subtitle - { - std::string map; - }; - std::vector extSubtitleList; - std::vector subtitleList; - }; - 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 sar; - std::string startTime; - std::string fps; - std::string index; - std::string lang; - std::string duration; - std::string pixFmt; - NetworkCost networkCost; - std::string bitrate; - std::string codecName; - std::string avgFPS; - std::string profile; - std::string timebase; - std::string codecTagString; - std::string hasBFrames; - std::string dar; - std::string codecLongName; - std::string height; - std::string level; - std::string numFrames; - std::string width; - }; - struct AudioStream - { - std::string codecTag; - std::string codecTimeBase; - std::string channelLayout; - std::string startTime; - std::string index; - std::string lang; - std::string duration; - std::string sampleFmt; - std::string samplerate; - std::string bitrate; - std::string codecName; - std::string channels; - std::string timebase; - std::string codecTagString; - std::string codecLongName; - std::string numFrames; - }; - struct SubtitleStream - { - std::string index; - std::string lang; - }; - std::vector videoStreamList; - std::vector subtitleStreamList; - std::vector 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 WaterMark - { - struct InputFile1 - { - std::string bucket; - std::string object; - std::string location; - }; - std::string type; - std::string dx; - std::string dy; - InputFile1 inputFile1; - std::string waterMarkTemplateId; - std::string height; - std::string referPos; - std::string width; - }; - struct Merge - { - std::string start; - std::string mergeURL; - std::string duration; - std::string roleArn; - }; - std::string rotate; - DigiWaterMark digiWaterMark; - std::string userData; - Editing editing; - Encryption encryption; - Properties properties; - SuperReso superReso; - std::vector waterMarkList; - Container container; - TransConfig transConfig; - std::string waterMarkConfigUrl; - MuxConfig muxConfig; - SubtitleConfig subtitleConfig; - std::string templateId; - OutputFile outputFile; - Clip4 clip4; - std::string priority; - std::string mergeConfigUrl; - std::string deWatermark; - M3U8NonStandardSupport m3U8NonStandardSupport; - Video video; - std::string videoStreamMap; - std::string audioStreamMap; - Audio audio; - std::vector mergeList; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - struct EditingInput - { - struct InputFile - { - std::string bucket; - std::string object; - std::string location; - }; - struct InputConfig - { - std::string deinterlaceMethod; - std::string isNormalSar; - }; - InputConfig inputConfig; - std::string id; - InputFile inputFile; - }; - std::vector editingInputs; - std::string finishTime; - std::string message; - long percent; - std::string state; - MNSMessageResult mNSMessageResult; - std::string creationTime; - EditingConfig editingConfig; - std::string pipelineId; - std::string code; - std::string jobId; - }; - std::string message; - Job job; - std::string code; - bool success; - }; - - - SubmitEditingJobsResult(); - explicit SubmitEditingJobsResult(const std::string &payload); - ~SubmitEditingJobsResult(); - std::vector getJobResultList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobResultList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITEDITINGJOBSRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitFacerecogJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitFacerecogJobRequest.h deleted file mode 100644 index a9be5dead..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitFacerecogJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITFACERECOGJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITFACERECOGJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitFacerecogJobRequest : public RpcServiceRequest { -public: - SubmitFacerecogJobRequest(); - ~SubmitFacerecogJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getFacerecogConfig() const; - void setFacerecogConfig(const std::string &facerecogConfig); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string facerecogConfig_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITFACERECOGJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitFacerecogJobResult.h b/mts/include/alibabacloud/mts/model/SubmitFacerecogJobResult.h deleted file mode 100644 index 56ad64ac8..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitFacerecogJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITFACERECOGJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITFACERECOGJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitFacerecogJobResult : public ServiceResult - { - public: - - - SubmitFacerecogJobResult(); - explicit SubmitFacerecogJobResult(const std::string &payload); - ~SubmitFacerecogJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITFACERECOGJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitFpCompareJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitFpCompareJobRequest.h deleted file mode 100644 index 9b197c29b..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitFpCompareJobRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITFPCOMPAREJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITFPCOMPAREJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitFpCompareJobRequest : public RpcServiceRequest { -public: - SubmitFpCompareJobRequest(); - ~SubmitFpCompareJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFpDBId() const; - void setFpDBId(const std::string &fpDBId); - std::string getMasterMedia() const; - void setMasterMedia(const std::string &masterMedia); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getQueryMedia() const; - void setQueryMedia(const std::string &queryMedia); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getMatchedFrameStorage() const; - void setMatchedFrameStorage(const std::string &matchedFrameStorage); - -private: - long resourceOwnerId_; - std::string fpDBId_; - std::string masterMedia_; - std::string accessKeyId_; - std::string userData_; - std::string queryMedia_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string matchedFrameStorage_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITFPCOMPAREJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitFpCompareJobResult.h b/mts/include/alibabacloud/mts/model/SubmitFpCompareJobResult.h deleted file mode 100644 index ee637bd6f..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitFpCompareJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITFPCOMPAREJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITFPCOMPAREJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitFpCompareJobResult : public ServiceResult - { - public: - - - SubmitFpCompareJobResult(); - explicit SubmitFpCompareJobResult(const std::string &payload); - ~SubmitFpCompareJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITFPCOMPAREJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitFpFileDeleteJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitFpFileDeleteJobRequest.h index 902aec101..70b494b0f 100644 --- a/mts/include/alibabacloud/mts/model/SubmitFpFileDeleteJobRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitFpFileDeleteJobRequest.h @@ -38,6 +38,8 @@ public: void setAccessKeyId(const std::string &accessKeyId); std::string getUserData() const; void setUserData(const std::string &userData); + std::string getPrimaryKeys() const; + void setPrimaryKeys(const std::string &primaryKeys); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -54,6 +56,7 @@ private: std::string fpDBId_; std::string accessKeyId_; std::string userData_; + std::string primaryKeys_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/mts/include/alibabacloud/mts/model/QueryInferenceServerRequest.h b/mts/include/alibabacloud/mts/model/SubmitImageCopyrightRequest.h similarity index 50% rename from mts/include/alibabacloud/mts/model/QueryInferenceServerRequest.h rename to mts/include/alibabacloud/mts/model/SubmitImageCopyrightRequest.h index 885132f47..54243273f 100644 --- a/mts/include/alibabacloud/mts/model/QueryInferenceServerRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitImageCopyrightRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_QUERYINFERENCESERVERREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_QUERYINFERENCESERVERREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGECOPYRIGHTREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGECOPYRIGHTREQUEST_H_ #include #include @@ -26,26 +26,32 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT QueryInferenceServerRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT SubmitImageCopyrightRequest : public RpcServiceRequest { public: - QueryInferenceServerRequest(); - ~QueryInferenceServerRequest(); - long getCreateTime() const; - void setCreateTime(long createTime); - long getMaxPageSize() const; - void setMaxPageSize(long maxPageSize); - long getPageNumber() const; - void setPageNumber(long pageNumber); - std::string getModelType() const; - void setModelType(const std::string &modelType); + SubmitImageCopyrightRequest(); + ~SubmitImageCopyrightRequest(); + long getLevel() const; + void setLevel(long level); + std::string getMessage() const; + void setMessage(const std::string &message); + std::string getParams() const; + void setParams(const std::string ¶ms); + std::string getUrl() const; + void setUrl(const std::string &url); + std::string getOutput() const; + void setOutput(const std::string &output); + std::string getInput() const; + void setInput(const std::string &input); private: - long createTime_; - long maxPageSize_; - long pageNumber_; - std::string modelType_; + long level_; + std::string message_; + std::string params_; + std::string url_; + std::string output_; + std::string input_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_QUERYINFERENCESERVERREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGECOPYRIGHTREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitImageCopyrightResult.h b/mts/include/alibabacloud/mts/model/SubmitImageCopyrightResult.h new file mode 100644 index 000000000..55562b0fe --- /dev/null +++ b/mts/include/alibabacloud/mts/model/SubmitImageCopyrightResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_SUBMITIMAGECOPYRIGHTRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGECOPYRIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Mts + { + namespace Model + { + class ALIBABACLOUD_MTS_EXPORT SubmitImageCopyrightResult : public ServiceResult + { + public: + struct Data + { + std::string jobId; + }; + + + SubmitImageCopyrightResult(); + explicit SubmitImageCopyrightResult(const std::string &payload); + ~SubmitImageCopyrightResult(); + std::string getMessage()const; + Data getData()const; + long getStatusCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + long statusCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGECOPYRIGHTRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h deleted file mode 100644 index 7431b4b3e..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitImageQualityJobRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGEQUALITYJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGEQUALITYJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitImageQualityJobRequest : public RpcServiceRequest { -public: - SubmitImageQualityJobRequest(); - ~SubmitImageQualityJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGEQUALITYJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitImageQualityJobResult.h b/mts/include/alibabacloud/mts/model/SubmitImageQualityJobResult.h deleted file mode 100644 index f174bc1d0..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitImageQualityJobResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGEQUALITYJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGEQUALITYJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitImageQualityJobResult : public ServiceResult - { - public: - struct ImageQualityJob - { - struct Result - { - std::string score; - std::string message; - std::string code; - }; - struct Input - { - std::string bucket; - std::string object; - std::string url; - std::string location; - }; - Input input; - std::string userData; - std::string state; - std::string creationTime; - std::string pipelineId; - std::string jobId; - Result result; - }; - - - SubmitImageQualityJobResult(); - explicit SubmitImageQualityJobResult(const std::string &payload); - ~SubmitImageQualityJobResult(); - ImageQualityJob getImageQualityJob()const; - - protected: - void parse(const std::string &payload); - private: - ImageQualityJob imageQualityJob_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGEQUALITYJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitImageSearchJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitImageSearchJobRequest.h deleted file mode 100644 index f07580c6e..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitImageSearchJobRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitImageSearchJobRequest : public RpcServiceRequest { -public: - SubmitImageSearchJobRequest(); - ~SubmitImageSearchJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFpDBId() const; - void setFpDBId(const std::string &fpDBId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getInputVideo() const; - void setInputVideo(const std::string &inputVideo); - std::string getInputImage() const; - void setInputImage(const std::string &inputImage); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getConfig() const; - void setConfig(const std::string &config); - -private: - long resourceOwnerId_; - std::string fpDBId_; - std::string accessKeyId_; - std::string userData_; - std::string inputVideo_; - std::string inputImage_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string config_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitImageSearchJobResult.h b/mts/include/alibabacloud/mts/model/SubmitImageSearchJobResult.h deleted file mode 100644 index 44df8e813..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitImageSearchJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitMCJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitMCJobRequest.h deleted file mode 100644 index 16d0684a7..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMCJobRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitMCJobRequest : public RpcServiceRequest { -public: - SubmitMCJobRequest(); - ~SubmitMCJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getVideo() const; - void setVideo(const std::string &video); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getImages() const; - void setImages(const std::string &images); - 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 getCensorConfig() const; - void setCensorConfig(const std::string &censorConfig); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getTexts() const; - void setTexts(const std::string &texts); - -private: - long resourceOwnerId_; - std::string video_; - std::string accessKeyId_; - std::string userData_; - std::string images_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string censorConfig_; - std::string pipelineId_; - std::string texts_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitMCJobResult.h b/mts/include/alibabacloud/mts/model/SubmitMCJobResult.h deleted file mode 100644 index 1271c8bda..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMCJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitMCJobResult : public ServiceResult - { - public: - - - SubmitMCJobResult(); - explicit SubmitMCJobResult(const std::string &payload); - ~SubmitMCJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitMcuJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitMcuJobRequest.h deleted file mode 100644 index 2a1fcfa8b..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMcuJobRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -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); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - std::string _template_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string templateId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitMcuJobResult.h b/mts/include/alibabacloud/mts/model/SubmitMcuJobResult.h deleted file mode 100644 index b59a92f07..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMcuJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitMediaCensorJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitMediaCensorJobRequest.h index 40b90a534..dddfde4ae 100644 --- a/mts/include/alibabacloud/mts/model/SubmitMediaCensorJobRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitMediaCensorJobRequest.h @@ -30,6 +30,8 @@ class ALIBABACLOUD_MTS_EXPORT SubmitMediaCensorJobRequest : public RpcServiceReq public: SubmitMediaCensorJobRequest(); ~SubmitMediaCensorJobRequest(); + std::string getExternalUrl() const; + void setExternalUrl(const std::string &externalUrl); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); std::string getDescription() const; @@ -58,6 +60,7 @@ public: void setBarrages(const std::string &barrages); private: + std::string externalUrl_; long resourceOwnerId_; std::string description_; std::string title_; diff --git a/mts/include/alibabacloud/mts/model/SubmitMediaDetailJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitMediaDetailJobRequest.h deleted file mode 100644 index 5371cab6d..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMediaDetailJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIADETAILJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIADETAILJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitMediaDetailJobRequest : public RpcServiceRequest { -public: - SubmitMediaDetailJobRequest(); - ~SubmitMediaDetailJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - std::string getMediaDetailConfig() const; - void setMediaDetailConfig(const std::string &mediaDetailConfig); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; - std::string mediaDetailConfig_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIADETAILJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitMediaDetailJobResult.h b/mts/include/alibabacloud/mts/model/SubmitMediaDetailJobResult.h deleted file mode 100644 index 95b9563df..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMediaDetailJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIADETAILJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIADETAILJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitMediaDetailJobResult : public ServiceResult - { - public: - - - SubmitMediaDetailJobResult(); - explicit SubmitMediaDetailJobResult(const std::string &payload); - ~SubmitMediaDetailJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIADETAILJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobResult.h b/mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobResult.h deleted file mode 100644 index c9ebdebbe..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitMediaFpDeleteJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitPornJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitPornJobRequest.h deleted file mode 100644 index ceb80e9a7..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitPornJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITPORNJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITPORNJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitPornJobRequest : public RpcServiceRequest { -public: - SubmitPornJobRequest(); - ~SubmitPornJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - std::string getPornConfig() const; - void setPornConfig(const std::string &pornConfig); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; - std::string pornConfig_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITPORNJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitPornJobResult.h b/mts/include/alibabacloud/mts/model/SubmitPornJobResult.h deleted file mode 100644 index 605ec6397..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitPornJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITPORNJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITPORNJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitPornJobResult : public ServiceResult - { - public: - - - SubmitPornJobResult(); - explicit SubmitPornJobResult(const std::string &payload); - ~SubmitPornJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITPORNJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitSmarttagJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitSmarttagJobRequest.h index dda2b4c91..95e578984 100644 --- a/mts/include/alibabacloud/mts/model/SubmitSmarttagJobRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitSmarttagJobRequest.h @@ -52,6 +52,8 @@ public: void setParams(const std::string ¶ms); std::string getTemplateId() const; void setTemplateId(const std::string &templateId); + std::string getPriority() const; + void setPriority(const std::string &priority); std::string getPipelineId() const; void setPipelineId(const std::string &pipelineId); std::string getContentType() const; @@ -73,6 +75,7 @@ private: long ownerId_; std::string params_; std::string templateId_; + std::string priority_; std::string pipelineId_; std::string contentType_; std::string input_; diff --git a/mts/include/alibabacloud/mts/model/SubmitSnapshotJobResult.h b/mts/include/alibabacloud/mts/model/SubmitSnapshotJobResult.h index cb947fdc7..9d952cc38 100644 --- a/mts/include/alibabacloud/mts/model/SubmitSnapshotJobResult.h +++ b/mts/include/alibabacloud/mts/model/SubmitSnapshotJobResult.h @@ -64,6 +64,7 @@ namespace AlibabaCloud }; OutputFile outputFile; TileOutputFile tileOutputFile; + std::vector timeArray; std::string frameType; std::string num; TileOut tileOut; diff --git a/mts/include/alibabacloud/mts/model/SubmitSubtitleJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitSubtitleJobRequest.h deleted file mode 100644 index 2276ce55f..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitSubtitleJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITSUBTITLEJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITSUBTITLEJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitSubtitleJobRequest : public RpcServiceRequest { -public: - SubmitSubtitleJobRequest(); - ~SubmitSubtitleJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getOutputConfig() const; - void setOutputConfig(const std::string &outputConfig); - std::string getInputConfig() const; - void setInputConfig(const std::string &inputConfig); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - -private: - long resourceOwnerId_; - std::string outputConfig_; - std::string inputConfig_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITSUBTITLEJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitSubtitleJobResult.h b/mts/include/alibabacloud/mts/model/SubmitSubtitleJobResult.h deleted file mode 100644 index 6c464fc0e..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitSubtitleJobResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITSUBTITLEJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITSUBTITLEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitSubtitleJobResult : public ServiceResult - { - public: - struct SubtitleJob - { - std::string outputConfig; - std::string userData; - std::string state; - std::string inputConfig; - std::string jobId; - }; - - - SubmitSubtitleJobResult(); - explicit SubmitSubtitleJobResult(const std::string &payload); - ~SubmitSubtitleJobResult(); - SubtitleJob getSubtitleJob()const; - - protected: - void parse(const std::string &payload); - private: - SubtitleJob subtitleJob_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITSUBTITLEJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitTagJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitTagJobRequest.h deleted file mode 100644 index e502582cd..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitTagJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTAGJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITTAGJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitTagJobRequest : public RpcServiceRequest { -public: - SubmitTagJobRequest(); - ~SubmitTagJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getTagConfig() const; - void setTagConfig(const std::string &tagConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string tagConfig_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTAGJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitTagJobResult.h b/mts/include/alibabacloud/mts/model/SubmitTagJobResult.h deleted file mode 100644 index 5ecce3da0..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitTagJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTAGJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITTAGJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitTagJobResult : public ServiceResult - { - public: - - - SubmitTagJobResult(); - explicit SubmitTagJobResult(const std::string &payload); - ~SubmitTagJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTAGJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitTerrorismJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitTerrorismJobRequest.h deleted file mode 100644 index 7797cea22..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitTerrorismJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTERRORISMJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITTERRORISMJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitTerrorismJobRequest : public RpcServiceRequest { -public: - SubmitTerrorismJobRequest(); - ~SubmitTerrorismJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getTerrorismConfig() const; - void setTerrorismConfig(const std::string &terrorismConfig); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string terrorismConfig_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTERRORISMJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitTerrorismJobResult.h b/mts/include/alibabacloud/mts/model/SubmitTerrorismJobResult.h deleted file mode 100644 index cebfd8936..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitTerrorismJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTERRORISMJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITTERRORISMJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitTerrorismJobResult : public ServiceResult - { - public: - - - SubmitTerrorismJobResult(); - explicit SubmitTerrorismJobResult(const std::string &payload); - ~SubmitTerrorismJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTERRORISMJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoQualityJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitTraceAbJobRequest.h similarity index 51% rename from mts/include/alibabacloud/mts/model/SubmitVideoQualityJobRequest.h rename to mts/include/alibabacloud/mts/model/SubmitTraceAbJobRequest.h index 0506b300b..c62cfe8be 100644 --- a/mts/include/alibabacloud/mts/model/SubmitVideoQualityJobRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitTraceAbJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOQUALITYJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOQUALITYJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTRACEABJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITTRACEABJOBREQUEST_H_ #include #include @@ -26,44 +26,41 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitVideoQualityJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT SubmitTraceAbJobRequest : public RpcServiceRequest { public: - SubmitVideoQualityJobRequest(); - ~SubmitVideoQualityJobRequest(); - std::string getJobParams() const; - void setJobParams(const std::string &jobParams); - long getUserId() const; - void setUserId(long userId); + SubmitTraceAbJobRequest(); + ~SubmitTraceAbJobRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); std::string getOutput() const; void setOutput(const std::string &output); std::string getUserData() const; void setUserData(const std::string &userData); - std::string getNotifyUrl() const; - void setNotifyUrl(const std::string ¬ifyUrl); - std::string getSourceType() const; - void setSourceType(const std::string &sourceType); - std::string getModelId() const; - void setModelId(const std::string &modelId); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); + std::string getCipherBase64ed() const; + void setCipherBase64ed(const std::string &cipherBase64ed); + long getLevel() const; + void setLevel(long level); + std::string getUrl() const; + void setUrl(const std::string &url); std::string getInput() const; void setInput(const std::string &input); - std::string getScheduleParams() const; - void setScheduleParams(const std::string &scheduleParams); + std::string getTotalTime() const; + void setTotalTime(const std::string &totalTime); + std::string getCallBack() const; + void setCallBack(const std::string &callBack); private: - std::string jobParams_; - long userId_; + std::string startTime_; std::string output_; std::string userData_; - std::string notifyUrl_; - std::string sourceType_; - std::string modelId_; - std::string pipelineId_; + std::string cipherBase64ed_; + long level_; + std::string url_; std::string input_; - std::string scheduleParams_; + std::string totalTime_; + std::string callBack_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOQUALITYJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTRACEABJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/DetectImageSyncResult.h b/mts/include/alibabacloud/mts/model/SubmitTraceAbJobResult.h similarity index 64% rename from mts/include/alibabacloud/mts/model/DetectImageSyncResult.h rename to mts/include/alibabacloud/mts/model/SubmitTraceAbJobResult.h index 4a801d0d5..6c8b7dcc7 100644 --- a/mts/include/alibabacloud/mts/model/DetectImageSyncResult.h +++ b/mts/include/alibabacloud/mts/model/SubmitTraceAbJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_DETECTIMAGESYNCRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_DETECTIMAGESYNCRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTRACEABJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITTRACEABJOBRESULT_H_ #include #include @@ -29,27 +29,32 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT DetectImageSyncResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT SubmitTraceAbJobResult : public ServiceResult { public: + struct Data + { + std::string mediaId; + std::string jobId; + }; - DetectImageSyncResult(); - explicit DetectImageSyncResult(const std::string &payload); - ~DetectImageSyncResult(); - std::string getStatus()const; + SubmitTraceAbJobResult(); + explicit SubmitTraceAbJobResult(const std::string &payload); + ~SubmitTraceAbJobResult(); std::string getMessage()const; - std::string getResult()const; + Data getData()const; + long getStatusCode()const; protected: void parse(const std::string &payload); private: - std::string status_; std::string message_; - std::string result_; + Data data_; + long statusCode_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_DETECTIMAGESYNCRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTRACEABJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitInferenceJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitTraceExtractJobRequest.h similarity index 56% rename from mts/include/alibabacloud/mts/model/SubmitInferenceJobRequest.h rename to mts/include/alibabacloud/mts/model/SubmitTraceExtractJobRequest.h index 47d780b1f..8c10f8f61 100644 --- a/mts/include/alibabacloud/mts/model/SubmitInferenceJobRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitTraceExtractJobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITINFERENCEJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITINFERENCEJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTRACEEXTRACTJOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITTRACEEXTRACTJOBREQUEST_H_ #include #include @@ -26,23 +26,29 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitInferenceJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT SubmitTraceExtractJobRequest : public RpcServiceRequest { public: - SubmitInferenceJobRequest(); - ~SubmitInferenceJobRequest(); + SubmitTraceExtractJobRequest(); + ~SubmitTraceExtractJobRequest(); + std::string getParams() const; + void setParams(const std::string ¶ms); + std::string getUrl() const; + void setUrl(const std::string &url); std::string getInput() const; void setInput(const std::string &input); - std::string getModelType() const; - void setModelType(const std::string &modelType); - std::string getServerName() const; - void setServerName(const std::string &serverName); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getCallBack() const; + void setCallBack(const std::string &callBack); private: + std::string params_; + std::string url_; std::string input_; - std::string modelType_; - std::string serverName_; + std::string userData_; + std::string callBack_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITINFERENCEJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTRACEEXTRACTJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoQualityJobResult.h b/mts/include/alibabacloud/mts/model/SubmitTraceExtractJobResult.h similarity index 65% rename from mts/include/alibabacloud/mts/model/SubmitVideoQualityJobResult.h rename to mts/include/alibabacloud/mts/model/SubmitTraceExtractJobResult.h index ea58388b4..e092f1b6b 100644 --- a/mts/include/alibabacloud/mts/model/SubmitVideoQualityJobResult.h +++ b/mts/include/alibabacloud/mts/model/SubmitTraceExtractJobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOQUALITYJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOQUALITYJOBRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTRACEEXTRACTJOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITTRACEEXTRACTJOBRESULT_H_ #include #include @@ -29,27 +29,31 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT SubmitVideoQualityJobResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT SubmitTraceExtractJobResult : public ServiceResult { public: + struct Data + { + std::string jobId; + }; - SubmitVideoQualityJobResult(); - explicit SubmitVideoQualityJobResult(const std::string &payload); - ~SubmitVideoQualityJobResult(); + SubmitTraceExtractJobResult(); + explicit SubmitTraceExtractJobResult(const std::string &payload); + ~SubmitTraceExtractJobResult(); std::string getMessage()const; - std::string getCode()const; - std::string getJobId()const; + Data getData()const; + long getStatusCode()const; protected: void parse(const std::string &payload); private: std::string message_; - std::string code_; - std::string jobId_; + Data data_; + long statusCode_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOQUALITYJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTRACEEXTRACTJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/ListInferenceJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitTraceM3u8JobRequest.h similarity index 51% rename from mts/include/alibabacloud/mts/model/ListInferenceJobRequest.h rename to mts/include/alibabacloud/mts/model/SubmitTraceM3u8JobRequest.h index cb8dd1dfa..d070ded85 100644 --- a/mts/include/alibabacloud/mts/model/ListInferenceJobRequest.h +++ b/mts/include/alibabacloud/mts/model/SubmitTraceM3u8JobRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_LISTINFERENCEJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_LISTINFERENCEJOBREQUEST_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTRACEM3U8JOBREQUEST_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITTRACEM3U8JOBREQUEST_H_ #include #include @@ -26,23 +26,29 @@ namespace AlibabaCloud { namespace Mts { namespace Model { -class ALIBABACLOUD_MTS_EXPORT ListInferenceJobRequest : public RpcServiceRequest { +class ALIBABACLOUD_MTS_EXPORT SubmitTraceM3u8JobRequest : public RpcServiceRequest { public: - ListInferenceJobRequest(); - ~ListInferenceJobRequest(); - long getMaxPageSize() const; - void setMaxPageSize(long maxPageSize); - long getPageNumber() const; - void setPageNumber(long pageNumber); - std::string getServerName() const; - void setServerName(const std::string &serverName); + SubmitTraceM3u8JobRequest(); + ~SubmitTraceM3u8JobRequest(); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getParams() const; + void setParams(const std::string ¶ms); + std::string getOutput() const; + void setOutput(const std::string &output); + std::string getTrace() const; + void setTrace(const std::string &trace); + std::string getKeyUri() const; + void setKeyUri(const std::string &keyUri); private: - long maxPageSize_; - long pageNumber_; - std::string serverName_; + std::string mediaId_; + std::string params_; + std::string output_; + std::string trace_; + std::string keyUri_; }; } // namespace Model } // namespace Mts } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_LISTINFERENCEJOBREQUEST_H_ +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTRACEM3U8JOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/CreateInferenceServerResult.h b/mts/include/alibabacloud/mts/model/SubmitTraceM3u8JobResult.h similarity index 67% rename from mts/include/alibabacloud/mts/model/CreateInferenceServerResult.h rename to mts/include/alibabacloud/mts/model/SubmitTraceM3u8JobResult.h index a1b34cfed..04fb3ab2d 100644 --- a/mts/include/alibabacloud/mts/model/CreateInferenceServerResult.h +++ b/mts/include/alibabacloud/mts/model/SubmitTraceM3u8JobResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_MTS_MODEL_CREATEINFERENCESERVERRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_CREATEINFERENCESERVERRESULT_H_ +#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITTRACEM3U8JOBRESULT_H_ +#define ALIBABACLOUD_MTS_MODEL_SUBMITTRACEM3U8JOBRESULT_H_ #include #include @@ -29,25 +29,29 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_MTS_EXPORT CreateInferenceServerResult : public ServiceResult + class ALIBABACLOUD_MTS_EXPORT SubmitTraceM3u8JobResult : public ServiceResult { public: + struct Data + { + std::string jobId; + }; - CreateInferenceServerResult(); - explicit CreateInferenceServerResult(const std::string &payload); - ~CreateInferenceServerResult(); + SubmitTraceM3u8JobResult(); + explicit SubmitTraceM3u8JobResult(const std::string &payload); + ~SubmitTraceM3u8JobResult(); std::string getMessage()const; - std::string getCode()const; + Data getData()const; protected: void parse(const std::string &payload); private: std::string message_; - std::string code_; + Data data_; }; } } } -#endif // !ALIBABACLOUD_MTS_MODEL_CREATEINFERENCESERVERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITTRACEM3U8JOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitURLUploadJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitURLUploadJobRequest.h deleted file mode 100644 index 8b456628c..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitURLUploadJobRequest.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITURLUPLOADJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITURLUPLOADJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitURLUploadJobRequest : public RpcServiceRequest { -public: - struct TargetStorage { - std::string bucket; - std::string bucketOwnerId; - std::string s3Provider; - std::string s3Endpoint; - std::string objectKey; - std::string s3AccessKey; - std::string s3SecretKey; - std::string s3SessionToken; - std::string objectRoleName; - }; - SubmitURLUploadJobRequest(); - ~SubmitURLUploadJobRequest(); - TargetStorage getTargetStorage() const; - void setTargetStorage(const TargetStorage &targetStorage); - std::string getSourceFileURL() const; - void setSourceFileURL(const std::string &sourceFileURL); - std::string getNotify() const; - void setNotify(const std::string ¬ify); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getRegion() const; - void setRegion(const std::string ®ion); - -private: - TargetStorage targetStorage_; - std::string sourceFileURL_; - std::string notify_; - std::string userData_; - std::string region_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITURLUPLOADJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitURLUploadJobResult.h b/mts/include/alibabacloud/mts/model/SubmitURLUploadJobResult.h deleted file mode 100644 index 8e66bedd4..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitURLUploadJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITURLUPLOADJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITURLUPLOADJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitURLUploadJobResult : public ServiceResult - { - public: - - - SubmitURLUploadJobResult(); - explicit SubmitURLUploadJobResult(const std::string &payload); - ~SubmitURLUploadJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITURLUPLOADJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoGifJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitVideoGifJobRequest.h deleted file mode 100644 index 412ba6ad2..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoGifJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOGIFJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOGIFJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitVideoGifJobRequest : public RpcServiceRequest { -public: - SubmitVideoGifJobRequest(); - ~SubmitVideoGifJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getVideoGifConfig() const; - void setVideoGifConfig(const std::string &videoGifConfig); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string videoGifConfig_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOGIFJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoGifJobResult.h b/mts/include/alibabacloud/mts/model/SubmitVideoGifJobResult.h deleted file mode 100644 index 205bdece7..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoGifJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOGIFJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOGIFJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitVideoGifJobResult : public ServiceResult - { - public: - - - SubmitVideoGifJobResult(); - explicit SubmitVideoGifJobResult(const std::string &payload); - ~SubmitVideoGifJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOGIFJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoPoseJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitVideoPoseJobRequest.h deleted file mode 100644 index 669ac187c..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoPoseJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitVideoPoseJobRequest : public RpcServiceRequest { -public: - SubmitVideoPoseJobRequest(); - ~SubmitVideoPoseJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getOutputConfig() const; - void setOutputConfig(const std::string &outputConfig); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string outputConfig_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h b/mts/include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h deleted file mode 100644 index 33e21b1b1..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoPoseJobResult.h +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitVideoPoseJobResult : public ServiceResult - { - public: - struct VideoPoseJob - { - struct OutputConfig - { - struct DataFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - struct VideoFile - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - DataFile dataFile; - VideoFile videoFile; - }; - struct MNSMessageResult - { - std::string errorCode; - std::string errorMessage; - std::string messageId; - }; - struct Input - { - std::string bucket; - std::string object; - std::string roleArn; - std::string location; - }; - 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 startTime; - std::string fps; - std::string index; - std::string lang; - std::string duration; - std::string pixFmt; - NetworkCost networkCost; - std::string bitrate; - std::string codecName; - std::string avgFPS; - std::string profile; - 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 lang; - std::string duration; - std::string sampleFmt; - std::string samplerate; - std::string bitrate; - std::string codecName; - std::string channels; - std::string timebase; - std::string codecTagString; - std::string codecLongName; - std::string numFrames; - }; - struct SubtitleStream - { - std::string timebase; - std::string codecTag; - std::string codecTagString; - std::string codecTimeBase; - std::string codecLongName; - std::string startTime; - std::string index; - std::string lang; - std::string duration; - std::string codecName; - }; - std::vector videoStreamList; - std::vector subtitleStreamList; - std::vector 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; - }; - 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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoSplitJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitVideoSplitJobRequest.h deleted file mode 100644 index 58227781e..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoSplitJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSPLITJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSPLITJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitVideoSplitJobRequest : public RpcServiceRequest { -public: - SubmitVideoSplitJobRequest(); - ~SubmitVideoSplitJobRequest(); - std::string getVideoSplitConfig() const; - void setVideoSplitConfig(const std::string &videoSplitConfig); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - std::string videoSplitConfig_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSPLITJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoSplitJobResult.h b/mts/include/alibabacloud/mts/model/SubmitVideoSplitJobResult.h deleted file mode 100644 index 3aa2cd0cb..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoSplitJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSPLITJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSPLITJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitVideoSplitJobResult : public ServiceResult - { - public: - - - SubmitVideoSplitJobResult(); - explicit SubmitVideoSplitJobResult(const std::string &payload); - ~SubmitVideoSplitJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSPLITJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h b/mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h deleted file mode 100644 index 94eb0bba3..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSUMMARYJOBREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSUMMARYJOBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT SubmitVideoSummaryJobRequest : public RpcServiceRequest { -public: - SubmitVideoSummaryJobRequest(); - ~SubmitVideoSummaryJobRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getUserData() const; - void setUserData(const std::string &userData); - std::string getVideoSummaryConfig() const; - void setVideoSummaryConfig(const std::string &videoSummaryConfig); - 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 getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getInput() const; - void setInput(const std::string &input); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string videoSummaryConfig_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string pipelineId_; - std::string input_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSUMMARYJOBREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h b/mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h deleted file mode 100644 index 503fe2da4..000000000 --- a/mts/include/alibabacloud/mts/model/SubmitVideoSummaryJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSUMMARYJOBRESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSUMMARYJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT SubmitVideoSummaryJobResult : public ServiceResult - { - public: - - - SubmitVideoSummaryJobResult(); - explicit SubmitVideoSummaryJobResult(const std::string &payload); - ~SubmitVideoSummaryJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOSUMMARYJOBRESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UnbindInputBucketRequest.h b/mts/include/alibabacloud/mts/model/UnbindInputBucketRequest.h index 9bc8a947a..2e7ff758a 100644 --- a/mts/include/alibabacloud/mts/model/UnbindInputBucketRequest.h +++ b/mts/include/alibabacloud/mts/model/UnbindInputBucketRequest.h @@ -32,6 +32,8 @@ public: ~UnbindInputBucketRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getDepositorCredentials() const; + void setDepositorCredentials(const std::string &depositorCredentials); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); std::string getResourceOwnerAccount() const; @@ -47,6 +49,7 @@ public: private: long resourceOwnerId_; + std::string depositorCredentials_; std::string accessKeyId_; std::string resourceOwnerAccount_; std::string ownerAccount_; diff --git a/mts/include/alibabacloud/mts/model/UpdateAsrPipelineResult.h b/mts/include/alibabacloud/mts/model/UpdateAsrPipelineResult.h deleted file mode 100644 index 25d47a386..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateAsrPipelineResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEASRPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEASRPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT UpdateAsrPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queueName; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - UpdateAsrPipelineResult(); - explicit UpdateAsrPipelineResult(const std::string &payload); - ~UpdateAsrPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEASRPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UpdateCategoryNameRequest.h b/mts/include/alibabacloud/mts/model/UpdateCategoryNameRequest.h deleted file mode 100644 index ee81c366b..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateCategoryNameRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATECATEGORYNAMEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATECATEGORYNAMEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT UpdateCategoryNameRequest : public RpcServiceRequest { -public: - UpdateCategoryNameRequest(); - ~UpdateCategoryNameRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getCateId() const; - void setCateId(const std::string &cateId); - std::string getCateName() const; - void setCateName(const std::string &cateName); - 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); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string cateId_; - std::string cateName_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATECATEGORYNAMEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateCensorPipelineRequest.h b/mts/include/alibabacloud/mts/model/UpdateCensorPipelineRequest.h deleted file mode 100644 index db61b8a8b..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateCensorPipelineRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATECENSORPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATECENSORPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT UpdateCensorPipelineRequest : public RpcServiceRequest { -public: - UpdateCensorPipelineRequest(); - ~UpdateCensorPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getState() const; - void setState(const std::string &state); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - int priority_; - std::string pipelineId_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATECENSORPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateCensorPipelineResult.h b/mts/include/alibabacloud/mts/model/UpdateCensorPipelineResult.h deleted file mode 100644 index 4b7253cd0..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateCensorPipelineResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATECENSORPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATECENSORPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT UpdateCensorPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - UpdateCensorPipelineResult(); - explicit UpdateCensorPipelineResult(const std::string &payload); - ~UpdateCensorPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATECENSORPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UpdateCoverPipelineRequest.h b/mts/include/alibabacloud/mts/model/UpdateCoverPipelineRequest.h deleted file mode 100644 index b8e9824d3..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateCoverPipelineRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATECOVERPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATECOVERPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT UpdateCoverPipelineRequest : public RpcServiceRequest { -public: - UpdateCoverPipelineRequest(); - ~UpdateCoverPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRole() const; - void setRole(const std::string &role); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getState() const; - void setState(const std::string &state); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string role_; - std::string accessKeyId_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - int priority_; - std::string pipelineId_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATECOVERPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateCoverPipelineResult.h b/mts/include/alibabacloud/mts/model/UpdateCoverPipelineResult.h deleted file mode 100644 index 4f10a2b60..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateCoverPipelineResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATECOVERPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATECOVERPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT UpdateCoverPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string role; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - UpdateCoverPipelineResult(); - explicit UpdateCoverPipelineResult(const std::string &payload); - ~UpdateCoverPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATECOVERPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UpdateMCTemplateRequest.h b/mts/include/alibabacloud/mts/model/UpdateMCTemplateRequest.h deleted file mode 100644 index b6d9eaf4f..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateMCTemplateRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_ - -#include -#include -#include -#include -#include - -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 getAbuse() const; - void setAbuse(const std::string &abuse); - std::string getQrcode() const; - void setQrcode(const std::string &qrcode); - 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 getLogo() const; - void setLogo(const std::string &logo); - std::string getLive() const; - void setLive(const std::string &live); - std::string getContraband() const; - void setContraband(const std::string &contraband); - std::string getAd() const; - void setAd(const std::string &ad); - 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 getName() const; - void setName(const std::string &name); - std::string getSpam() const; - void setSpam(const std::string &spam); - -private: - std::string politics_; - long resourceOwnerId_; - std::string abuse_; - std::string qrcode_; - std::string accessKeyId_; - std::string porn_; - std::string terrorism_; - std::string logo_; - std::string live_; - std::string contraband_; - std::string ad_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string templateId_; - std::string name_; - std::string spam_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateMCTemplateResult.h b/mts/include/alibabacloud/mts/model/UpdateMCTemplateResult.h deleted file mode 100644 index 4dc5796bc..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateMCTemplateResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT UpdateMCTemplateResult : public ServiceResult - { - public: - struct _Template - { - std::string qrcode; - std::string ad; - std::string abuse; - std::string terrorism; - std::string live; - std::string spam; - std::string logo; - std::string name; - 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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UpdateMcuTemplateRequest.h b/mts/include/alibabacloud/mts/model/UpdateMcuTemplateRequest.h deleted file mode 100644 index cfa4f38f9..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateMcuTemplateRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_ - -#include -#include -#include -#include -#include - -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 getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - 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); - -private: - std::string _template_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - std::string templateId_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateMcuTemplateResult.h b/mts/include/alibabacloud/mts/model/UpdateMcuTemplateResult.h deleted file mode 100644 index 589257375..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateMcuTemplateResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/mts/include/alibabacloud/mts/model/UpdateMediaWorkflowRequest.h b/mts/include/alibabacloud/mts/model/UpdateMediaWorkflowRequest.h index e6a4d2232..ec313d901 100644 --- a/mts/include/alibabacloud/mts/model/UpdateMediaWorkflowRequest.h +++ b/mts/include/alibabacloud/mts/model/UpdateMediaWorkflowRequest.h @@ -44,6 +44,10 @@ public: void setOwnerAccount(const std::string &ownerAccount); long getOwnerId() const; void setOwnerId(long ownerId); + std::string getTriggerMode() const; + void setTriggerMode(const std::string &triggerMode); + std::string getName() const; + void setName(const std::string &name); private: long resourceOwnerId_; @@ -53,6 +57,8 @@ private: std::string topology_; std::string ownerAccount_; long ownerId_; + std::string triggerMode_; + std::string name_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/UpdatePipelineRequest.h b/mts/include/alibabacloud/mts/model/UpdatePipelineRequest.h index a7c906e53..39f52e5cc 100644 --- a/mts/include/alibabacloud/mts/model/UpdatePipelineRequest.h +++ b/mts/include/alibabacloud/mts/model/UpdatePipelineRequest.h @@ -38,6 +38,8 @@ public: void setAccessKeyId(const std::string &accessKeyId); std::string getState() const; void setState(const std::string &state); + std::string getExtendConfig() const; + void setExtendConfig(const std::string &extendConfig); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -56,6 +58,7 @@ private: std::string role_; std::string accessKeyId_; std::string state_; + std::string extendConfig_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string notifyConfig_; diff --git a/mts/include/alibabacloud/mts/model/UpdatePipelineResult.h b/mts/include/alibabacloud/mts/model/UpdatePipelineResult.h index 2711508f0..98a13b166 100644 --- a/mts/include/alibabacloud/mts/model/UpdatePipelineResult.h +++ b/mts/include/alibabacloud/mts/model/UpdatePipelineResult.h @@ -41,12 +41,19 @@ namespace AlibabaCloud std::string topic; std::string queueName; }; + struct ExtendConfig + { + bool isBoostNew; + std::string multiSpeedDowngradePolicy; + int maxMultiSpeed; + }; std::string role; std::string speed; long quotaAllocate; std::string state; NotifyConfig notifyConfig; std::string id; + ExtendConfig extendConfig; std::string name; }; diff --git a/mts/include/alibabacloud/mts/model/UpdatePornPipelineRequest.h b/mts/include/alibabacloud/mts/model/UpdatePornPipelineRequest.h deleted file mode 100644 index 7d2368698..000000000 --- a/mts/include/alibabacloud/mts/model/UpdatePornPipelineRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATEPORNPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATEPORNPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT UpdatePornPipelineRequest : public RpcServiceRequest { -public: - UpdatePornPipelineRequest(); - ~UpdatePornPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getState() const; - void setState(const std::string &state); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - int priority_; - std::string pipelineId_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEPORNPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateSmarttagTemplateRequest.h b/mts/include/alibabacloud/mts/model/UpdateSmarttagTemplateRequest.h index 2ca4a7482..25ba71fb5 100644 --- a/mts/include/alibabacloud/mts/model/UpdateSmarttagTemplateRequest.h +++ b/mts/include/alibabacloud/mts/model/UpdateSmarttagTemplateRequest.h @@ -32,42 +32,63 @@ public: ~UpdateSmarttagTemplateRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getKnowledgeConfig() const; + void setKnowledgeConfig(const std::string &knowledgeConfig); std::string getIndustry() const; void setIndustry(const std::string &industry); + std::string getLabelVersion() const; + void setLabelVersion(const std::string &labelVersion); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); std::string getScene() const; void setScene(const std::string &scene); + std::string getFaceCustomParamsConfig() const; + void setFaceCustomParamsConfig(const std::string &faceCustomParamsConfig); std::string getTemplateName() const; void setTemplateName(const std::string &templateName); bool getIsDefault() const; void setIsDefault(bool isDefault); std::string getFaceCategoryIds() const; void setFaceCategoryIds(const std::string &faceCategoryIds); + std::string getKeywordConfig() const; + void setKeywordConfig(const std::string &keywordConfig); + std::string getLandmarkGroupIds() const; + void setLandmarkGroupIds(const std::string &landmarkGroupIds); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); + std::string getObjectGroupIds() const; + void setObjectGroupIds(const std::string &objectGroupIds); long getOwnerId() const; void setOwnerId(long ownerId); std::string getTemplateId() const; void setTemplateId(const std::string &templateId); std::string getAnalyseTypes() const; void setAnalyseTypes(const std::string &analyseTypes); + std::string getLabelType() const; + void setLabelType(const std::string &labelType); private: long resourceOwnerId_; + std::string knowledgeConfig_; std::string industry_; + std::string labelVersion_; std::string accessKeyId_; std::string scene_; + std::string faceCustomParamsConfig_; std::string templateName_; bool isDefault_; std::string faceCategoryIds_; + std::string keywordConfig_; + std::string landmarkGroupIds_; std::string resourceOwnerAccount_; std::string ownerAccount_; + std::string objectGroupIds_; long ownerId_; std::string templateId_; std::string analyseTypes_; + std::string labelType_; }; } // namespace Model } // namespace Mts diff --git a/mts/include/alibabacloud/mts/model/UpdateTemplateResult.h b/mts/include/alibabacloud/mts/model/UpdateTemplateResult.h index ebe521795..71a23d8e1 100644 --- a/mts/include/alibabacloud/mts/model/UpdateTemplateResult.h +++ b/mts/include/alibabacloud/mts/model/UpdateTemplateResult.h @@ -41,7 +41,15 @@ namespace AlibabaCloud std::string min; std::string max; }; + struct NarrowBand + { + float maxAbrRatio; + std::string version; + float abrmax; + }; + NarrowBand narrowBand; std::string bufsize; + std::string hdr2sdr; std::string qscale; std::string scanMode; std::string preset; @@ -98,8 +106,18 @@ namespace AlibabaCloud }; struct Audio { + struct Volume + { + std::string loudnessRangeTarget; + std::string truePeak; + std::string integratedLoudnessTarget; + std::string level; + std::string method; + std::string peakLevel; + }; std::string codec; std::string qscale; + Volume volume; std::string remove; std::string samplerate; std::string bitrate; diff --git a/mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineRequest.h b/mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineRequest.h deleted file mode 100644 index 247e6e7da..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATETERRORISMPIPELINEREQUEST_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATETERRORISMPIPELINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Mts { -namespace Model { -class ALIBABACLOUD_MTS_EXPORT UpdateTerrorismPipelineRequest : public RpcServiceRequest { -public: - UpdateTerrorismPipelineRequest(); - ~UpdateTerrorismPipelineRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getState() const; - void setState(const std::string &state); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - std::string getNotifyConfig() const; - void setNotifyConfig(const std::string ¬ifyConfig); - long getOwnerId() const; - void setOwnerId(long ownerId); - int getPriority() const; - void setPriority(int priority); - std::string getPipelineId() const; - void setPipelineId(const std::string &pipelineId); - std::string getName() const; - void setName(const std::string &name); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string state_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string notifyConfig_; - long ownerId_; - int priority_; - std::string pipelineId_; - std::string name_; -}; -} // namespace Model -} // namespace Mts -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATETERRORISMPIPELINEREQUEST_H_ diff --git a/mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineResult.h b/mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineResult.h deleted file mode 100644 index 7ce9f765b..000000000 --- a/mts/include/alibabacloud/mts/model/UpdateTerrorismPipelineResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_MTS_MODEL_UPDATETERRORISMPIPELINERESULT_H_ -#define ALIBABACLOUD_MTS_MODEL_UPDATETERRORISMPIPELINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Mts - { - namespace Model - { - class ALIBABACLOUD_MTS_EXPORT UpdateTerrorismPipelineResult : public ServiceResult - { - public: - struct Pipeline - { - struct NotifyConfig - { - std::string topic; - std::string queue; - }; - std::string state; - int priority; - NotifyConfig notifyConfig; - std::string id; - std::string name; - }; - - - UpdateTerrorismPipelineResult(); - explicit UpdateTerrorismPipelineResult(const std::string &payload); - ~UpdateTerrorismPipelineResult(); - Pipeline getPipeline()const; - - protected: - void parse(const std::string &payload); - private: - Pipeline pipeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_MTS_MODEL_UPDATETERRORISMPIPELINERESULT_H_ \ No newline at end of file diff --git a/mts/src/MtsClient.cc b/mts/src/MtsClient.cc index 2f42553e5..253befb58 100644 --- a/mts/src/MtsClient.cc +++ b/mts/src/MtsClient.cc @@ -87,186 +87,6 @@ MtsClient::ActivateMediaWorkflowOutcomeCallable MtsClient::activateMediaWorkflow return task->get_future(); } -MtsClient::AddAsrPipelineOutcome MtsClient::addAsrPipeline(const AddAsrPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddAsrPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddAsrPipelineOutcome(AddAsrPipelineResult(outcome.result())); - else - return AddAsrPipelineOutcome(outcome.error()); -} - -void MtsClient::addAsrPipelineAsync(const AddAsrPipelineRequest& request, const AddAsrPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addAsrPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddAsrPipelineOutcomeCallable MtsClient::addAsrPipelineCallable(const AddAsrPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addAsrPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::AddCategoryOutcome MtsClient::addCategory(const AddCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddCategoryOutcome(AddCategoryResult(outcome.result())); - else - return AddCategoryOutcome(outcome.error()); -} - -void MtsClient::addCategoryAsync(const AddCategoryRequest& request, const AddCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddCategoryOutcomeCallable MtsClient::addCategoryCallable(const AddCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::AddCensorPipelineOutcome MtsClient::addCensorPipeline(const AddCensorPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddCensorPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddCensorPipelineOutcome(AddCensorPipelineResult(outcome.result())); - else - return AddCensorPipelineOutcome(outcome.error()); -} - -void MtsClient::addCensorPipelineAsync(const AddCensorPipelineRequest& request, const AddCensorPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addCensorPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddCensorPipelineOutcomeCallable MtsClient::addCensorPipelineCallable(const AddCensorPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addCensorPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::AddCoverPipelineOutcome MtsClient::addCoverPipeline(const AddCoverPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddCoverPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddCoverPipelineOutcome(AddCoverPipelineResult(outcome.result())); - else - return AddCoverPipelineOutcome(outcome.error()); -} - -void MtsClient::addCoverPipelineAsync(const AddCoverPipelineRequest& request, const AddCoverPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addCoverPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddCoverPipelineOutcomeCallable MtsClient::addCoverPipelineCallable(const AddCoverPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addCoverPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::AddMCTemplateOutcome MtsClient::addMCTemplate(const AddMCTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddMCTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddMCTemplateOutcome(AddMCTemplateResult(outcome.result())); - else - return AddMCTemplateOutcome(outcome.error()); -} - -void MtsClient::addMCTemplateAsync(const AddMCTemplateRequest& request, const AddMCTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addMCTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddMCTemplateOutcomeCallable MtsClient::addMCTemplateCallable(const AddMCTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addMCTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::AddMediaOutcome MtsClient::addMedia(const AddMediaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,42 +231,6 @@ MtsClient::AddPipelineOutcomeCallable MtsClient::addPipelineCallable(const AddPi return task->get_future(); } -MtsClient::AddPornPipelineOutcome MtsClient::addPornPipeline(const AddPornPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddPornPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddPornPipelineOutcome(AddPornPipelineResult(outcome.result())); - else - return AddPornPipelineOutcome(outcome.error()); -} - -void MtsClient::addPornPipelineAsync(const AddPornPipelineRequest& request, const AddPornPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addPornPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddPornPipelineOutcomeCallable MtsClient::addPornPipelineCallable(const AddPornPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addPornPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::AddSmarttagTemplateOutcome MtsClient::addSmarttagTemplate(const AddSmarttagTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,42 +303,6 @@ MtsClient::AddTemplateOutcomeCallable MtsClient::addTemplateCallable(const AddTe return task->get_future(); } -MtsClient::AddTerrorismPipelineOutcome MtsClient::addTerrorismPipeline(const AddTerrorismPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddTerrorismPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddTerrorismPipelineOutcome(AddTerrorismPipelineResult(outcome.result())); - else - return AddTerrorismPipelineOutcome(outcome.error()); -} - -void MtsClient::addTerrorismPipelineAsync(const AddTerrorismPipelineRequest& request, const AddTerrorismPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addTerrorismPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::AddTerrorismPipelineOutcomeCallable MtsClient::addTerrorismPipelineCallable(const AddTerrorismPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addTerrorismPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::AddWaterMarkTemplateOutcome MtsClient::addWaterMarkTemplate(const AddWaterMarkTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,72 +447,72 @@ MtsClient::CancelJobOutcomeCallable MtsClient::cancelJobCallable(const CancelJob return task->get_future(); } -MtsClient::CategoryTreeOutcome MtsClient::categoryTree(const CategoryTreeRequest &request) const +MtsClient::CreateCustomEntityOutcome MtsClient::createCustomEntity(const CreateCustomEntityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CategoryTreeOutcome(endpointOutcome.error()); + return CreateCustomEntityOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CategoryTreeOutcome(CategoryTreeResult(outcome.result())); + return CreateCustomEntityOutcome(CreateCustomEntityResult(outcome.result())); else - return CategoryTreeOutcome(outcome.error()); + return CreateCustomEntityOutcome(outcome.error()); } -void MtsClient::categoryTreeAsync(const CategoryTreeRequest& request, const CategoryTreeAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::createCustomEntityAsync(const CreateCustomEntityRequest& request, const CreateCustomEntityAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, categoryTree(request), context); + handler(this, request, createCustomEntity(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::CategoryTreeOutcomeCallable MtsClient::categoryTreeCallable(const CategoryTreeRequest &request) const +MtsClient::CreateCustomEntityOutcomeCallable MtsClient::createCustomEntityCallable(const CreateCustomEntityRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->categoryTree(request); + return this->createCustomEntity(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::CheckResourceOutcome MtsClient::checkResource(const CheckResourceRequest &request) const +MtsClient::CreateCustomGroupOutcome MtsClient::createCustomGroup(const CreateCustomGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CheckResourceOutcome(endpointOutcome.error()); + return CreateCustomGroupOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CheckResourceOutcome(CheckResourceResult(outcome.result())); + return CreateCustomGroupOutcome(CreateCustomGroupResult(outcome.result())); else - return CheckResourceOutcome(outcome.error()); + return CreateCustomGroupOutcome(outcome.error()); } -void MtsClient::checkResourceAsync(const CheckResourceRequest& request, const CheckResourceAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::createCustomGroupAsync(const CreateCustomGroupRequest& request, const CreateCustomGroupAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, checkResource(request), context); + handler(this, request, createCustomGroup(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::CheckResourceOutcomeCallable MtsClient::checkResourceCallable(const CheckResourceRequest &request) const +MtsClient::CreateCustomGroupOutcomeCallable MtsClient::createCustomGroupCallable(const CreateCustomGroupRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->checkResource(request); + return this->createCustomGroup(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -807,114 +555,6 @@ MtsClient::CreateFpShotDBOutcomeCallable MtsClient::createFpShotDBCallable(const return task->get_future(); } -MtsClient::CreateInferenceServerOutcome MtsClient::createInferenceServer(const CreateInferenceServerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateInferenceServerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateInferenceServerOutcome(CreateInferenceServerResult(outcome.result())); - else - return CreateInferenceServerOutcome(outcome.error()); -} - -void MtsClient::createInferenceServerAsync(const CreateInferenceServerRequest& request, const CreateInferenceServerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createInferenceServer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::CreateInferenceServerOutcomeCallable MtsClient::createInferenceServerCallable(const CreateInferenceServerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createInferenceServer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::CreateMcuTemplateOutcome MtsClient::createMcuTemplate(const CreateMcuTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateMcuTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateMcuTemplateOutcome(CreateMcuTemplateResult(outcome.result())); - else - return CreateMcuTemplateOutcome(outcome.error()); -} - -void MtsClient::createMcuTemplateAsync(const CreateMcuTemplateRequest& request, const CreateMcuTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createMcuTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::CreateMcuTemplateOutcomeCallable MtsClient::createMcuTemplateCallable(const CreateMcuTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createMcuTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::CreateSessionOutcome MtsClient::createSession(const CreateSessionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateSessionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateSessionOutcome(CreateSessionResult(outcome.result())); - else - return CreateSessionOutcome(outcome.error()); -} - -void MtsClient::createSessionAsync(const CreateSessionRequest& request, const CreateSessionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createSession(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::CreateSessionOutcomeCallable MtsClient::createSessionCallable(const CreateSessionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createSession(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::DeactivateMediaWorkflowOutcome MtsClient::deactivateMediaWorkflow(const DeactivateMediaWorkflowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -951,180 +591,108 @@ MtsClient::DeactivateMediaWorkflowOutcomeCallable MtsClient::deactivateMediaWork return task->get_future(); } -MtsClient::DecryptKeyOutcome MtsClient::decryptKey(const DecryptKeyRequest &request) const +MtsClient::DeleteCustomEntityOutcome MtsClient::deleteCustomEntity(const DeleteCustomEntityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DecryptKeyOutcome(endpointOutcome.error()); + return DeleteCustomEntityOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DecryptKeyOutcome(DecryptKeyResult(outcome.result())); + return DeleteCustomEntityOutcome(DeleteCustomEntityResult(outcome.result())); else - return DecryptKeyOutcome(outcome.error()); + return DeleteCustomEntityOutcome(outcome.error()); } -void MtsClient::decryptKeyAsync(const DecryptKeyRequest& request, const DecryptKeyAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::deleteCustomEntityAsync(const DeleteCustomEntityRequest& request, const DeleteCustomEntityAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, decryptKey(request), context); + handler(this, request, deleteCustomEntity(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::DecryptKeyOutcomeCallable MtsClient::decryptKeyCallable(const DecryptKeyRequest &request) const +MtsClient::DeleteCustomEntityOutcomeCallable MtsClient::deleteCustomEntityCallable(const DeleteCustomEntityRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->decryptKey(request); + return this->deleteCustomEntity(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::DeleteCategoryOutcome MtsClient::deleteCategory(const DeleteCategoryRequest &request) const +MtsClient::DeleteCustomGroupOutcome MtsClient::deleteCustomGroup(const DeleteCustomGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteCategoryOutcome(endpointOutcome.error()); + return DeleteCustomGroupOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteCategoryOutcome(DeleteCategoryResult(outcome.result())); + return DeleteCustomGroupOutcome(DeleteCustomGroupResult(outcome.result())); else - return DeleteCategoryOutcome(outcome.error()); + return DeleteCustomGroupOutcome(outcome.error()); } -void MtsClient::deleteCategoryAsync(const DeleteCategoryRequest& request, const DeleteCategoryAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::deleteCustomGroupAsync(const DeleteCustomGroupRequest& request, const DeleteCustomGroupAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteCategory(request), context); + handler(this, request, deleteCustomGroup(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::DeleteCategoryOutcomeCallable MtsClient::deleteCategoryCallable(const DeleteCategoryRequest &request) const +MtsClient::DeleteCustomGroupOutcomeCallable MtsClient::deleteCustomGroupCallable(const DeleteCustomGroupRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteCategory(request); + return this->deleteCustomGroup(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::DeleteMCTemplateOutcome MtsClient::deleteMCTemplate(const DeleteMCTemplateRequest &request) const +MtsClient::DeleteCustomViewOutcome MtsClient::deleteCustomView(const DeleteCustomViewRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteMCTemplateOutcome(endpointOutcome.error()); + return DeleteCustomViewOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteMCTemplateOutcome(DeleteMCTemplateResult(outcome.result())); + return DeleteCustomViewOutcome(DeleteCustomViewResult(outcome.result())); else - return DeleteMCTemplateOutcome(outcome.error()); + return DeleteCustomViewOutcome(outcome.error()); } -void MtsClient::deleteMCTemplateAsync(const DeleteMCTemplateRequest& request, const DeleteMCTemplateAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::deleteCustomViewAsync(const DeleteCustomViewRequest& request, const DeleteCustomViewAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteMCTemplate(request), context); + handler(this, request, deleteCustomView(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::DeleteMCTemplateOutcomeCallable MtsClient::deleteMCTemplateCallable(const DeleteMCTemplateRequest &request) const +MtsClient::DeleteCustomViewOutcomeCallable MtsClient::deleteCustomViewCallable(const DeleteCustomViewRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteMCTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::DeleteMcuJobOutcome MtsClient::deleteMcuJob(const DeleteMcuJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteMcuJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteMcuJobOutcome(DeleteMcuJobResult(outcome.result())); - else - return DeleteMcuJobOutcome(outcome.error()); -} - -void MtsClient::deleteMcuJobAsync(const DeleteMcuJobRequest& request, const DeleteMcuJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteMcuJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::DeleteMcuJobOutcomeCallable MtsClient::deleteMcuJobCallable(const DeleteMcuJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteMcuJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::DeleteMcuTemplateOutcome MtsClient::deleteMcuTemplate(const DeleteMcuTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteMcuTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteMcuTemplateOutcome(DeleteMcuTemplateResult(outcome.result())); - else - return DeleteMcuTemplateOutcome(outcome.error()); -} - -void MtsClient::deleteMcuTemplateAsync(const DeleteMcuTemplateRequest& request, const DeleteMcuTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteMcuTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::DeleteMcuTemplateOutcomeCallable MtsClient::deleteMcuTemplateCallable(const DeleteMcuTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteMcuTemplate(request); + return this->deleteCustomView(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1383,216 +951,72 @@ MtsClient::DeleteWaterMarkTemplateOutcomeCallable MtsClient::deleteWaterMarkTemp return task->get_future(); } -MtsClient::DescribeMtsUserResourcePackageOutcome MtsClient::describeMtsUserResourcePackage(const DescribeMtsUserResourcePackageRequest &request) const +MtsClient::ImAuditOutcome MtsClient::imAudit(const ImAuditRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeMtsUserResourcePackageOutcome(endpointOutcome.error()); + return ImAuditOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeMtsUserResourcePackageOutcome(DescribeMtsUserResourcePackageResult(outcome.result())); + return ImAuditOutcome(ImAuditResult(outcome.result())); else - return DescribeMtsUserResourcePackageOutcome(outcome.error()); + return ImAuditOutcome(outcome.error()); } -void MtsClient::describeMtsUserResourcePackageAsync(const DescribeMtsUserResourcePackageRequest& request, const DescribeMtsUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::imAuditAsync(const ImAuditRequest& request, const ImAuditAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeMtsUserResourcePackage(request), context); + handler(this, request, imAudit(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::DescribeMtsUserResourcePackageOutcomeCallable MtsClient::describeMtsUserResourcePackageCallable(const DescribeMtsUserResourcePackageRequest &request) const +MtsClient::ImAuditOutcomeCallable MtsClient::imAuditCallable(const ImAuditRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeMtsUserResourcePackage(request); + return this->imAudit(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::DetectImageSyncOutcome MtsClient::detectImageSync(const DetectImageSyncRequest &request) const +MtsClient::ImportFpShotJobOutcome MtsClient::importFpShotJob(const ImportFpShotJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DetectImageSyncOutcome(endpointOutcome.error()); + return ImportFpShotJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DetectImageSyncOutcome(DetectImageSyncResult(outcome.result())); + return ImportFpShotJobOutcome(ImportFpShotJobResult(outcome.result())); else - return DetectImageSyncOutcome(outcome.error()); + return ImportFpShotJobOutcome(outcome.error()); } -void MtsClient::detectImageSyncAsync(const DetectImageSyncRequest& request, const DetectImageSyncAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::importFpShotJobAsync(const ImportFpShotJobRequest& request, const ImportFpShotJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, detectImageSync(request), context); + handler(this, request, importFpShotJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::DetectImageSyncOutcomeCallable MtsClient::detectImageSyncCallable(const DetectImageSyncRequest &request) const +MtsClient::ImportFpShotJobOutcomeCallable MtsClient::importFpShotJobCallable(const ImportFpShotJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->detectImageSync(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::GetJobInfoOutcome MtsClient::getJobInfo(const GetJobInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetJobInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetJobInfoOutcome(GetJobInfoResult(outcome.result())); - else - return GetJobInfoOutcome(outcome.error()); -} - -void MtsClient::getJobInfoAsync(const GetJobInfoRequest& request, const GetJobInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getJobInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::GetJobInfoOutcomeCallable MtsClient::getJobInfoCallable(const GetJobInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getJobInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::GetLicenseOutcome MtsClient::getLicense(const GetLicenseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetLicenseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetLicenseOutcome(GetLicenseResult(outcome.result())); - else - return GetLicenseOutcome(outcome.error()); -} - -void MtsClient::getLicenseAsync(const GetLicenseRequest& request, const GetLicenseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getLicense(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::GetLicenseOutcomeCallable MtsClient::getLicenseCallable(const GetLicenseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getLicense(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::GetPackageOutcome MtsClient::getPackage(const GetPackageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetPackageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetPackageOutcome(GetPackageResult(outcome.result())); - else - return GetPackageOutcome(outcome.error()); -} - -void MtsClient::getPackageAsync(const GetPackageRequest& request, const GetPackageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getPackage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::GetPackageOutcomeCallable MtsClient::getPackageCallable(const GetPackageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getPackage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ListAllCategoryOutcome MtsClient::listAllCategory(const ListAllCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListAllCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListAllCategoryOutcome(ListAllCategoryResult(outcome.result())); - else - return ListAllCategoryOutcome(outcome.error()); -} - -void MtsClient::listAllCategoryAsync(const ListAllCategoryRequest& request, const ListAllCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listAllCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ListAllCategoryOutcomeCallable MtsClient::listAllCategoryCallable(const ListAllCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listAllCategory(request); + return this->importFpShotJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1635,108 +1059,72 @@ MtsClient::ListAllMediaBucketOutcomeCallable MtsClient::listAllMediaBucketCallab return task->get_future(); } -MtsClient::ListAsrPipelineOutcome MtsClient::listAsrPipeline(const ListAsrPipelineRequest &request) const +MtsClient::ListCustomEntitiesOutcome MtsClient::listCustomEntities(const ListCustomEntitiesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListAsrPipelineOutcome(endpointOutcome.error()); + return ListCustomEntitiesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListAsrPipelineOutcome(ListAsrPipelineResult(outcome.result())); + return ListCustomEntitiesOutcome(ListCustomEntitiesResult(outcome.result())); else - return ListAsrPipelineOutcome(outcome.error()); + return ListCustomEntitiesOutcome(outcome.error()); } -void MtsClient::listAsrPipelineAsync(const ListAsrPipelineRequest& request, const ListAsrPipelineAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::listCustomEntitiesAsync(const ListCustomEntitiesRequest& request, const ListCustomEntitiesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listAsrPipeline(request), context); + handler(this, request, listCustomEntities(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::ListAsrPipelineOutcomeCallable MtsClient::listAsrPipelineCallable(const ListAsrPipelineRequest &request) const +MtsClient::ListCustomEntitiesOutcomeCallable MtsClient::listCustomEntitiesCallable(const ListCustomEntitiesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listAsrPipeline(request); + return this->listCustomEntities(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::ListCensorPipelineOutcome MtsClient::listCensorPipeline(const ListCensorPipelineRequest &request) const +MtsClient::ListCustomGroupsOutcome MtsClient::listCustomGroups(const ListCustomGroupsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListCensorPipelineOutcome(endpointOutcome.error()); + return ListCustomGroupsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListCensorPipelineOutcome(ListCensorPipelineResult(outcome.result())); + return ListCustomGroupsOutcome(ListCustomGroupsResult(outcome.result())); else - return ListCensorPipelineOutcome(outcome.error()); + return ListCustomGroupsOutcome(outcome.error()); } -void MtsClient::listCensorPipelineAsync(const ListCensorPipelineRequest& request, const ListCensorPipelineAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::listCustomGroupsAsync(const ListCustomGroupsRequest& request, const ListCustomGroupsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listCensorPipeline(request), context); + handler(this, request, listCustomGroups(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::ListCensorPipelineOutcomeCallable MtsClient::listCensorPipelineCallable(const ListCensorPipelineRequest &request) const +MtsClient::ListCustomGroupsOutcomeCallable MtsClient::listCustomGroupsCallable(const ListCustomGroupsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listCensorPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ListCoverPipelineOutcome MtsClient::listCoverPipeline(const ListCoverPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListCoverPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListCoverPipelineOutcome(ListCoverPipelineResult(outcome.result())); - else - return ListCoverPipelineOutcome(outcome.error()); -} - -void MtsClient::listCoverPipelineAsync(const ListCoverPipelineRequest& request, const ListCoverPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listCoverPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ListCoverPipelineOutcomeCallable MtsClient::listCoverPipelineCallable(const ListCoverPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listCoverPipeline(request); + return this->listCustomGroups(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1779,6 +1167,42 @@ MtsClient::ListCustomPersonsOutcomeCallable MtsClient::listCustomPersonsCallable return task->get_future(); } +MtsClient::ListCustomViewsOutcome MtsClient::listCustomViews(const ListCustomViewsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCustomViewsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCustomViewsOutcome(ListCustomViewsResult(outcome.result())); + else + return ListCustomViewsOutcome(outcome.error()); +} + +void MtsClient::listCustomViewsAsync(const ListCustomViewsRequest& request, const ListCustomViewsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCustomViews(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +MtsClient::ListCustomViewsOutcomeCallable MtsClient::listCustomViewsCallable(const ListCustomViewsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCustomViews(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + MtsClient::ListFpShotDBOutcome MtsClient::listFpShotDB(const ListFpShotDBRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1851,72 +1275,36 @@ MtsClient::ListFpShotFilesOutcomeCallable MtsClient::listFpShotFilesCallable(con return task->get_future(); } -MtsClient::ListFpShotNotaryOutcome MtsClient::listFpShotNotary(const ListFpShotNotaryRequest &request) const +MtsClient::ListFpShotImportJobOutcome MtsClient::listFpShotImportJob(const ListFpShotImportJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListFpShotNotaryOutcome(endpointOutcome.error()); + return ListFpShotImportJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListFpShotNotaryOutcome(ListFpShotNotaryResult(outcome.result())); + return ListFpShotImportJobOutcome(ListFpShotImportJobResult(outcome.result())); else - return ListFpShotNotaryOutcome(outcome.error()); + return ListFpShotImportJobOutcome(outcome.error()); } -void MtsClient::listFpShotNotaryAsync(const ListFpShotNotaryRequest& request, const ListFpShotNotaryAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::listFpShotImportJobAsync(const ListFpShotImportJobRequest& request, const ListFpShotImportJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listFpShotNotary(request), context); + handler(this, request, listFpShotImportJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::ListFpShotNotaryOutcomeCallable MtsClient::listFpShotNotaryCallable(const ListFpShotNotaryRequest &request) const +MtsClient::ListFpShotImportJobOutcomeCallable MtsClient::listFpShotImportJobCallable(const ListFpShotImportJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listFpShotNotary(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ListInferenceJobOutcome MtsClient::listInferenceJob(const ListInferenceJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListInferenceJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListInferenceJobOutcome(ListInferenceJobResult(outcome.result())); - else - return ListInferenceJobOutcome(outcome.error()); -} - -void MtsClient::listInferenceJobAsync(const ListInferenceJobRequest& request, const ListInferenceJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listInferenceJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ListInferenceJobOutcomeCallable MtsClient::listInferenceJobCallable(const ListInferenceJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listInferenceJob(request); + return this->listFpShotImportJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1959,42 +1347,6 @@ MtsClient::ListJobOutcomeCallable MtsClient::listJobCallable(const ListJobReques return task->get_future(); } -MtsClient::ListMediaOutcome MtsClient::listMedia(const ListMediaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListMediaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListMediaOutcome(ListMediaResult(outcome.result())); - else - return ListMediaOutcome(outcome.error()); -} - -void MtsClient::listMediaAsync(const ListMediaRequest& request, const ListMediaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listMedia(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ListMediaOutcomeCallable MtsClient::listMediaCallable(const ListMediaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listMedia(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::ListMediaWorkflowExecutionsOutcome MtsClient::listMediaWorkflowExecutions(const ListMediaWorkflowExecutionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2031,222 +1383,6 @@ MtsClient::ListMediaWorkflowExecutionsOutcomeCallable MtsClient::listMediaWorkfl return task->get_future(); } -MtsClient::ListPornPipelineOutcome MtsClient::listPornPipeline(const ListPornPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListPornPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListPornPipelineOutcome(ListPornPipelineResult(outcome.result())); - else - return ListPornPipelineOutcome(outcome.error()); -} - -void MtsClient::listPornPipelineAsync(const ListPornPipelineRequest& request, const ListPornPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listPornPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ListPornPipelineOutcomeCallable MtsClient::listPornPipelineCallable(const ListPornPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listPornPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ListTerrorismPipelineOutcome MtsClient::listTerrorismPipeline(const ListTerrorismPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTerrorismPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTerrorismPipelineOutcome(ListTerrorismPipelineResult(outcome.result())); - else - return ListTerrorismPipelineOutcome(outcome.error()); -} - -void MtsClient::listTerrorismPipelineAsync(const ListTerrorismPipelineRequest& request, const ListTerrorismPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTerrorismPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ListTerrorismPipelineOutcomeCallable MtsClient::listTerrorismPipelineCallable(const ListTerrorismPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTerrorismPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::LogicalDeleteResourceOutcome MtsClient::logicalDeleteResource(const LogicalDeleteResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return LogicalDeleteResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return LogicalDeleteResourceOutcome(LogicalDeleteResourceResult(outcome.result())); - else - return LogicalDeleteResourceOutcome(outcome.error()); -} - -void MtsClient::logicalDeleteResourceAsync(const LogicalDeleteResourceRequest& request, const LogicalDeleteResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, logicalDeleteResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::LogicalDeleteResourceOutcomeCallable MtsClient::logicalDeleteResourceCallable(const LogicalDeleteResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->logicalDeleteResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::PhysicalDeleteResourceOutcome MtsClient::physicalDeleteResource(const PhysicalDeleteResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PhysicalDeleteResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PhysicalDeleteResourceOutcome(PhysicalDeleteResourceResult(outcome.result())); - else - return PhysicalDeleteResourceOutcome(outcome.error()); -} - -void MtsClient::physicalDeleteResourceAsync(const PhysicalDeleteResourceRequest& request, const PhysicalDeleteResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, physicalDeleteResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::PhysicalDeleteResourceOutcomeCallable MtsClient::physicalDeleteResourceCallable(const PhysicalDeleteResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->physicalDeleteResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::PlayInfoOutcome MtsClient::playInfo(const PlayInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PlayInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PlayInfoOutcome(PlayInfoResult(outcome.result())); - else - return PlayInfoOutcome(outcome.error()); -} - -void MtsClient::playInfoAsync(const PlayInfoRequest& request, const PlayInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, playInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::PlayInfoOutcomeCallable MtsClient::playInfoCallable(const PlayInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->playInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::PlayerAuthOutcome MtsClient::playerAuth(const PlayerAuthRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PlayerAuthOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PlayerAuthOutcome(PlayerAuthResult(outcome.result())); - else - return PlayerAuthOutcome(outcome.error()); -} - -void MtsClient::playerAuthAsync(const PlayerAuthRequest& request, const PlayerAuthAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, playerAuth(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::PlayerAuthOutcomeCallable MtsClient::playerAuthCallable(const PlayerAuthRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->playerAuth(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QueryAnalysisJobListOutcome MtsClient::queryAnalysisJobList(const QueryAnalysisJobListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2283,432 +1419,72 @@ MtsClient::QueryAnalysisJobListOutcomeCallable MtsClient::queryAnalysisJobListCa return task->get_future(); } -MtsClient::QueryAnnotationJobListOutcome MtsClient::queryAnnotationJobList(const QueryAnnotationJobListRequest &request) const +MtsClient::QueryCopyrightExtractJobOutcome MtsClient::queryCopyrightExtractJob(const QueryCopyrightExtractJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryAnnotationJobListOutcome(endpointOutcome.error()); + return QueryCopyrightExtractJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryAnnotationJobListOutcome(QueryAnnotationJobListResult(outcome.result())); + return QueryCopyrightExtractJobOutcome(QueryCopyrightExtractJobResult(outcome.result())); else - return QueryAnnotationJobListOutcome(outcome.error()); + return QueryCopyrightExtractJobOutcome(outcome.error()); } -void MtsClient::queryAnnotationJobListAsync(const QueryAnnotationJobListRequest& request, const QueryAnnotationJobListAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::queryCopyrightExtractJobAsync(const QueryCopyrightExtractJobRequest& request, const QueryCopyrightExtractJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryAnnotationJobList(request), context); + handler(this, request, queryCopyrightExtractJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::QueryAnnotationJobListOutcomeCallable MtsClient::queryAnnotationJobListCallable(const QueryAnnotationJobListRequest &request) const +MtsClient::QueryCopyrightExtractJobOutcomeCallable MtsClient::queryCopyrightExtractJobCallable(const QueryCopyrightExtractJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryAnnotationJobList(request); + return this->queryCopyrightExtractJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::QueryAsrJobListOutcome MtsClient::queryAsrJobList(const QueryAsrJobListRequest &request) const +MtsClient::QueryCopyrightJobOutcome MtsClient::queryCopyrightJob(const QueryCopyrightJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryAsrJobListOutcome(endpointOutcome.error()); + return QueryCopyrightJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryAsrJobListOutcome(QueryAsrJobListResult(outcome.result())); + return QueryCopyrightJobOutcome(QueryCopyrightJobResult(outcome.result())); else - return QueryAsrJobListOutcome(outcome.error()); + return QueryCopyrightJobOutcome(outcome.error()); } -void MtsClient::queryAsrJobListAsync(const QueryAsrJobListRequest& request, const QueryAsrJobListAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::queryCopyrightJobAsync(const QueryCopyrightJobRequest& request, const QueryCopyrightJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryAsrJobList(request), context); + handler(this, request, queryCopyrightJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::QueryAsrJobListOutcomeCallable MtsClient::queryAsrJobListCallable(const QueryAsrJobListRequest &request) const +MtsClient::QueryCopyrightJobOutcomeCallable MtsClient::queryCopyrightJobCallable(const QueryCopyrightJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryAsrJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryAsrPipelineListOutcome MtsClient::queryAsrPipelineList(const QueryAsrPipelineListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryAsrPipelineListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryAsrPipelineListOutcome(QueryAsrPipelineListResult(outcome.result())); - else - return QueryAsrPipelineListOutcome(outcome.error()); -} - -void MtsClient::queryAsrPipelineListAsync(const QueryAsrPipelineListRequest& request, const QueryAsrPipelineListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryAsrPipelineList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryAsrPipelineListOutcomeCallable MtsClient::queryAsrPipelineListCallable(const QueryAsrPipelineListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryAsrPipelineList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryAuthConfigOutcome MtsClient::queryAuthConfig(const QueryAuthConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryAuthConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryAuthConfigOutcome(QueryAuthConfigResult(outcome.result())); - else - return QueryAuthConfigOutcome(outcome.error()); -} - -void MtsClient::queryAuthConfigAsync(const QueryAuthConfigRequest& request, const QueryAuthConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryAuthConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryAuthConfigOutcomeCallable MtsClient::queryAuthConfigCallable(const QueryAuthConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryAuthConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryCensorJobListOutcome MtsClient::queryCensorJobList(const QueryCensorJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryCensorJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryCensorJobListOutcome(QueryCensorJobListResult(outcome.result())); - else - return QueryCensorJobListOutcome(outcome.error()); -} - -void MtsClient::queryCensorJobListAsync(const QueryCensorJobListRequest& request, const QueryCensorJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryCensorJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryCensorJobListOutcomeCallable MtsClient::queryCensorJobListCallable(const QueryCensorJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryCensorJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryCensorPipelineListOutcome MtsClient::queryCensorPipelineList(const QueryCensorPipelineListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryCensorPipelineListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryCensorPipelineListOutcome(QueryCensorPipelineListResult(outcome.result())); - else - return QueryCensorPipelineListOutcome(outcome.error()); -} - -void MtsClient::queryCensorPipelineListAsync(const QueryCensorPipelineListRequest& request, const QueryCensorPipelineListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryCensorPipelineList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryCensorPipelineListOutcomeCallable MtsClient::queryCensorPipelineListCallable(const QueryCensorPipelineListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryCensorPipelineList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryComplexJobListOutcome MtsClient::queryComplexJobList(const QueryComplexJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryComplexJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryComplexJobListOutcome(QueryComplexJobListResult(outcome.result())); - else - return QueryComplexJobListOutcome(outcome.error()); -} - -void MtsClient::queryComplexJobListAsync(const QueryComplexJobListRequest& request, const QueryComplexJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryComplexJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryComplexJobListOutcomeCallable MtsClient::queryComplexJobListCallable(const QueryComplexJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryComplexJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryCoverJobListOutcome MtsClient::queryCoverJobList(const QueryCoverJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryCoverJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryCoverJobListOutcome(QueryCoverJobListResult(outcome.result())); - else - return QueryCoverJobListOutcome(outcome.error()); -} - -void MtsClient::queryCoverJobListAsync(const QueryCoverJobListRequest& request, const QueryCoverJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryCoverJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryCoverJobListOutcomeCallable MtsClient::queryCoverJobListCallable(const QueryCoverJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryCoverJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryCoverPipelineListOutcome MtsClient::queryCoverPipelineList(const QueryCoverPipelineListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryCoverPipelineListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryCoverPipelineListOutcome(QueryCoverPipelineListResult(outcome.result())); - else - return QueryCoverPipelineListOutcome(outcome.error()); -} - -void MtsClient::queryCoverPipelineListAsync(const QueryCoverPipelineListRequest& request, const QueryCoverPipelineListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryCoverPipelineList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryCoverPipelineListOutcomeCallable MtsClient::queryCoverPipelineListCallable(const QueryCoverPipelineListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryCoverPipelineList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryEditingJobListOutcome MtsClient::queryEditingJobList(const QueryEditingJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryEditingJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryEditingJobListOutcome(QueryEditingJobListResult(outcome.result())); - else - return QueryEditingJobListOutcome(outcome.error()); -} - -void MtsClient::queryEditingJobListAsync(const QueryEditingJobListRequest& request, const QueryEditingJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryEditingJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryEditingJobListOutcomeCallable MtsClient::queryEditingJobListCallable(const QueryEditingJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryEditingJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryFacerecogJobListOutcome MtsClient::queryFacerecogJobList(const QueryFacerecogJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryFacerecogJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryFacerecogJobListOutcome(QueryFacerecogJobListResult(outcome.result())); - else - return QueryFacerecogJobListOutcome(outcome.error()); -} - -void MtsClient::queryFacerecogJobListAsync(const QueryFacerecogJobListRequest& request, const QueryFacerecogJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryFacerecogJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryFacerecogJobListOutcomeCallable MtsClient::queryFacerecogJobListCallable(const QueryFacerecogJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryFacerecogJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryFpCompareJobListOutcome MtsClient::queryFpCompareJobList(const QueryFpCompareJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryFpCompareJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryFpCompareJobListOutcome(QueryFpCompareJobListResult(outcome.result())); - else - return QueryFpCompareJobListOutcome(outcome.error()); -} - -void MtsClient::queryFpCompareJobListAsync(const QueryFpCompareJobListRequest& request, const QueryFpCompareJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryFpCompareJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryFpCompareJobListOutcomeCallable MtsClient::queryFpCompareJobListCallable(const QueryFpCompareJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryFpCompareJobList(request); + return this->queryCopyrightJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -2787,42 +1563,6 @@ MtsClient::QueryFpFileDeleteJobListOutcomeCallable MtsClient::queryFpFileDeleteJ return task->get_future(); } -MtsClient::QueryFpImportResultOutcome MtsClient::queryFpImportResult(const QueryFpImportResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryFpImportResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryFpImportResultOutcome(QueryFpImportResultResult(outcome.result())); - else - return QueryFpImportResultOutcome(outcome.error()); -} - -void MtsClient::queryFpImportResultAsync(const QueryFpImportResultRequest& request, const QueryFpImportResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryFpImportResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryFpImportResultOutcomeCallable MtsClient::queryFpImportResultCallable(const QueryFpImportResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryFpImportResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QueryFpShotJobListOutcome MtsClient::queryFpShotJobList(const QueryFpShotJobListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2895,186 +1635,6 @@ MtsClient::QueryIProductionJobOutcomeCallable MtsClient::queryIProductionJobCall return task->get_future(); } -MtsClient::QueryIProductionJobListOutcome MtsClient::queryIProductionJobList(const QueryIProductionJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryIProductionJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryIProductionJobListOutcome(QueryIProductionJobListResult(outcome.result())); - else - return QueryIProductionJobListOutcome(outcome.error()); -} - -void MtsClient::queryIProductionJobListAsync(const QueryIProductionJobListRequest& request, const QueryIProductionJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryIProductionJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryIProductionJobListOutcomeCallable MtsClient::queryIProductionJobListCallable(const QueryIProductionJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryIProductionJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryImageSearchJobListOutcome MtsClient::queryImageSearchJobList(const QueryImageSearchJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryImageSearchJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryImageSearchJobListOutcome(QueryImageSearchJobListResult(outcome.result())); - else - return QueryImageSearchJobListOutcome(outcome.error()); -} - -void MtsClient::queryImageSearchJobListAsync(const QueryImageSearchJobListRequest& request, const QueryImageSearchJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryImageSearchJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryImageSearchJobListOutcomeCallable MtsClient::queryImageSearchJobListCallable(const QueryImageSearchJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryImageSearchJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryInferenceJobOutcome MtsClient::queryInferenceJob(const QueryInferenceJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryInferenceJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryInferenceJobOutcome(QueryInferenceJobResult(outcome.result())); - else - return QueryInferenceJobOutcome(outcome.error()); -} - -void MtsClient::queryInferenceJobAsync(const QueryInferenceJobRequest& request, const QueryInferenceJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryInferenceJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryInferenceJobOutcomeCallable MtsClient::queryInferenceJobCallable(const QueryInferenceJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryInferenceJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryInferenceServerOutcome MtsClient::queryInferenceServer(const QueryInferenceServerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryInferenceServerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryInferenceServerOutcome(QueryInferenceServerResult(outcome.result())); - else - return QueryInferenceServerOutcome(outcome.error()); -} - -void MtsClient::queryInferenceServerAsync(const QueryInferenceServerRequest& request, const QueryInferenceServerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryInferenceServer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryInferenceServerOutcomeCallable MtsClient::queryInferenceServerCallable(const QueryInferenceServerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryInferenceServer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryInnerJobOutcome MtsClient::queryInnerJob(const QueryInnerJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryInnerJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryInnerJobOutcome(QueryInnerJobResult(outcome.result())); - else - return QueryInnerJobOutcome(outcome.error()); -} - -void MtsClient::queryInnerJobAsync(const QueryInnerJobRequest& request, const QueryInnerJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryInnerJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryInnerJobOutcomeCallable MtsClient::queryInnerJobCallable(const QueryInnerJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryInnerJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QueryJobListOutcome MtsClient::queryJobList(const QueryJobListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3111,150 +1671,6 @@ MtsClient::QueryJobListOutcomeCallable MtsClient::queryJobListCallable(const Que return task->get_future(); } -MtsClient::QueryMCJobListOutcome MtsClient::queryMCJobList(const QueryMCJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryMCJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryMCJobListOutcome(QueryMCJobListResult(outcome.result())); - else - return QueryMCJobListOutcome(outcome.error()); -} - -void MtsClient::queryMCJobListAsync(const QueryMCJobListRequest& request, const QueryMCJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryMCJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryMCJobListOutcomeCallable MtsClient::queryMCJobListCallable(const QueryMCJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryMCJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryMCTemplateListOutcome MtsClient::queryMCTemplateList(const QueryMCTemplateListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryMCTemplateListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryMCTemplateListOutcome(QueryMCTemplateListResult(outcome.result())); - else - return QueryMCTemplateListOutcome(outcome.error()); -} - -void MtsClient::queryMCTemplateListAsync(const QueryMCTemplateListRequest& request, const QueryMCTemplateListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryMCTemplateList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryMCTemplateListOutcomeCallable MtsClient::queryMCTemplateListCallable(const QueryMCTemplateListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryMCTemplateList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryMcuJobOutcome MtsClient::queryMcuJob(const QueryMcuJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryMcuJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryMcuJobOutcome(QueryMcuJobResult(outcome.result())); - else - return QueryMcuJobOutcome(outcome.error()); -} - -void MtsClient::queryMcuJobAsync(const QueryMcuJobRequest& request, const QueryMcuJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryMcuJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryMcuJobOutcomeCallable MtsClient::queryMcuJobCallable(const QueryMcuJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryMcuJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryMcuTemplateOutcome MtsClient::queryMcuTemplate(const QueryMcuTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryMcuTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryMcuTemplateOutcome(QueryMcuTemplateResult(outcome.result())); - else - return QueryMcuTemplateOutcome(outcome.error()); -} - -void MtsClient::queryMcuTemplateAsync(const QueryMcuTemplateRequest& request, const QueryMcuTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryMcuTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryMcuTemplateOutcomeCallable MtsClient::queryMcuTemplateCallable(const QueryMcuTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryMcuTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QueryMediaCensorJobDetailOutcome MtsClient::queryMediaCensorJobDetail(const QueryMediaCensorJobDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3327,78 +1743,6 @@ MtsClient::QueryMediaCensorJobListOutcomeCallable MtsClient::queryMediaCensorJob return task->get_future(); } -MtsClient::QueryMediaDetailJobListOutcome MtsClient::queryMediaDetailJobList(const QueryMediaDetailJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryMediaDetailJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryMediaDetailJobListOutcome(QueryMediaDetailJobListResult(outcome.result())); - else - return QueryMediaDetailJobListOutcome(outcome.error()); -} - -void MtsClient::queryMediaDetailJobListAsync(const QueryMediaDetailJobListRequest& request, const QueryMediaDetailJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryMediaDetailJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryMediaDetailJobListOutcomeCallable MtsClient::queryMediaDetailJobListCallable(const QueryMediaDetailJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryMediaDetailJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryMediaFpDeleteJobListOutcome MtsClient::queryMediaFpDeleteJobList(const QueryMediaFpDeleteJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryMediaFpDeleteJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryMediaFpDeleteJobListOutcome(QueryMediaFpDeleteJobListResult(outcome.result())); - else - return QueryMediaFpDeleteJobListOutcome(outcome.error()); -} - -void MtsClient::queryMediaFpDeleteJobListAsync(const QueryMediaFpDeleteJobListRequest& request, const QueryMediaFpDeleteJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryMediaFpDeleteJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryMediaFpDeleteJobListOutcomeCallable MtsClient::queryMediaFpDeleteJobListCallable(const QueryMediaFpDeleteJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryMediaFpDeleteJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QueryMediaInfoJobListOutcome MtsClient::queryMediaInfoJobList(const QueryMediaInfoJobListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3615,78 +1959,6 @@ MtsClient::QueryPipelineListOutcomeCallable MtsClient::queryPipelineListCallable return task->get_future(); } -MtsClient::QueryPornJobListOutcome MtsClient::queryPornJobList(const QueryPornJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryPornJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryPornJobListOutcome(QueryPornJobListResult(outcome.result())); - else - return QueryPornJobListOutcome(outcome.error()); -} - -void MtsClient::queryPornJobListAsync(const QueryPornJobListRequest& request, const QueryPornJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryPornJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryPornJobListOutcomeCallable MtsClient::queryPornJobListCallable(const QueryPornJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryPornJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryPornPipelineListOutcome MtsClient::queryPornPipelineList(const QueryPornPipelineListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryPornPipelineListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryPornPipelineListOutcome(QueryPornPipelineListResult(outcome.result())); - else - return QueryPornPipelineListOutcome(outcome.error()); -} - -void MtsClient::queryPornPipelineListAsync(const QueryPornPipelineListRequest& request, const QueryPornPipelineListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryPornPipelineList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryPornPipelineListOutcomeCallable MtsClient::queryPornPipelineListCallable(const QueryPornPipelineListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryPornPipelineList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QuerySmarttagJobOutcome MtsClient::querySmarttagJob(const QuerySmarttagJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3795,78 +2067,6 @@ MtsClient::QuerySnapshotJobListOutcomeCallable MtsClient::querySnapshotJobListCa return task->get_future(); } -MtsClient::QuerySubtitleJobListOutcome MtsClient::querySubtitleJobList(const QuerySubtitleJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QuerySubtitleJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QuerySubtitleJobListOutcome(QuerySubtitleJobListResult(outcome.result())); - else - return QuerySubtitleJobListOutcome(outcome.error()); -} - -void MtsClient::querySubtitleJobListAsync(const QuerySubtitleJobListRequest& request, const QuerySubtitleJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, querySubtitleJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QuerySubtitleJobListOutcomeCallable MtsClient::querySubtitleJobListCallable(const QuerySubtitleJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->querySubtitleJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryTagJobListOutcome MtsClient::queryTagJobList(const QueryTagJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryTagJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryTagJobListOutcome(QueryTagJobListResult(outcome.result())); - else - return QueryTagJobListOutcome(outcome.error()); -} - -void MtsClient::queryTagJobListAsync(const QueryTagJobListRequest& request, const QueryTagJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryTagJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryTagJobListOutcomeCallable MtsClient::queryTagJobListCallable(const QueryTagJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryTagJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::QueryTemplateListOutcome MtsClient::queryTemplateList(const QueryTemplateListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3903,252 +2103,108 @@ MtsClient::QueryTemplateListOutcomeCallable MtsClient::queryTemplateListCallable return task->get_future(); } -MtsClient::QueryTerrorismJobListOutcome MtsClient::queryTerrorismJobList(const QueryTerrorismJobListRequest &request) const +MtsClient::QueryTraceAbJobOutcome MtsClient::queryTraceAbJob(const QueryTraceAbJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryTerrorismJobListOutcome(endpointOutcome.error()); + return QueryTraceAbJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryTerrorismJobListOutcome(QueryTerrorismJobListResult(outcome.result())); + return QueryTraceAbJobOutcome(QueryTraceAbJobResult(outcome.result())); else - return QueryTerrorismJobListOutcome(outcome.error()); + return QueryTraceAbJobOutcome(outcome.error()); } -void MtsClient::queryTerrorismJobListAsync(const QueryTerrorismJobListRequest& request, const QueryTerrorismJobListAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::queryTraceAbJobAsync(const QueryTraceAbJobRequest& request, const QueryTraceAbJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryTerrorismJobList(request), context); + handler(this, request, queryTraceAbJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::QueryTerrorismJobListOutcomeCallable MtsClient::queryTerrorismJobListCallable(const QueryTerrorismJobListRequest &request) const +MtsClient::QueryTraceAbJobOutcomeCallable MtsClient::queryTraceAbJobCallable(const QueryTraceAbJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryTerrorismJobList(request); + return this->queryTraceAbJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::QueryTerrorismPipelineListOutcome MtsClient::queryTerrorismPipelineList(const QueryTerrorismPipelineListRequest &request) const +MtsClient::QueryTraceExtractJobOutcome MtsClient::queryTraceExtractJob(const QueryTraceExtractJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryTerrorismPipelineListOutcome(endpointOutcome.error()); + return QueryTraceExtractJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryTerrorismPipelineListOutcome(QueryTerrorismPipelineListResult(outcome.result())); + return QueryTraceExtractJobOutcome(QueryTraceExtractJobResult(outcome.result())); else - return QueryTerrorismPipelineListOutcome(outcome.error()); + return QueryTraceExtractJobOutcome(outcome.error()); } -void MtsClient::queryTerrorismPipelineListAsync(const QueryTerrorismPipelineListRequest& request, const QueryTerrorismPipelineListAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::queryTraceExtractJobAsync(const QueryTraceExtractJobRequest& request, const QueryTraceExtractJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryTerrorismPipelineList(request), context); + handler(this, request, queryTraceExtractJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::QueryTerrorismPipelineListOutcomeCallable MtsClient::queryTerrorismPipelineListCallable(const QueryTerrorismPipelineListRequest &request) const +MtsClient::QueryTraceExtractJobOutcomeCallable MtsClient::queryTraceExtractJobCallable(const QueryTraceExtractJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryTerrorismPipelineList(request); + return this->queryTraceExtractJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::QueryVideoGifJobListOutcome MtsClient::queryVideoGifJobList(const QueryVideoGifJobListRequest &request) const +MtsClient::QueryTraceM3u8JobOutcome MtsClient::queryTraceM3u8Job(const QueryTraceM3u8JobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryVideoGifJobListOutcome(endpointOutcome.error()); + return QueryTraceM3u8JobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryVideoGifJobListOutcome(QueryVideoGifJobListResult(outcome.result())); + return QueryTraceM3u8JobOutcome(QueryTraceM3u8JobResult(outcome.result())); else - return QueryVideoGifJobListOutcome(outcome.error()); + return QueryTraceM3u8JobOutcome(outcome.error()); } -void MtsClient::queryVideoGifJobListAsync(const QueryVideoGifJobListRequest& request, const QueryVideoGifJobListAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::queryTraceM3u8JobAsync(const QueryTraceM3u8JobRequest& request, const QueryTraceM3u8JobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryVideoGifJobList(request), context); + handler(this, request, queryTraceM3u8Job(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::QueryVideoGifJobListOutcomeCallable MtsClient::queryVideoGifJobListCallable(const QueryVideoGifJobListRequest &request) const +MtsClient::QueryTraceM3u8JobOutcomeCallable MtsClient::queryTraceM3u8JobCallable(const QueryTraceM3u8JobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryVideoGifJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryVideoPoseJobListOutcome MtsClient::queryVideoPoseJobList(const QueryVideoPoseJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryVideoPoseJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryVideoPoseJobListOutcome(QueryVideoPoseJobListResult(outcome.result())); - else - return QueryVideoPoseJobListOutcome(outcome.error()); -} - -void MtsClient::queryVideoPoseJobListAsync(const QueryVideoPoseJobListRequest& request, const QueryVideoPoseJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryVideoPoseJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryVideoPoseJobListOutcomeCallable MtsClient::queryVideoPoseJobListCallable(const QueryVideoPoseJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryVideoPoseJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryVideoQualityJobOutcome MtsClient::queryVideoQualityJob(const QueryVideoQualityJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryVideoQualityJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryVideoQualityJobOutcome(QueryVideoQualityJobResult(outcome.result())); - else - return QueryVideoQualityJobOutcome(outcome.error()); -} - -void MtsClient::queryVideoQualityJobAsync(const QueryVideoQualityJobRequest& request, const QueryVideoQualityJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryVideoQualityJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryVideoQualityJobOutcomeCallable MtsClient::queryVideoQualityJobCallable(const QueryVideoQualityJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryVideoQualityJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryVideoSplitJobListOutcome MtsClient::queryVideoSplitJobList(const QueryVideoSplitJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryVideoSplitJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryVideoSplitJobListOutcome(QueryVideoSplitJobListResult(outcome.result())); - else - return QueryVideoSplitJobListOutcome(outcome.error()); -} - -void MtsClient::queryVideoSplitJobListAsync(const QueryVideoSplitJobListRequest& request, const QueryVideoSplitJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryVideoSplitJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryVideoSplitJobListOutcomeCallable MtsClient::queryVideoSplitJobListCallable(const QueryVideoSplitJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryVideoSplitJobList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::QueryVideoSummaryJobListOutcome MtsClient::queryVideoSummaryJobList(const QueryVideoSummaryJobListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryVideoSummaryJobListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryVideoSummaryJobListOutcome(QueryVideoSummaryJobListResult(outcome.result())); - else - return QueryVideoSummaryJobListOutcome(outcome.error()); -} - -void MtsClient::queryVideoSummaryJobListAsync(const QueryVideoSummaryJobListRequest& request, const QueryVideoSummaryJobListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryVideoSummaryJobList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::QueryVideoSummaryJobListOutcomeCallable MtsClient::queryVideoSummaryJobListCallable(const QueryVideoSummaryJobListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryVideoSummaryJobList(request); + return this->queryTraceM3u8Job(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -4191,42 +2247,6 @@ MtsClient::QueryWaterMarkTemplateListOutcomeCallable MtsClient::queryWaterMarkTe return task->get_future(); } -MtsClient::RefreshCdnDomainConfigsCacheOutcome MtsClient::refreshCdnDomainConfigsCache(const RefreshCdnDomainConfigsCacheRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RefreshCdnDomainConfigsCacheOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RefreshCdnDomainConfigsCacheOutcome(RefreshCdnDomainConfigsCacheResult(outcome.result())); - else - return RefreshCdnDomainConfigsCacheOutcome(outcome.error()); -} - -void MtsClient::refreshCdnDomainConfigsCacheAsync(const RefreshCdnDomainConfigsCacheRequest& request, const RefreshCdnDomainConfigsCacheAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, refreshCdnDomainConfigsCache(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::RefreshCdnDomainConfigsCacheOutcomeCallable MtsClient::refreshCdnDomainConfigsCacheCallable(const RefreshCdnDomainConfigsCacheRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->refreshCdnDomainConfigsCache(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::RegisterCustomFaceOutcome MtsClient::registerCustomFace(const RegisterCustomFaceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4263,468 +2283,36 @@ MtsClient::RegisterCustomFaceOutcomeCallable MtsClient::registerCustomFaceCallab return task->get_future(); } -MtsClient::RegisterMediaDetailPersonOutcome MtsClient::registerMediaDetailPerson(const RegisterMediaDetailPersonRequest &request) const +MtsClient::RegisterCustomViewOutcome MtsClient::registerCustomView(const RegisterCustomViewRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return RegisterMediaDetailPersonOutcome(endpointOutcome.error()); + return RegisterCustomViewOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return RegisterMediaDetailPersonOutcome(RegisterMediaDetailPersonResult(outcome.result())); + return RegisterCustomViewOutcome(RegisterCustomViewResult(outcome.result())); else - return RegisterMediaDetailPersonOutcome(outcome.error()); + return RegisterCustomViewOutcome(outcome.error()); } -void MtsClient::registerMediaDetailPersonAsync(const RegisterMediaDetailPersonRequest& request, const RegisterMediaDetailPersonAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::registerCustomViewAsync(const RegisterCustomViewRequest& request, const RegisterCustomViewAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, registerMediaDetailPerson(request), context); + handler(this, request, registerCustomView(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::RegisterMediaDetailPersonOutcomeCallable MtsClient::registerMediaDetailPersonCallable(const RegisterMediaDetailPersonRequest &request) const +MtsClient::RegisterCustomViewOutcomeCallable MtsClient::registerCustomViewCallable(const RegisterCustomViewRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->registerMediaDetailPerson(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::RegisterMediaDetailScenarioOutcome MtsClient::registerMediaDetailScenario(const RegisterMediaDetailScenarioRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RegisterMediaDetailScenarioOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RegisterMediaDetailScenarioOutcome(RegisterMediaDetailScenarioResult(outcome.result())); - else - return RegisterMediaDetailScenarioOutcome(outcome.error()); -} - -void MtsClient::registerMediaDetailScenarioAsync(const RegisterMediaDetailScenarioRequest& request, const RegisterMediaDetailScenarioAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, registerMediaDetailScenario(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::RegisterMediaDetailScenarioOutcomeCallable MtsClient::registerMediaDetailScenarioCallable(const RegisterMediaDetailScenarioRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->registerMediaDetailScenario(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportAnnotationJobResultOutcome MtsClient::reportAnnotationJobResult(const ReportAnnotationJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportAnnotationJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportAnnotationJobResultOutcome(ReportAnnotationJobResultResult(outcome.result())); - else - return ReportAnnotationJobResultOutcome(outcome.error()); -} - -void MtsClient::reportAnnotationJobResultAsync(const ReportAnnotationJobResultRequest& request, const ReportAnnotationJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportAnnotationJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportAnnotationJobResultOutcomeCallable MtsClient::reportAnnotationJobResultCallable(const ReportAnnotationJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportAnnotationJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportCensorJobResultOutcome MtsClient::reportCensorJobResult(const ReportCensorJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportCensorJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportCensorJobResultOutcome(ReportCensorJobResultResult(outcome.result())); - else - return ReportCensorJobResultOutcome(outcome.error()); -} - -void MtsClient::reportCensorJobResultAsync(const ReportCensorJobResultRequest& request, const ReportCensorJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportCensorJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportCensorJobResultOutcomeCallable MtsClient::reportCensorJobResultCallable(const ReportCensorJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportCensorJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportCoverJobResultOutcome MtsClient::reportCoverJobResult(const ReportCoverJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportCoverJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportCoverJobResultOutcome(ReportCoverJobResultResult(outcome.result())); - else - return ReportCoverJobResultOutcome(outcome.error()); -} - -void MtsClient::reportCoverJobResultAsync(const ReportCoverJobResultRequest& request, const ReportCoverJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportCoverJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportCoverJobResultOutcomeCallable MtsClient::reportCoverJobResultCallable(const ReportCoverJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportCoverJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportFacerecogJobResultOutcome MtsClient::reportFacerecogJobResult(const ReportFacerecogJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportFacerecogJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportFacerecogJobResultOutcome(ReportFacerecogJobResultResult(outcome.result())); - else - return ReportFacerecogJobResultOutcome(outcome.error()); -} - -void MtsClient::reportFacerecogJobResultAsync(const ReportFacerecogJobResultRequest& request, const ReportFacerecogJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportFacerecogJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportFacerecogJobResultOutcomeCallable MtsClient::reportFacerecogJobResultCallable(const ReportFacerecogJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportFacerecogJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportFpShotJobResultOutcome MtsClient::reportFpShotJobResult(const ReportFpShotJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportFpShotJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportFpShotJobResultOutcome(ReportFpShotJobResultResult(outcome.result())); - else - return ReportFpShotJobResultOutcome(outcome.error()); -} - -void MtsClient::reportFpShotJobResultAsync(const ReportFpShotJobResultRequest& request, const ReportFpShotJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportFpShotJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportFpShotJobResultOutcomeCallable MtsClient::reportFpShotJobResultCallable(const ReportFpShotJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportFpShotJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportMediaDetailJobResultOutcome MtsClient::reportMediaDetailJobResult(const ReportMediaDetailJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportMediaDetailJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportMediaDetailJobResultOutcome(ReportMediaDetailJobResultResult(outcome.result())); - else - return ReportMediaDetailJobResultOutcome(outcome.error()); -} - -void MtsClient::reportMediaDetailJobResultAsync(const ReportMediaDetailJobResultRequest& request, const ReportMediaDetailJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportMediaDetailJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportMediaDetailJobResultOutcomeCallable MtsClient::reportMediaDetailJobResultCallable(const ReportMediaDetailJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportMediaDetailJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportPornJobResultOutcome MtsClient::reportPornJobResult(const ReportPornJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportPornJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportPornJobResultOutcome(ReportPornJobResultResult(outcome.result())); - else - return ReportPornJobResultOutcome(outcome.error()); -} - -void MtsClient::reportPornJobResultAsync(const ReportPornJobResultRequest& request, const ReportPornJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportPornJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportPornJobResultOutcomeCallable MtsClient::reportPornJobResultCallable(const ReportPornJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportPornJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportTagJobResultOutcome MtsClient::reportTagJobResult(const ReportTagJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportTagJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportTagJobResultOutcome(ReportTagJobResultResult(outcome.result())); - else - return ReportTagJobResultOutcome(outcome.error()); -} - -void MtsClient::reportTagJobResultAsync(const ReportTagJobResultRequest& request, const ReportTagJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportTagJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportTagJobResultOutcomeCallable MtsClient::reportTagJobResultCallable(const ReportTagJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportTagJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportTerrorismJobResultOutcome MtsClient::reportTerrorismJobResult(const ReportTerrorismJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportTerrorismJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportTerrorismJobResultOutcome(ReportTerrorismJobResultResult(outcome.result())); - else - return ReportTerrorismJobResultOutcome(outcome.error()); -} - -void MtsClient::reportTerrorismJobResultAsync(const ReportTerrorismJobResultRequest& request, const ReportTerrorismJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportTerrorismJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportTerrorismJobResultOutcomeCallable MtsClient::reportTerrorismJobResultCallable(const ReportTerrorismJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportTerrorismJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::ReportVideoSplitJobResultOutcome MtsClient::reportVideoSplitJobResult(const ReportVideoSplitJobResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReportVideoSplitJobResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReportVideoSplitJobResultOutcome(ReportVideoSplitJobResultResult(outcome.result())); - else - return ReportVideoSplitJobResultOutcome(outcome.error()); -} - -void MtsClient::reportVideoSplitJobResultAsync(const ReportVideoSplitJobResultRequest& request, const ReportVideoSplitJobResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reportVideoSplitJobResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::ReportVideoSplitJobResultOutcomeCallable MtsClient::reportVideoSplitJobResultCallable(const ReportVideoSplitJobResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reportVideoSplitJobResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SearchMediaOutcome MtsClient::searchMedia(const SearchMediaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchMediaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchMediaOutcome(SearchMediaResult(outcome.result())); - else - return SearchMediaOutcome(outcome.error()); -} - -void MtsClient::searchMediaAsync(const SearchMediaRequest& request, const SearchMediaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchMedia(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SearchMediaOutcomeCallable MtsClient::searchMediaCallable(const SearchMediaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchMedia(request); + return this->registerCustomView(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -4875,78 +2463,6 @@ MtsClient::SearchWaterMarkTemplateOutcomeCallable MtsClient::searchWaterMarkTemp return task->get_future(); } -MtsClient::SetAuthConfigOutcome MtsClient::setAuthConfig(const SetAuthConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetAuthConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetAuthConfigOutcome(SetAuthConfigResult(outcome.result())); - else - return SetAuthConfigOutcome(outcome.error()); -} - -void MtsClient::setAuthConfigAsync(const SetAuthConfigRequest& request, const SetAuthConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setAuthConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SetAuthConfigOutcomeCallable MtsClient::setAuthConfigCallable(const SetAuthConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setAuthConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::StopIProductionJobOutcome MtsClient::stopIProductionJob(const StopIProductionJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StopIProductionJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StopIProductionJobOutcome(StopIProductionJobResult(outcome.result())); - else - return StopIProductionJobOutcome(outcome.error()); -} - -void MtsClient::stopIProductionJobAsync(const StopIProductionJobRequest& request, const StopIProductionJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, stopIProductionJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::StopIProductionJobOutcomeCallable MtsClient::stopIProductionJobCallable(const StopIProductionJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->stopIProductionJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::SubmitAnalysisJobOutcome MtsClient::submitAnalysisJob(const SubmitAnalysisJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4983,288 +2499,72 @@ MtsClient::SubmitAnalysisJobOutcomeCallable MtsClient::submitAnalysisJobCallable return task->get_future(); } -MtsClient::SubmitAnnotationJobOutcome MtsClient::submitAnnotationJob(const SubmitAnnotationJobRequest &request) const +MtsClient::SubmitCopyrightExtractJobOutcome MtsClient::submitCopyrightExtractJob(const SubmitCopyrightExtractJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SubmitAnnotationJobOutcome(endpointOutcome.error()); + return SubmitCopyrightExtractJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SubmitAnnotationJobOutcome(SubmitAnnotationJobResult(outcome.result())); + return SubmitCopyrightExtractJobOutcome(SubmitCopyrightExtractJobResult(outcome.result())); else - return SubmitAnnotationJobOutcome(outcome.error()); + return SubmitCopyrightExtractJobOutcome(outcome.error()); } -void MtsClient::submitAnnotationJobAsync(const SubmitAnnotationJobRequest& request, const SubmitAnnotationJobAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::submitCopyrightExtractJobAsync(const SubmitCopyrightExtractJobRequest& request, const SubmitCopyrightExtractJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, submitAnnotationJob(request), context); + handler(this, request, submitCopyrightExtractJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::SubmitAnnotationJobOutcomeCallable MtsClient::submitAnnotationJobCallable(const SubmitAnnotationJobRequest &request) const +MtsClient::SubmitCopyrightExtractJobOutcomeCallable MtsClient::submitCopyrightExtractJobCallable(const SubmitCopyrightExtractJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->submitAnnotationJob(request); + return this->submitCopyrightExtractJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::SubmitAsrJobOutcome MtsClient::submitAsrJob(const SubmitAsrJobRequest &request) const +MtsClient::SubmitCopyrightJobOutcome MtsClient::submitCopyrightJob(const SubmitCopyrightJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SubmitAsrJobOutcome(endpointOutcome.error()); + return SubmitCopyrightJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SubmitAsrJobOutcome(SubmitAsrJobResult(outcome.result())); + return SubmitCopyrightJobOutcome(SubmitCopyrightJobResult(outcome.result())); else - return SubmitAsrJobOutcome(outcome.error()); + return SubmitCopyrightJobOutcome(outcome.error()); } -void MtsClient::submitAsrJobAsync(const SubmitAsrJobRequest& request, const SubmitAsrJobAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::submitCopyrightJobAsync(const SubmitCopyrightJobRequest& request, const SubmitCopyrightJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, submitAsrJob(request), context); + handler(this, request, submitCopyrightJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::SubmitAsrJobOutcomeCallable MtsClient::submitAsrJobCallable(const SubmitAsrJobRequest &request) const +MtsClient::SubmitCopyrightJobOutcomeCallable MtsClient::submitCopyrightJobCallable(const SubmitCopyrightJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->submitAsrJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitBeautifyJobsOutcome MtsClient::submitBeautifyJobs(const SubmitBeautifyJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitBeautifyJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitBeautifyJobsOutcome(SubmitBeautifyJobsResult(outcome.result())); - else - return SubmitBeautifyJobsOutcome(outcome.error()); -} - -void MtsClient::submitBeautifyJobsAsync(const SubmitBeautifyJobsRequest& request, const SubmitBeautifyJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitBeautifyJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitBeautifyJobsOutcomeCallable MtsClient::submitBeautifyJobsCallable(const SubmitBeautifyJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitBeautifyJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitComplexJobOutcome MtsClient::submitComplexJob(const SubmitComplexJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitComplexJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitComplexJobOutcome(SubmitComplexJobResult(outcome.result())); - else - return SubmitComplexJobOutcome(outcome.error()); -} - -void MtsClient::submitComplexJobAsync(const SubmitComplexJobRequest& request, const SubmitComplexJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitComplexJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitComplexJobOutcomeCallable MtsClient::submitComplexJobCallable(const SubmitComplexJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitComplexJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitCoverJobOutcome MtsClient::submitCoverJob(const SubmitCoverJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitCoverJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitCoverJobOutcome(SubmitCoverJobResult(outcome.result())); - else - return SubmitCoverJobOutcome(outcome.error()); -} - -void MtsClient::submitCoverJobAsync(const SubmitCoverJobRequest& request, const SubmitCoverJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitCoverJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitCoverJobOutcomeCallable MtsClient::submitCoverJobCallable(const SubmitCoverJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitCoverJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitEditingJobsOutcome MtsClient::submitEditingJobs(const SubmitEditingJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitEditingJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitEditingJobsOutcome(SubmitEditingJobsResult(outcome.result())); - else - return SubmitEditingJobsOutcome(outcome.error()); -} - -void MtsClient::submitEditingJobsAsync(const SubmitEditingJobsRequest& request, const SubmitEditingJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitEditingJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitEditingJobsOutcomeCallable MtsClient::submitEditingJobsCallable(const SubmitEditingJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitEditingJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitFacerecogJobOutcome MtsClient::submitFacerecogJob(const SubmitFacerecogJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitFacerecogJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitFacerecogJobOutcome(SubmitFacerecogJobResult(outcome.result())); - else - return SubmitFacerecogJobOutcome(outcome.error()); -} - -void MtsClient::submitFacerecogJobAsync(const SubmitFacerecogJobRequest& request, const SubmitFacerecogJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitFacerecogJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitFacerecogJobOutcomeCallable MtsClient::submitFacerecogJobCallable(const SubmitFacerecogJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitFacerecogJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitFpCompareJobOutcome MtsClient::submitFpCompareJob(const SubmitFpCompareJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitFpCompareJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitFpCompareJobOutcome(SubmitFpCompareJobResult(outcome.result())); - else - return SubmitFpCompareJobOutcome(outcome.error()); -} - -void MtsClient::submitFpCompareJobAsync(const SubmitFpCompareJobRequest& request, const SubmitFpCompareJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitFpCompareJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitFpCompareJobOutcomeCallable MtsClient::submitFpCompareJobCallable(const SubmitFpCompareJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitFpCompareJob(request); + return this->submitCopyrightJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -5415,144 +2715,36 @@ MtsClient::SubmitIProductionJobOutcomeCallable MtsClient::submitIProductionJobCa return task->get_future(); } -MtsClient::SubmitImageQualityJobOutcome MtsClient::submitImageQualityJob(const SubmitImageQualityJobRequest &request) const +MtsClient::SubmitImageCopyrightOutcome MtsClient::submitImageCopyright(const SubmitImageCopyrightRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SubmitImageQualityJobOutcome(endpointOutcome.error()); + return SubmitImageCopyrightOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SubmitImageQualityJobOutcome(SubmitImageQualityJobResult(outcome.result())); + return SubmitImageCopyrightOutcome(SubmitImageCopyrightResult(outcome.result())); else - return SubmitImageQualityJobOutcome(outcome.error()); + return SubmitImageCopyrightOutcome(outcome.error()); } -void MtsClient::submitImageQualityJobAsync(const SubmitImageQualityJobRequest& request, const SubmitImageQualityJobAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::submitImageCopyrightAsync(const SubmitImageCopyrightRequest& request, const SubmitImageCopyrightAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, submitImageQualityJob(request), context); + handler(this, request, submitImageCopyright(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::SubmitImageQualityJobOutcomeCallable MtsClient::submitImageQualityJobCallable(const SubmitImageQualityJobRequest &request) const +MtsClient::SubmitImageCopyrightOutcomeCallable MtsClient::submitImageCopyrightCallable(const SubmitImageCopyrightRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->submitImageQualityJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitImageSearchJobOutcome MtsClient::submitImageSearchJob(const SubmitImageSearchJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitImageSearchJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitImageSearchJobOutcome(SubmitImageSearchJobResult(outcome.result())); - else - return SubmitImageSearchJobOutcome(outcome.error()); -} - -void MtsClient::submitImageSearchJobAsync(const SubmitImageSearchJobRequest& request, const SubmitImageSearchJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitImageSearchJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitImageSearchJobOutcomeCallable MtsClient::submitImageSearchJobCallable(const SubmitImageSearchJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitImageSearchJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitInferenceJobOutcome MtsClient::submitInferenceJob(const SubmitInferenceJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitInferenceJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitInferenceJobOutcome(SubmitInferenceJobResult(outcome.result())); - else - return SubmitInferenceJobOutcome(outcome.error()); -} - -void MtsClient::submitInferenceJobAsync(const SubmitInferenceJobRequest& request, const SubmitInferenceJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitInferenceJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitInferenceJobOutcomeCallable MtsClient::submitInferenceJobCallable(const SubmitInferenceJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitInferenceJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitInnerJobOutcome MtsClient::submitInnerJob(const SubmitInnerJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitInnerJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitInnerJobOutcome(SubmitInnerJobResult(outcome.result())); - else - return SubmitInnerJobOutcome(outcome.error()); -} - -void MtsClient::submitInnerJobAsync(const SubmitInnerJobRequest& request, const SubmitInnerJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitInnerJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitInnerJobOutcomeCallable MtsClient::submitInnerJobCallable(const SubmitInnerJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitInnerJob(request); + return this->submitImageCopyright(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -5595,78 +2787,6 @@ MtsClient::SubmitJobsOutcomeCallable MtsClient::submitJobsCallable(const SubmitJ return task->get_future(); } -MtsClient::SubmitMCJobOutcome MtsClient::submitMCJob(const SubmitMCJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitMCJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitMCJobOutcome(SubmitMCJobResult(outcome.result())); - else - return SubmitMCJobOutcome(outcome.error()); -} - -void MtsClient::submitMCJobAsync(const SubmitMCJobRequest& request, const SubmitMCJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitMCJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitMCJobOutcomeCallable MtsClient::submitMCJobCallable(const SubmitMCJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitMCJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitMcuJobOutcome MtsClient::submitMcuJob(const SubmitMcuJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitMcuJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitMcuJobOutcome(SubmitMcuJobResult(outcome.result())); - else - return SubmitMcuJobOutcome(outcome.error()); -} - -void MtsClient::submitMcuJobAsync(const SubmitMcuJobRequest& request, const SubmitMcuJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitMcuJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitMcuJobOutcomeCallable MtsClient::submitMcuJobCallable(const SubmitMcuJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitMcuJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::SubmitMediaCensorJobOutcome MtsClient::submitMediaCensorJob(const SubmitMediaCensorJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5703,78 +2823,6 @@ MtsClient::SubmitMediaCensorJobOutcomeCallable MtsClient::submitMediaCensorJobCa return task->get_future(); } -MtsClient::SubmitMediaDetailJobOutcome MtsClient::submitMediaDetailJob(const SubmitMediaDetailJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitMediaDetailJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitMediaDetailJobOutcome(SubmitMediaDetailJobResult(outcome.result())); - else - return SubmitMediaDetailJobOutcome(outcome.error()); -} - -void MtsClient::submitMediaDetailJobAsync(const SubmitMediaDetailJobRequest& request, const SubmitMediaDetailJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitMediaDetailJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitMediaDetailJobOutcomeCallable MtsClient::submitMediaDetailJobCallable(const SubmitMediaDetailJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitMediaDetailJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitMediaFpDeleteJobOutcome MtsClient::submitMediaFpDeleteJob(const SubmitMediaFpDeleteJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitMediaFpDeleteJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitMediaFpDeleteJobOutcome(SubmitMediaFpDeleteJobResult(outcome.result())); - else - return SubmitMediaFpDeleteJobOutcome(outcome.error()); -} - -void MtsClient::submitMediaFpDeleteJobAsync(const SubmitMediaFpDeleteJobRequest& request, const SubmitMediaFpDeleteJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitMediaFpDeleteJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitMediaFpDeleteJobOutcomeCallable MtsClient::submitMediaFpDeleteJobCallable(const SubmitMediaFpDeleteJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitMediaFpDeleteJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::SubmitMediaInfoJobOutcome MtsClient::submitMediaInfoJob(const SubmitMediaInfoJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5811,42 +2859,6 @@ MtsClient::SubmitMediaInfoJobOutcomeCallable MtsClient::submitMediaInfoJobCallab return task->get_future(); } -MtsClient::SubmitPornJobOutcome MtsClient::submitPornJob(const SubmitPornJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitPornJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitPornJobOutcome(SubmitPornJobResult(outcome.result())); - else - return SubmitPornJobOutcome(outcome.error()); -} - -void MtsClient::submitPornJobAsync(const SubmitPornJobRequest& request, const SubmitPornJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitPornJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitPornJobOutcomeCallable MtsClient::submitPornJobCallable(const SubmitPornJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitPornJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::SubmitSmarttagJobOutcome MtsClient::submitSmarttagJob(const SubmitSmarttagJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5919,324 +2931,108 @@ MtsClient::SubmitSnapshotJobOutcomeCallable MtsClient::submitSnapshotJobCallable return task->get_future(); } -MtsClient::SubmitSubtitleJobOutcome MtsClient::submitSubtitleJob(const SubmitSubtitleJobRequest &request) const +MtsClient::SubmitTraceAbJobOutcome MtsClient::submitTraceAbJob(const SubmitTraceAbJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SubmitSubtitleJobOutcome(endpointOutcome.error()); + return SubmitTraceAbJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SubmitSubtitleJobOutcome(SubmitSubtitleJobResult(outcome.result())); + return SubmitTraceAbJobOutcome(SubmitTraceAbJobResult(outcome.result())); else - return SubmitSubtitleJobOutcome(outcome.error()); + return SubmitTraceAbJobOutcome(outcome.error()); } -void MtsClient::submitSubtitleJobAsync(const SubmitSubtitleJobRequest& request, const SubmitSubtitleJobAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::submitTraceAbJobAsync(const SubmitTraceAbJobRequest& request, const SubmitTraceAbJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, submitSubtitleJob(request), context); + handler(this, request, submitTraceAbJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::SubmitSubtitleJobOutcomeCallable MtsClient::submitSubtitleJobCallable(const SubmitSubtitleJobRequest &request) const +MtsClient::SubmitTraceAbJobOutcomeCallable MtsClient::submitTraceAbJobCallable(const SubmitTraceAbJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->submitSubtitleJob(request); + return this->submitTraceAbJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::SubmitTagJobOutcome MtsClient::submitTagJob(const SubmitTagJobRequest &request) const +MtsClient::SubmitTraceExtractJobOutcome MtsClient::submitTraceExtractJob(const SubmitTraceExtractJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SubmitTagJobOutcome(endpointOutcome.error()); + return SubmitTraceExtractJobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SubmitTagJobOutcome(SubmitTagJobResult(outcome.result())); + return SubmitTraceExtractJobOutcome(SubmitTraceExtractJobResult(outcome.result())); else - return SubmitTagJobOutcome(outcome.error()); + return SubmitTraceExtractJobOutcome(outcome.error()); } -void MtsClient::submitTagJobAsync(const SubmitTagJobRequest& request, const SubmitTagJobAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::submitTraceExtractJobAsync(const SubmitTraceExtractJobRequest& request, const SubmitTraceExtractJobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, submitTagJob(request), context); + handler(this, request, submitTraceExtractJob(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::SubmitTagJobOutcomeCallable MtsClient::submitTagJobCallable(const SubmitTagJobRequest &request) const +MtsClient::SubmitTraceExtractJobOutcomeCallable MtsClient::submitTraceExtractJobCallable(const SubmitTraceExtractJobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->submitTagJob(request); + return this->submitTraceExtractJob(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -MtsClient::SubmitTerrorismJobOutcome MtsClient::submitTerrorismJob(const SubmitTerrorismJobRequest &request) const +MtsClient::SubmitTraceM3u8JobOutcome MtsClient::submitTraceM3u8Job(const SubmitTraceM3u8JobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return SubmitTerrorismJobOutcome(endpointOutcome.error()); + return SubmitTraceM3u8JobOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return SubmitTerrorismJobOutcome(SubmitTerrorismJobResult(outcome.result())); + return SubmitTraceM3u8JobOutcome(SubmitTraceM3u8JobResult(outcome.result())); else - return SubmitTerrorismJobOutcome(outcome.error()); + return SubmitTraceM3u8JobOutcome(outcome.error()); } -void MtsClient::submitTerrorismJobAsync(const SubmitTerrorismJobRequest& request, const SubmitTerrorismJobAsyncHandler& handler, const std::shared_ptr& context) const +void MtsClient::submitTraceM3u8JobAsync(const SubmitTraceM3u8JobRequest& request, const SubmitTraceM3u8JobAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, submitTerrorismJob(request), context); + handler(this, request, submitTraceM3u8Job(request), context); }; asyncExecute(new Runnable(fn)); } -MtsClient::SubmitTerrorismJobOutcomeCallable MtsClient::submitTerrorismJobCallable(const SubmitTerrorismJobRequest &request) const +MtsClient::SubmitTraceM3u8JobOutcomeCallable MtsClient::submitTraceM3u8JobCallable(const SubmitTraceM3u8JobRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->submitTerrorismJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitURLUploadJobOutcome MtsClient::submitURLUploadJob(const SubmitURLUploadJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitURLUploadJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitURLUploadJobOutcome(SubmitURLUploadJobResult(outcome.result())); - else - return SubmitURLUploadJobOutcome(outcome.error()); -} - -void MtsClient::submitURLUploadJobAsync(const SubmitURLUploadJobRequest& request, const SubmitURLUploadJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitURLUploadJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitURLUploadJobOutcomeCallable MtsClient::submitURLUploadJobCallable(const SubmitURLUploadJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitURLUploadJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitVideoGifJobOutcome MtsClient::submitVideoGifJob(const SubmitVideoGifJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitVideoGifJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitVideoGifJobOutcome(SubmitVideoGifJobResult(outcome.result())); - else - return SubmitVideoGifJobOutcome(outcome.error()); -} - -void MtsClient::submitVideoGifJobAsync(const SubmitVideoGifJobRequest& request, const SubmitVideoGifJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitVideoGifJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitVideoGifJobOutcomeCallable MtsClient::submitVideoGifJobCallable(const SubmitVideoGifJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitVideoGifJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitVideoPoseJobOutcome MtsClient::submitVideoPoseJob(const SubmitVideoPoseJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitVideoPoseJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitVideoPoseJobOutcome(SubmitVideoPoseJobResult(outcome.result())); - else - return SubmitVideoPoseJobOutcome(outcome.error()); -} - -void MtsClient::submitVideoPoseJobAsync(const SubmitVideoPoseJobRequest& request, const SubmitVideoPoseJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitVideoPoseJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitVideoPoseJobOutcomeCallable MtsClient::submitVideoPoseJobCallable(const SubmitVideoPoseJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitVideoPoseJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitVideoQualityJobOutcome MtsClient::submitVideoQualityJob(const SubmitVideoQualityJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitVideoQualityJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitVideoQualityJobOutcome(SubmitVideoQualityJobResult(outcome.result())); - else - return SubmitVideoQualityJobOutcome(outcome.error()); -} - -void MtsClient::submitVideoQualityJobAsync(const SubmitVideoQualityJobRequest& request, const SubmitVideoQualityJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitVideoQualityJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitVideoQualityJobOutcomeCallable MtsClient::submitVideoQualityJobCallable(const SubmitVideoQualityJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitVideoQualityJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitVideoSplitJobOutcome MtsClient::submitVideoSplitJob(const SubmitVideoSplitJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitVideoSplitJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitVideoSplitJobOutcome(SubmitVideoSplitJobResult(outcome.result())); - else - return SubmitVideoSplitJobOutcome(outcome.error()); -} - -void MtsClient::submitVideoSplitJobAsync(const SubmitVideoSplitJobRequest& request, const SubmitVideoSplitJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitVideoSplitJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitVideoSplitJobOutcomeCallable MtsClient::submitVideoSplitJobCallable(const SubmitVideoSplitJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitVideoSplitJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::SubmitVideoSummaryJobOutcome MtsClient::submitVideoSummaryJob(const SubmitVideoSummaryJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitVideoSummaryJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitVideoSummaryJobOutcome(SubmitVideoSummaryJobResult(outcome.result())); - else - return SubmitVideoSummaryJobOutcome(outcome.error()); -} - -void MtsClient::submitVideoSummaryJobAsync(const SubmitVideoSummaryJobRequest& request, const SubmitVideoSummaryJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitVideoSummaryJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::SubmitVideoSummaryJobOutcomeCallable MtsClient::submitVideoSummaryJobCallable(const SubmitVideoSummaryJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitVideoSummaryJob(request); + return this->submitTraceM3u8Job(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -6387,222 +3183,6 @@ MtsClient::UnregisterCustomFaceOutcomeCallable MtsClient::unregisterCustomFaceCa return task->get_future(); } -MtsClient::UpdateAsrPipelineOutcome MtsClient::updateAsrPipeline(const UpdateAsrPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateAsrPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateAsrPipelineOutcome(UpdateAsrPipelineResult(outcome.result())); - else - return UpdateAsrPipelineOutcome(outcome.error()); -} - -void MtsClient::updateAsrPipelineAsync(const UpdateAsrPipelineRequest& request, const UpdateAsrPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateAsrPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateAsrPipelineOutcomeCallable MtsClient::updateAsrPipelineCallable(const UpdateAsrPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateAsrPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::UpdateCategoryNameOutcome MtsClient::updateCategoryName(const UpdateCategoryNameRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateCategoryNameOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateCategoryNameOutcome(UpdateCategoryNameResult(outcome.result())); - else - return UpdateCategoryNameOutcome(outcome.error()); -} - -void MtsClient::updateCategoryNameAsync(const UpdateCategoryNameRequest& request, const UpdateCategoryNameAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateCategoryName(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateCategoryNameOutcomeCallable MtsClient::updateCategoryNameCallable(const UpdateCategoryNameRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateCategoryName(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::UpdateCensorPipelineOutcome MtsClient::updateCensorPipeline(const UpdateCensorPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateCensorPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateCensorPipelineOutcome(UpdateCensorPipelineResult(outcome.result())); - else - return UpdateCensorPipelineOutcome(outcome.error()); -} - -void MtsClient::updateCensorPipelineAsync(const UpdateCensorPipelineRequest& request, const UpdateCensorPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateCensorPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateCensorPipelineOutcomeCallable MtsClient::updateCensorPipelineCallable(const UpdateCensorPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateCensorPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::UpdateCoverPipelineOutcome MtsClient::updateCoverPipeline(const UpdateCoverPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateCoverPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateCoverPipelineOutcome(UpdateCoverPipelineResult(outcome.result())); - else - return UpdateCoverPipelineOutcome(outcome.error()); -} - -void MtsClient::updateCoverPipelineAsync(const UpdateCoverPipelineRequest& request, const UpdateCoverPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateCoverPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateCoverPipelineOutcomeCallable MtsClient::updateCoverPipelineCallable(const UpdateCoverPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateCoverPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::UpdateMCTemplateOutcome MtsClient::updateMCTemplate(const UpdateMCTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateMCTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateMCTemplateOutcome(UpdateMCTemplateResult(outcome.result())); - else - return UpdateMCTemplateOutcome(outcome.error()); -} - -void MtsClient::updateMCTemplateAsync(const UpdateMCTemplateRequest& request, const UpdateMCTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateMCTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateMCTemplateOutcomeCallable MtsClient::updateMCTemplateCallable(const UpdateMCTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateMCTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -MtsClient::UpdateMcuTemplateOutcome MtsClient::updateMcuTemplate(const UpdateMcuTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateMcuTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateMcuTemplateOutcome(UpdateMcuTemplateResult(outcome.result())); - else - return UpdateMcuTemplateOutcome(outcome.error()); -} - -void MtsClient::updateMcuTemplateAsync(const UpdateMcuTemplateRequest& request, const UpdateMcuTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateMcuTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateMcuTemplateOutcomeCallable MtsClient::updateMcuTemplateCallable(const UpdateMcuTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateMcuTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::UpdateMediaOutcome MtsClient::updateMedia(const UpdateMediaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6855,42 +3435,6 @@ MtsClient::UpdatePipelineOutcomeCallable MtsClient::updatePipelineCallable(const return task->get_future(); } -MtsClient::UpdatePornPipelineOutcome MtsClient::updatePornPipeline(const UpdatePornPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdatePornPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdatePornPipelineOutcome(UpdatePornPipelineResult(outcome.result())); - else - return UpdatePornPipelineOutcome(outcome.error()); -} - -void MtsClient::updatePornPipelineAsync(const UpdatePornPipelineRequest& request, const UpdatePornPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updatePornPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdatePornPipelineOutcomeCallable MtsClient::updatePornPipelineCallable(const UpdatePornPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updatePornPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::UpdateSmarttagTemplateOutcome MtsClient::updateSmarttagTemplate(const UpdateSmarttagTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6963,42 +3507,6 @@ MtsClient::UpdateTemplateOutcomeCallable MtsClient::updateTemplateCallable(const return task->get_future(); } -MtsClient::UpdateTerrorismPipelineOutcome MtsClient::updateTerrorismPipeline(const UpdateTerrorismPipelineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateTerrorismPipelineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateTerrorismPipelineOutcome(UpdateTerrorismPipelineResult(outcome.result())); - else - return UpdateTerrorismPipelineOutcome(outcome.error()); -} - -void MtsClient::updateTerrorismPipelineAsync(const UpdateTerrorismPipelineRequest& request, const UpdateTerrorismPipelineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateTerrorismPipeline(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -MtsClient::UpdateTerrorismPipelineOutcomeCallable MtsClient::updateTerrorismPipelineCallable(const UpdateTerrorismPipelineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateTerrorismPipeline(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - MtsClient::UpdateWaterMarkTemplateOutcome MtsClient::updateWaterMarkTemplate(const UpdateWaterMarkTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/mts/src/model/AddAsrPipelineRequest.cc b/mts/src/model/AddAsrPipelineRequest.cc deleted file mode 100644 index f248a3d75..000000000 --- a/mts/src/model/AddAsrPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::AddAsrPipelineRequest; - -AddAsrPipelineRequest::AddAsrPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddAsrPipeline") { - setMethod(HttpRequest::Method::Post); -} - -AddAsrPipelineRequest::~AddAsrPipelineRequest() {} - -long AddAsrPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddAsrPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string AddAsrPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddAsrPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddAsrPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddAsrPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddAsrPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddAsrPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string AddAsrPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void AddAsrPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long AddAsrPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void AddAsrPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int AddAsrPipelineRequest::getPriority() const { - return priority_; -} - -void AddAsrPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string AddAsrPipelineRequest::getName() const { - return name_; -} - -void AddAsrPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/AddAsrPipelineResult.cc b/mts/src/model/AddAsrPipelineResult.cc deleted file mode 100644 index 10a76346e..000000000 --- a/mts/src/model/AddAsrPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -AddAsrPipelineResult::AddAsrPipelineResult() : - ServiceResult() -{} - -AddAsrPipelineResult::AddAsrPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddAsrPipelineResult::~AddAsrPipelineResult() -{} - -void AddAsrPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -AddAsrPipelineResult::Pipeline AddAsrPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/AddCategoryRequest.cc b/mts/src/model/AddCategoryRequest.cc deleted file mode 100644 index 4607ea821..000000000 --- a/mts/src/model/AddCategoryRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::AddCategoryRequest; - -AddCategoryRequest::AddCategoryRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddCategory") { - setMethod(HttpRequest::Method::Post); -} - -AddCategoryRequest::~AddCategoryRequest() {} - -long AddCategoryRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddCategoryRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -long AddCategoryRequest::getParentId() const { - return parentId_; -} - -void AddCategoryRequest::setParentId(long parentId) { - parentId_ = parentId; - setParameter(std::string("ParentId"), std::to_string(parentId)); -} - -std::string AddCategoryRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddCategoryRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddCategoryRequest::getCateName() const { - return cateName_; -} - -void AddCategoryRequest::setCateName(const std::string &cateName) { - cateName_ = cateName; - setParameter(std::string("CateName"), cateName); -} - -std::string AddCategoryRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddCategoryRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddCategoryRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddCategoryRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long AddCategoryRequest::getOwnerId() const { - return ownerId_; -} - -void AddCategoryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/AddCategoryResult.cc b/mts/src/model/AddCategoryResult.cc deleted file mode 100644 index 6ce0551f7..000000000 --- a/mts/src/model/AddCategoryResult.cc +++ /dev/null @@ -1,58 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -AddCategoryResult::AddCategoryResult() : - ServiceResult() -{} - -AddCategoryResult::AddCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddCategoryResult::~AddCategoryResult() -{} - -void AddCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto categoryNode = value["Category"]; - if(!categoryNode["CateName"].isNull()) - category_.cateName = categoryNode["CateName"].asString(); - if(!categoryNode["ParentId"].isNull()) - category_.parentId = categoryNode["ParentId"].asString(); - if(!categoryNode["CateId"].isNull()) - category_.cateId = categoryNode["CateId"].asString(); - if(!categoryNode["Level"].isNull()) - category_.level = categoryNode["Level"].asString(); - -} - -AddCategoryResult::Category AddCategoryResult::getCategory()const -{ - return category_; -} - diff --git a/mts/src/model/AddCensorPipelineRequest.cc b/mts/src/model/AddCensorPipelineRequest.cc deleted file mode 100644 index decc4d14d..000000000 --- a/mts/src/model/AddCensorPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::AddCensorPipelineRequest; - -AddCensorPipelineRequest::AddCensorPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddCensorPipeline") { - setMethod(HttpRequest::Method::Post); -} - -AddCensorPipelineRequest::~AddCensorPipelineRequest() {} - -long AddCensorPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddCensorPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string AddCensorPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddCensorPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddCensorPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddCensorPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddCensorPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddCensorPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string AddCensorPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void AddCensorPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long AddCensorPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void AddCensorPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int AddCensorPipelineRequest::getPriority() const { - return priority_; -} - -void AddCensorPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string AddCensorPipelineRequest::getName() const { - return name_; -} - -void AddCensorPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/AddCensorPipelineResult.cc b/mts/src/model/AddCensorPipelineResult.cc deleted file mode 100644 index 4d9774843..000000000 --- a/mts/src/model/AddCensorPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -AddCensorPipelineResult::AddCensorPipelineResult() : - ServiceResult() -{} - -AddCensorPipelineResult::AddCensorPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddCensorPipelineResult::~AddCensorPipelineResult() -{} - -void AddCensorPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -AddCensorPipelineResult::Pipeline AddCensorPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/AddCoverPipelineRequest.cc b/mts/src/model/AddCoverPipelineRequest.cc deleted file mode 100644 index 8a25b3ae8..000000000 --- a/mts/src/model/AddCoverPipelineRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::AddCoverPipelineRequest; - -AddCoverPipelineRequest::AddCoverPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddCoverPipeline") { - setMethod(HttpRequest::Method::Post); -} - -AddCoverPipelineRequest::~AddCoverPipelineRequest() {} - -long AddCoverPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddCoverPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string AddCoverPipelineRequest::getRole() const { - return role_; -} - -void AddCoverPipelineRequest::setRole(const std::string &role) { - role_ = role; - setParameter(std::string("Role"), role); -} - -std::string AddCoverPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddCoverPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddCoverPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddCoverPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddCoverPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddCoverPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string AddCoverPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void AddCoverPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long AddCoverPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void AddCoverPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string AddCoverPipelineRequest::getPriority() const { - return priority_; -} - -void AddCoverPipelineRequest::setPriority(const std::string &priority) { - priority_ = priority; - setParameter(std::string("Priority"), priority); -} - -std::string AddCoverPipelineRequest::getName() const { - return name_; -} - -void AddCoverPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/AddCoverPipelineResult.cc b/mts/src/model/AddCoverPipelineResult.cc deleted file mode 100644 index b68fe539b..000000000 --- a/mts/src/model/AddCoverPipelineResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -AddCoverPipelineResult::AddCoverPipelineResult() : - ServiceResult() -{} - -AddCoverPipelineResult::AddCoverPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddCoverPipelineResult::~AddCoverPipelineResult() -{} - -void AddCoverPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = pipelineNode["Priority"].asString(); - if(!pipelineNode["Role"].isNull()) - pipeline_.role = pipelineNode["Role"].asString(); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -AddCoverPipelineResult::Pipeline AddCoverPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/AddMCTemplateRequest.cc b/mts/src/model/AddMCTemplateRequest.cc deleted file mode 100644 index 86b78661c..000000000 --- a/mts/src/model/AddMCTemplateRequest.cc +++ /dev/null @@ -1,171 +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 - -using AlibabaCloud::Mts::Model::AddMCTemplateRequest; - -AddMCTemplateRequest::AddMCTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddMCTemplate") { - setMethod(HttpRequest::Method::Post); -} - -AddMCTemplateRequest::~AddMCTemplateRequest() {} - -std::string AddMCTemplateRequest::getPolitics() const { - return politics_; -} - -void AddMCTemplateRequest::setPolitics(const std::string &politics) { - politics_ = politics; - setParameter(std::string("Politics"), politics); -} - -long AddMCTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddMCTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string AddMCTemplateRequest::getAbuse() const { - return abuse_; -} - -void AddMCTemplateRequest::setAbuse(const std::string &abuse) { - abuse_ = abuse; - setParameter(std::string("Abuse"), abuse); -} - -std::string AddMCTemplateRequest::getQrcode() const { - return qrcode_; -} - -void AddMCTemplateRequest::setQrcode(const std::string &qrcode) { - qrcode_ = qrcode; - setParameter(std::string("Qrcode"), qrcode); -} - -std::string AddMCTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddMCTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddMCTemplateRequest::getPorn() const { - return porn_; -} - -void AddMCTemplateRequest::setPorn(const std::string &porn) { - porn_ = porn; - setParameter(std::string("Porn"), porn); -} - -std::string AddMCTemplateRequest::getTerrorism() const { - return terrorism_; -} - -void AddMCTemplateRequest::setTerrorism(const std::string &terrorism) { - terrorism_ = terrorism; - setParameter(std::string("Terrorism"), terrorism); -} - -std::string AddMCTemplateRequest::getLogo() const { - return logo_; -} - -void AddMCTemplateRequest::setLogo(const std::string &logo) { - logo_ = logo; - setParameter(std::string("Logo"), logo); -} - -std::string AddMCTemplateRequest::getLive() const { - return live_; -} - -void AddMCTemplateRequest::setLive(const std::string &live) { - live_ = live; - setParameter(std::string("Live"), live); -} - -std::string AddMCTemplateRequest::getContraband() const { - return contraband_; -} - -void AddMCTemplateRequest::setContraband(const std::string &contraband) { - contraband_ = contraband; - setParameter(std::string("Contraband"), contraband); -} - -std::string AddMCTemplateRequest::getAd() const { - return ad_; -} - -void AddMCTemplateRequest::setAd(const std::string &ad) { - ad_ = ad; - setParameter(std::string("Ad"), ad); -} - -std::string AddMCTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddMCTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddMCTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddMCTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long AddMCTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void AddMCTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string AddMCTemplateRequest::getName() const { - return name_; -} - -void AddMCTemplateRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - -std::string AddMCTemplateRequest::getSpam() const { - return spam_; -} - -void AddMCTemplateRequest::setSpam(const std::string &spam) { - spam_ = spam; - setParameter(std::string("spam"), spam); -} - diff --git a/mts/src/model/AddMCTemplateResult.cc b/mts/src/model/AddMCTemplateResult.cc deleted file mode 100644 index da883f666..000000000 --- a/mts/src/model/AddMCTemplateResult.cc +++ /dev/null @@ -1,74 +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 -#include - -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["Logo"].isNull()) - _template_.logo = _templateNode["Logo"].asString(); - if(!_templateNode["Abuse"].isNull()) - _template_.abuse = _templateNode["Abuse"].asString(); - if(!_templateNode["Terrorism"].isNull()) - _template_.terrorism = _templateNode["Terrorism"].asString(); - if(!_templateNode["Politics"].isNull()) - _template_.politics = _templateNode["Politics"].asString(); - if(!_templateNode["Qrcode"].isNull()) - _template_.qrcode = _templateNode["Qrcode"].asString(); - if(!_templateNode["Spam"].isNull()) - _template_.spam = _templateNode["Spam"].asString(); - if(!_templateNode["Live"].isNull()) - _template_.live = _templateNode["Live"].asString(); - if(!_templateNode["Contraband"].isNull()) - _template_.contraband = _templateNode["Contraband"].asString(); - if(!_templateNode["Ad"].isNull()) - _template_.ad = _templateNode["Ad"].asString(); - if(!_templateNode["Porn"].isNull()) - _template_.porn = _templateNode["Porn"].asString(); - if(!_templateNode["Name"].isNull()) - _template_.name = _templateNode["Name"].asString(); - if(!_templateNode["TemplateId"].isNull()) - _template_.templateId = _templateNode["TemplateId"].asString(); - -} - -AddMCTemplateResult::_Template AddMCTemplateResult::get_Template()const -{ - return _template_; -} - diff --git a/mts/src/model/AddPipelineRequest.cc b/mts/src/model/AddPipelineRequest.cc index 170deb0d0..486dbafba 100644 --- a/mts/src/model/AddPipelineRequest.cc +++ b/mts/src/model/AddPipelineRequest.cc @@ -61,6 +61,15 @@ void AddPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { setParameter(std::string("AccessKeyId"), accessKeyId); } +std::string AddPipelineRequest::getExtendConfig() const { + return extendConfig_; +} + +void AddPipelineRequest::setExtendConfig(const std::string &extendConfig) { + extendConfig_ = extendConfig; + setParameter(std::string("ExtendConfig"), extendConfig); +} + std::string AddPipelineRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/mts/src/model/AddPipelineResult.cc b/mts/src/model/AddPipelineResult.cc index f5af7c993..3eb035229 100644 --- a/mts/src/model/AddPipelineResult.cc +++ b/mts/src/model/AddPipelineResult.cc @@ -63,6 +63,13 @@ void AddPipelineResult::parse(const std::string &payload) pipeline_.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString(); if(!notifyConfigNode["Topic"].isNull()) pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); + auto extendConfigNode = pipelineNode["ExtendConfig"]; + if(!extendConfigNode["IsBoostNew"].isNull()) + pipeline_.extendConfig.isBoostNew = extendConfigNode["IsBoostNew"].asString() == "true"; + if(!extendConfigNode["MaxMultiSpeed"].isNull()) + pipeline_.extendConfig.maxMultiSpeed = std::stoi(extendConfigNode["MaxMultiSpeed"].asString()); + if(!extendConfigNode["MultiSpeedDowngradePolicy"].isNull()) + pipeline_.extendConfig.multiSpeedDowngradePolicy = extendConfigNode["MultiSpeedDowngradePolicy"].asString(); } diff --git a/mts/src/model/AddPornPipelineRequest.cc b/mts/src/model/AddPornPipelineRequest.cc deleted file mode 100644 index b19dc1a6d..000000000 --- a/mts/src/model/AddPornPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::AddPornPipelineRequest; - -AddPornPipelineRequest::AddPornPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddPornPipeline") { - setMethod(HttpRequest::Method::Post); -} - -AddPornPipelineRequest::~AddPornPipelineRequest() {} - -long AddPornPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddPornPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string AddPornPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddPornPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddPornPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddPornPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddPornPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddPornPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string AddPornPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void AddPornPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long AddPornPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void AddPornPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int AddPornPipelineRequest::getPriority() const { - return priority_; -} - -void AddPornPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string AddPornPipelineRequest::getName() const { - return name_; -} - -void AddPornPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/AddPornPipelineResult.cc b/mts/src/model/AddPornPipelineResult.cc deleted file mode 100644 index da0734283..000000000 --- a/mts/src/model/AddPornPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -AddPornPipelineResult::AddPornPipelineResult() : - ServiceResult() -{} - -AddPornPipelineResult::AddPornPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddPornPipelineResult::~AddPornPipelineResult() -{} - -void AddPornPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -AddPornPipelineResult::Pipeline AddPornPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/AddSmarttagTemplateRequest.cc b/mts/src/model/AddSmarttagTemplateRequest.cc index 551e41e2d..4e3693ba2 100644 --- a/mts/src/model/AddSmarttagTemplateRequest.cc +++ b/mts/src/model/AddSmarttagTemplateRequest.cc @@ -34,6 +34,15 @@ void AddSmarttagTemplateRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string AddSmarttagTemplateRequest::getKnowledgeConfig() const { + return knowledgeConfig_; +} + +void AddSmarttagTemplateRequest::setKnowledgeConfig(const std::string &knowledgeConfig) { + knowledgeConfig_ = knowledgeConfig; + setParameter(std::string("KnowledgeConfig"), knowledgeConfig); +} + std::string AddSmarttagTemplateRequest::getIndustry() const { return industry_; } @@ -43,6 +52,15 @@ void AddSmarttagTemplateRequest::setIndustry(const std::string &industry) { setParameter(std::string("Industry"), industry); } +std::string AddSmarttagTemplateRequest::getLabelVersion() const { + return labelVersion_; +} + +void AddSmarttagTemplateRequest::setLabelVersion(const std::string &labelVersion) { + labelVersion_ = labelVersion; + setParameter(std::string("LabelVersion"), labelVersion); +} + std::string AddSmarttagTemplateRequest::getAccessKeyId() const { return accessKeyId_; } @@ -61,6 +79,15 @@ void AddSmarttagTemplateRequest::setScene(const std::string &scene) { setParameter(std::string("Scene"), scene); } +std::string AddSmarttagTemplateRequest::getFaceCustomParamsConfig() const { + return faceCustomParamsConfig_; +} + +void AddSmarttagTemplateRequest::setFaceCustomParamsConfig(const std::string &faceCustomParamsConfig) { + faceCustomParamsConfig_ = faceCustomParamsConfig; + setParameter(std::string("FaceCustomParamsConfig"), faceCustomParamsConfig); +} + std::string AddSmarttagTemplateRequest::getTemplateName() const { return templateName_; } @@ -88,6 +115,24 @@ void AddSmarttagTemplateRequest::setFaceCategoryIds(const std::string &faceCateg setParameter(std::string("FaceCategoryIds"), faceCategoryIds); } +std::string AddSmarttagTemplateRequest::getKeywordConfig() const { + return keywordConfig_; +} + +void AddSmarttagTemplateRequest::setKeywordConfig(const std::string &keywordConfig) { + keywordConfig_ = keywordConfig; + setParameter(std::string("KeywordConfig"), keywordConfig); +} + +std::string AddSmarttagTemplateRequest::getLandmarkGroupIds() const { + return landmarkGroupIds_; +} + +void AddSmarttagTemplateRequest::setLandmarkGroupIds(const std::string &landmarkGroupIds) { + landmarkGroupIds_ = landmarkGroupIds; + setParameter(std::string("LandmarkGroupIds"), landmarkGroupIds); +} + std::string AddSmarttagTemplateRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -106,6 +151,15 @@ void AddSmarttagTemplateRequest::setOwnerAccount(const std::string &ownerAccount setParameter(std::string("OwnerAccount"), ownerAccount); } +std::string AddSmarttagTemplateRequest::getObjectGroupIds() const { + return objectGroupIds_; +} + +void AddSmarttagTemplateRequest::setObjectGroupIds(const std::string &objectGroupIds) { + objectGroupIds_ = objectGroupIds; + setParameter(std::string("ObjectGroupIds"), objectGroupIds); +} + long AddSmarttagTemplateRequest::getOwnerId() const { return ownerId_; } @@ -124,3 +178,12 @@ void AddSmarttagTemplateRequest::setAnalyseTypes(const std::string &analyseTypes setParameter(std::string("AnalyseTypes"), analyseTypes); } +std::string AddSmarttagTemplateRequest::getLabelType() const { + return labelType_; +} + +void AddSmarttagTemplateRequest::setLabelType(const std::string &labelType) { + labelType_ = labelType; + setParameter(std::string("LabelType"), labelType); +} + diff --git a/mts/src/model/AddTemplateResult.cc b/mts/src/model/AddTemplateResult.cc index 3be14ebc0..a84d3f423 100644 --- a/mts/src/model/AddTemplateResult.cc +++ b/mts/src/model/AddTemplateResult.cc @@ -89,11 +89,20 @@ void AddTemplateResult::parse(const std::string &payload) _template_.video.scanMode = videoNode["ScanMode"].asString(); if(!videoNode["ResoPriority"].isNull()) _template_.video.resoPriority = videoNode["ResoPriority"].asString(); + if(!videoNode["Hdr2sdr"].isNull()) + _template_.video.hdr2sdr = videoNode["Hdr2sdr"].asString(); auto bitrateBndNode = videoNode["BitrateBnd"]; if(!bitrateBndNode["Max"].isNull()) _template_.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); if(!bitrateBndNode["Min"].isNull()) _template_.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); + auto narrowBandNode = videoNode["NarrowBand"]; + if(!narrowBandNode["Version"].isNull()) + _template_.video.narrowBand.version = narrowBandNode["Version"].asString(); + if(!narrowBandNode["Abrmax"].isNull()) + _template_.video.narrowBand.abrmax = std::stof(narrowBandNode["Abrmax"].asString()); + if(!narrowBandNode["MaxAbrRatio"].isNull()) + _template_.video.narrowBand.maxAbrRatio = std::stof(narrowBandNode["MaxAbrRatio"].asString()); auto transConfigNode = _templateNode["TransConfig"]; if(!transConfigNode["IsCheckAudioBitrate"].isNull()) _template_.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); @@ -147,6 +156,14 @@ void AddTemplateResult::parse(const std::string &payload) _template_.audio.volume.method = volumeNode["Method"].asString(); if(!volumeNode["Level"].isNull()) _template_.audio.volume.level = volumeNode["Level"].asString(); + if(!volumeNode["IntegratedLoudnessTarget"].isNull()) + _template_.audio.volume.integratedLoudnessTarget = volumeNode["IntegratedLoudnessTarget"].asString(); + if(!volumeNode["TruePeak"].isNull()) + _template_.audio.volume.truePeak = volumeNode["TruePeak"].asString(); + if(!volumeNode["LoudnessRangeTarget"].isNull()) + _template_.audio.volume.loudnessRangeTarget = volumeNode["LoudnessRangeTarget"].asString(); + if(!volumeNode["PeakLevel"].isNull()) + _template_.audio.volume.peakLevel = volumeNode["PeakLevel"].asString(); auto containerNode = _templateNode["Container"]; if(!containerNode["Format"].isNull()) _template_.container.format = containerNode["Format"].asString(); diff --git a/mts/src/model/AddTerrorismPipelineRequest.cc b/mts/src/model/AddTerrorismPipelineRequest.cc deleted file mode 100644 index 000ee07f5..000000000 --- a/mts/src/model/AddTerrorismPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::AddTerrorismPipelineRequest; - -AddTerrorismPipelineRequest::AddTerrorismPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "AddTerrorismPipeline") { - setMethod(HttpRequest::Method::Post); -} - -AddTerrorismPipelineRequest::~AddTerrorismPipelineRequest() {} - -long AddTerrorismPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void AddTerrorismPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string AddTerrorismPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void AddTerrorismPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string AddTerrorismPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void AddTerrorismPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string AddTerrorismPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void AddTerrorismPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string AddTerrorismPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void AddTerrorismPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long AddTerrorismPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void AddTerrorismPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int AddTerrorismPipelineRequest::getPriority() const { - return priority_; -} - -void AddTerrorismPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string AddTerrorismPipelineRequest::getName() const { - return name_; -} - -void AddTerrorismPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/AddTerrorismPipelineResult.cc b/mts/src/model/AddTerrorismPipelineResult.cc deleted file mode 100644 index 1ae1e66ac..000000000 --- a/mts/src/model/AddTerrorismPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -AddTerrorismPipelineResult::AddTerrorismPipelineResult() : - ServiceResult() -{} - -AddTerrorismPipelineResult::AddTerrorismPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddTerrorismPipelineResult::~AddTerrorismPipelineResult() -{} - -void AddTerrorismPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -AddTerrorismPipelineResult::Pipeline AddTerrorismPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/BindInputBucketRequest.cc b/mts/src/model/BindInputBucketRequest.cc index 0cd62b5d0..71a86876e 100644 --- a/mts/src/model/BindInputBucketRequest.cc +++ b/mts/src/model/BindInputBucketRequest.cc @@ -25,6 +25,15 @@ BindInputBucketRequest::BindInputBucketRequest() BindInputBucketRequest::~BindInputBucketRequest() {} +std::string BindInputBucketRequest::getReferer() const { + return referer_; +} + +void BindInputBucketRequest::setReferer(const std::string &referer) { + referer_ = referer; + setParameter(std::string("Referer"), referer); +} + long BindInputBucketRequest::getResourceOwnerId() const { return resourceOwnerId_; } @@ -34,6 +43,15 @@ void BindInputBucketRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string BindInputBucketRequest::getDepositorCredentials() const { + return depositorCredentials_; +} + +void BindInputBucketRequest::setDepositorCredentials(const std::string &depositorCredentials) { + depositorCredentials_ = depositorCredentials; + setParameter(std::string("DepositorCredentials"), depositorCredentials); +} + std::string BindInputBucketRequest::getAccessKeyId() const { return accessKeyId_; } diff --git a/mts/src/model/BindOutputBucketRequest.cc b/mts/src/model/BindOutputBucketRequest.cc index a513e4746..62e0c734d 100644 --- a/mts/src/model/BindOutputBucketRequest.cc +++ b/mts/src/model/BindOutputBucketRequest.cc @@ -34,6 +34,15 @@ void BindOutputBucketRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string BindOutputBucketRequest::getDepositorCredentials() const { + return depositorCredentials_; +} + +void BindOutputBucketRequest::setDepositorCredentials(const std::string &depositorCredentials) { + depositorCredentials_ = depositorCredentials; + setParameter(std::string("DepositorCredentials"), depositorCredentials); +} + std::string BindOutputBucketRequest::getAccessKeyId() const { return accessKeyId_; } diff --git a/mts/src/model/CancelJobRequest.cc b/mts/src/model/CancelJobRequest.cc index d49c486e4..21e86fe9a 100644 --- a/mts/src/model/CancelJobRequest.cc +++ b/mts/src/model/CancelJobRequest.cc @@ -34,6 +34,24 @@ void CancelJobRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string CancelJobRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void CancelJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string CancelJobRequest::getJobId() const { + return jobId_; +} + +void CancelJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + std::string CancelJobRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -61,21 +79,3 @@ void CancelJobRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -std::string CancelJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void CancelJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string CancelJobRequest::getJobId() const { - return jobId_; -} - -void CancelJobRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - diff --git a/mts/src/model/CategoryTreeRequest.cc b/mts/src/model/CategoryTreeRequest.cc deleted file mode 100644 index 68ed24d46..000000000 --- a/mts/src/model/CategoryTreeRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::CategoryTreeRequest; - -CategoryTreeRequest::CategoryTreeRequest() - : RpcServiceRequest("mts", "2014-06-18", "CategoryTree") { - setMethod(HttpRequest::Method::Post); -} - -CategoryTreeRequest::~CategoryTreeRequest() {} - -long CategoryTreeRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void CategoryTreeRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string CategoryTreeRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void CategoryTreeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string CategoryTreeRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void CategoryTreeRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long CategoryTreeRequest::getOwnerId() const { - return ownerId_; -} - -void CategoryTreeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string CategoryTreeRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void CategoryTreeRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/CategoryTreeResult.cc b/mts/src/model/CategoryTreeResult.cc deleted file mode 100644 index 1c9eae10e..000000000 --- a/mts/src/model/CategoryTreeResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -CategoryTreeResult::CategoryTreeResult() : - ServiceResult() -{} - -CategoryTreeResult::CategoryTreeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CategoryTreeResult::~CategoryTreeResult() -{} - -void CategoryTreeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["CategoryTree"].isNull()) - categoryTree_ = value["CategoryTree"].asString(); - -} - -std::string CategoryTreeResult::getCategoryTree()const -{ - return categoryTree_; -} - diff --git a/mts/src/model/CheckResourceRequest.cc b/mts/src/model/CheckResourceRequest.cc deleted file mode 100644 index d5a08cf99..000000000 --- a/mts/src/model/CheckResourceRequest.cc +++ /dev/null @@ -1,153 +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 - -using AlibabaCloud::Mts::Model::CheckResourceRequest; - -CheckResourceRequest::CheckResourceRequest() - : RpcServiceRequest("mts", "2014-06-18", "CheckResource") { - setMethod(HttpRequest::Method::Post); -} - -CheckResourceRequest::~CheckResourceRequest() {} - -std::string CheckResourceRequest::getCountry() const { - return country_; -} - -void CheckResourceRequest::setCountry(const std::string &country) { - country_ = country; - setParameter(std::string("Country"), country); -} - -long CheckResourceRequest::getHid() const { - return hid_; -} - -void CheckResourceRequest::setHid(long hid) { - hid_ = hid; - setParameter(std::string("Hid"), std::to_string(hid)); -} - -long CheckResourceRequest::getLevel() const { - return level_; -} - -void CheckResourceRequest::setLevel(long level) { - level_ = level; - setParameter(std::string("Level"), std::to_string(level)); -} - -std::string CheckResourceRequest::getInvoker() const { - return invoker_; -} - -void CheckResourceRequest::setInvoker(const std::string &invoker) { - invoker_ = invoker; - setParameter(std::string("Invoker"), invoker); -} - -std::string CheckResourceRequest::getMessage() const { - return message_; -} - -void CheckResourceRequest::setMessage(const std::string &message) { - message_ = message; - setParameter(std::string("Message"), message); -} - -std::string CheckResourceRequest::getUrl() const { - return url_; -} - -void CheckResourceRequest::setUrl(const std::string &url) { - url_ = url; - setParameter(std::string("Url"), url); -} - -bool CheckResourceRequest::getSuccess() const { - return success_; -} - -void CheckResourceRequest::setSuccess(bool success) { - success_ = success; - setParameter(std::string("Success"), success ? "true" : "false"); -} - -bool CheckResourceRequest::getInterrupt() const { - return interrupt_; -} - -void CheckResourceRequest::setInterrupt(bool interrupt) { - interrupt_ = interrupt; - setParameter(std::string("Interrupt"), interrupt ? "true" : "false"); -} - -std::string CheckResourceRequest::getGmtWakeup() const { - return gmtWakeup_; -} - -void CheckResourceRequest::setGmtWakeup(const std::string &gmtWakeup) { - gmtWakeup_ = gmtWakeup; - setParameter(std::string("GmtWakeup"), gmtWakeup); -} - -std::string CheckResourceRequest::getPk() const { - return pk_; -} - -void CheckResourceRequest::setPk(const std::string &pk) { - pk_ = pk; - setParameter(std::string("Pk"), pk); -} - -std::string CheckResourceRequest::getBid() const { - return bid_; -} - -void CheckResourceRequest::setBid(const std::string &bid) { - bid_ = bid; - setParameter(std::string("Bid"), bid); -} - -std::string CheckResourceRequest::getPrompt() const { - return prompt_; -} - -void CheckResourceRequest::setPrompt(const std::string &prompt) { - prompt_ = prompt; - setParameter(std::string("Prompt"), prompt); -} - -std::string CheckResourceRequest::getTaskExtraData() const { - return taskExtraData_; -} - -void CheckResourceRequest::setTaskExtraData(const std::string &taskExtraData) { - taskExtraData_ = taskExtraData; - setParameter(std::string("TaskExtraData"), taskExtraData); -} - -std::string CheckResourceRequest::getTaskIdentifier() const { - return taskIdentifier_; -} - -void CheckResourceRequest::setTaskIdentifier(const std::string &taskIdentifier) { - taskIdentifier_ = taskIdentifier; - setParameter(std::string("TaskIdentifier"), taskIdentifier); -} - diff --git a/mts/src/model/CheckResourceResult.cc b/mts/src/model/CheckResourceResult.cc deleted file mode 100644 index 49ed212e1..000000000 --- a/mts/src/model/CheckResourceResult.cc +++ /dev/null @@ -1,142 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -CheckResourceResult::CheckResourceResult() : - ServiceResult() -{} - -CheckResourceResult::CheckResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckResourceResult::~CheckResourceResult() -{} - -void CheckResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["GmtWakeup"].isNull()) - gmtWakeup_ = value["GmtWakeup"].asString(); - if(!value["Hid"].isNull()) - hid_ = std::stol(value["Hid"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["TaskIdentifier"].isNull()) - taskIdentifier_ = value["TaskIdentifier"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Url"].isNull()) - url_ = value["Url"].asString(); - if(!value["Interrupt"].isNull()) - interrupt_ = value["Interrupt"].asString() == "true"; - if(!value["Invoker"].isNull()) - invoker_ = value["Invoker"].asString(); - if(!value["TaskExtraData"].isNull()) - taskExtraData_ = value["TaskExtraData"].asString(); - if(!value["Country"].isNull()) - country_ = value["Country"].asString(); - if(!value["Prompt"].isNull()) - prompt_ = value["Prompt"].asString(); - if(!value["Level"].isNull()) - level_ = std::stol(value["Level"].asString()); - if(!value["Pk"].isNull()) - pk_ = value["Pk"].asString(); - if(!value["Bid"].isNull()) - bid_ = value["Bid"].asString(); - -} - -std::string CheckResourceResult::getGmtWakeup()const -{ - return gmtWakeup_; -} - -long CheckResourceResult::getHid()const -{ - return hid_; -} - -std::string CheckResourceResult::getMessage()const -{ - return message_; -} - -std::string CheckResourceResult::getTaskIdentifier()const -{ - return taskIdentifier_; -} - -bool CheckResourceResult::getSuccess()const -{ - return success_; -} - -std::string CheckResourceResult::getUrl()const -{ - return url_; -} - -bool CheckResourceResult::getInterrupt()const -{ - return interrupt_; -} - -std::string CheckResourceResult::getInvoker()const -{ - return invoker_; -} - -std::string CheckResourceResult::getTaskExtraData()const -{ - return taskExtraData_; -} - -std::string CheckResourceResult::getCountry()const -{ - return country_; -} - -std::string CheckResourceResult::getPrompt()const -{ - return prompt_; -} - -long CheckResourceResult::getLevel()const -{ - return level_; -} - -std::string CheckResourceResult::getPk()const -{ - return pk_; -} - -std::string CheckResourceResult::getBid()const -{ - return bid_; -} - diff --git a/mts/src/model/CreateCustomEntityRequest.cc b/mts/src/model/CreateCustomEntityRequest.cc new file mode 100644 index 000000000..afc9ca1df --- /dev/null +++ b/mts/src/model/CreateCustomEntityRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::CreateCustomEntityRequest; + +CreateCustomEntityRequest::CreateCustomEntityRequest() + : RpcServiceRequest("mts", "2014-06-18", "CreateCustomEntity") { + setMethod(HttpRequest::Method::Post); +} + +CreateCustomEntityRequest::~CreateCustomEntityRequest() {} + +long CreateCustomEntityRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void CreateCustomEntityRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string CreateCustomEntityRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void CreateCustomEntityRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string CreateCustomEntityRequest::getAlgorithm() const { + return algorithm_; +} + +void CreateCustomEntityRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string CreateCustomEntityRequest::getCustomGroupId() const { + return customGroupId_; +} + +void CreateCustomEntityRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string CreateCustomEntityRequest::getCustomEntityName() const { + return customEntityName_; +} + +void CreateCustomEntityRequest::setCustomEntityName(const std::string &customEntityName) { + customEntityName_ = customEntityName; + setParameter(std::string("CustomEntityName"), customEntityName); +} + +std::string CreateCustomEntityRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void CreateCustomEntityRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string CreateCustomEntityRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void CreateCustomEntityRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long CreateCustomEntityRequest::getOwnerId() const { + return ownerId_; +} + +void CreateCustomEntityRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateCustomEntityRequest::getCustomEntityInfo() const { + return customEntityInfo_; +} + +void CreateCustomEntityRequest::setCustomEntityInfo(const std::string &customEntityInfo) { + customEntityInfo_ = customEntityInfo; + setParameter(std::string("CustomEntityInfo"), customEntityInfo); +} + diff --git a/mts/src/model/SubmitFpCompareJobResult.cc b/mts/src/model/CreateCustomEntityResult.cc similarity index 66% rename from mts/src/model/SubmitFpCompareJobResult.cc rename to mts/src/model/CreateCustomEntityResult.cc index bd335de6c..dc9fda199 100644 --- a/mts/src/model/SubmitFpCompareJobResult.cc +++ b/mts/src/model/CreateCustomEntityResult.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitFpCompareJobResult::SubmitFpCompareJobResult() : +CreateCustomEntityResult::CreateCustomEntityResult() : ServiceResult() {} -SubmitFpCompareJobResult::SubmitFpCompareJobResult(const std::string &payload) : +CreateCustomEntityResult::CreateCustomEntityResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitFpCompareJobResult::~SubmitFpCompareJobResult() +CreateCustomEntityResult::~CreateCustomEntityResult() {} -void SubmitFpCompareJobResult::parse(const std::string &payload) +void CreateCustomEntityResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); + if(!value["CustomEntityId"].isNull()) + customEntityId_ = value["CustomEntityId"].asString(); } -std::string SubmitFpCompareJobResult::getJobId()const +std::string CreateCustomEntityResult::getCustomEntityId()const { - return jobId_; + return customEntityId_; } diff --git a/mts/src/model/CreateCustomGroupRequest.cc b/mts/src/model/CreateCustomGroupRequest.cc new file mode 100644 index 000000000..ac66b3e7a --- /dev/null +++ b/mts/src/model/CreateCustomGroupRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::CreateCustomGroupRequest; + +CreateCustomGroupRequest::CreateCustomGroupRequest() + : RpcServiceRequest("mts", "2014-06-18", "CreateCustomGroup") { + setMethod(HttpRequest::Method::Post); +} + +CreateCustomGroupRequest::~CreateCustomGroupRequest() {} + +long CreateCustomGroupRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void CreateCustomGroupRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string CreateCustomGroupRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void CreateCustomGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string CreateCustomGroupRequest::getCustomGroupName() const { + return customGroupName_; +} + +void CreateCustomGroupRequest::setCustomGroupName(const std::string &customGroupName) { + customGroupName_ = customGroupName; + setParameter(std::string("CustomGroupName"), customGroupName); +} + +std::string CreateCustomGroupRequest::getAlgorithm() const { + return algorithm_; +} + +void CreateCustomGroupRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string CreateCustomGroupRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void CreateCustomGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string CreateCustomGroupRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void CreateCustomGroupRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long CreateCustomGroupRequest::getOwnerId() const { + return ownerId_; +} + +void CreateCustomGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateCustomGroupRequest::getCustomGroupDescription() const { + return customGroupDescription_; +} + +void CreateCustomGroupRequest::setCustomGroupDescription(const std::string &customGroupDescription) { + customGroupDescription_ = customGroupDescription; + setParameter(std::string("CustomGroupDescription"), customGroupDescription); +} + diff --git a/mts/src/model/SubmitVideoGifJobResult.cc b/mts/src/model/CreateCustomGroupResult.cc similarity index 66% rename from mts/src/model/SubmitVideoGifJobResult.cc rename to mts/src/model/CreateCustomGroupResult.cc index 71a4f176d..f5395d887 100644 --- a/mts/src/model/SubmitVideoGifJobResult.cc +++ b/mts/src/model/CreateCustomGroupResult.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitVideoGifJobResult::SubmitVideoGifJobResult() : +CreateCustomGroupResult::CreateCustomGroupResult() : ServiceResult() {} -SubmitVideoGifJobResult::SubmitVideoGifJobResult(const std::string &payload) : +CreateCustomGroupResult::CreateCustomGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitVideoGifJobResult::~SubmitVideoGifJobResult() +CreateCustomGroupResult::~CreateCustomGroupResult() {} -void SubmitVideoGifJobResult::parse(const std::string &payload) +void CreateCustomGroupResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); + if(!value["CustomGroupId"].isNull()) + customGroupId_ = value["CustomGroupId"].asString(); } -std::string SubmitVideoGifJobResult::getJobId()const +std::string CreateCustomGroupResult::getCustomGroupId()const { - return jobId_; + return customGroupId_; } diff --git a/mts/src/model/CreateFpShotDBRequest.cc b/mts/src/model/CreateFpShotDBRequest.cc index 7d1cd7520..508af5a1a 100644 --- a/mts/src/model/CreateFpShotDBRequest.cc +++ b/mts/src/model/CreateFpShotDBRequest.cc @@ -88,6 +88,15 @@ void CreateFpShotDBRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } +std::string CreateFpShotDBRequest::getInstanceId() const { + return instanceId_; +} + +void CreateFpShotDBRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + std::string CreateFpShotDBRequest::getName() const { return name_; } diff --git a/mts/src/model/CreateFpShotDBResult.cc b/mts/src/model/CreateFpShotDBResult.cc index e52b37f15..4aa41765c 100644 --- a/mts/src/model/CreateFpShotDBResult.cc +++ b/mts/src/model/CreateFpShotDBResult.cc @@ -52,6 +52,8 @@ void CreateFpShotDBResult::parse(const std::string &payload) fpShotDB_.modelId = std::stoi(fpShotDBNode["ModelId"].asString()); if(!fpShotDBNode["Config"].isNull()) fpShotDB_.config = fpShotDBNode["Config"].asString(); + if(!fpShotDBNode["InstanceId"].isNull()) + fpShotDB_.instanceId = fpShotDBNode["InstanceId"].asString(); } diff --git a/mts/src/model/CreateInferenceServerRequest.cc b/mts/src/model/CreateInferenceServerRequest.cc deleted file mode 100644 index ddef49e2a..000000000 --- a/mts/src/model/CreateInferenceServerRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::CreateInferenceServerRequest; - -CreateInferenceServerRequest::CreateInferenceServerRequest() - : RpcServiceRequest("mts", "2014-06-18", "CreateInferenceServer") { - setMethod(HttpRequest::Method::Post); -} - -CreateInferenceServerRequest::~CreateInferenceServerRequest() {} - -std::string CreateInferenceServerRequest::getPipelineId() const { - return pipelineId_; -} - -void CreateInferenceServerRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string CreateInferenceServerRequest::getUserData() const { - return userData_; -} - -void CreateInferenceServerRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string CreateInferenceServerRequest::getModelType() const { - return modelType_; -} - -void CreateInferenceServerRequest::setModelType(const std::string &modelType) { - modelType_ = modelType; - setParameter(std::string("ModelType"), modelType); -} - -std::string CreateInferenceServerRequest::getFunctionName() const { - return functionName_; -} - -void CreateInferenceServerRequest::setFunctionName(const std::string &functionName) { - functionName_ = functionName; - setParameter(std::string("FunctionName"), functionName); -} - -std::string CreateInferenceServerRequest::getTestId() const { - return testId_; -} - -void CreateInferenceServerRequest::setTestId(const std::string &testId) { - testId_ = testId; - setParameter(std::string("TestId"), testId); -} - -std::string CreateInferenceServerRequest::getModelPath() const { - return modelPath_; -} - -void CreateInferenceServerRequest::setModelPath(const std::string &modelPath) { - modelPath_ = modelPath; - setParameter(std::string("ModelPath"), modelPath); -} - diff --git a/mts/src/model/CreateMcuTemplateRequest.cc b/mts/src/model/CreateMcuTemplateRequest.cc deleted file mode 100644 index 5c6fe5a28..000000000 --- a/mts/src/model/CreateMcuTemplateRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::CreateMcuTemplateRequest; - -CreateMcuTemplateRequest::CreateMcuTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "CreateMcuTemplate") { - setMethod(HttpRequest::Method::Post); -} - -CreateMcuTemplateRequest::~CreateMcuTemplateRequest() {} - -std::string CreateMcuTemplateRequest::get_Template() const { - return _template_; -} - -void CreateMcuTemplateRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); -} - -long CreateMcuTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void CreateMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string CreateMcuTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void CreateMcuTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string CreateMcuTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void CreateMcuTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long CreateMcuTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void CreateMcuTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string CreateMcuTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void CreateMcuTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/CreateMcuTemplateResult.cc b/mts/src/model/CreateMcuTemplateResult.cc deleted file mode 100644 index 790c04f7c..000000000 --- a/mts/src/model/CreateMcuTemplateResult.cc +++ /dev/null @@ -1,51 +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 -#include - -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_; -} - diff --git a/mts/src/model/CreateSessionRequest.cc b/mts/src/model/CreateSessionRequest.cc deleted file mode 100644 index bbb6b1f97..000000000 --- a/mts/src/model/CreateSessionRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::CreateSessionRequest; - -CreateSessionRequest::CreateSessionRequest() - : RpcServiceRequest("mts", "2014-06-18", "CreateSession") { - setMethod(HttpRequest::Method::Post); -} - -CreateSessionRequest::~CreateSessionRequest() {} - -std::string CreateSessionRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void CreateSessionRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string CreateSessionRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void CreateSessionRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -int CreateSessionRequest::getSessionTime() const { - return sessionTime_; -} - -void CreateSessionRequest::setSessionTime(int sessionTime) { - sessionTime_ = sessionTime; - setParameter(std::string("SessionTime"), std::to_string(sessionTime)); -} - -std::string CreateSessionRequest::getEndUserId() const { - return endUserId_; -} - -void CreateSessionRequest::setEndUserId(const std::string &endUserId) { - endUserId_ = endUserId; - setParameter(std::string("EndUserId"), endUserId); -} - -std::string CreateSessionRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void CreateSessionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string CreateSessionRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void CreateSessionRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string CreateSessionRequest::getOwnerId() const { - return ownerId_; -} - -void CreateSessionRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string CreateSessionRequest::getMediaId() const { - return mediaId_; -} - -void CreateSessionRequest::setMediaId(const std::string &mediaId) { - mediaId_ = mediaId; - setParameter(std::string("MediaId"), mediaId); -} - diff --git a/mts/src/model/CreateSessionResult.cc b/mts/src/model/CreateSessionResult.cc deleted file mode 100644 index 5fbbbf786..000000000 --- a/mts/src/model/CreateSessionResult.cc +++ /dev/null @@ -1,58 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -CreateSessionResult::CreateSessionResult() : - ServiceResult() -{} - -CreateSessionResult::CreateSessionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateSessionResult::~CreateSessionResult() -{} - -void CreateSessionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Ticket"].isNull()) - ticket_ = value["Ticket"].asString(); - if(!value["SessionId"].isNull()) - sessionId_ = value["SessionId"].asString(); - -} - -std::string CreateSessionResult::getTicket()const -{ - return ticket_; -} - -std::string CreateSessionResult::getSessionId()const -{ - return sessionId_; -} - diff --git a/mts/src/model/DecryptKeyRequest.cc b/mts/src/model/DecryptKeyRequest.cc deleted file mode 100644 index 378c6ec18..000000000 --- a/mts/src/model/DecryptKeyRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::DecryptKeyRequest; - -DecryptKeyRequest::DecryptKeyRequest() - : RpcServiceRequest("mts", "2014-06-18", "DecryptKey") { - setMethod(HttpRequest::Method::Post); -} - -DecryptKeyRequest::~DecryptKeyRequest() {} - -std::string DecryptKeyRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DecryptKeyRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string DecryptKeyRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void DecryptKeyRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string DecryptKeyRequest::getRand() const { - return rand_; -} - -void DecryptKeyRequest::setRand(const std::string &rand) { - rand_ = rand; - setParameter(std::string("Rand"), rand); -} - -std::string DecryptKeyRequest::getCiphertextBlob() const { - return ciphertextBlob_; -} - -void DecryptKeyRequest::setCiphertextBlob(const std::string &ciphertextBlob) { - ciphertextBlob_ = ciphertextBlob; - setParameter(std::string("CiphertextBlob"), ciphertextBlob); -} - -std::string DecryptKeyRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DecryptKeyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DecryptKeyRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DecryptKeyRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string DecryptKeyRequest::getOwnerId() const { - return ownerId_; -} - -void DecryptKeyRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - diff --git a/mts/src/model/DecryptKeyResult.cc b/mts/src/model/DecryptKeyResult.cc deleted file mode 100644 index 787f5c150..000000000 --- a/mts/src/model/DecryptKeyResult.cc +++ /dev/null @@ -1,58 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -DecryptKeyResult::DecryptKeyResult() : - ServiceResult() -{} - -DecryptKeyResult::DecryptKeyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DecryptKeyResult::~DecryptKeyResult() -{} - -void DecryptKeyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Rand"].isNull()) - rand_ = value["Rand"].asString(); - if(!value["Plaintext"].isNull()) - plaintext_ = value["Plaintext"].asString(); - -} - -std::string DecryptKeyResult::getRand()const -{ - return rand_; -} - -std::string DecryptKeyResult::getPlaintext()const -{ - return plaintext_; -} - diff --git a/mts/src/model/DeleteCategoryRequest.cc b/mts/src/model/DeleteCategoryRequest.cc deleted file mode 100644 index 551337929..000000000 --- a/mts/src/model/DeleteCategoryRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::DeleteCategoryRequest; - -DeleteCategoryRequest::DeleteCategoryRequest() - : RpcServiceRequest("mts", "2014-06-18", "DeleteCategory") { - setMethod(HttpRequest::Method::Post); -} - -DeleteCategoryRequest::~DeleteCategoryRequest() {} - -long DeleteCategoryRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DeleteCategoryRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DeleteCategoryRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DeleteCategoryRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DeleteCategoryRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DeleteCategoryRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long DeleteCategoryRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCategoryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string DeleteCategoryRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void DeleteCategoryRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long DeleteCategoryRequest::getCateId() const { - return cateId_; -} - -void DeleteCategoryRequest::setCateId(long cateId) { - cateId_ = cateId; - setParameter(std::string("CateId"), std::to_string(cateId)); -} - diff --git a/mts/src/model/DeleteCustomEntityRequest.cc b/mts/src/model/DeleteCustomEntityRequest.cc new file mode 100644 index 000000000..89dadf4d2 --- /dev/null +++ b/mts/src/model/DeleteCustomEntityRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::DeleteCustomEntityRequest; + +DeleteCustomEntityRequest::DeleteCustomEntityRequest() + : RpcServiceRequest("mts", "2014-06-18", "DeleteCustomEntity") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCustomEntityRequest::~DeleteCustomEntityRequest() {} + +long DeleteCustomEntityRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void DeleteCustomEntityRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string DeleteCustomEntityRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void DeleteCustomEntityRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string DeleteCustomEntityRequest::getAlgorithm() const { + return algorithm_; +} + +void DeleteCustomEntityRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string DeleteCustomEntityRequest::getCustomGroupId() const { + return customGroupId_; +} + +void DeleteCustomEntityRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string DeleteCustomEntityRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void DeleteCustomEntityRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string DeleteCustomEntityRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void DeleteCustomEntityRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string DeleteCustomEntityRequest::getCustomEntityId() const { + return customEntityId_; +} + +void DeleteCustomEntityRequest::setCustomEntityId(const std::string &customEntityId) { + customEntityId_ = customEntityId; + setParameter(std::string("CustomEntityId"), customEntityId); +} + +long DeleteCustomEntityRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCustomEntityRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/mts/src/model/UpdateCategoryNameResult.cc b/mts/src/model/DeleteCustomEntityResult.cc similarity index 75% rename from mts/src/model/UpdateCategoryNameResult.cc rename to mts/src/model/DeleteCustomEntityResult.cc index ceab2e12c..4a87a9a71 100644 --- a/mts/src/model/UpdateCategoryNameResult.cc +++ b/mts/src/model/DeleteCustomEntityResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -UpdateCategoryNameResult::UpdateCategoryNameResult() : +DeleteCustomEntityResult::DeleteCustomEntityResult() : ServiceResult() {} -UpdateCategoryNameResult::UpdateCategoryNameResult(const std::string &payload) : +DeleteCustomEntityResult::DeleteCustomEntityResult(const std::string &payload) : ServiceResult() { parse(payload); } -UpdateCategoryNameResult::~UpdateCategoryNameResult() +DeleteCustomEntityResult::~DeleteCustomEntityResult() {} -void UpdateCategoryNameResult::parse(const std::string &payload) +void DeleteCustomEntityResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/mts/src/model/DeleteCustomGroupRequest.cc b/mts/src/model/DeleteCustomGroupRequest.cc new file mode 100644 index 000000000..aa6b5f343 --- /dev/null +++ b/mts/src/model/DeleteCustomGroupRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::DeleteCustomGroupRequest; + +DeleteCustomGroupRequest::DeleteCustomGroupRequest() + : RpcServiceRequest("mts", "2014-06-18", "DeleteCustomGroup") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCustomGroupRequest::~DeleteCustomGroupRequest() {} + +long DeleteCustomGroupRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void DeleteCustomGroupRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string DeleteCustomGroupRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void DeleteCustomGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string DeleteCustomGroupRequest::getAlgorithm() const { + return algorithm_; +} + +void DeleteCustomGroupRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string DeleteCustomGroupRequest::getCustomGroupId() const { + return customGroupId_; +} + +void DeleteCustomGroupRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string DeleteCustomGroupRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void DeleteCustomGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string DeleteCustomGroupRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void DeleteCustomGroupRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long DeleteCustomGroupRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCustomGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/mts/src/model/SubmitMCJobResult.cc b/mts/src/model/DeleteCustomGroupResult.cc similarity index 69% rename from mts/src/model/SubmitMCJobResult.cc rename to mts/src/model/DeleteCustomGroupResult.cc index dda477a55..60cc30004 100644 --- a/mts/src/model/SubmitMCJobResult.cc +++ b/mts/src/model/DeleteCustomGroupResult.cc @@ -14,38 +14,31 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitMCJobResult::SubmitMCJobResult() : +DeleteCustomGroupResult::DeleteCustomGroupResult() : ServiceResult() {} -SubmitMCJobResult::SubmitMCJobResult(const std::string &payload) : +DeleteCustomGroupResult::DeleteCustomGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitMCJobResult::~SubmitMCJobResult() +DeleteCustomGroupResult::~DeleteCustomGroupResult() {} -void SubmitMCJobResult::parse(const std::string &payload) +void DeleteCustomGroupResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); } -std::string SubmitMCJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/DeleteCustomViewRequest.cc b/mts/src/model/DeleteCustomViewRequest.cc new file mode 100644 index 000000000..312ea2889 --- /dev/null +++ b/mts/src/model/DeleteCustomViewRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::DeleteCustomViewRequest; + +DeleteCustomViewRequest::DeleteCustomViewRequest() + : RpcServiceRequest("mts", "2014-06-18", "DeleteCustomView") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCustomViewRequest::~DeleteCustomViewRequest() {} + +long DeleteCustomViewRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void DeleteCustomViewRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string DeleteCustomViewRequest::getCustomViewId() const { + return customViewId_; +} + +void DeleteCustomViewRequest::setCustomViewId(const std::string &customViewId) { + customViewId_ = customViewId; + setParameter(std::string("CustomViewId"), customViewId); +} + +std::string DeleteCustomViewRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void DeleteCustomViewRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string DeleteCustomViewRequest::getAlgorithm() const { + return algorithm_; +} + +void DeleteCustomViewRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string DeleteCustomViewRequest::getCustomGroupId() const { + return customGroupId_; +} + +void DeleteCustomViewRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string DeleteCustomViewRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void DeleteCustomViewRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string DeleteCustomViewRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void DeleteCustomViewRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string DeleteCustomViewRequest::getCustomEntityId() const { + return customEntityId_; +} + +void DeleteCustomViewRequest::setCustomEntityId(const std::string &customEntityId) { + customEntityId_ = customEntityId; + setParameter(std::string("CustomEntityId"), customEntityId); +} + +long DeleteCustomViewRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCustomViewRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/mts/src/model/DeleteCategoryResult.cc b/mts/src/model/DeleteCustomViewResult.cc similarity index 75% rename from mts/src/model/DeleteCategoryResult.cc rename to mts/src/model/DeleteCustomViewResult.cc index bc4c34c48..955b28ef0 100644 --- a/mts/src/model/DeleteCategoryResult.cc +++ b/mts/src/model/DeleteCustomViewResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -DeleteCategoryResult::DeleteCategoryResult() : +DeleteCustomViewResult::DeleteCustomViewResult() : ServiceResult() {} -DeleteCategoryResult::DeleteCategoryResult(const std::string &payload) : +DeleteCustomViewResult::DeleteCustomViewResult(const std::string &payload) : ServiceResult() { parse(payload); } -DeleteCategoryResult::~DeleteCategoryResult() +DeleteCustomViewResult::~DeleteCustomViewResult() {} -void DeleteCategoryResult::parse(const std::string &payload) +void DeleteCustomViewResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/mts/src/model/DeleteMCTemplateRequest.cc b/mts/src/model/DeleteMCTemplateRequest.cc deleted file mode 100644 index 3d09289f8..000000000 --- a/mts/src/model/DeleteMCTemplateRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::DeleteMCTemplateRequest; - -DeleteMCTemplateRequest::DeleteMCTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "DeleteMCTemplate") { - setMethod(HttpRequest::Method::Post); -} - -DeleteMCTemplateRequest::~DeleteMCTemplateRequest() {} - -long DeleteMCTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DeleteMCTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DeleteMCTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DeleteMCTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DeleteMCTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DeleteMCTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long DeleteMCTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteMCTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string DeleteMCTemplateRequest::getTemplateId() const { - return templateId_; -} - -void DeleteMCTemplateRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); -} - -std::string DeleteMCTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void DeleteMCTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/DeleteMCTemplateResult.cc b/mts/src/model/DeleteMCTemplateResult.cc deleted file mode 100644 index 37e8718d8..000000000 --- a/mts/src/model/DeleteMCTemplateResult.cc +++ /dev/null @@ -1,51 +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 -#include - -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_; -} - diff --git a/mts/src/model/DeleteMcuJobRequest.cc b/mts/src/model/DeleteMcuJobRequest.cc deleted file mode 100644 index 4d799a963..000000000 --- a/mts/src/model/DeleteMcuJobRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::DeleteMcuJobRequest; - -DeleteMcuJobRequest::DeleteMcuJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "DeleteMcuJob") { - setMethod(HttpRequest::Method::Post); -} - -DeleteMcuJobRequest::~DeleteMcuJobRequest() {} - -long DeleteMcuJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DeleteMcuJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DeleteMcuJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DeleteMcuJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DeleteMcuJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DeleteMcuJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long DeleteMcuJobRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteMcuJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string DeleteMcuJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void DeleteMcuJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string DeleteMcuJobRequest::getJobIds() const { - return jobIds_; -} - -void DeleteMcuJobRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/DeleteMcuJobResult.cc b/mts/src/model/DeleteMcuJobResult.cc deleted file mode 100644 index 84b60b43a..000000000 --- a/mts/src/model/DeleteMcuJobResult.cc +++ /dev/null @@ -1,60 +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 -#include - -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 DeleteMcuJobResult::getNonExistJobIds()const -{ - return nonExistJobIds_; -} - -std::vector DeleteMcuJobResult::getDeletedJobIds()const -{ - return deletedJobIds_; -} - diff --git a/mts/src/model/DeleteMcuTemplateRequest.cc b/mts/src/model/DeleteMcuTemplateRequest.cc deleted file mode 100644 index 14cc13c1b..000000000 --- a/mts/src/model/DeleteMcuTemplateRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::DeleteMcuTemplateRequest; - -DeleteMcuTemplateRequest::DeleteMcuTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "DeleteMcuTemplate") { - setMethod(HttpRequest::Method::Post); -} - -DeleteMcuTemplateRequest::~DeleteMcuTemplateRequest() {} - -long DeleteMcuTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DeleteMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DeleteMcuTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DeleteMcuTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DeleteMcuTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DeleteMcuTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long DeleteMcuTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteMcuTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string DeleteMcuTemplateRequest::getTemplateId() const { - return templateId_; -} - -void DeleteMcuTemplateRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); -} - -std::string DeleteMcuTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void DeleteMcuTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/DeleteMcuTemplateResult.cc b/mts/src/model/DeleteMcuTemplateResult.cc deleted file mode 100644 index 393fe4010..000000000 --- a/mts/src/model/DeleteMcuTemplateResult.cc +++ /dev/null @@ -1,51 +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 -#include - -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_; -} - diff --git a/mts/src/model/DescribeMtsUserResourcePackageRequest.cc b/mts/src/model/DescribeMtsUserResourcePackageRequest.cc deleted file mode 100644 index fb3a60e0b..000000000 --- a/mts/src/model/DescribeMtsUserResourcePackageRequest.cc +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::DescribeMtsUserResourcePackageRequest; - -DescribeMtsUserResourcePackageRequest::DescribeMtsUserResourcePackageRequest() - : RpcServiceRequest("mts", "2014-06-18", "DescribeMtsUserResourcePackage") { - setMethod(HttpRequest::Method::Post); -} - -DescribeMtsUserResourcePackageRequest::~DescribeMtsUserResourcePackageRequest() {} - -long DescribeMtsUserResourcePackageRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeMtsUserResourcePackageRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string DescribeMtsUserResourcePackageRequest::getSecurityToken() const { - return securityToken_; -} - -void DescribeMtsUserResourcePackageRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); -} - -std::string DescribeMtsUserResourcePackageRequest::getShowLog() const { - return showLog_; -} - -void DescribeMtsUserResourcePackageRequest::setShowLog(const std::string &showLog) { - showLog_ = showLog; - setParameter(std::string("ShowLog"), showLog); -} - diff --git a/mts/src/model/DescribeMtsUserResourcePackageResult.cc b/mts/src/model/DescribeMtsUserResourcePackageResult.cc deleted file mode 100644 index 851d1d41e..000000000 --- a/mts/src/model/DescribeMtsUserResourcePackageResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -DescribeMtsUserResourcePackageResult::DescribeMtsUserResourcePackageResult() : - ServiceResult() -{} - -DescribeMtsUserResourcePackageResult::DescribeMtsUserResourcePackageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMtsUserResourcePackageResult::~DescribeMtsUserResourcePackageResult() -{} - -void DescribeMtsUserResourcePackageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allResourcePackageInfosNode = value["ResourcePackageInfos"]["ResourcePackageInfo"]; - for (auto valueResourcePackageInfosResourcePackageInfo : allResourcePackageInfosNode) - { - ResourcePackageInfo resourcePackageInfosObject; - if(!valueResourcePackageInfosResourcePackageInfo["DisplayName"].isNull()) - resourcePackageInfosObject.displayName = valueResourcePackageInfosResourcePackageInfo["DisplayName"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["Status"].isNull()) - resourcePackageInfosObject.status = valueResourcePackageInfosResourcePackageInfo["Status"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["CommodityCode"].isNull()) - resourcePackageInfosObject.commodityCode = valueResourcePackageInfosResourcePackageInfo["CommodityCode"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].isNull()) - resourcePackageInfosObject.currCapacity = valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["InitCapacity"].isNull()) - resourcePackageInfosObject.initCapacity = valueResourcePackageInfosResourcePackageInfo["InitCapacity"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["InstanceId"].isNull()) - resourcePackageInfosObject.instanceId = valueResourcePackageInfosResourcePackageInfo["InstanceId"].asString(); - resourcePackageInfos_.push_back(resourcePackageInfosObject); - } - -} - -std::vector DescribeMtsUserResourcePackageResult::getResourcePackageInfos()const -{ - return resourcePackageInfos_; -} - diff --git a/mts/src/model/GetJobInfoRequest.cc b/mts/src/model/GetJobInfoRequest.cc deleted file mode 100644 index 760de912f..000000000 --- a/mts/src/model/GetJobInfoRequest.cc +++ /dev/null @@ -1,36 +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 - -using AlibabaCloud::Mts::Model::GetJobInfoRequest; - -GetJobInfoRequest::GetJobInfoRequest() - : RpcServiceRequest("mts", "2014-06-18", "GetJobInfo") { - setMethod(HttpRequest::Method::Get); -} - -GetJobInfoRequest::~GetJobInfoRequest() {} - -std::string GetJobInfoRequest::getJobId() const { - return jobId_; -} - -void GetJobInfoRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("jobId"), jobId); -} - diff --git a/mts/src/model/GetJobInfoResult.cc b/mts/src/model/GetJobInfoResult.cc deleted file mode 100644 index fbc3d836d..000000000 --- a/mts/src/model/GetJobInfoResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -GetJobInfoResult::GetJobInfoResult() : - ServiceResult() -{} - -GetJobInfoResult::GetJobInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetJobInfoResult::~GetJobInfoResult() -{} - -void GetJobInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto mtsTransferJobNode = value["MtsTransferJob"]; - if(!mtsTransferJobNode["JobId"].isNull()) - mtsTransferJob_.jobId = mtsTransferJobNode["JobId"].asString(); - if(!mtsTransferJobNode["JobType"].isNull()) - mtsTransferJob_.jobType = mtsTransferJobNode["JobType"].asString(); - if(!mtsTransferJobNode["CreateTime"].isNull()) - mtsTransferJob_.createTime = mtsTransferJobNode["CreateTime"].asString(); - if(!mtsTransferJobNode["ModifiedTime"].isNull()) - mtsTransferJob_.modifiedTime = mtsTransferJobNode["ModifiedTime"].asString(); - if(!mtsTransferJobNode["FinishedTime"].isNull()) - mtsTransferJob_.finishedTime = mtsTransferJobNode["FinishedTime"].asString(); - if(!mtsTransferJobNode["State"].isNull()) - mtsTransferJob_.state = mtsTransferJobNode["State"].asString(); - if(!mtsTransferJobNode["ErrorCode"].isNull()) - mtsTransferJob_.errorCode = mtsTransferJobNode["ErrorCode"].asString(); - if(!mtsTransferJobNode["ErrorMessage"].isNull()) - mtsTransferJob_.errorMessage = mtsTransferJobNode["ErrorMessage"].asString(); - if(!mtsTransferJobNode["UserData"].isNull()) - mtsTransferJob_.userData = mtsTransferJobNode["UserData"].asString(); - if(!mtsTransferJobNode["Extend"].isNull()) - mtsTransferJob_.extend = mtsTransferJobNode["Extend"].asString(); - if(!mtsTransferJobNode["RequestJson"].isNull()) - mtsTransferJob_.requestJson = mtsTransferJobNode["RequestJson"].asString(); - -} - -GetJobInfoResult::MtsTransferJob GetJobInfoResult::getMtsTransferJob()const -{ - return mtsTransferJob_; -} - diff --git a/mts/src/model/GetLicenseRequest.cc b/mts/src/model/GetLicenseRequest.cc deleted file mode 100644 index 295d38a53..000000000 --- a/mts/src/model/GetLicenseRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::GetLicenseRequest; - -GetLicenseRequest::GetLicenseRequest() - : RpcServiceRequest("mts", "2014-06-18", "GetLicense") { - setMethod(HttpRequest::Method::Post); -} - -GetLicenseRequest::~GetLicenseRequest() {} - -std::string GetLicenseRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void GetLicenseRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string GetLicenseRequest::getData() const { - return data_; -} - -void GetLicenseRequest::setData(const std::string &data) { - data_ = data; - setParameter(std::string("Data"), data); -} - -std::string GetLicenseRequest::getType() const { - return type_; -} - -void GetLicenseRequest::setType(const std::string &type) { - type_ = type; - setParameter(std::string("Type"), type); -} - -std::string GetLicenseRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void GetLicenseRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string GetLicenseRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void GetLicenseRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string GetLicenseRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void GetLicenseRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string GetLicenseRequest::getOwnerId() const { - return ownerId_; -} - -void GetLicenseRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string GetLicenseRequest::getMediaId() const { - return mediaId_; -} - -void GetLicenseRequest::setMediaId(const std::string &mediaId) { - mediaId_ = mediaId; - setParameter(std::string("MediaId"), mediaId); -} - -std::string GetLicenseRequest::getHeader() const { - return header_; -} - -void GetLicenseRequest::setHeader(const std::string &header) { - header_ = header; - setParameter(std::string("Header"), header); -} - -std::string GetLicenseRequest::getLicenseUrl() const { - return licenseUrl_; -} - -void GetLicenseRequest::setLicenseUrl(const std::string &licenseUrl) { - licenseUrl_ = licenseUrl; - setParameter(std::string("LicenseUrl"), licenseUrl); -} - diff --git a/mts/src/model/GetLicenseResult.cc b/mts/src/model/GetLicenseResult.cc deleted file mode 100644 index 59bcd6c3a..000000000 --- a/mts/src/model/GetLicenseResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -GetLicenseResult::GetLicenseResult() : - ServiceResult() -{} - -GetLicenseResult::GetLicenseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetLicenseResult::~GetLicenseResult() -{} - -void GetLicenseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["License"].isNull()) - license_ = value["License"].asString(); - -} - -std::string GetLicenseResult::getLicense()const -{ - return license_; -} - diff --git a/mts/src/model/GetPackageRequest.cc b/mts/src/model/GetPackageRequest.cc deleted file mode 100644 index b87c70466..000000000 --- a/mts/src/model/GetPackageRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::GetPackageRequest; - -GetPackageRequest::GetPackageRequest() - : RpcServiceRequest("mts", "2014-06-18", "GetPackage") { - setMethod(HttpRequest::Method::Post); -} - -GetPackageRequest::~GetPackageRequest() {} - -std::string GetPackageRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void GetPackageRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string GetPackageRequest::getData() const { - return data_; -} - -void GetPackageRequest::setData(const std::string &data) { - data_ = data; - setParameter(std::string("Data"), data); -} - -std::string GetPackageRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void GetPackageRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string GetPackageRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void GetPackageRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string GetPackageRequest::getOwnerId() const { - return ownerId_; -} - -void GetPackageRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string GetPackageRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void GetPackageRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/GetPackageResult.cc b/mts/src/model/GetPackageResult.cc deleted file mode 100644 index 66aedd629..000000000 --- a/mts/src/model/GetPackageResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -GetPackageResult::GetPackageResult() : - ServiceResult() -{} - -GetPackageResult::GetPackageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetPackageResult::~GetPackageResult() -{} - -void GetPackageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["CertPackage"].isNull()) - certPackage_ = value["CertPackage"].asString(); - -} - -std::string GetPackageResult::getCertPackage()const -{ - return certPackage_; -} - diff --git a/mts/src/model/ImAuditRequest.cc b/mts/src/model/ImAuditRequest.cc new file mode 100644 index 000000000..4dc82191a --- /dev/null +++ b/mts/src/model/ImAuditRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::ImAuditRequest; + +ImAuditRequest::ImAuditRequest() + : RpcServiceRequest("mts", "2014-06-18", "ImAudit") { + setMethod(HttpRequest::Method::Post); +} + +ImAuditRequest::~ImAuditRequest() {} + +long ImAuditRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void ImAuditRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string ImAuditRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ImAuditRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string ImAuditRequest::getImages() const { + return images_; +} + +void ImAuditRequest::setImages(const std::string &images) { + images_ = images; + setParameter(std::string("Images"), images); +} + +std::string ImAuditRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void ImAuditRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +long ImAuditRequest::getOwnerId() const { + return ownerId_; +} + +void ImAuditRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string ImAuditRequest::getBizType() const { + return bizType_; +} + +void ImAuditRequest::setBizType(const std::string &bizType) { + bizType_ = bizType; + setParameter(std::string("BizType"), bizType); +} + +std::string ImAuditRequest::getContents() const { + return contents_; +} + +void ImAuditRequest::setContents(const std::string &contents) { + contents_ = contents; + setParameter(std::string("Contents"), contents); +} + +std::string ImAuditRequest::getScenes() const { + return scenes_; +} + +void ImAuditRequest::setScenes(const std::string &scenes) { + scenes_ = scenes; + setParameter(std::string("Scenes"), scenes); +} + diff --git a/mts/src/model/ImAuditResult.cc b/mts/src/model/ImAuditResult.cc new file mode 100644 index 000000000..d76e14719 --- /dev/null +++ b/mts/src/model/ImAuditResult.cc @@ -0,0 +1,255 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +ImAuditResult::ImAuditResult() : + ServiceResult() +{} + +ImAuditResult::ImAuditResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImAuditResult::~ImAuditResult() +{} + +void ImAuditResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto imageResultsNode = value["ImageResults"]; + auto allresultNode = imageResultsNode["result"]["resultItem"]; + for (auto imageResultsNoderesultresultItem : allresultNode) + { + ImageResults::ResultItem resultItemObject; + if(!imageResultsNoderesultresultItem["code"].isNull()) + resultItemObject.code = std::stol(imageResultsNoderesultresultItem["code"].asString()); + if(!imageResultsNoderesultresultItem["dataId"].isNull()) + resultItemObject.dataId = imageResultsNoderesultresultItem["dataId"].asString(); + if(!imageResultsNoderesultresultItem["extras"].isNull()) + resultItemObject.extras = imageResultsNoderesultresultItem["extras"].asString(); + if(!imageResultsNoderesultresultItem["msg"].isNull()) + resultItemObject.msg = imageResultsNoderesultresultItem["msg"].asString(); + if(!imageResultsNoderesultresultItem["taskId"].isNull()) + resultItemObject.taskId = imageResultsNoderesultresultItem["taskId"].asString(); + if(!imageResultsNoderesultresultItem["url"].isNull()) + resultItemObject.url = imageResultsNoderesultresultItem["url"].asString(); + auto allresultsNode = imageResultsNoderesultresultItem["results"]["result"]; + for (auto imageResultsNoderesultresultItemresultsresult : allresultsNode) + { + ImageResults::ResultItem::Result resultsObject; + if(!imageResultsNoderesultresultItemresultsresult["Label"].isNull()) + resultsObject.label = imageResultsNoderesultresultItemresultsresult["Label"].asString(); + if(!imageResultsNoderesultresultItemresultsresult["Rate"].isNull()) + resultsObject.rate = imageResultsNoderesultresultItemresultsresult["Rate"].asString(); + if(!imageResultsNoderesultresultItemresultsresult["Scene"].isNull()) + resultsObject.scene = imageResultsNoderesultresultItemresultsresult["Scene"].asString(); + if(!imageResultsNoderesultresultItemresultsresult["Suggestion"].isNull()) + resultsObject.suggestion = imageResultsNoderesultresultItemresultsresult["Suggestion"].asString(); + auto allhintWordsInfoNode = imageResultsNoderesultresultItemresultsresult["hintWordsInfo"]["hintWordsInfoItem"]; + for (auto imageResultsNoderesultresultItemresultsresulthintWordsInfohintWordsInfoItem : allhintWordsInfoNode) + { + ImageResults::ResultItem::Result::HintWordsInfoItem hintWordsInfoObject; + if(!imageResultsNoderesultresultItemresultsresulthintWordsInfohintWordsInfoItem["context"].isNull()) + hintWordsInfoObject.context = imageResultsNoderesultresultItemresultsresulthintWordsInfohintWordsInfoItem["context"].asString(); + resultsObject.hintWordsInfo.push_back(hintWordsInfoObject); + } + auto allqrcodeLocationsNode = imageResultsNoderesultresultItemresultsresult["qrcodeLocations"]["qrcodeLocationsItem"]; + for (auto imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem : allqrcodeLocationsNode) + { + ImageResults::ResultItem::Result::QrcodeLocationsItem qrcodeLocationsObject; + if(!imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["x"].isNull()) + qrcodeLocationsObject.x = std::stof(imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["x"].asString()); + if(!imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["y"].isNull()) + qrcodeLocationsObject.y = std::stof(imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["y"].asString()); + if(!imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["w"].isNull()) + qrcodeLocationsObject.w = std::stof(imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["w"].asString()); + if(!imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["h"].isNull()) + qrcodeLocationsObject.h = std::stof(imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["h"].asString()); + if(!imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["qrcode"].isNull()) + qrcodeLocationsObject.qrcode = imageResultsNoderesultresultItemresultsresultqrcodeLocationsqrcodeLocationsItem["qrcode"].asString(); + resultsObject.qrcodeLocations.push_back(qrcodeLocationsObject); + } + auto allprogramCodeDataNode = imageResultsNoderesultresultItemresultsresult["programCodeData"]["programCodeDataItem"]; + for (auto imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem : allprogramCodeDataNode) + { + ImageResults::ResultItem::Result::ProgramCodeDataItem programCodeDataObject; + if(!imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["x"].isNull()) + programCodeDataObject.x = std::stof(imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["x"].asString()); + if(!imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["y"].isNull()) + programCodeDataObject.y = std::stof(imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["y"].asString()); + if(!imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["w"].isNull()) + programCodeDataObject.w = std::stof(imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["w"].asString()); + if(!imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["h"].isNull()) + programCodeDataObject.h = std::stof(imageResultsNoderesultresultItemresultsresultprogramCodeDataprogramCodeDataItem["h"].asString()); + resultsObject.programCodeData.push_back(programCodeDataObject); + } + auto alllogoDataNode = imageResultsNoderesultresultItemresultsresult["logoData"]["logoDataItem"]; + for (auto imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem : alllogoDataNode) + { + ImageResults::ResultItem::Result::LogoDataItem logoDataObject; + if(!imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["type"].isNull()) + logoDataObject.type = imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["type"].asString(); + if(!imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["name"].isNull()) + logoDataObject.name = imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["name"].asString(); + if(!imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["x"].isNull()) + logoDataObject.x = std::stof(imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["x"].asString()); + if(!imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["y"].isNull()) + logoDataObject.y = std::stof(imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["y"].asString()); + if(!imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["w"].isNull()) + logoDataObject.w = std::stof(imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["w"].asString()); + if(!imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["h"].isNull()) + logoDataObject.h = std::stof(imageResultsNoderesultresultItemresultsresultlogoDatalogoDataItem["h"].asString()); + resultsObject.logoData.push_back(logoDataObject); + } + auto allsfaceDataNode = imageResultsNoderesultresultItemresultsresult["sfaceData"]["sfaceDataItem"]; + for (auto imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem : allsfaceDataNode) + { + ImageResults::ResultItem::Result::SfaceDataItem sfaceDataObject; + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["x"].isNull()) + sfaceDataObject.x = std::stof(imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["x"].asString()); + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["y"].isNull()) + sfaceDataObject.y = std::stof(imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["y"].asString()); + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["w"].isNull()) + sfaceDataObject.w = std::stof(imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["w"].asString()); + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["h"].isNull()) + sfaceDataObject.h = std::stof(imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["h"].asString()); + auto allfacesNode = imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItem["faces"]["facesItem"]; + for (auto imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem : allfacesNode) + { + ImageResults::ResultItem::Result::SfaceDataItem::FacesItem facesObject; + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem["name"].isNull()) + facesObject.name = imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem["name"].asString(); + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem["re"].isNull()) + facesObject.re = std::stof(imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem["re"].asString()); + if(!imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem["idid"].isNull()) + facesObject.idid = imageResultsNoderesultresultItemresultsresultsfaceDatasfaceDataItemfacesfacesItem["idid"].asString(); + sfaceDataObject.faces.push_back(facesObject); + } + resultsObject.sfaceData.push_back(sfaceDataObject); + } + auto allframesNode = imageResultsNoderesultresultItemresultsresult["frames"]["framesItem"]; + for (auto imageResultsNoderesultresultItemresultsresultframesframesItem : allframesNode) + { + ImageResults::ResultItem::Result::FramesItem framesObject; + if(!imageResultsNoderesultresultItemresultsresultframesframesItem["rate"].isNull()) + framesObject.rate = std::stof(imageResultsNoderesultresultItemresultsresultframesframesItem["rate"].asString()); + if(!imageResultsNoderesultresultItemresultsresultframesframesItem["url"].isNull()) + framesObject.url = imageResultsNoderesultresultItemresultsresultframesframesItem["url"].asString(); + resultsObject.frames.push_back(framesObject); + } + auto allQrcodeData = value["qrcodeData"]["qrcodeData"]; + for (auto value : allQrcodeData) + resultsObject.qrcodeData.push_back(value.asString()); + auto allOcrData = value["ocrData"]["ocrData"]; + for (auto value : allOcrData) + resultsObject.ocrData.push_back(value.asString()); + resultItemObject.results.push_back(resultsObject); + } + imageResults_.result.push_back(resultItemObject); + } + auto textResultsNode = value["TextResults"]; + auto allresult1Node = textResultsNode["result"]["resultItem"]; + for (auto textResultsNoderesultresultItem : allresult1Node) + { + TextResults::ResultItem2 resultItem2Object; + if(!textResultsNoderesultresultItem["code"].isNull()) + resultItem2Object.code = std::stol(textResultsNoderesultresultItem["code"].asString()); + if(!textResultsNoderesultresultItem["content"].isNull()) + resultItem2Object.content = textResultsNoderesultresultItem["content"].asString(); + if(!textResultsNoderesultresultItem["dataId"].isNull()) + resultItem2Object.dataId = textResultsNoderesultresultItem["dataId"].asString(); + if(!textResultsNoderesultresultItem["msg"].isNull()) + resultItem2Object.msg = textResultsNoderesultresultItem["msg"].asString(); + if(!textResultsNoderesultresultItem["taskId"].isNull()) + resultItem2Object.taskId = textResultsNoderesultresultItem["taskId"].asString(); + auto allresults3Node = textResultsNoderesultresultItem["results"]["result"]; + for (auto textResultsNoderesultresultItemresultsresult : allresults3Node) + { + TextResults::ResultItem2::Result4 results3Object; + if(!textResultsNoderesultresultItemresultsresult["label"].isNull()) + results3Object.label = textResultsNoderesultresultItemresultsresult["label"].asString(); + if(!textResultsNoderesultresultItemresultsresult["rate"].isNull()) + results3Object.rate = textResultsNoderesultresultItemresultsresult["rate"].asString(); + if(!textResultsNoderesultresultItemresultsresult["scene"].isNull()) + results3Object.scene = textResultsNoderesultresultItemresultsresult["scene"].asString(); + if(!textResultsNoderesultresultItemresultsresult["suggestion"].isNull()) + results3Object.suggestion = textResultsNoderesultresultItemresultsresult["suggestion"].asString(); + auto alldetailsNode = textResultsNoderesultresultItemresultsresult["details"]["detailsItem"]; + for (auto textResultsNoderesultresultItemresultsresultdetailsdetailsItem : alldetailsNode) + { + TextResults::ResultItem2::Result4::DetailsItem detailsObject; + if(!textResultsNoderesultresultItemresultsresultdetailsdetailsItem["Label"].isNull()) + detailsObject.label = textResultsNoderesultresultItemresultsresultdetailsdetailsItem["Label"].asString(); + auto allcontextsNode = textResultsNoderesultresultItemresultsresultdetailsdetailsItem["contexts"]["contextsItem"]; + for (auto textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem : allcontextsNode) + { + TextResults::ResultItem2::Result4::DetailsItem::ContextsItem contextsObject; + if(!textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["context"].isNull()) + contextsObject.context = textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["context"].asString(); + if(!textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["libName"].isNull()) + contextsObject.libName = textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["libName"].asString(); + if(!textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["libCode"].isNull()) + contextsObject.libCode = textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["libCode"].asString(); + if(!textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["ruleType"].isNull()) + contextsObject.ruleType = textResultsNoderesultresultItemresultsresultdetailsdetailsItemcontextscontextsItem["ruleType"].asString(); + auto allPositions = value["positions"]["positions"]; + for (auto value : allPositions) + contextsObject.positions.push_back(value.asString()); + detailsObject.contexts.push_back(contextsObject); + } + results3Object.details.push_back(detailsObject); + } + resultItem2Object.results3.push_back(results3Object); + } + textResults_.result1.push_back(resultItem2Object); + } + if(!value["TextQuotaExceed"].isNull()) + textQuotaExceed_ = value["TextQuotaExceed"].asString() == "true"; + if(!value["ImageQuotaExceed"].isNull()) + imageQuotaExceed_ = value["ImageQuotaExceed"].asString() == "true"; + +} + +bool ImAuditResult::getTextQuotaExceed()const +{ + return textQuotaExceed_; +} + +bool ImAuditResult::getImageQuotaExceed()const +{ + return imageQuotaExceed_; +} + +ImAuditResult::ImageResults ImAuditResult::getImageResults()const +{ + return imageResults_; +} + +ImAuditResult::TextResults ImAuditResult::getTextResults()const +{ + return textResults_; +} + diff --git a/mts/src/model/ImportFpShotJobRequest.cc b/mts/src/model/ImportFpShotJobRequest.cc new file mode 100644 index 000000000..515e9a095 --- /dev/null +++ b/mts/src/model/ImportFpShotJobRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::ImportFpShotJobRequest; + +ImportFpShotJobRequest::ImportFpShotJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "ImportFpShotJob") { + setMethod(HttpRequest::Method::Post); +} + +ImportFpShotJobRequest::~ImportFpShotJobRequest() {} + +long ImportFpShotJobRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void ImportFpShotJobRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string ImportFpShotJobRequest::getFpDBId() const { + return fpDBId_; +} + +void ImportFpShotJobRequest::setFpDBId(const std::string &fpDBId) { + fpDBId_ = fpDBId; + setParameter(std::string("FpDBId"), fpDBId); +} + +std::string ImportFpShotJobRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ImportFpShotJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string ImportFpShotJobRequest::getUserData() const { + return userData_; +} + +void ImportFpShotJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + +std::string ImportFpShotJobRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void ImportFpShotJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string ImportFpShotJobRequest::getFpImportConfig() const { + return fpImportConfig_; +} + +void ImportFpShotJobRequest::setFpImportConfig(const std::string &fpImportConfig) { + fpImportConfig_ = fpImportConfig; + setParameter(std::string("FpImportConfig"), fpImportConfig); +} + +std::string ImportFpShotJobRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void ImportFpShotJobRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long ImportFpShotJobRequest::getOwnerId() const { + return ownerId_; +} + +void ImportFpShotJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string ImportFpShotJobRequest::getPipelineId() const { + return pipelineId_; +} + +void ImportFpShotJobRequest::setPipelineId(const std::string &pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), pipelineId); +} + +std::string ImportFpShotJobRequest::getInput() const { + return input_; +} + +void ImportFpShotJobRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); +} + diff --git a/mts/src/model/SubmitInnerJobResult.cc b/mts/src/model/ImportFpShotJobResult.cc similarity index 74% rename from mts/src/model/SubmitInnerJobResult.cc rename to mts/src/model/ImportFpShotJobResult.cc index d0279e5e3..0cf770ac4 100644 --- a/mts/src/model/SubmitInnerJobResult.cc +++ b/mts/src/model/ImportFpShotJobResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitInnerJobResult::SubmitInnerJobResult() : +ImportFpShotJobResult::ImportFpShotJobResult() : ServiceResult() {} -SubmitInnerJobResult::SubmitInnerJobResult(const std::string &payload) : +ImportFpShotJobResult::ImportFpShotJobResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitInnerJobResult::~SubmitInnerJobResult() +ImportFpShotJobResult::~ImportFpShotJobResult() {} -void SubmitInnerJobResult::parse(const std::string &payload) +void ImportFpShotJobResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -44,7 +44,7 @@ void SubmitInnerJobResult::parse(const std::string &payload) } -std::string SubmitInnerJobResult::getJobId()const +std::string ImportFpShotJobResult::getJobId()const { return jobId_; } diff --git a/mts/src/model/ListAllCategoryRequest.cc b/mts/src/model/ListAllCategoryRequest.cc deleted file mode 100644 index 1360b1879..000000000 --- a/mts/src/model/ListAllCategoryRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ListAllCategoryRequest; - -ListAllCategoryRequest::ListAllCategoryRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListAllCategory") { - setMethod(HttpRequest::Method::Post); -} - -ListAllCategoryRequest::~ListAllCategoryRequest() {} - -long ListAllCategoryRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListAllCategoryRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ListAllCategoryRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListAllCategoryRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListAllCategoryRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListAllCategoryRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListAllCategoryRequest::getOwnerId() const { - return ownerId_; -} - -void ListAllCategoryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string ListAllCategoryRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListAllCategoryRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/ListAllCategoryResult.cc b/mts/src/model/ListAllCategoryResult.cc deleted file mode 100644 index d924f4a07..000000000 --- a/mts/src/model/ListAllCategoryResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListAllCategoryResult::ListAllCategoryResult() : - ServiceResult() -{} - -ListAllCategoryResult::ListAllCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAllCategoryResult::~ListAllCategoryResult() -{} - -void ListAllCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allCategoryListNode = value["CategoryList"]["Category"]; - for (auto valueCategoryListCategory : allCategoryListNode) - { - Category categoryListObject; - if(!valueCategoryListCategory["CateName"].isNull()) - categoryListObject.cateName = valueCategoryListCategory["CateName"].asString(); - if(!valueCategoryListCategory["ParentId"].isNull()) - categoryListObject.parentId = valueCategoryListCategory["ParentId"].asString(); - if(!valueCategoryListCategory["CateId"].isNull()) - categoryListObject.cateId = valueCategoryListCategory["CateId"].asString(); - if(!valueCategoryListCategory["Level"].isNull()) - categoryListObject.level = valueCategoryListCategory["Level"].asString(); - categoryList_.push_back(categoryListObject); - } - -} - -std::vector ListAllCategoryResult::getCategoryList()const -{ - return categoryList_; -} - diff --git a/mts/src/model/ListAllMediaBucketResult.cc b/mts/src/model/ListAllMediaBucketResult.cc index 5448ebb8b..fb89d467d 100644 --- a/mts/src/model/ListAllMediaBucketResult.cc +++ b/mts/src/model/ListAllMediaBucketResult.cc @@ -47,6 +47,8 @@ void ListAllMediaBucketResult::parse(const std::string &payload) mediaBucketListObject.type = valueMediaBucketListMediaBucket["Type"].asString(); if(!valueMediaBucketListMediaBucket["Bucket"].isNull()) mediaBucketListObject.bucket = valueMediaBucketListMediaBucket["Bucket"].asString(); + if(!valueMediaBucketListMediaBucket["Referer"].isNull()) + mediaBucketListObject.referer = valueMediaBucketListMediaBucket["Referer"].asString(); mediaBucketList_.push_back(mediaBucketListObject); } if(!value["NextPageToken"].isNull()) diff --git a/mts/src/model/ListAsrPipelineRequest.cc b/mts/src/model/ListAsrPipelineRequest.cc deleted file mode 100644 index 2ca52f528..000000000 --- a/mts/src/model/ListAsrPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ListAsrPipelineRequest; - -ListAsrPipelineRequest::ListAsrPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListAsrPipeline") { - setMethod(HttpRequest::Method::Post); -} - -ListAsrPipelineRequest::~ListAsrPipelineRequest() {} - -long ListAsrPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListAsrPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -long ListAsrPipelineRequest::getPageNumber() const { - return pageNumber_; -} - -void ListAsrPipelineRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string ListAsrPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListAsrPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long ListAsrPipelineRequest::getPageSize() const { - return pageSize_; -} - -void ListAsrPipelineRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -std::string ListAsrPipelineRequest::getState() const { - return state_; -} - -void ListAsrPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string ListAsrPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListAsrPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListAsrPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListAsrPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListAsrPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void ListAsrPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ListAsrPipelineResult.cc b/mts/src/model/ListAsrPipelineResult.cc deleted file mode 100644 index 56e1d48f1..000000000 --- a/mts/src/model/ListAsrPipelineResult.cc +++ /dev/null @@ -1,89 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListAsrPipelineResult::ListAsrPipelineResult() : - ServiceResult() -{} - -ListAsrPipelineResult::ListAsrPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAsrPipelineResult::~ListAsrPipelineResult() -{} - -void ListAsrPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["QueueName"].isNull()) - pipelineListObject.notifyConfig.queueName = notifyConfigNode["QueueName"].asString(); - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - pipelineList_.push_back(pipelineListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - -} - -long ListAsrPipelineResult::getTotalCount()const -{ - return totalCount_; -} - -long ListAsrPipelineResult::getPageSize()const -{ - return pageSize_; -} - -long ListAsrPipelineResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListAsrPipelineResult::getPipelineList()const -{ - return pipelineList_; -} - diff --git a/mts/src/model/ListCensorPipelineRequest.cc b/mts/src/model/ListCensorPipelineRequest.cc deleted file mode 100644 index 16bcdf60c..000000000 --- a/mts/src/model/ListCensorPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ListCensorPipelineRequest; - -ListCensorPipelineRequest::ListCensorPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListCensorPipeline") { - setMethod(HttpRequest::Method::Post); -} - -ListCensorPipelineRequest::~ListCensorPipelineRequest() {} - -long ListCensorPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListCensorPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -long ListCensorPipelineRequest::getPageNumber() const { - return pageNumber_; -} - -void ListCensorPipelineRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string ListCensorPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListCensorPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long ListCensorPipelineRequest::getPageSize() const { - return pageSize_; -} - -void ListCensorPipelineRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -std::string ListCensorPipelineRequest::getState() const { - return state_; -} - -void ListCensorPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string ListCensorPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListCensorPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListCensorPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListCensorPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListCensorPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void ListCensorPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ListCensorPipelineResult.cc b/mts/src/model/ListCensorPipelineResult.cc deleted file mode 100644 index 9923d4c92..000000000 --- a/mts/src/model/ListCensorPipelineResult.cc +++ /dev/null @@ -1,89 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListCensorPipelineResult::ListCensorPipelineResult() : - ServiceResult() -{} - -ListCensorPipelineResult::ListCensorPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListCensorPipelineResult::~ListCensorPipelineResult() -{} - -void ListCensorPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - -} - -long ListCensorPipelineResult::getTotalCount()const -{ - return totalCount_; -} - -long ListCensorPipelineResult::getPageSize()const -{ - return pageSize_; -} - -long ListCensorPipelineResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListCensorPipelineResult::getPipelineList()const -{ - return pipelineList_; -} - diff --git a/mts/src/model/ListCoverPipelineRequest.cc b/mts/src/model/ListCoverPipelineRequest.cc deleted file mode 100644 index 227db8bc5..000000000 --- a/mts/src/model/ListCoverPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ListCoverPipelineRequest; - -ListCoverPipelineRequest::ListCoverPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListCoverPipeline") { - setMethod(HttpRequest::Method::Post); -} - -ListCoverPipelineRequest::~ListCoverPipelineRequest() {} - -long ListCoverPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListCoverPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -long ListCoverPipelineRequest::getPageNumber() const { - return pageNumber_; -} - -void ListCoverPipelineRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string ListCoverPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListCoverPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long ListCoverPipelineRequest::getPageSize() const { - return pageSize_; -} - -void ListCoverPipelineRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -std::string ListCoverPipelineRequest::getState() const { - return state_; -} - -void ListCoverPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string ListCoverPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListCoverPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListCoverPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListCoverPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListCoverPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void ListCoverPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ListCoverPipelineResult.cc b/mts/src/model/ListCoverPipelineResult.cc deleted file mode 100644 index f67f73457..000000000 --- a/mts/src/model/ListCoverPipelineResult.cc +++ /dev/null @@ -1,96 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListCoverPipelineResult::ListCoverPipelineResult() : - ServiceResult() -{} - -ListCoverPipelineResult::ListCoverPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListCoverPipelineResult::~ListCoverPipelineResult() -{} - -void ListCoverPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["quotaNum"].isNull()) - pipelineListObject.quotaNum = std::stoi(valuePipelineListPipeline["quotaNum"].asString()); - if(!valuePipelineListPipeline["UserId"].isNull()) - pipelineListObject.userId = std::stol(valuePipelineListPipeline["UserId"].asString()); - if(!valuePipelineListPipeline["NotifyConfig"].isNull()) - pipelineListObject.notifyConfig = valuePipelineListPipeline["NotifyConfig"].asString(); - if(!valuePipelineListPipeline["ExtendConfig"].isNull()) - pipelineListObject.extendConfig = valuePipelineListPipeline["ExtendConfig"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Role"].isNull()) - pipelineListObject.role = valuePipelineListPipeline["Role"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["PipelineId"].isNull()) - pipelineListObject.pipelineId = valuePipelineListPipeline["PipelineId"].asString(); - if(!valuePipelineListPipeline["quotaUsed"].isNull()) - pipelineListObject.quotaUsed = std::stoi(valuePipelineListPipeline["quotaUsed"].asString()); - pipelineList_.push_back(pipelineListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - -} - -long ListCoverPipelineResult::getTotalCount()const -{ - return totalCount_; -} - -long ListCoverPipelineResult::getPageSize()const -{ - return pageSize_; -} - -long ListCoverPipelineResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListCoverPipelineResult::getPipelineList()const -{ - return pipelineList_; -} - diff --git a/mts/src/model/ListCustomEntitiesRequest.cc b/mts/src/model/ListCustomEntitiesRequest.cc new file mode 100644 index 000000000..c50eb780f --- /dev/null +++ b/mts/src/model/ListCustomEntitiesRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::ListCustomEntitiesRequest; + +ListCustomEntitiesRequest::ListCustomEntitiesRequest() + : RpcServiceRequest("mts", "2014-06-18", "ListCustomEntities") { + setMethod(HttpRequest::Method::Post); +} + +ListCustomEntitiesRequest::~ListCustomEntitiesRequest() {} + +long ListCustomEntitiesRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void ListCustomEntitiesRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +int ListCustomEntitiesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListCustomEntitiesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListCustomEntitiesRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListCustomEntitiesRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +int ListCustomEntitiesRequest::getPageSize() const { + return pageSize_; +} + +void ListCustomEntitiesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListCustomEntitiesRequest::getAlgorithm() const { + return algorithm_; +} + +void ListCustomEntitiesRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string ListCustomEntitiesRequest::getCustomGroupId() const { + return customGroupId_; +} + +void ListCustomEntitiesRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string ListCustomEntitiesRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void ListCustomEntitiesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string ListCustomEntitiesRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void ListCustomEntitiesRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long ListCustomEntitiesRequest::getOwnerId() const { + return ownerId_; +} + +void ListCustomEntitiesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/mts/src/model/ListCustomEntitiesResult.cc b/mts/src/model/ListCustomEntitiesResult.cc new file mode 100644 index 000000000..a077af010 --- /dev/null +++ b/mts/src/model/ListCustomEntitiesResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +ListCustomEntitiesResult::ListCustomEntitiesResult() : + ServiceResult() +{} + +ListCustomEntitiesResult::ListCustomEntitiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCustomEntitiesResult::~ListCustomEntitiesResult() +{} + +void ListCustomEntitiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCustomEntitiesNode = value["CustomEntities"]["CustomEntity"]; + for (auto valueCustomEntitiesCustomEntity : allCustomEntitiesNode) + { + CustomEntity customEntitiesObject; + if(!valueCustomEntitiesCustomEntity["CustomEntityId"].isNull()) + customEntitiesObject.customEntityId = valueCustomEntitiesCustomEntity["CustomEntityId"].asString(); + if(!valueCustomEntitiesCustomEntity["CustomEntityName"].isNull()) + customEntitiesObject.customEntityName = valueCustomEntitiesCustomEntity["CustomEntityName"].asString(); + if(!valueCustomEntitiesCustomEntity["CustomEntityInfo"].isNull()) + customEntitiesObject.customEntityInfo = valueCustomEntitiesCustomEntity["CustomEntityInfo"].asString(); + customEntities_.push_back(customEntitiesObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListCustomEntitiesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListCustomEntitiesResult::getCustomEntities()const +{ + return customEntities_; +} + +int ListCustomEntitiesResult::getPageSize()const +{ + return pageSize_; +} + +int ListCustomEntitiesResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/mts/src/model/ListPornPipelineRequest.cc b/mts/src/model/ListCustomGroupsRequest.cc similarity index 53% rename from mts/src/model/ListPornPipelineRequest.cc rename to mts/src/model/ListCustomGroupsRequest.cc index 889664594..597f60239 100644 --- a/mts/src/model/ListPornPipelineRequest.cc +++ b/mts/src/model/ListCustomGroupsRequest.cc @@ -14,85 +14,85 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Mts::Model::ListPornPipelineRequest; +using AlibabaCloud::Mts::Model::ListCustomGroupsRequest; -ListPornPipelineRequest::ListPornPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListPornPipeline") { +ListCustomGroupsRequest::ListCustomGroupsRequest() + : RpcServiceRequest("mts", "2014-06-18", "ListCustomGroups") { setMethod(HttpRequest::Method::Post); } -ListPornPipelineRequest::~ListPornPipelineRequest() {} +ListCustomGroupsRequest::~ListCustomGroupsRequest() {} -long ListPornPipelineRequest::getResourceOwnerId() const { +long ListCustomGroupsRequest::getResourceOwnerId() const { return resourceOwnerId_; } -void ListPornPipelineRequest::setResourceOwnerId(long resourceOwnerId) { +void ListCustomGroupsRequest::setResourceOwnerId(long resourceOwnerId) { resourceOwnerId_ = resourceOwnerId; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -long ListPornPipelineRequest::getPageNumber() const { +int ListCustomGroupsRequest::getPageNumber() const { return pageNumber_; } -void ListPornPipelineRequest::setPageNumber(long pageNumber) { +void ListCustomGroupsRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -std::string ListPornPipelineRequest::getAccessKeyId() const { +std::string ListCustomGroupsRequest::getAccessKeyId() const { return accessKeyId_; } -void ListPornPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { +void ListCustomGroupsRequest::setAccessKeyId(const std::string &accessKeyId) { accessKeyId_ = accessKeyId; setParameter(std::string("AccessKeyId"), accessKeyId); } -long ListPornPipelineRequest::getPageSize() const { +int ListCustomGroupsRequest::getPageSize() const { return pageSize_; } -void ListPornPipelineRequest::setPageSize(long pageSize) { +void ListCustomGroupsRequest::setPageSize(int pageSize) { pageSize_ = pageSize; setParameter(std::string("PageSize"), std::to_string(pageSize)); } -std::string ListPornPipelineRequest::getState() const { - return state_; +std::string ListCustomGroupsRequest::getAlgorithm() const { + return algorithm_; } -void ListPornPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); +void ListCustomGroupsRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); } -std::string ListPornPipelineRequest::getResourceOwnerAccount() const { +std::string ListCustomGroupsRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } -void ListPornPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { +void ListCustomGroupsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { resourceOwnerAccount_ = resourceOwnerAccount; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -std::string ListPornPipelineRequest::getOwnerAccount() const { +std::string ListCustomGroupsRequest::getOwnerAccount() const { return ownerAccount_; } -void ListPornPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { +void ListCustomGroupsRequest::setOwnerAccount(const std::string &ownerAccount) { ownerAccount_ = ownerAccount; setParameter(std::string("OwnerAccount"), ownerAccount); } -long ListPornPipelineRequest::getOwnerId() const { +long ListCustomGroupsRequest::getOwnerId() const { return ownerId_; } -void ListPornPipelineRequest::setOwnerId(long ownerId) { +void ListCustomGroupsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/mts/src/model/ListCustomGroupsResult.cc b/mts/src/model/ListCustomGroupsResult.cc new file mode 100644 index 000000000..36f37f9ee --- /dev/null +++ b/mts/src/model/ListCustomGroupsResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +ListCustomGroupsResult::ListCustomGroupsResult() : + ServiceResult() +{} + +ListCustomGroupsResult::ListCustomGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCustomGroupsResult::~ListCustomGroupsResult() +{} + +void ListCustomGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCustomGroupsNode = value["CustomGroups"]["CustomGroup"]; + for (auto valueCustomGroupsCustomGroup : allCustomGroupsNode) + { + CustomGroup customGroupsObject; + if(!valueCustomGroupsCustomGroup["CustomGroupId"].isNull()) + customGroupsObject.customGroupId = valueCustomGroupsCustomGroup["CustomGroupId"].asString(); + if(!valueCustomGroupsCustomGroup["CustomGroupName"].isNull()) + customGroupsObject.customGroupName = valueCustomGroupsCustomGroup["CustomGroupName"].asString(); + if(!valueCustomGroupsCustomGroup["CustomGroupDescription"].isNull()) + customGroupsObject.customGroupDescription = valueCustomGroupsCustomGroup["CustomGroupDescription"].asString(); + customGroups_.push_back(customGroupsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListCustomGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +int ListCustomGroupsResult::getPageSize()const +{ + return pageSize_; +} + +std::vector ListCustomGroupsResult::getCustomGroups()const +{ + return customGroups_; +} + +int ListCustomGroupsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/mts/src/model/ListCustomViewsRequest.cc b/mts/src/model/ListCustomViewsRequest.cc new file mode 100644 index 000000000..282a7631e --- /dev/null +++ b/mts/src/model/ListCustomViewsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::ListCustomViewsRequest; + +ListCustomViewsRequest::ListCustomViewsRequest() + : RpcServiceRequest("mts", "2014-06-18", "ListCustomViews") { + setMethod(HttpRequest::Method::Post); +} + +ListCustomViewsRequest::~ListCustomViewsRequest() {} + +long ListCustomViewsRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void ListCustomViewsRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +int ListCustomViewsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListCustomViewsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListCustomViewsRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListCustomViewsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +int ListCustomViewsRequest::getPageSize() const { + return pageSize_; +} + +void ListCustomViewsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListCustomViewsRequest::getAlgorithm() const { + return algorithm_; +} + +void ListCustomViewsRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string ListCustomViewsRequest::getCustomGroupId() const { + return customGroupId_; +} + +void ListCustomViewsRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string ListCustomViewsRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void ListCustomViewsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string ListCustomViewsRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void ListCustomViewsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string ListCustomViewsRequest::getCustomEntityId() const { + return customEntityId_; +} + +void ListCustomViewsRequest::setCustomEntityId(const std::string &customEntityId) { + customEntityId_ = customEntityId; + setParameter(std::string("CustomEntityId"), customEntityId); +} + +long ListCustomViewsRequest::getOwnerId() const { + return ownerId_; +} + +void ListCustomViewsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/mts/src/model/ListCustomViewsResult.cc b/mts/src/model/ListCustomViewsResult.cc new file mode 100644 index 000000000..a53ff8d39 --- /dev/null +++ b/mts/src/model/ListCustomViewsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +ListCustomViewsResult::ListCustomViewsResult() : + ServiceResult() +{} + +ListCustomViewsResult::ListCustomViewsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCustomViewsResult::~ListCustomViewsResult() +{} + +void ListCustomViewsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCustomViewsNode = value["CustomViews"]["CustomView"]; + for (auto valueCustomViewsCustomView : allCustomViewsNode) + { + CustomView customViewsObject; + if(!valueCustomViewsCustomView["CustomViewId"].isNull()) + customViewsObject.customViewId = valueCustomViewsCustomView["CustomViewId"].asString(); + if(!valueCustomViewsCustomView["ImageUrl"].isNull()) + customViewsObject.imageUrl = valueCustomViewsCustomView["ImageUrl"].asString(); + customViews_.push_back(customViewsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListCustomViewsResult::getTotalCount()const +{ + return totalCount_; +} + +int ListCustomViewsResult::getPageSize()const +{ + return pageSize_; +} + +int ListCustomViewsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListCustomViewsResult::getCustomViews()const +{ + return customViews_; +} + diff --git a/mts/src/model/ListFpShotDBResult.cc b/mts/src/model/ListFpShotDBResult.cc index 47ea0e1db..23a8d620e 100644 --- a/mts/src/model/ListFpShotDBResult.cc +++ b/mts/src/model/ListFpShotDBResult.cc @@ -53,6 +53,8 @@ void ListFpShotDBResult::parse(const std::string &payload) fpShotDBListObject.modelId = std::stoi(valueFpShotDBListFpShotDB["ModelId"].asString()); if(!valueFpShotDBListFpShotDB["FpDBId"].isNull()) fpShotDBListObject.fpDBId = valueFpShotDBListFpShotDB["FpDBId"].asString(); + if(!valueFpShotDBListFpShotDB["InstanceId"].isNull()) + fpShotDBListObject.instanceId = valueFpShotDBListFpShotDB["InstanceId"].asString(); fpShotDBList_.push_back(fpShotDBListObject); } auto allNonExistIds = value["NonExistIds"]["String"]; diff --git a/mts/src/model/ListFpShotFilesRequest.cc b/mts/src/model/ListFpShotFilesRequest.cc index 33c2a9531..2cb42a9b6 100644 --- a/mts/src/model/ListFpShotFilesRequest.cc +++ b/mts/src/model/ListFpShotFilesRequest.cc @@ -52,6 +52,15 @@ void ListFpShotFilesRequest::setNextPageToken(const std::string &nextPageToken) setParameter(std::string("NextPageToken"), nextPageToken); } +std::string ListFpShotFilesRequest::getStartTime() const { + return startTime_; +} + +void ListFpShotFilesRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + std::string ListFpShotFilesRequest::getAccessKeyId() const { return accessKeyId_; } @@ -88,6 +97,15 @@ void ListFpShotFilesRequest::setOwnerAccount(const std::string &ownerAccount) { setParameter(std::string("OwnerAccount"), ownerAccount); } +std::string ListFpShotFilesRequest::getEndTime() const { + return endTime_; +} + +void ListFpShotFilesRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + long ListFpShotFilesRequest::getOwnerId() const { return ownerId_; } diff --git a/mts/src/model/ListFpShotFilesResult.cc b/mts/src/model/ListFpShotFilesResult.cc index b4fb1ed58..7283f2932 100644 --- a/mts/src/model/ListFpShotFilesResult.cc +++ b/mts/src/model/ListFpShotFilesResult.cc @@ -47,6 +47,8 @@ void ListFpShotFilesResult::parse(const std::string &payload) fpShotFileListObject.primaryKey = valueFpShotFileListFpShotFile["PrimaryKey"].asString(); if(!valueFpShotFileListFpShotFile["FileId"].isNull()) fpShotFileListObject.fileId = valueFpShotFileListFpShotFile["FileId"].asString(); + if(!valueFpShotFileListFpShotFile["StoreTime"].isNull()) + fpShotFileListObject.storeTime = valueFpShotFileListFpShotFile["StoreTime"].asString(); auto inputFileNode = value["InputFile"]; if(!inputFileNode["Object"].isNull()) fpShotFileListObject.inputFile.object = inputFileNode["Object"].asString(); diff --git a/mts/src/model/QueryComplexJobListRequest.cc b/mts/src/model/ListFpShotImportJobRequest.cc similarity index 57% rename from mts/src/model/QueryComplexJobListRequest.cc rename to mts/src/model/ListFpShotImportJobRequest.cc index 89620aff5..d17220580 100644 --- a/mts/src/model/QueryComplexJobListRequest.cc +++ b/mts/src/model/ListFpShotImportJobRequest.cc @@ -14,67 +14,67 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Mts::Model::QueryComplexJobListRequest; +using AlibabaCloud::Mts::Model::ListFpShotImportJobRequest; -QueryComplexJobListRequest::QueryComplexJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryComplexJobList") { +ListFpShotImportJobRequest::ListFpShotImportJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "ListFpShotImportJob") { setMethod(HttpRequest::Method::Post); } -QueryComplexJobListRequest::~QueryComplexJobListRequest() {} +ListFpShotImportJobRequest::~ListFpShotImportJobRequest() {} -long QueryComplexJobListRequest::getResourceOwnerId() const { +long ListFpShotImportJobRequest::getResourceOwnerId() const { return resourceOwnerId_; } -void QueryComplexJobListRequest::setResourceOwnerId(long resourceOwnerId) { +void ListFpShotImportJobRequest::setResourceOwnerId(long resourceOwnerId) { resourceOwnerId_ = resourceOwnerId; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -std::string QueryComplexJobListRequest::getResourceOwnerAccount() const { +std::string ListFpShotImportJobRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } -void QueryComplexJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { +void ListFpShotImportJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { resourceOwnerAccount_ = resourceOwnerAccount; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -std::string QueryComplexJobListRequest::getOwnerAccount() const { +std::string ListFpShotImportJobRequest::getOwnerAccount() const { return ownerAccount_; } -void QueryComplexJobListRequest::setOwnerAccount(const std::string &ownerAccount) { +void ListFpShotImportJobRequest::setOwnerAccount(const std::string &ownerAccount) { ownerAccount_ = ownerAccount; setParameter(std::string("OwnerAccount"), ownerAccount); } -long QueryComplexJobListRequest::getOwnerId() const { +long ListFpShotImportJobRequest::getOwnerId() const { return ownerId_; } -void QueryComplexJobListRequest::setOwnerId(long ownerId) { +void ListFpShotImportJobRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -std::string QueryComplexJobListRequest::getAccessKeyId() const { +std::string ListFpShotImportJobRequest::getAccessKeyId() const { return accessKeyId_; } -void QueryComplexJobListRequest::setAccessKeyId(const std::string &accessKeyId) { +void ListFpShotImportJobRequest::setAccessKeyId(const std::string &accessKeyId) { accessKeyId_ = accessKeyId; setParameter(std::string("AccessKeyId"), accessKeyId); } -std::string QueryComplexJobListRequest::getJobIds() const { +std::string ListFpShotImportJobRequest::getJobIds() const { return jobIds_; } -void QueryComplexJobListRequest::setJobIds(const std::string &jobIds) { +void ListFpShotImportJobRequest::setJobIds(const std::string &jobIds) { jobIds_ = jobIds; setParameter(std::string("JobIds"), jobIds); } diff --git a/mts/src/model/ListFpShotImportJobResult.cc b/mts/src/model/ListFpShotImportJobResult.cc new file mode 100644 index 000000000..779ee8a84 --- /dev/null +++ b/mts/src/model/ListFpShotImportJobResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +ListFpShotImportJobResult::ListFpShotImportJobResult() : + ServiceResult() +{} + +ListFpShotImportJobResult::ListFpShotImportJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFpShotImportJobResult::~ListFpShotImportJobResult() +{} + +void ListFpShotImportJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFpShotImportJobListNode = value["FpShotImportJobList"]["FpShotImportJob"]; + for (auto valueFpShotImportJobListFpShotImportJob : allFpShotImportJobListNode) + { + FpShotImportJob fpShotImportJobListObject; + if(!valueFpShotImportJobListFpShotImportJob["Id"].isNull()) + fpShotImportJobListObject.id = valueFpShotImportJobListFpShotImportJob["Id"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["FpDBId"].isNull()) + fpShotImportJobListObject.fpDBId = valueFpShotImportJobListFpShotImportJob["FpDBId"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["PipelineId"].isNull()) + fpShotImportJobListObject.pipelineId = valueFpShotImportJobListFpShotImportJob["PipelineId"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["FpImportConfig"].isNull()) + fpShotImportJobListObject.fpImportConfig = valueFpShotImportJobListFpShotImportJob["FpImportConfig"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["Status"].isNull()) + fpShotImportJobListObject.status = valueFpShotImportJobListFpShotImportJob["Status"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["Code"].isNull()) + fpShotImportJobListObject.code = valueFpShotImportJobListFpShotImportJob["Code"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["Message"].isNull()) + fpShotImportJobListObject.message = valueFpShotImportJobListFpShotImportJob["Message"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["CreateTime"].isNull()) + fpShotImportJobListObject.createTime = valueFpShotImportJobListFpShotImportJob["CreateTime"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["FinishTime"].isNull()) + fpShotImportJobListObject.finishTime = valueFpShotImportJobListFpShotImportJob["FinishTime"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["UserData"].isNull()) + fpShotImportJobListObject.userData = valueFpShotImportJobListFpShotImportJob["UserData"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["Input"].isNull()) + fpShotImportJobListObject.input = valueFpShotImportJobListFpShotImportJob["Input"].asString(); + if(!valueFpShotImportJobListFpShotImportJob["ProcessMessage"].isNull()) + fpShotImportJobListObject.processMessage = valueFpShotImportJobListFpShotImportJob["ProcessMessage"].asString(); + fpShotImportJobList_.push_back(fpShotImportJobListObject); + } + auto allNonExistIds = value["NonExistIds"]["String"]; + for (const auto &item : allNonExistIds) + nonExistIds_.push_back(item.asString()); + +} + +std::vector ListFpShotImportJobResult::getFpShotImportJobList()const +{ + return fpShotImportJobList_; +} + +std::vector ListFpShotImportJobResult::getNonExistIds()const +{ + return nonExistIds_; +} + diff --git a/mts/src/model/ListFpShotNotaryRequest.cc b/mts/src/model/ListFpShotNotaryRequest.cc deleted file mode 100644 index 9908a7a5f..000000000 --- a/mts/src/model/ListFpShotNotaryRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::ListFpShotNotaryRequest; - -ListFpShotNotaryRequest::ListFpShotNotaryRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListFpShotNotary") { - setMethod(HttpRequest::Method::Post); -} - -ListFpShotNotaryRequest::~ListFpShotNotaryRequest() {} - -long ListFpShotNotaryRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListFpShotNotaryRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ListFpShotNotaryRequest::getFpDBId() const { - return fpDBId_; -} - -void ListFpShotNotaryRequest::setFpDBId(const std::string &fpDBId) { - fpDBId_ = fpDBId; - setParameter(std::string("FpDBId"), fpDBId); -} - -std::string ListFpShotNotaryRequest::getNextPageToken() const { - return nextPageToken_; -} - -void ListFpShotNotaryRequest::setNextPageToken(const std::string &nextPageToken) { - nextPageToken_ = nextPageToken; - setParameter(std::string("NextPageToken"), nextPageToken); -} - -std::string ListFpShotNotaryRequest::getStartOfCreatedTimeRange() const { - return startOfCreatedTimeRange_; -} - -void ListFpShotNotaryRequest::setStartOfCreatedTimeRange(const std::string &startOfCreatedTimeRange) { - startOfCreatedTimeRange_ = startOfCreatedTimeRange; - setParameter(std::string("StartOfCreatedTimeRange"), startOfCreatedTimeRange); -} - -std::string ListFpShotNotaryRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListFpShotNotaryRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ListFpShotNotaryRequest::getEndOfCreatedTimeRange() const { - return endOfCreatedTimeRange_; -} - -void ListFpShotNotaryRequest::setEndOfCreatedTimeRange(const std::string &endOfCreatedTimeRange) { - endOfCreatedTimeRange_ = endOfCreatedTimeRange; - setParameter(std::string("EndOfCreatedTimeRange"), endOfCreatedTimeRange); -} - -std::string ListFpShotNotaryRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListFpShotNotaryRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListFpShotNotaryRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListFpShotNotaryRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListFpShotNotaryRequest::getMaximumPageSize() const { - return maximumPageSize_; -} - -void ListFpShotNotaryRequest::setMaximumPageSize(long maximumPageSize) { - maximumPageSize_ = maximumPageSize; - setParameter(std::string("MaximumPageSize"), std::to_string(maximumPageSize)); -} - -long ListFpShotNotaryRequest::getOwnerId() const { - return ownerId_; -} - -void ListFpShotNotaryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ListFpShotNotaryResult.cc b/mts/src/model/ListFpShotNotaryResult.cc deleted file mode 100644 index de90f88bc..000000000 --- a/mts/src/model/ListFpShotNotaryResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListFpShotNotaryResult::ListFpShotNotaryResult() : - ServiceResult() -{} - -ListFpShotNotaryResult::ListFpShotNotaryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFpShotNotaryResult::~ListFpShotNotaryResult() -{} - -void ListFpShotNotaryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allFpShotNotaryListNode = value["FpShotNotaryList"]["FpShotNotary"]; - for (auto valueFpShotNotaryListFpShotNotary : allFpShotNotaryListNode) - { - FpShotNotary fpShotNotaryListObject; - if(!valueFpShotNotaryListFpShotNotary["CreationTime"].isNull()) - fpShotNotaryListObject.creationTime = valueFpShotNotaryListFpShotNotary["CreationTime"].asString(); - if(!valueFpShotNotaryListFpShotNotary["FinishTime"].isNull()) - fpShotNotaryListObject.finishTime = valueFpShotNotaryListFpShotNotary["FinishTime"].asString(); - if(!valueFpShotNotaryListFpShotNotary["JobId"].isNull()) - fpShotNotaryListObject.jobId = valueFpShotNotaryListFpShotNotary["JobId"].asString(); - if(!valueFpShotNotaryListFpShotNotary["TxHash"].isNull()) - fpShotNotaryListObject.txHash = valueFpShotNotaryListFpShotNotary["TxHash"].asString(); - if(!valueFpShotNotaryListFpShotNotary["TransactionId"].isNull()) - fpShotNotaryListObject.transactionId = valueFpShotNotaryListFpShotNotary["TransactionId"].asString(); - if(!valueFpShotNotaryListFpShotNotary["FpDBId"].isNull()) - fpShotNotaryListObject.fpDBId = valueFpShotNotaryListFpShotNotary["FpDBId"].asString(); - if(!valueFpShotNotaryListFpShotNotary["Detail"].isNull()) - fpShotNotaryListObject.detail = valueFpShotNotaryListFpShotNotary["Detail"].asString(); - fpShotNotaryList_.push_back(fpShotNotaryListObject); - } - if(!value["NextPageToken"].isNull()) - nextPageToken_ = value["NextPageToken"].asString(); - -} - -std::vector ListFpShotNotaryResult::getFpShotNotaryList()const -{ - return fpShotNotaryList_; -} - -std::string ListFpShotNotaryResult::getNextPageToken()const -{ - return nextPageToken_; -} - diff --git a/mts/src/model/ListInferenceJobRequest.cc b/mts/src/model/ListInferenceJobRequest.cc deleted file mode 100644 index b1bf5f76a..000000000 --- a/mts/src/model/ListInferenceJobRequest.cc +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ListInferenceJobRequest; - -ListInferenceJobRequest::ListInferenceJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListInferenceJob") { - setMethod(HttpRequest::Method::Post); -} - -ListInferenceJobRequest::~ListInferenceJobRequest() {} - -long ListInferenceJobRequest::getMaxPageSize() const { - return maxPageSize_; -} - -void ListInferenceJobRequest::setMaxPageSize(long maxPageSize) { - maxPageSize_ = maxPageSize; - setParameter(std::string("MaxPageSize"), std::to_string(maxPageSize)); -} - -long ListInferenceJobRequest::getPageNumber() const { - return pageNumber_; -} - -void ListInferenceJobRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string ListInferenceJobRequest::getServerName() const { - return serverName_; -} - -void ListInferenceJobRequest::setServerName(const std::string &serverName) { - serverName_ = serverName; - setParameter(std::string("ServerName"), serverName); -} - diff --git a/mts/src/model/ListInferenceJobResult.cc b/mts/src/model/ListInferenceJobResult.cc deleted file mode 100644 index 4a587bfae..000000000 --- a/mts/src/model/ListInferenceJobResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListInferenceJobResult::ListInferenceJobResult() : - ServiceResult() -{} - -ListInferenceJobResult::ListInferenceJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListInferenceJobResult::~ListInferenceJobResult() -{} - -void ListInferenceJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobsNode = value["Jobs"]["JobsItem"]; - for (auto valueJobsJobsItem : allJobsNode) - { - JobsItem jobsObject; - if(!valueJobsJobsItem["Status"].isNull()) - jobsObject.status = valueJobsJobsItem["Status"].asString(); - if(!valueJobsJobsItem["Result"].isNull()) - jobsObject.result = valueJobsJobsItem["Result"].asString(); - if(!valueJobsJobsItem["JobId"].isNull()) - jobsObject.jobId = valueJobsJobsItem["JobId"].asString(); - if(!valueJobsJobsItem["UserId"].isNull()) - jobsObject.userId = std::stol(valueJobsJobsItem["UserId"].asString()); - if(!valueJobsJobsItem["Message"].isNull()) - jobsObject.message = valueJobsJobsItem["Message"].asString(); - if(!valueJobsJobsItem["JobTime"].isNull()) - jobsObject.jobTime = std::stol(valueJobsJobsItem["JobTime"].asString()); - if(!valueJobsJobsItem["JobParams"].isNull()) - jobsObject.jobParams = valueJobsJobsItem["JobParams"].asString(); - jobs_.push_back(jobsObject); - } - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["TotalSize"].isNull()) - totalSize_ = std::stol(value["TotalSize"].asString()); - -} - -std::string ListInferenceJobResult::getMessage()const -{ - return message_; -} - -std::vector ListInferenceJobResult::getJobs()const -{ - return jobs_; -} - -long ListInferenceJobResult::getTotalSize()const -{ - return totalSize_; -} - -std::string ListInferenceJobResult::getCode()const -{ - return code_; -} - diff --git a/mts/src/model/ListMediaRequest.cc b/mts/src/model/ListMediaRequest.cc deleted file mode 100644 index 3f8be8d16..000000000 --- a/mts/src/model/ListMediaRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::ListMediaRequest; - -ListMediaRequest::ListMediaRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListMedia") { - setMethod(HttpRequest::Method::Post); -} - -ListMediaRequest::~ListMediaRequest() {} - -long ListMediaRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListMediaRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ListMediaRequest::getNextPageToken() const { - return nextPageToken_; -} - -void ListMediaRequest::setNextPageToken(const std::string &nextPageToken) { - nextPageToken_ = nextPageToken; - setParameter(std::string("NextPageToken"), nextPageToken); -} - -std::string ListMediaRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListMediaRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ListMediaRequest::getFrom() const { - return from_; -} - -void ListMediaRequest::setFrom(const std::string &from) { - from_ = from; - setParameter(std::string("From"), from); -} - -std::string ListMediaRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListMediaRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListMediaRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListMediaRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListMediaRequest::getMaximumPageSize() const { - return maximumPageSize_; -} - -void ListMediaRequest::setMaximumPageSize(long maximumPageSize) { - maximumPageSize_ = maximumPageSize; - setParameter(std::string("MaximumPageSize"), std::to_string(maximumPageSize)); -} - -long ListMediaRequest::getOwnerId() const { - return ownerId_; -} - -void ListMediaRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string ListMediaRequest::getTo() const { - return to_; -} - -void ListMediaRequest::setTo(const std::string &to) { - to_ = to; - setParameter(std::string("To"), to); -} - diff --git a/mts/src/model/ListMediaResult.cc b/mts/src/model/ListMediaResult.cc deleted file mode 100644 index 674338780..000000000 --- a/mts/src/model/ListMediaResult.cc +++ /dev/null @@ -1,103 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListMediaResult::ListMediaResult() : - ServiceResult() -{} - -ListMediaResult::ListMediaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListMediaResult::~ListMediaResult() -{} - -void ListMediaResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allMediaListNode = value["MediaList"]["Media"]; - for (auto valueMediaListMedia : allMediaListNode) - { - Media mediaListObject; - if(!valueMediaListMedia["CreationTime"].isNull()) - mediaListObject.creationTime = valueMediaListMedia["CreationTime"].asString(); - if(!valueMediaListMedia["CateId"].isNull()) - mediaListObject.cateId = std::stol(valueMediaListMedia["CateId"].asString()); - if(!valueMediaListMedia["Height"].isNull()) - mediaListObject.height = valueMediaListMedia["Height"].asString(); - if(!valueMediaListMedia["CensorState"].isNull()) - mediaListObject.censorState = valueMediaListMedia["CensorState"].asString(); - if(!valueMediaListMedia["Bitrate"].isNull()) - mediaListObject.bitrate = valueMediaListMedia["Bitrate"].asString(); - if(!valueMediaListMedia["MediaId"].isNull()) - mediaListObject.mediaId = valueMediaListMedia["MediaId"].asString(); - if(!valueMediaListMedia["PublishState"].isNull()) - mediaListObject.publishState = valueMediaListMedia["PublishState"].asString(); - if(!valueMediaListMedia["Description"].isNull()) - mediaListObject.description = valueMediaListMedia["Description"].asString(); - if(!valueMediaListMedia["Width"].isNull()) - mediaListObject.width = valueMediaListMedia["Width"].asString(); - if(!valueMediaListMedia["Size"].isNull()) - mediaListObject.size = valueMediaListMedia["Size"].asString(); - if(!valueMediaListMedia["CoverURL"].isNull()) - mediaListObject.coverURL = valueMediaListMedia["CoverURL"].asString(); - if(!valueMediaListMedia["Duration"].isNull()) - mediaListObject.duration = valueMediaListMedia["Duration"].asString(); - if(!valueMediaListMedia["Fps"].isNull()) - mediaListObject.fps = valueMediaListMedia["Fps"].asString(); - if(!valueMediaListMedia["Title"].isNull()) - mediaListObject.title = valueMediaListMedia["Title"].asString(); - if(!valueMediaListMedia["Format"].isNull()) - mediaListObject.format = valueMediaListMedia["Format"].asString(); - auto fileNode = value["File"]; - if(!fileNode["State"].isNull()) - mediaListObject.file.state = fileNode["State"].asString(); - if(!fileNode["URL"].isNull()) - mediaListObject.file.uRL = fileNode["URL"].asString(); - auto allTags = value["Tags"]["Tag"]; - for (auto value : allTags) - mediaListObject.tags.push_back(value.asString()); - auto allRunIdList = value["RunIdList"]["RunId"]; - for (auto value : allRunIdList) - mediaListObject.runIdList.push_back(value.asString()); - mediaList_.push_back(mediaListObject); - } - if(!value["NextPageToken"].isNull()) - nextPageToken_ = value["NextPageToken"].asString(); - -} - -std::vector ListMediaResult::getMediaList()const -{ - return mediaList_; -} - -std::string ListMediaResult::getNextPageToken()const -{ - return nextPageToken_; -} - diff --git a/mts/src/model/ListPornPipelineResult.cc b/mts/src/model/ListPornPipelineResult.cc deleted file mode 100644 index e2aed2178..000000000 --- a/mts/src/model/ListPornPipelineResult.cc +++ /dev/null @@ -1,89 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListPornPipelineResult::ListPornPipelineResult() : - ServiceResult() -{} - -ListPornPipelineResult::ListPornPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListPornPipelineResult::~ListPornPipelineResult() -{} - -void ListPornPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - -} - -long ListPornPipelineResult::getTotalCount()const -{ - return totalCount_; -} - -long ListPornPipelineResult::getPageSize()const -{ - return pageSize_; -} - -long ListPornPipelineResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListPornPipelineResult::getPipelineList()const -{ - return pipelineList_; -} - diff --git a/mts/src/model/ListTerrorismPipelineRequest.cc b/mts/src/model/ListTerrorismPipelineRequest.cc deleted file mode 100644 index faae5c2ba..000000000 --- a/mts/src/model/ListTerrorismPipelineRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ListTerrorismPipelineRequest; - -ListTerrorismPipelineRequest::ListTerrorismPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "ListTerrorismPipeline") { - setMethod(HttpRequest::Method::Post); -} - -ListTerrorismPipelineRequest::~ListTerrorismPipelineRequest() {} - -long ListTerrorismPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ListTerrorismPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -long ListTerrorismPipelineRequest::getPageNumber() const { - return pageNumber_; -} - -void ListTerrorismPipelineRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string ListTerrorismPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ListTerrorismPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long ListTerrorismPipelineRequest::getPageSize() const { - return pageSize_; -} - -void ListTerrorismPipelineRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -std::string ListTerrorismPipelineRequest::getState() const { - return state_; -} - -void ListTerrorismPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string ListTerrorismPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ListTerrorismPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ListTerrorismPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ListTerrorismPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ListTerrorismPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void ListTerrorismPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ListTerrorismPipelineResult.cc b/mts/src/model/ListTerrorismPipelineResult.cc deleted file mode 100644 index 163824e6a..000000000 --- a/mts/src/model/ListTerrorismPipelineResult.cc +++ /dev/null @@ -1,89 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ListTerrorismPipelineResult::ListTerrorismPipelineResult() : - ServiceResult() -{} - -ListTerrorismPipelineResult::ListTerrorismPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTerrorismPipelineResult::~ListTerrorismPipelineResult() -{} - -void ListTerrorismPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - -} - -long ListTerrorismPipelineResult::getTotalCount()const -{ - return totalCount_; -} - -long ListTerrorismPipelineResult::getPageSize()const -{ - return pageSize_; -} - -long ListTerrorismPipelineResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListTerrorismPipelineResult::getPipelineList()const -{ - return pipelineList_; -} - diff --git a/mts/src/model/LogicalDeleteResourceRequest.cc b/mts/src/model/LogicalDeleteResourceRequest.cc deleted file mode 100644 index 644f5adbc..000000000 --- a/mts/src/model/LogicalDeleteResourceRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Mts::Model::LogicalDeleteResourceRequest; - -LogicalDeleteResourceRequest::LogicalDeleteResourceRequest() - : RpcServiceRequest("mts", "2014-06-18", "LogicalDeleteResource") { - setMethod(HttpRequest::Method::Post); -} - -LogicalDeleteResourceRequest::~LogicalDeleteResourceRequest() {} - -std::string LogicalDeleteResourceRequest::getCountry() const { - return country_; -} - -void LogicalDeleteResourceRequest::setCountry(const std::string &country) { - country_ = country; - setParameter(std::string("Country"), country); -} - -long LogicalDeleteResourceRequest::getHid() const { - return hid_; -} - -void LogicalDeleteResourceRequest::setHid(long hid) { - hid_ = hid; - setParameter(std::string("Hid"), std::to_string(hid)); -} - -std::string LogicalDeleteResourceRequest::getInvoker() const { - return invoker_; -} - -void LogicalDeleteResourceRequest::setInvoker(const std::string &invoker) { - invoker_ = invoker; - setParameter(std::string("Invoker"), invoker); -} - -std::string LogicalDeleteResourceRequest::getMessage() const { - return message_; -} - -void LogicalDeleteResourceRequest::setMessage(const std::string &message) { - message_ = message; - setParameter(std::string("Message"), message); -} - -bool LogicalDeleteResourceRequest::getSuccess() const { - return success_; -} - -void LogicalDeleteResourceRequest::setSuccess(bool success) { - success_ = success; - setParameter(std::string("Success"), success ? "true" : "false"); -} - -bool LogicalDeleteResourceRequest::getInterrupt() const { - return interrupt_; -} - -void LogicalDeleteResourceRequest::setInterrupt(bool interrupt) { - interrupt_ = interrupt; - setParameter(std::string("Interrupt"), interrupt ? "true" : "false"); -} - -std::string LogicalDeleteResourceRequest::getGmtWakeup() const { - return gmtWakeup_; -} - -void LogicalDeleteResourceRequest::setGmtWakeup(const std::string &gmtWakeup) { - gmtWakeup_ = gmtWakeup; - setParameter(std::string("GmtWakeup"), gmtWakeup); -} - -std::string LogicalDeleteResourceRequest::getPk() const { - return pk_; -} - -void LogicalDeleteResourceRequest::setPk(const std::string &pk) { - pk_ = pk; - setParameter(std::string("Pk"), pk); -} - -std::string LogicalDeleteResourceRequest::getBid() const { - return bid_; -} - -void LogicalDeleteResourceRequest::setBid(const std::string &bid) { - bid_ = bid; - setParameter(std::string("Bid"), bid); -} - -std::string LogicalDeleteResourceRequest::getTaskExtraData() const { - return taskExtraData_; -} - -void LogicalDeleteResourceRequest::setTaskExtraData(const std::string &taskExtraData) { - taskExtraData_ = taskExtraData; - setParameter(std::string("TaskExtraData"), taskExtraData); -} - -std::string LogicalDeleteResourceRequest::getTaskIdentifier() const { - return taskIdentifier_; -} - -void LogicalDeleteResourceRequest::setTaskIdentifier(const std::string &taskIdentifier) { - taskIdentifier_ = taskIdentifier; - setParameter(std::string("TaskIdentifier"), taskIdentifier); -} - diff --git a/mts/src/model/LogicalDeleteResourceResult.cc b/mts/src/model/LogicalDeleteResourceResult.cc deleted file mode 100644 index e91e86bde..000000000 --- a/mts/src/model/LogicalDeleteResourceResult.cc +++ /dev/null @@ -1,121 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -LogicalDeleteResourceResult::LogicalDeleteResourceResult() : - ServiceResult() -{} - -LogicalDeleteResourceResult::LogicalDeleteResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -LogicalDeleteResourceResult::~LogicalDeleteResourceResult() -{} - -void LogicalDeleteResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["GmtWakeup"].isNull()) - gmtWakeup_ = value["GmtWakeup"].asString(); - if(!value["Hid"].isNull()) - hid_ = std::stol(value["Hid"].asString()); - if(!value["Invoker"].isNull()) - invoker_ = value["Invoker"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["TaskIdentifier"].isNull()) - taskIdentifier_ = value["TaskIdentifier"].asString(); - if(!value["TaskExtraData"].isNull()) - taskExtraData_ = value["TaskExtraData"].asString(); - if(!value["Country"].isNull()) - country_ = value["Country"].asString(); - if(!value["Pk"].isNull()) - pk_ = value["Pk"].asString(); - if(!value["Bid"].isNull()) - bid_ = value["Bid"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Interrupt"].isNull()) - interrupt_ = value["Interrupt"].asString() == "true"; - -} - -std::string LogicalDeleteResourceResult::getGmtWakeup()const -{ - return gmtWakeup_; -} - -long LogicalDeleteResourceResult::getHid()const -{ - return hid_; -} - -std::string LogicalDeleteResourceResult::getInvoker()const -{ - return invoker_; -} - -std::string LogicalDeleteResourceResult::getMessage()const -{ - return message_; -} - -std::string LogicalDeleteResourceResult::getTaskIdentifier()const -{ - return taskIdentifier_; -} - -std::string LogicalDeleteResourceResult::getTaskExtraData()const -{ - return taskExtraData_; -} - -std::string LogicalDeleteResourceResult::getCountry()const -{ - return country_; -} - -std::string LogicalDeleteResourceResult::getPk()const -{ - return pk_; -} - -std::string LogicalDeleteResourceResult::getBid()const -{ - return bid_; -} - -bool LogicalDeleteResourceResult::getSuccess()const -{ - return success_; -} - -bool LogicalDeleteResourceResult::getInterrupt()const -{ - return interrupt_; -} - diff --git a/mts/src/model/PhysicalDeleteResourceRequest.cc b/mts/src/model/PhysicalDeleteResourceRequest.cc deleted file mode 100644 index 7f4abf1bf..000000000 --- a/mts/src/model/PhysicalDeleteResourceRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Mts::Model::PhysicalDeleteResourceRequest; - -PhysicalDeleteResourceRequest::PhysicalDeleteResourceRequest() - : RpcServiceRequest("mts", "2014-06-18", "PhysicalDeleteResource") { - setMethod(HttpRequest::Method::Post); -} - -PhysicalDeleteResourceRequest::~PhysicalDeleteResourceRequest() {} - -std::string PhysicalDeleteResourceRequest::getCountry() const { - return country_; -} - -void PhysicalDeleteResourceRequest::setCountry(const std::string &country) { - country_ = country; - setParameter(std::string("Country"), country); -} - -long PhysicalDeleteResourceRequest::getHid() const { - return hid_; -} - -void PhysicalDeleteResourceRequest::setHid(long hid) { - hid_ = hid; - setParameter(std::string("Hid"), std::to_string(hid)); -} - -std::string PhysicalDeleteResourceRequest::getInvoker() const { - return invoker_; -} - -void PhysicalDeleteResourceRequest::setInvoker(const std::string &invoker) { - invoker_ = invoker; - setParameter(std::string("Invoker"), invoker); -} - -std::string PhysicalDeleteResourceRequest::getMessage() const { - return message_; -} - -void PhysicalDeleteResourceRequest::setMessage(const std::string &message) { - message_ = message; - setParameter(std::string("Message"), message); -} - -bool PhysicalDeleteResourceRequest::getSuccess() const { - return success_; -} - -void PhysicalDeleteResourceRequest::setSuccess(bool success) { - success_ = success; - setParameter(std::string("Success"), success ? "true" : "false"); -} - -bool PhysicalDeleteResourceRequest::getInterrupt() const { - return interrupt_; -} - -void PhysicalDeleteResourceRequest::setInterrupt(bool interrupt) { - interrupt_ = interrupt; - setParameter(std::string("Interrupt"), interrupt ? "true" : "false"); -} - -std::string PhysicalDeleteResourceRequest::getGmtWakeup() const { - return gmtWakeup_; -} - -void PhysicalDeleteResourceRequest::setGmtWakeup(const std::string &gmtWakeup) { - gmtWakeup_ = gmtWakeup; - setParameter(std::string("GmtWakeup"), gmtWakeup); -} - -std::string PhysicalDeleteResourceRequest::getPk() const { - return pk_; -} - -void PhysicalDeleteResourceRequest::setPk(const std::string &pk) { - pk_ = pk; - setParameter(std::string("Pk"), pk); -} - -std::string PhysicalDeleteResourceRequest::getBid() const { - return bid_; -} - -void PhysicalDeleteResourceRequest::setBid(const std::string &bid) { - bid_ = bid; - setParameter(std::string("Bid"), bid); -} - -std::string PhysicalDeleteResourceRequest::getTaskExtraData() const { - return taskExtraData_; -} - -void PhysicalDeleteResourceRequest::setTaskExtraData(const std::string &taskExtraData) { - taskExtraData_ = taskExtraData; - setParameter(std::string("TaskExtraData"), taskExtraData); -} - -std::string PhysicalDeleteResourceRequest::getTaskIdentifier() const { - return taskIdentifier_; -} - -void PhysicalDeleteResourceRequest::setTaskIdentifier(const std::string &taskIdentifier) { - taskIdentifier_ = taskIdentifier; - setParameter(std::string("TaskIdentifier"), taskIdentifier); -} - diff --git a/mts/src/model/PhysicalDeleteResourceResult.cc b/mts/src/model/PhysicalDeleteResourceResult.cc deleted file mode 100644 index f5b05272e..000000000 --- a/mts/src/model/PhysicalDeleteResourceResult.cc +++ /dev/null @@ -1,121 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -PhysicalDeleteResourceResult::PhysicalDeleteResourceResult() : - ServiceResult() -{} - -PhysicalDeleteResourceResult::PhysicalDeleteResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PhysicalDeleteResourceResult::~PhysicalDeleteResourceResult() -{} - -void PhysicalDeleteResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["GmtWakeup"].isNull()) - gmtWakeup_ = value["GmtWakeup"].asString(); - if(!value["Hid"].isNull()) - hid_ = std::stol(value["Hid"].asString()); - if(!value["Invoker"].isNull()) - invoker_ = value["Invoker"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["TaskIdentifier"].isNull()) - taskIdentifier_ = value["TaskIdentifier"].asString(); - if(!value["TaskExtraData"].isNull()) - taskExtraData_ = value["TaskExtraData"].asString(); - if(!value["Country"].isNull()) - country_ = value["Country"].asString(); - if(!value["Pk"].isNull()) - pk_ = value["Pk"].asString(); - if(!value["Bid"].isNull()) - bid_ = value["Bid"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Interrupt"].isNull()) - interrupt_ = value["Interrupt"].asString() == "true"; - -} - -std::string PhysicalDeleteResourceResult::getGmtWakeup()const -{ - return gmtWakeup_; -} - -long PhysicalDeleteResourceResult::getHid()const -{ - return hid_; -} - -std::string PhysicalDeleteResourceResult::getInvoker()const -{ - return invoker_; -} - -std::string PhysicalDeleteResourceResult::getMessage()const -{ - return message_; -} - -std::string PhysicalDeleteResourceResult::getTaskIdentifier()const -{ - return taskIdentifier_; -} - -std::string PhysicalDeleteResourceResult::getTaskExtraData()const -{ - return taskExtraData_; -} - -std::string PhysicalDeleteResourceResult::getCountry()const -{ - return country_; -} - -std::string PhysicalDeleteResourceResult::getPk()const -{ - return pk_; -} - -std::string PhysicalDeleteResourceResult::getBid()const -{ - return bid_; -} - -bool PhysicalDeleteResourceResult::getSuccess()const -{ - return success_; -} - -bool PhysicalDeleteResourceResult::getInterrupt()const -{ - return interrupt_; -} - diff --git a/mts/src/model/PlayInfoRequest.cc b/mts/src/model/PlayInfoRequest.cc deleted file mode 100644 index 74781a28e..000000000 --- a/mts/src/model/PlayInfoRequest.cc +++ /dev/null @@ -1,144 +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 - -using AlibabaCloud::Mts::Model::PlayInfoRequest; - -PlayInfoRequest::PlayInfoRequest() - : RpcServiceRequest("mts", "2014-06-18", "PlayInfo") { - setMethod(HttpRequest::Method::Post); -} - -PlayInfoRequest::~PlayInfoRequest() {} - -std::string PlayInfoRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void PlayInfoRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string PlayInfoRequest::getFormats() const { - return formats_; -} - -void PlayInfoRequest::setFormats(const std::string &formats) { - formats_ = formats; - setParameter(std::string("Formats"), formats); -} - -std::string PlayInfoRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void PlayInfoRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string PlayInfoRequest::getRand() const { - return rand_; -} - -void PlayInfoRequest::setRand(const std::string &rand) { - rand_ = rand; - setParameter(std::string("Rand"), rand); -} - -long PlayInfoRequest::getAuthTimeout() const { - return authTimeout_; -} - -void PlayInfoRequest::setAuthTimeout(long authTimeout) { - authTimeout_ = authTimeout; - setParameter(std::string("AuthTimeout"), std::to_string(authTimeout)); -} - -std::string PlayInfoRequest::getPlayDomain() const { - return playDomain_; -} - -void PlayInfoRequest::setPlayDomain(const std::string &playDomain) { - playDomain_ = playDomain; - setParameter(std::string("PlayDomain"), playDomain); -} - -std::string PlayInfoRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void PlayInfoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string PlayInfoRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void PlayInfoRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string PlayInfoRequest::getHlsUriToken() const { - return hlsUriToken_; -} - -void PlayInfoRequest::setHlsUriToken(const std::string &hlsUriToken) { - hlsUriToken_ = hlsUriToken; - setParameter(std::string("HlsUriToken"), hlsUriToken); -} - -std::string PlayInfoRequest::getTerminal() const { - return terminal_; -} - -void PlayInfoRequest::setTerminal(const std::string &terminal) { - terminal_ = terminal; - setParameter(std::string("Terminal"), terminal); -} - -std::string PlayInfoRequest::getOwnerId() const { - return ownerId_; -} - -void PlayInfoRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string PlayInfoRequest::getMediaId() const { - return mediaId_; -} - -void PlayInfoRequest::setMediaId(const std::string &mediaId) { - mediaId_ = mediaId; - setParameter(std::string("MediaId"), mediaId); -} - -std::string PlayInfoRequest::getAuthInfo() const { - return authInfo_; -} - -void PlayInfoRequest::setAuthInfo(const std::string &authInfo) { - authInfo_ = authInfo; - setParameter(std::string("AuthInfo"), authInfo); -} - diff --git a/mts/src/model/PlayInfoResult.cc b/mts/src/model/PlayInfoResult.cc deleted file mode 100644 index 2eb7b62f5..000000000 --- a/mts/src/model/PlayInfoResult.cc +++ /dev/null @@ -1,95 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -PlayInfoResult::PlayInfoResult() : - ServiceResult() -{} - -PlayInfoResult::PlayInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PlayInfoResult::~PlayInfoResult() -{} - -void PlayInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPlayInfoListNode = value["PlayInfoList"]["PlayInfo"]; - for (auto valuePlayInfoListPlayInfo : allPlayInfoListNode) - { - PlayInfo playInfoListObject; - if(!valuePlayInfoListPlayInfo["downloadType"].isNull()) - playInfoListObject.downloadType = valuePlayInfoListPlayInfo["downloadType"].asString(); - if(!valuePlayInfoListPlayInfo["width"].isNull()) - playInfoListObject.width = valuePlayInfoListPlayInfo["width"].asString(); - if(!valuePlayInfoListPlayInfo["definition"].isNull()) - playInfoListObject.definition = valuePlayInfoListPlayInfo["definition"].asString(); - if(!valuePlayInfoListPlayInfo["rand"].isNull()) - playInfoListObject.rand = valuePlayInfoListPlayInfo["rand"].asString(); - if(!valuePlayInfoListPlayInfo["Url"].isNull()) - playInfoListObject.url = valuePlayInfoListPlayInfo["Url"].asString(); - if(!valuePlayInfoListPlayInfo["complexity"].isNull()) - playInfoListObject.complexity = valuePlayInfoListPlayInfo["complexity"].asString(); - if(!valuePlayInfoListPlayInfo["encryption"].isNull()) - playInfoListObject.encryption = valuePlayInfoListPlayInfo["encryption"].asString(); - if(!valuePlayInfoListPlayInfo["fps"].isNull()) - playInfoListObject.fps = valuePlayInfoListPlayInfo["fps"].asString(); - if(!valuePlayInfoListPlayInfo["encryptionType"].isNull()) - playInfoListObject.encryptionType = valuePlayInfoListPlayInfo["encryptionType"].asString(); - if(!valuePlayInfoListPlayInfo["height"].isNull()) - playInfoListObject.height = valuePlayInfoListPlayInfo["height"].asString(); - if(!valuePlayInfoListPlayInfo["activityName"].isNull()) - playInfoListObject.activityName = valuePlayInfoListPlayInfo["activityName"].asString(); - if(!valuePlayInfoListPlayInfo["size"].isNull()) - playInfoListObject.size = valuePlayInfoListPlayInfo["size"].asString(); - if(!valuePlayInfoListPlayInfo["bitrate"].isNull()) - playInfoListObject.bitrate = valuePlayInfoListPlayInfo["bitrate"].asString(); - if(!valuePlayInfoListPlayInfo["plaintext"].isNull()) - playInfoListObject.plaintext = valuePlayInfoListPlayInfo["plaintext"].asString(); - if(!valuePlayInfoListPlayInfo["duration"].isNull()) - playInfoListObject.duration = valuePlayInfoListPlayInfo["duration"].asString(); - if(!valuePlayInfoListPlayInfo["format"].isNull()) - playInfoListObject.format = valuePlayInfoListPlayInfo["format"].asString(); - playInfoList_.push_back(playInfoListObject); - } - auto allNotFoundCDNDomain = value["NotFoundCDNDomain"]["String"]; - for (const auto &item : allNotFoundCDNDomain) - notFoundCDNDomain_.push_back(item.asString()); - -} - -std::vector PlayInfoResult::getPlayInfoList()const -{ - return playInfoList_; -} - -std::vector PlayInfoResult::getNotFoundCDNDomain()const -{ - return notFoundCDNDomain_; -} - diff --git a/mts/src/model/PlayerAuthRequest.cc b/mts/src/model/PlayerAuthRequest.cc deleted file mode 100644 index 7a339fdf4..000000000 --- a/mts/src/model/PlayerAuthRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::PlayerAuthRequest; - -PlayerAuthRequest::PlayerAuthRequest() - : RpcServiceRequest("mts", "2014-06-18", "PlayerAuth") { - setMethod(HttpRequest::Method::Post); -} - -PlayerAuthRequest::~PlayerAuthRequest() {} - -std::string PlayerAuthRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void PlayerAuthRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string PlayerAuthRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void PlayerAuthRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string PlayerAuthRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void PlayerAuthRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string PlayerAuthRequest::getOwnerId() const { - return ownerId_; -} - -void PlayerAuthRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string PlayerAuthRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void PlayerAuthRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/PlayerAuthResult.cc b/mts/src/model/PlayerAuthResult.cc deleted file mode 100644 index ffb8b6443..000000000 --- a/mts/src/model/PlayerAuthResult.cc +++ /dev/null @@ -1,70 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -PlayerAuthResult::PlayerAuthResult() : - ServiceResult() -{} - -PlayerAuthResult::PlayerAuthResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PlayerAuthResult::~PlayerAuthResult() -{} - -void PlayerAuthResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSwitchListNode = value["SwitchList"]["Switch"]; - for (auto valueSwitchListSwitch : allSwitchListNode) - { - _Switch switchListObject; - if(!valueSwitchListSwitch["FunctionId"].isNull()) - switchListObject.functionId = valueSwitchListSwitch["FunctionId"].asString(); - if(!valueSwitchListSwitch["FunctionName"].isNull()) - switchListObject.functionName = valueSwitchListSwitch["FunctionName"].asString(); - if(!valueSwitchListSwitch["State"].isNull()) - switchListObject.state = valueSwitchListSwitch["State"].asString(); - if(!valueSwitchListSwitch["SwitchId"].isNull()) - switchListObject.switchId = valueSwitchListSwitch["SwitchId"].asString(); - switchList_.push_back(switchListObject); - } - if(!value["LogURL"].isNull()) - logURL_ = value["LogURL"].asString(); - -} - -std::string PlayerAuthResult::getLogURL()const -{ - return logURL_; -} - -std::vector PlayerAuthResult::getSwitchList()const -{ - return switchList_; -} - diff --git a/mts/src/model/QueryAnnotationJobListRequest.cc b/mts/src/model/QueryAnnotationJobListRequest.cc deleted file mode 100644 index 5551be9ae..000000000 --- a/mts/src/model/QueryAnnotationJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryAnnotationJobListRequest; - -QueryAnnotationJobListRequest::QueryAnnotationJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryAnnotationJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryAnnotationJobListRequest::~QueryAnnotationJobListRequest() {} - -long QueryAnnotationJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryAnnotationJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryAnnotationJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryAnnotationJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryAnnotationJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryAnnotationJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryAnnotationJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryAnnotationJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryAnnotationJobListRequest::getAnnotationJobIds() const { - return annotationJobIds_; -} - -void QueryAnnotationJobListRequest::setAnnotationJobIds(const std::string &annotationJobIds) { - annotationJobIds_ = annotationJobIds; - setParameter(std::string("AnnotationJobIds"), annotationJobIds); -} - -std::string QueryAnnotationJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryAnnotationJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/QueryAnnotationJobListResult.cc b/mts/src/model/QueryAnnotationJobListResult.cc deleted file mode 100644 index 5a4aa3eec..000000000 --- a/mts/src/model/QueryAnnotationJobListResult.cc +++ /dev/null @@ -1,97 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryAnnotationJobListResult::QueryAnnotationJobListResult() : - ServiceResult() -{} - -QueryAnnotationJobListResult::QueryAnnotationJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryAnnotationJobListResult::~QueryAnnotationJobListResult() -{} - -void QueryAnnotationJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAnnotationJobListNode = value["AnnotationJobList"]["AnnotationJob"]; - for (auto valueAnnotationJobListAnnotationJob : allAnnotationJobListNode) - { - AnnotationJob annotationJobListObject; - if(!valueAnnotationJobListAnnotationJob["CreationTime"].isNull()) - annotationJobListObject.creationTime = valueAnnotationJobListAnnotationJob["CreationTime"].asString(); - if(!valueAnnotationJobListAnnotationJob["State"].isNull()) - annotationJobListObject.state = valueAnnotationJobListAnnotationJob["State"].asString(); - if(!valueAnnotationJobListAnnotationJob["UserData"].isNull()) - annotationJobListObject.userData = valueAnnotationJobListAnnotationJob["UserData"].asString(); - if(!valueAnnotationJobListAnnotationJob["Code"].isNull()) - annotationJobListObject.code = valueAnnotationJobListAnnotationJob["Code"].asString(); - if(!valueAnnotationJobListAnnotationJob["Message"].isNull()) - annotationJobListObject.message = valueAnnotationJobListAnnotationJob["Message"].asString(); - if(!valueAnnotationJobListAnnotationJob["PipelineId"].isNull()) - annotationJobListObject.pipelineId = valueAnnotationJobListAnnotationJob["PipelineId"].asString(); - if(!valueAnnotationJobListAnnotationJob["Id"].isNull()) - annotationJobListObject.id = valueAnnotationJobListAnnotationJob["Id"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - annotationJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - annotationJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - annotationJobListObject.input.bucket = inputNode["Bucket"].asString(); - auto videoAnnotationResultNode = value["VideoAnnotationResult"]; - if(!videoAnnotationResultNode["Details"].isNull()) - annotationJobListObject.videoAnnotationResult.details = videoAnnotationResultNode["Details"].asString(); - auto allAnnotationsNode = videoAnnotationResultNode["Annotations"]["Annotation"]; - for (auto videoAnnotationResultNodeAnnotationsAnnotation : allAnnotationsNode) - { - AnnotationJob::VideoAnnotationResult::Annotation annotationObject; - if(!videoAnnotationResultNodeAnnotationsAnnotation["Score"].isNull()) - annotationObject.score = videoAnnotationResultNodeAnnotationsAnnotation["Score"].asString(); - if(!videoAnnotationResultNodeAnnotationsAnnotation["Label"].isNull()) - annotationObject.label = videoAnnotationResultNodeAnnotationsAnnotation["Label"].asString(); - annotationJobListObject.videoAnnotationResult.annotations.push_back(annotationObject); - } - annotationJobList_.push_back(annotationJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryAnnotationJobListResult::getAnnotationJobList()const -{ - return annotationJobList_; -} - -std::vector QueryAnnotationJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryAsrJobListRequest.cc b/mts/src/model/QueryAsrJobListRequest.cc deleted file mode 100644 index e4cfe7b6d..000000000 --- a/mts/src/model/QueryAsrJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryAsrJobListRequest; - -QueryAsrJobListRequest::QueryAsrJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryAsrJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryAsrJobListRequest::~QueryAsrJobListRequest() {} - -long QueryAsrJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryAsrJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryAsrJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryAsrJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryAsrJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryAsrJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryAsrJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryAsrJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryAsrJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryAsrJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryAsrJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryAsrJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryAsrJobListResult.cc b/mts/src/model/QueryAsrJobListResult.cc deleted file mode 100644 index 69038df51..000000000 --- a/mts/src/model/QueryAsrJobListResult.cc +++ /dev/null @@ -1,106 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryAsrJobListResult::QueryAsrJobListResult() : - ServiceResult() -{} - -QueryAsrJobListResult::QueryAsrJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryAsrJobListResult::~QueryAsrJobListResult() -{} - -void QueryAsrJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - if(!valueJobListJob["Id"].isNull()) - jobListObject.id = valueJobListJob["Id"].asString(); - auto asrConfigNode = value["AsrConfig"]; - if(!asrConfigNode["Scene"].isNull()) - jobListObject.asrConfig.scene = asrConfigNode["Scene"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].asString(); - auto asrResultNode = value["AsrResult"]; - if(!asrResultNode["Duration"].isNull()) - jobListObject.asrResult.duration = asrResultNode["Duration"].asString(); - auto allAsrTextListNode = asrResultNode["AsrTextList"]["AsrText"]; - for (auto asrResultNodeAsrTextListAsrText : allAsrTextListNode) - { - Job::AsrResult::AsrText asrTextObject; - if(!asrResultNodeAsrTextListAsrText["EndTime"].isNull()) - asrTextObject.endTime = asrResultNodeAsrTextListAsrText["EndTime"].asString(); - if(!asrResultNodeAsrTextListAsrText["StartTime"].isNull()) - asrTextObject.startTime = std::stoi(asrResultNodeAsrTextListAsrText["StartTime"].asString()); - if(!asrResultNodeAsrTextListAsrText["ChannelId"].isNull()) - asrTextObject.channelId = asrResultNodeAsrTextListAsrText["ChannelId"].asString(); - if(!asrResultNodeAsrTextListAsrText["Text"].isNull()) - asrTextObject.text = asrResultNodeAsrTextListAsrText["Text"].asString(); - if(!asrResultNodeAsrTextListAsrText["SpeechRate"].isNull()) - asrTextObject.speechRate = asrResultNodeAsrTextListAsrText["SpeechRate"].asString(); - jobListObject.asrResult.asrTextList.push_back(asrTextObject); - } - jobList_.push_back(jobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryAsrJobListResult::getJobList()const -{ - return jobList_; -} - -std::vector QueryAsrJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryAsrPipelineListRequest.cc b/mts/src/model/QueryAsrPipelineListRequest.cc deleted file mode 100644 index d934df3ff..000000000 --- a/mts/src/model/QueryAsrPipelineListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryAsrPipelineListRequest; - -QueryAsrPipelineListRequest::QueryAsrPipelineListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryAsrPipelineList") { - setMethod(HttpRequest::Method::Post); -} - -QueryAsrPipelineListRequest::~QueryAsrPipelineListRequest() {} - -long QueryAsrPipelineListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryAsrPipelineListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryAsrPipelineListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryAsrPipelineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryAsrPipelineListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryAsrPipelineListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryAsrPipelineListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryAsrPipelineListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryAsrPipelineListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryAsrPipelineListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryAsrPipelineListRequest::getPipelineIds() const { - return pipelineIds_; -} - -void QueryAsrPipelineListRequest::setPipelineIds(const std::string &pipelineIds) { - pipelineIds_ = pipelineIds; - setParameter(std::string("PipelineIds"), pipelineIds); -} - diff --git a/mts/src/model/QueryAsrPipelineListResult.cc b/mts/src/model/QueryAsrPipelineListResult.cc deleted file mode 100644 index 4cfc99f0f..000000000 --- a/mts/src/model/QueryAsrPipelineListResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryAsrPipelineListResult::QueryAsrPipelineListResult() : - ServiceResult() -{} - -QueryAsrPipelineListResult::QueryAsrPipelineListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryAsrPipelineListResult::~QueryAsrPipelineListResult() -{} - -void QueryAsrPipelineListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["QueueName"].isNull()) - pipelineListObject.notifyConfig.queueName = notifyConfigNode["QueueName"].asString(); - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - pipelineList_.push_back(pipelineListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryAsrPipelineListResult::getPipelineList()const -{ - return pipelineList_; -} - -std::vector QueryAsrPipelineListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryAuthConfigRequest.cc b/mts/src/model/QueryAuthConfigRequest.cc deleted file mode 100644 index 60da3e78c..000000000 --- a/mts/src/model/QueryAuthConfigRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::QueryAuthConfigRequest; - -QueryAuthConfigRequest::QueryAuthConfigRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryAuthConfig") { - setMethod(HttpRequest::Method::Post); -} - -QueryAuthConfigRequest::~QueryAuthConfigRequest() {} - -std::string QueryAuthConfigRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryAuthConfigRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string QueryAuthConfigRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryAuthConfigRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryAuthConfigRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryAuthConfigRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string QueryAuthConfigRequest::getOwnerId() const { - return ownerId_; -} - -void QueryAuthConfigRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string QueryAuthConfigRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryAuthConfigRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/QueryAuthConfigResult.cc b/mts/src/model/QueryAuthConfigResult.cc deleted file mode 100644 index 74d8da6d3..000000000 --- a/mts/src/model/QueryAuthConfigResult.cc +++ /dev/null @@ -1,58 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryAuthConfigResult::QueryAuthConfigResult() : - ServiceResult() -{} - -QueryAuthConfigResult::QueryAuthConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryAuthConfigResult::~QueryAuthConfigResult() -{} - -void QueryAuthConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Key2"].isNull()) - key2_ = value["Key2"].asString(); - if(!value["Key1"].isNull()) - key1_ = value["Key1"].asString(); - -} - -std::string QueryAuthConfigResult::getKey2()const -{ - return key2_; -} - -std::string QueryAuthConfigResult::getKey1()const -{ - return key1_; -} - diff --git a/mts/src/model/QueryCensorJobListRequest.cc b/mts/src/model/QueryCensorJobListRequest.cc deleted file mode 100644 index d2ce44fae..000000000 --- a/mts/src/model/QueryCensorJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryCensorJobListRequest; - -QueryCensorJobListRequest::QueryCensorJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryCensorJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryCensorJobListRequest::~QueryCensorJobListRequest() {} - -long QueryCensorJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryCensorJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryCensorJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryCensorJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryCensorJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryCensorJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryCensorJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryCensorJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryCensorJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryCensorJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryCensorJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryCensorJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryCensorJobListResult.cc b/mts/src/model/QueryCensorJobListResult.cc deleted file mode 100644 index 81f0fdbc8..000000000 --- a/mts/src/model/QueryCensorJobListResult.cc +++ /dev/null @@ -1,192 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryCensorJobListResult::QueryCensorJobListResult() : - ServiceResult() -{} - -QueryCensorJobListResult::QueryCensorJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryCensorJobListResult::~QueryCensorJobListResult() -{} - -void QueryCensorJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allCensorJobListNode = value["CensorJobList"]["CensorJob"]; - for (auto valueCensorJobListCensorJob : allCensorJobListNode) - { - CensorJob censorJobListObject; - if(!valueCensorJobListCensorJob["CreationTime"].isNull()) - censorJobListObject.creationTime = valueCensorJobListCensorJob["CreationTime"].asString(); - if(!valueCensorJobListCensorJob["State"].isNull()) - censorJobListObject.state = valueCensorJobListCensorJob["State"].asString(); - if(!valueCensorJobListCensorJob["TitleCensorResult"].isNull()) - censorJobListObject.titleCensorResult = valueCensorJobListCensorJob["TitleCensorResult"].asString(); - if(!valueCensorJobListCensorJob["Message"].isNull()) - censorJobListObject.message = valueCensorJobListCensorJob["Message"].asString(); - if(!valueCensorJobListCensorJob["BarrageCensorResult"].isNull()) - censorJobListObject.barrageCensorResult = valueCensorJobListCensorJob["BarrageCensorResult"].asString(); - if(!valueCensorJobListCensorJob["DescCensorResult"].isNull()) - censorJobListObject.descCensorResult = valueCensorJobListCensorJob["DescCensorResult"].asString(); - if(!valueCensorJobListCensorJob["ResultSaveObject"].isNull()) - censorJobListObject.resultSaveObject = valueCensorJobListCensorJob["ResultSaveObject"].asString(); - if(!valueCensorJobListCensorJob["UserData"].isNull()) - censorJobListObject.userData = valueCensorJobListCensorJob["UserData"].asString(); - if(!valueCensorJobListCensorJob["Code"].isNull()) - censorJobListObject.code = valueCensorJobListCensorJob["Code"].asString(); - if(!valueCensorJobListCensorJob["PipelineId"].isNull()) - censorJobListObject.pipelineId = valueCensorJobListCensorJob["PipelineId"].asString(); - if(!valueCensorJobListCensorJob["Id"].isNull()) - censorJobListObject.id = valueCensorJobListCensorJob["Id"].asString(); - auto allImageCensorResultsNode = valueCensorJobListCensorJob["ImageCensorResults"]["ImageCensorResult"]; - for (auto valueCensorJobListCensorJobImageCensorResultsImageCensorResult : allImageCensorResultsNode) - { - CensorJob::ImageCensorResult imageCensorResultsObject; - if(!valueCensorJobListCensorJobImageCensorResultsImageCensorResult["ImageBucket"].isNull()) - imageCensorResultsObject.imageBucket = valueCensorJobListCensorJobImageCensorResultsImageCensorResult["ImageBucket"].asString(); - if(!valueCensorJobListCensorJobImageCensorResultsImageCensorResult["Result"].isNull()) - imageCensorResultsObject.result = valueCensorJobListCensorJobImageCensorResultsImageCensorResult["Result"].asString(); - if(!valueCensorJobListCensorJobImageCensorResultsImageCensorResult["ImageLocation"].isNull()) - imageCensorResultsObject.imageLocation = valueCensorJobListCensorJobImageCensorResultsImageCensorResult["ImageLocation"].asString(); - if(!valueCensorJobListCensorJobImageCensorResultsImageCensorResult["ImageObject"].isNull()) - imageCensorResultsObject.imageObject = valueCensorJobListCensorJobImageCensorResultsImageCensorResult["ImageObject"].asString(); - censorJobListObject.imageCensorResults.push_back(imageCensorResultsObject); - } - auto censorTerrorismResultNode = value["CensorTerrorismResult"]; - if(!censorTerrorismResultNode["Suggestion"].isNull()) - censorJobListObject.censorTerrorismResult.suggestion = censorTerrorismResultNode["Suggestion"].asString(); - if(!censorTerrorismResultNode["AverageScore"].isNull()) - censorJobListObject.censorTerrorismResult.averageScore = censorTerrorismResultNode["AverageScore"].asString(); - if(!censorTerrorismResultNode["Label"].isNull()) - censorJobListObject.censorTerrorismResult.label = censorTerrorismResultNode["Label"].asString(); - if(!censorTerrorismResultNode["MaxScore"].isNull()) - censorJobListObject.censorTerrorismResult.maxScore = censorTerrorismResultNode["MaxScore"].asString(); - auto allTerrorismTopListNode = censorTerrorismResultNode["TerrorismTopList"]["Top"]; - for (auto censorTerrorismResultNodeTerrorismTopListTop : allTerrorismTopListNode) - { - CensorJob::CensorTerrorismResult::Top topObject; - if(!censorTerrorismResultNodeTerrorismTopListTop["Index"].isNull()) - topObject.index = censorTerrorismResultNodeTerrorismTopListTop["Index"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Score"].isNull()) - topObject.score = censorTerrorismResultNodeTerrorismTopListTop["Score"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Timestamp"].isNull()) - topObject.timestamp = censorTerrorismResultNodeTerrorismTopListTop["Timestamp"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Object"].isNull()) - topObject.object = censorTerrorismResultNodeTerrorismTopListTop["Object"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Label"].isNull()) - topObject.label = censorTerrorismResultNodeTerrorismTopListTop["Label"].asString(); - censorJobListObject.censorTerrorismResult.terrorismTopList.push_back(topObject); - } - auto allTerrorismCounterListNode = censorTerrorismResultNode["TerrorismCounterList"]["Counter"]; - for (auto censorTerrorismResultNodeTerrorismCounterListCounter : allTerrorismCounterListNode) - { - CensorJob::CensorTerrorismResult::Counter counterObject; - if(!censorTerrorismResultNodeTerrorismCounterListCounter["Label"].isNull()) - counterObject.label = censorTerrorismResultNodeTerrorismCounterListCounter["Label"].asString(); - if(!censorTerrorismResultNodeTerrorismCounterListCounter["Count"].isNull()) - counterObject.count = std::stoi(censorTerrorismResultNodeTerrorismCounterListCounter["Count"].asString()); - censorJobListObject.censorTerrorismResult.terrorismCounterList.push_back(counterObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - censorJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - censorJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - censorJobListObject.input.bucket = inputNode["Bucket"].asString(); - auto censorConfigNode = value["CensorConfig"]; - if(!censorConfigNode["Interval"].isNull()) - censorJobListObject.censorConfig.interval = censorConfigNode["Interval"].asString(); - if(!censorConfigNode["SaveType"].isNull()) - censorJobListObject.censorConfig.saveType = censorConfigNode["SaveType"].asString(); - if(!censorConfigNode["Scenes"].isNull()) - censorJobListObject.censorConfig.scenes = censorConfigNode["Scenes"].asString(); - if(!censorConfigNode["BizType"].isNull()) - censorJobListObject.censorConfig.bizType = censorConfigNode["BizType"].asString(); - auto outputFileNode = censorConfigNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - censorJobListObject.censorConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - censorJobListObject.censorConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - censorJobListObject.censorConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto censorPornResultNode = value["CensorPornResult"]; - if(!censorPornResultNode["Suggestion"].isNull()) - censorJobListObject.censorPornResult.suggestion = censorPornResultNode["Suggestion"].asString(); - if(!censorPornResultNode["AverageScore"].isNull()) - censorJobListObject.censorPornResult.averageScore = censorPornResultNode["AverageScore"].asString(); - if(!censorPornResultNode["Label"].isNull()) - censorJobListObject.censorPornResult.label = censorPornResultNode["Label"].asString(); - if(!censorPornResultNode["MaxScore"].isNull()) - censorJobListObject.censorPornResult.maxScore = censorPornResultNode["MaxScore"].asString(); - auto allPornCounterListNode = censorPornResultNode["PornCounterList"]["Counter"]; - for (auto censorPornResultNodePornCounterListCounter : allPornCounterListNode) - { - CensorJob::CensorPornResult::Counter1 counter1Object; - if(!censorPornResultNodePornCounterListCounter["Label"].isNull()) - counter1Object.label = censorPornResultNodePornCounterListCounter["Label"].asString(); - if(!censorPornResultNodePornCounterListCounter["Count"].isNull()) - counter1Object.count = std::stoi(censorPornResultNodePornCounterListCounter["Count"].asString()); - censorJobListObject.censorPornResult.pornCounterList.push_back(counter1Object); - } - auto allPornTopListNode = censorPornResultNode["PornTopList"]["Top"]; - for (auto censorPornResultNodePornTopListTop : allPornTopListNode) - { - CensorJob::CensorPornResult::Top2 top2Object; - if(!censorPornResultNodePornTopListTop["Index"].isNull()) - top2Object.index = censorPornResultNodePornTopListTop["Index"].asString(); - if(!censorPornResultNodePornTopListTop["Score"].isNull()) - top2Object.score = censorPornResultNodePornTopListTop["Score"].asString(); - if(!censorPornResultNodePornTopListTop["Timestamp"].isNull()) - top2Object.timestamp = censorPornResultNodePornTopListTop["Timestamp"].asString(); - if(!censorPornResultNodePornTopListTop["Object"].isNull()) - top2Object.object = censorPornResultNodePornTopListTop["Object"].asString(); - if(!censorPornResultNodePornTopListTop["Label"].isNull()) - top2Object.label = censorPornResultNodePornTopListTop["Label"].asString(); - censorJobListObject.censorPornResult.pornTopList.push_back(top2Object); - } - censorJobList_.push_back(censorJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryCensorJobListResult::getCensorJobList()const -{ - return censorJobList_; -} - -std::vector QueryCensorJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryCensorPipelineListRequest.cc b/mts/src/model/QueryCensorPipelineListRequest.cc deleted file mode 100644 index b9e60fdaa..000000000 --- a/mts/src/model/QueryCensorPipelineListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryCensorPipelineListRequest; - -QueryCensorPipelineListRequest::QueryCensorPipelineListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryCensorPipelineList") { - setMethod(HttpRequest::Method::Post); -} - -QueryCensorPipelineListRequest::~QueryCensorPipelineListRequest() {} - -long QueryCensorPipelineListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryCensorPipelineListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryCensorPipelineListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryCensorPipelineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryCensorPipelineListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryCensorPipelineListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryCensorPipelineListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryCensorPipelineListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryCensorPipelineListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryCensorPipelineListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryCensorPipelineListRequest::getPipelineIds() const { - return pipelineIds_; -} - -void QueryCensorPipelineListRequest::setPipelineIds(const std::string &pipelineIds) { - pipelineIds_ = pipelineIds; - setParameter(std::string("PipelineIds"), pipelineIds); -} - diff --git a/mts/src/model/QueryCensorPipelineListResult.cc b/mts/src/model/QueryCensorPipelineListResult.cc deleted file mode 100644 index 517a68b4c..000000000 --- a/mts/src/model/QueryCensorPipelineListResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryCensorPipelineListResult::QueryCensorPipelineListResult() : - ServiceResult() -{} - -QueryCensorPipelineListResult::QueryCensorPipelineListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryCensorPipelineListResult::~QueryCensorPipelineListResult() -{} - -void QueryCensorPipelineListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryCensorPipelineListResult::getPipelineList()const -{ - return pipelineList_; -} - -std::vector QueryCensorPipelineListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryComplexJobListResult.cc b/mts/src/model/QueryComplexJobListResult.cc deleted file mode 100644 index d614f496a..000000000 --- a/mts/src/model/QueryComplexJobListResult.cc +++ /dev/null @@ -1,573 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryComplexJobListResult::QueryComplexJobListResult() : - ServiceResult() -{} - -QueryComplexJobListResult::QueryComplexJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryComplexJobListResult::~QueryComplexJobListResult() -{} - -void QueryComplexJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["Percent"].isNull()) - jobListObject.percent = std::stol(valueJobListJob["Percent"].asString()); - if(!valueJobListJob["FinishTime"].isNull()) - jobListObject.finishTime = valueJobListJob["FinishTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["JobId"].isNull()) - jobListObject.jobId = valueJobListJob["JobId"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - auto allComplexEditingConfigsNode = valueJobListJob["ComplexEditingConfigs"]["ComplexEditingConfigsItem"]; - for (auto valueJobListJobComplexEditingConfigsComplexEditingConfigsItem : allComplexEditingConfigsNode) - { - Job::ComplexEditingConfigsItem complexEditingConfigsObject; - auto editingNode = value["Editing"]; - auto allClipListNode = editingNode["ClipList"]["Clip"]; - for (auto editingNodeClipListClip : allClipListNode) - { - Job::ComplexEditingConfigsItem::Editing::Clip clipObject; - if(!editingNodeClipListClip["Type"].isNull()) - clipObject.type = editingNodeClipListClip["Type"].asString(); - if(!editingNodeClipListClip["SourceID"].isNull()) - clipObject.sourceID = editingNodeClipListClip["SourceID"].asString(); - if(!editingNodeClipListClip["SourceType"].isNull()) - clipObject.sourceType = editingNodeClipListClip["SourceType"].asString(); - if(!editingNodeClipListClip["SourceStrmMap"].isNull()) - clipObject.sourceStrmMap = editingNodeClipListClip["SourceStrmMap"].asString(); - if(!editingNodeClipListClip["Out"].isNull()) - clipObject.out = editingNodeClipListClip["Out"].asString(); - if(!editingNodeClipListClip["In"].isNull()) - clipObject.in = editingNodeClipListClip["In"].asString(); - if(!editingNodeClipListClip["Id"].isNull()) - clipObject.id = editingNodeClipListClip["Id"].asString(); - auto allEffectsNode = editingNodeClipListClip["Effects"]["Effect"]; - for (auto editingNodeClipListClipEffectsEffect : allEffectsNode) - { - Job::ComplexEditingConfigsItem::Editing::Clip::Effect effectsObject; - if(!editingNodeClipListClipEffectsEffect["Effect"].isNull()) - effectsObject.effect = editingNodeClipListClipEffectsEffect["Effect"].asString(); - if(!editingNodeClipListClipEffectsEffect["EffectConfig"].isNull()) - effectsObject.effectConfig = editingNodeClipListClipEffectsEffect["EffectConfig"].asString(); - clipObject.effects.push_back(effectsObject); - } - complexEditingConfigsObject.editing.clipList.push_back(clipObject); - } - auto timelineNode = editingNode["Timeline"]; - auto allTrackListNode = timelineNode["TrackList"]["Track"]; - for (auto timelineNodeTrackListTrack : allTrackListNode) - { - Job::ComplexEditingConfigsItem::Editing::Timeline::Track trackObject; - if(!timelineNodeTrackListTrack["Type"].isNull()) - trackObject.type = timelineNodeTrackListTrack["Type"].asString(); - if(!timelineNodeTrackListTrack["Order"].isNull()) - trackObject.order = timelineNodeTrackListTrack["Order"].asString(); - if(!timelineNodeTrackListTrack["Id"].isNull()) - trackObject.id = timelineNodeTrackListTrack["Id"].asString(); - auto allClipsNode = timelineNodeTrackListTrack["Clips"]["Clip"]; - for (auto timelineNodeTrackListTrackClipsClip : allClipsNode) - { - Job::ComplexEditingConfigsItem::Editing::Timeline::Track::Clip1 clipsObject; - if(!timelineNodeTrackListTrackClipsClip["Out"].isNull()) - clipsObject.out = timelineNodeTrackListTrackClipsClip["Out"].asString(); - if(!timelineNodeTrackListTrackClipsClip["In"].isNull()) - clipsObject.in = timelineNodeTrackListTrackClipsClip["In"].asString(); - if(!timelineNodeTrackListTrackClipsClip["clipID"].isNull()) - clipsObject.clipID = timelineNodeTrackListTrackClipsClip["clipID"].asString(); - auto clipsConfigNode = value["ClipsConfig"]; - auto clipsConfigVideoNode = clipsConfigNode["ClipsConfigVideo"]; - if(!clipsConfigVideoNode["T"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.t = clipsConfigVideoNode["T"].asString(); - if(!clipsConfigVideoNode["L"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.l = clipsConfigVideoNode["L"].asString(); - trackObject.clips.push_back(clipsObject); - } - complexEditingConfigsObject.editing.timeline.trackList.push_back(trackObject); - } - auto timelineConfigNode = timelineNode["TimelineConfig"]; - auto timelineConfigAudioNode = timelineConfigNode["TimelineConfigAudio"]; - if(!timelineConfigAudioNode["ChannelLayout"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigAudio.channelLayout = timelineConfigAudioNode["ChannelLayout"].asString(); - if(!timelineConfigAudioNode["Samplerate"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigAudio.samplerate = timelineConfigAudioNode["Samplerate"].asString(); - if(!timelineConfigAudioNode["Channels"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigAudio.channels = timelineConfigAudioNode["Channels"].asString(); - auto timelineConfigVideoNode = timelineConfigNode["TimelineConfigVideo"]; - if(!timelineConfigVideoNode["BgColor"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.bgColor = timelineConfigVideoNode["BgColor"].asString(); - if(!timelineConfigVideoNode["Width"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.width = timelineConfigVideoNode["Width"].asString(); - if(!timelineConfigVideoNode["RenderRatio"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.renderRatio = timelineConfigVideoNode["RenderRatio"].asString(); - if(!timelineConfigVideoNode["IsGpuData"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.isGpuData = timelineConfigVideoNode["IsGpuData"].asString(); - if(!timelineConfigVideoNode["Height"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.height = timelineConfigVideoNode["Height"].asString(); - if(!timelineConfigVideoNode["IsOneTrackData"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.isOneTrackData = timelineConfigVideoNode["IsOneTrackData"].asString(); - if(!timelineConfigVideoNode["Fps"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.fps = timelineConfigVideoNode["Fps"].asString(); - if(!timelineConfigVideoNode["ReclosePrec"].isNull()) - complexEditingConfigsObject.editing.timeline.timelineConfig.timelineConfigVideo.reclosePrec = timelineConfigVideoNode["ReclosePrec"].asString(); - jobListObject.complexEditingConfigs.push_back(complexEditingConfigsObject); - } - auto allInputsNode = valueJobListJob["Inputs"]["InputsItem"]; - for (auto valueJobListJobInputsInputsItem : allInputsNode) - { - Job::InputsItem inputsObject; - auto allEditingInputsNode = valueJobListJobInputsInputsItem["EditingInputs"]["EditingInput"]; - for (auto valueJobListJobInputsInputsItemEditingInputsEditingInput : allEditingInputsNode) - { - Job::InputsItem::EditingInput editingInputsObject; - if(!valueJobListJobInputsInputsItemEditingInputsEditingInput["Id"].isNull()) - editingInputsObject.id = valueJobListJobInputsInputsItemEditingInputsEditingInput["Id"].asString(); - auto inputFileNode = value["InputFile"]; - if(!inputFileNode["Object"].isNull()) - editingInputsObject.inputFile.object = inputFileNode["Object"].asString(); - if(!inputFileNode["Location"].isNull()) - editingInputsObject.inputFile.location = inputFileNode["Location"].asString(); - if(!inputFileNode["Bucket"].isNull()) - editingInputsObject.inputFile.bucket = inputFileNode["Bucket"].asString(); - auto inputConfigNode = value["InputConfig"]; - if(!inputConfigNode["IsNormalSar"].isNull()) - editingInputsObject.inputConfig.isNormalSar = inputConfigNode["IsNormalSar"].asString(); - if(!inputConfigNode["DeinterlaceMethod"].isNull()) - editingInputsObject.inputConfig.deinterlaceMethod = inputConfigNode["DeinterlaceMethod"].asString(); - inputsObject.editingInputs.push_back(editingInputsObject); - } - jobListObject.inputs.push_back(inputsObject); - } - auto transcodeOutputNode = value["transcodeOutput"]; - if(!transcodeOutputNode["DeWatermark"].isNull()) - jobListObject.transcodeOutput.deWatermark = transcodeOutputNode["DeWatermark"].asString(); - if(!transcodeOutputNode["WaterMarkConfigUrl"].isNull()) - jobListObject.transcodeOutput.waterMarkConfigUrl = transcodeOutputNode["WaterMarkConfigUrl"].asString(); - if(!transcodeOutputNode["Priority"].isNull()) - jobListObject.transcodeOutput.priority = transcodeOutputNode["Priority"].asString(); - if(!transcodeOutputNode["AudioStreamMap"].isNull()) - jobListObject.transcodeOutput.audioStreamMap = transcodeOutputNode["AudioStreamMap"].asString(); - if(!transcodeOutputNode["UserData"].isNull()) - jobListObject.transcodeOutput.userData = transcodeOutputNode["UserData"].asString(); - if(!transcodeOutputNode["VideoStreamMap"].isNull()) - jobListObject.transcodeOutput.videoStreamMap = transcodeOutputNode["VideoStreamMap"].asString(); - if(!transcodeOutputNode["Rotate"].isNull()) - jobListObject.transcodeOutput.rotate = transcodeOutputNode["Rotate"].asString(); - if(!transcodeOutputNode["MergeConfigUrl"].isNull()) - jobListObject.transcodeOutput.mergeConfigUrl = transcodeOutputNode["MergeConfigUrl"].asString(); - if(!transcodeOutputNode["TemplateId"].isNull()) - jobListObject.transcodeOutput.templateId = transcodeOutputNode["TemplateId"].asString(); - auto allWaterMarkListNode = transcodeOutputNode["WaterMarkList"]["WaterMark"]; - for (auto transcodeOutputNodeWaterMarkListWaterMark : allWaterMarkListNode) - { - Job::TranscodeOutput::WaterMark waterMarkObject; - if(!transcodeOutputNodeWaterMarkListWaterMark["Type"].isNull()) - waterMarkObject.type = transcodeOutputNodeWaterMarkListWaterMark["Type"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["ReferPos"].isNull()) - waterMarkObject.referPos = transcodeOutputNodeWaterMarkListWaterMark["ReferPos"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Dx"].isNull()) - waterMarkObject.dx = transcodeOutputNodeWaterMarkListWaterMark["Dx"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Width"].isNull()) - waterMarkObject.width = transcodeOutputNodeWaterMarkListWaterMark["Width"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Height"].isNull()) - waterMarkObject.height = transcodeOutputNodeWaterMarkListWaterMark["Height"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["WaterMarkTemplateId"].isNull()) - waterMarkObject.waterMarkTemplateId = transcodeOutputNodeWaterMarkListWaterMark["WaterMarkTemplateId"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Dy"].isNull()) - waterMarkObject.dy = transcodeOutputNodeWaterMarkListWaterMark["Dy"].asString(); - auto inputFile2Node = value["InputFile"]; - if(!inputFile2Node["Object"].isNull()) - waterMarkObject.inputFile2.object = inputFile2Node["Object"].asString(); - if(!inputFile2Node["Location"].isNull()) - waterMarkObject.inputFile2.location = inputFile2Node["Location"].asString(); - if(!inputFile2Node["Bucket"].isNull()) - waterMarkObject.inputFile2.bucket = inputFile2Node["Bucket"].asString(); - jobListObject.transcodeOutput.waterMarkList.push_back(waterMarkObject); - } - auto allMergeListNode = transcodeOutputNode["MergeList"]["Merge"]; - for (auto transcodeOutputNodeMergeListMerge : allMergeListNode) - { - Job::TranscodeOutput::Merge mergeObject; - if(!transcodeOutputNodeMergeListMerge["Start"].isNull()) - mergeObject.start = transcodeOutputNodeMergeListMerge["Start"].asString(); - if(!transcodeOutputNodeMergeListMerge["RoleArn"].isNull()) - mergeObject.roleArn = transcodeOutputNodeMergeListMerge["RoleArn"].asString(); - if(!transcodeOutputNodeMergeListMerge["MergeURL"].isNull()) - mergeObject.mergeURL = transcodeOutputNodeMergeListMerge["MergeURL"].asString(); - if(!transcodeOutputNodeMergeListMerge["Duration"].isNull()) - mergeObject.duration = transcodeOutputNodeMergeListMerge["Duration"].asString(); - jobListObject.transcodeOutput.mergeList.push_back(mergeObject); - } - auto videoNode = transcodeOutputNode["Video"]; - if(!videoNode["Bufsize"].isNull()) - jobListObject.transcodeOutput.video.bufsize = videoNode["Bufsize"].asString(); - if(!videoNode["Degrain"].isNull()) - jobListObject.transcodeOutput.video.degrain = videoNode["Degrain"].asString(); - if(!videoNode["PixFmt"].isNull()) - jobListObject.transcodeOutput.video.pixFmt = videoNode["PixFmt"].asString(); - if(!videoNode["Pad"].isNull()) - jobListObject.transcodeOutput.video.pad = videoNode["Pad"].asString(); - if(!videoNode["Codec"].isNull()) - jobListObject.transcodeOutput.video.codec = videoNode["Codec"].asString(); - if(!videoNode["Height"].isNull()) - jobListObject.transcodeOutput.video.height = videoNode["Height"].asString(); - if(!videoNode["Qscale"].isNull()) - jobListObject.transcodeOutput.video.qscale = videoNode["Qscale"].asString(); - if(!videoNode["Crop"].isNull()) - jobListObject.transcodeOutput.video.crop = videoNode["Crop"].asString(); - if(!videoNode["Bitrate"].isNull()) - jobListObject.transcodeOutput.video.bitrate = videoNode["Bitrate"].asString(); - if(!videoNode["Maxrate"].isNull()) - jobListObject.transcodeOutput.video.maxrate = videoNode["Maxrate"].asString(); - if(!videoNode["MaxFps"].isNull()) - jobListObject.transcodeOutput.video.maxFps = videoNode["MaxFps"].asString(); - if(!videoNode["Profile"].isNull()) - jobListObject.transcodeOutput.video.profile = videoNode["Profile"].asString(); - if(!videoNode["Crf"].isNull()) - jobListObject.transcodeOutput.video.crf = videoNode["Crf"].asString(); - if(!videoNode["Gop"].isNull()) - jobListObject.transcodeOutput.video.gop = videoNode["Gop"].asString(); - if(!videoNode["Width"].isNull()) - jobListObject.transcodeOutput.video.width = videoNode["Width"].asString(); - if(!videoNode["Fps"].isNull()) - jobListObject.transcodeOutput.video.fps = videoNode["Fps"].asString(); - if(!videoNode["Preset"].isNull()) - jobListObject.transcodeOutput.video.preset = videoNode["Preset"].asString(); - if(!videoNode["ScanMode"].isNull()) - jobListObject.transcodeOutput.video.scanMode = videoNode["ScanMode"].asString(); - auto bitrateBndNode = videoNode["BitrateBnd"]; - if(!bitrateBndNode["Max"].isNull()) - jobListObject.transcodeOutput.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); - if(!bitrateBndNode["Min"].isNull()) - jobListObject.transcodeOutput.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); - auto transConfigNode = transcodeOutputNode["TransConfig"]; - if(!transConfigNode["IsCheckAudioBitrate"].isNull()) - jobListObject.transcodeOutput.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); - if(!transConfigNode["IsCheckReso"].isNull()) - jobListObject.transcodeOutput.transConfig.isCheckReso = transConfigNode["IsCheckReso"].asString(); - if(!transConfigNode["TransMode"].isNull()) - jobListObject.transcodeOutput.transConfig.transMode = transConfigNode["TransMode"].asString(); - if(!transConfigNode["IsCheckVideoBitrateFail"].isNull()) - jobListObject.transcodeOutput.transConfig.isCheckVideoBitrateFail = transConfigNode["IsCheckVideoBitrateFail"].asString(); - if(!transConfigNode["AdjDarMethod"].isNull()) - jobListObject.transcodeOutput.transConfig.adjDarMethod = transConfigNode["AdjDarMethod"].asString(); - if(!transConfigNode["Duration"].isNull()) - jobListObject.transcodeOutput.transConfig.duration = transConfigNode["Duration"].asString(); - if(!transConfigNode["IsCheckVideoBitrate"].isNull()) - jobListObject.transcodeOutput.transConfig.isCheckVideoBitrate = transConfigNode["IsCheckVideoBitrate"].asString(); - if(!transConfigNode["IsCheckResoFail"].isNull()) - jobListObject.transcodeOutput.transConfig.isCheckResoFail = transConfigNode["IsCheckResoFail"].asString(); - if(!transConfigNode["IsCheckAudioBitrateFail"].isNull()) - jobListObject.transcodeOutput.transConfig.isCheckAudioBitrateFail = transConfigNode["IsCheckAudioBitrateFail"].asString(); - auto encryptionNode = transcodeOutputNode["Encryption"]; - if(!encryptionNode["Type"].isNull()) - jobListObject.transcodeOutput.encryption.type = encryptionNode["Type"].asString(); - if(!encryptionNode["Key"].isNull()) - jobListObject.transcodeOutput.encryption.key = encryptionNode["Key"].asString(); - if(!encryptionNode["KeyType"].isNull()) - jobListObject.transcodeOutput.encryption.keyType = encryptionNode["KeyType"].asString(); - if(!encryptionNode["Id"].isNull()) - jobListObject.transcodeOutput.encryption.id = encryptionNode["Id"].asString(); - if(!encryptionNode["KeyUri"].isNull()) - jobListObject.transcodeOutput.encryption.keyUri = encryptionNode["KeyUri"].asString(); - if(!encryptionNode["SkipCnt"].isNull()) - jobListObject.transcodeOutput.encryption.skipCnt = encryptionNode["SkipCnt"].asString(); - auto m3U8NonStandardSupportNode = transcodeOutputNode["M3U8NonStandardSupport"]; - auto tSNode = m3U8NonStandardSupportNode["TS"]; - if(!tSNode["SizeSupport"].isNull()) - jobListObject.transcodeOutput.m3U8NonStandardSupport.tS.sizeSupport = tSNode["SizeSupport"].asString() == "true"; - if(!tSNode["Md5Support"].isNull()) - jobListObject.transcodeOutput.m3U8NonStandardSupport.tS.md5Support = tSNode["Md5Support"].asString() == "true"; - auto audioNode = transcodeOutputNode["Audio"]; - if(!audioNode["Profile"].isNull()) - jobListObject.transcodeOutput.audio.profile = audioNode["Profile"].asString(); - if(!audioNode["Codec"].isNull()) - jobListObject.transcodeOutput.audio.codec = audioNode["Codec"].asString(); - if(!audioNode["Samplerate"].isNull()) - jobListObject.transcodeOutput.audio.samplerate = audioNode["Samplerate"].asString(); - if(!audioNode["Qscale"].isNull()) - jobListObject.transcodeOutput.audio.qscale = audioNode["Qscale"].asString(); - if(!audioNode["Channels"].isNull()) - jobListObject.transcodeOutput.audio.channels = audioNode["Channels"].asString(); - if(!audioNode["Bitrate"].isNull()) - jobListObject.transcodeOutput.audio.bitrate = audioNode["Bitrate"].asString(); - auto volumeNode = audioNode["Volume"]; - if(!volumeNode["Method"].isNull()) - jobListObject.transcodeOutput.audio.volume.method = volumeNode["Method"].asString(); - if(!volumeNode["Level"].isNull()) - jobListObject.transcodeOutput.audio.volume.level = volumeNode["Level"].asString(); - auto superResoNode = transcodeOutputNode["SuperReso"]; - if(!superResoNode["IsHalfSample"].isNull()) - jobListObject.transcodeOutput.superReso.isHalfSample = superResoNode["IsHalfSample"].asString(); - auto digiWaterMarkNode = transcodeOutputNode["DigiWaterMark"]; - if(!digiWaterMarkNode["Type"].isNull()) - jobListObject.transcodeOutput.digiWaterMark.type = digiWaterMarkNode["Type"].asString(); - if(!digiWaterMarkNode["Alpha"].isNull()) - jobListObject.transcodeOutput.digiWaterMark.alpha = digiWaterMarkNode["Alpha"].asString(); - auto inputFile3Node = digiWaterMarkNode["InputFile"]; - if(!inputFile3Node["Object"].isNull()) - jobListObject.transcodeOutput.digiWaterMark.inputFile3.object = inputFile3Node["Object"].asString(); - if(!inputFile3Node["Location"].isNull()) - jobListObject.transcodeOutput.digiWaterMark.inputFile3.location = inputFile3Node["Location"].asString(); - if(!inputFile3Node["Bucket"].isNull()) - jobListObject.transcodeOutput.digiWaterMark.inputFile3.bucket = inputFile3Node["Bucket"].asString(); - auto outputFileNode = transcodeOutputNode["OutputFile"]; - if(!outputFileNode["RoleArn"].isNull()) - jobListObject.transcodeOutput.outputFile.roleArn = outputFileNode["RoleArn"].asString(); - if(!outputFileNode["Object"].isNull()) - jobListObject.transcodeOutput.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobListObject.transcodeOutput.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobListObject.transcodeOutput.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto containerNode = transcodeOutputNode["Container"]; - if(!containerNode["Format"].isNull()) - jobListObject.transcodeOutput.container.format = containerNode["Format"].asString(); - auto clip4Node = transcodeOutputNode["Clip"]; - auto timeSpanNode = clip4Node["TimeSpan"]; - if(!timeSpanNode["Seek"].isNull()) - jobListObject.transcodeOutput.clip4.timeSpan.seek = timeSpanNode["Seek"].asString(); - if(!timeSpanNode["Duration"].isNull()) - jobListObject.transcodeOutput.clip4.timeSpan.duration = timeSpanNode["Duration"].asString(); - auto muxConfigNode = transcodeOutputNode["MuxConfig"]; - auto gifNode = muxConfigNode["Gif"]; - if(!gifNode["FinalDelay"].isNull()) - jobListObject.transcodeOutput.muxConfig.gif.finalDelay = gifNode["FinalDelay"].asString(); - if(!gifNode["DitherMode"].isNull()) - jobListObject.transcodeOutput.muxConfig.gif.ditherMode = gifNode["DitherMode"].asString(); - if(!gifNode["Loop"].isNull()) - jobListObject.transcodeOutput.muxConfig.gif.loop = gifNode["Loop"].asString(); - if(!gifNode["IsCustomPalette"].isNull()) - jobListObject.transcodeOutput.muxConfig.gif.isCustomPalette = gifNode["IsCustomPalette"].asString(); - auto segmentNode = muxConfigNode["Segment"]; - if(!segmentNode["Duration"].isNull()) - jobListObject.transcodeOutput.muxConfig.segment.duration = segmentNode["Duration"].asString(); - auto subtitleConfigNode = transcodeOutputNode["SubtitleConfig"]; - auto allExtSubtitleListNode = subtitleConfigNode["ExtSubtitleList"]["ExtSubtitle"]; - for (auto subtitleConfigNodeExtSubtitleListExtSubtitle : allExtSubtitleListNode) - { - Job::TranscodeOutput::SubtitleConfig::ExtSubtitle extSubtitleObject; - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].isNull()) - extSubtitleObject.charEnc = subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].asString(); - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].isNull()) - extSubtitleObject.fontName = subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - extSubtitleObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - extSubtitleObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - extSubtitleObject.input.bucket = inputNode["Bucket"].asString(); - jobListObject.transcodeOutput.subtitleConfig.extSubtitleList.push_back(extSubtitleObject); - } - auto allSubtitleListNode = subtitleConfigNode["SubtitleList"]["Subtitle"]; - for (auto subtitleConfigNodeSubtitleListSubtitle : allSubtitleListNode) - { - Job::TranscodeOutput::SubtitleConfig::Subtitle subtitleObject; - if(!subtitleConfigNodeSubtitleListSubtitle["Map"].isNull()) - subtitleObject.map = subtitleConfigNodeSubtitleListSubtitle["Map"].asString(); - jobListObject.transcodeOutput.subtitleConfig.subtitleList.push_back(subtitleObject); - } - auto propertiesNode = transcodeOutputNode["Properties"]; - if(!propertiesNode["Width"].isNull()) - jobListObject.transcodeOutput.properties.width = propertiesNode["Width"].asString(); - if(!propertiesNode["Height"].isNull()) - jobListObject.transcodeOutput.properties.height = propertiesNode["Height"].asString(); - if(!propertiesNode["Duration"].isNull()) - jobListObject.transcodeOutput.properties.duration = propertiesNode["Duration"].asString(); - if(!propertiesNode["Fps"].isNull()) - jobListObject.transcodeOutput.properties.fps = propertiesNode["Fps"].asString(); - if(!propertiesNode["Bitrate"].isNull()) - jobListObject.transcodeOutput.properties.bitrate = propertiesNode["Bitrate"].asString(); - if(!propertiesNode["FileFormat"].isNull()) - jobListObject.transcodeOutput.properties.fileFormat = propertiesNode["FileFormat"].asString(); - if(!propertiesNode["FileSize"].isNull()) - jobListObject.transcodeOutput.properties.fileSize = propertiesNode["FileSize"].asString(); - auto streamsNode = propertiesNode["Streams"]; - auto allVideoStreamListNode = streamsNode["VideoStreamList"]["VideoStream"]; - for (auto streamsNodeVideoStreamListVideoStream : allVideoStreamListNode) - { - Job::TranscodeOutput::Properties::Streams::VideoStream videoStreamObject; - if(!streamsNodeVideoStreamListVideoStream["Index"].isNull()) - videoStreamObject.index = streamsNodeVideoStreamListVideoStream["Index"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Timebase"].isNull()) - videoStreamObject.timebase = streamsNodeVideoStreamListVideoStream["Timebase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["AvgFPS"].isNull()) - videoStreamObject.avgFPS = streamsNodeVideoStreamListVideoStream["AvgFPS"].asString(); - if(!streamsNodeVideoStreamListVideoStream["PixFmt"].isNull()) - videoStreamObject.pixFmt = streamsNodeVideoStreamListVideoStream["PixFmt"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Sar"].isNull()) - videoStreamObject.sar = streamsNodeVideoStreamListVideoStream["Sar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Lang"].isNull()) - videoStreamObject.lang = streamsNodeVideoStreamListVideoStream["Lang"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecLongName"].isNull()) - videoStreamObject.codecLongName = streamsNodeVideoStreamListVideoStream["CodecLongName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Height"].isNull()) - videoStreamObject.height = streamsNodeVideoStreamListVideoStream["Height"].asString(); - if(!streamsNodeVideoStreamListVideoStream["NumFrames"].isNull()) - videoStreamObject.numFrames = streamsNodeVideoStreamListVideoStream["NumFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Bitrate"].isNull()) - videoStreamObject.bitrate = streamsNodeVideoStreamListVideoStream["Bitrate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTagString"].isNull()) - videoStreamObject.codecTagString = streamsNodeVideoStreamListVideoStream["CodecTagString"].asString(); - if(!streamsNodeVideoStreamListVideoStream["HasBFrames"].isNull()) - videoStreamObject.hasBFrames = streamsNodeVideoStreamListVideoStream["HasBFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Profile"].isNull()) - videoStreamObject.profile = streamsNodeVideoStreamListVideoStream["Profile"].asString(); - if(!streamsNodeVideoStreamListVideoStream["StartTime"].isNull()) - videoStreamObject.startTime = streamsNodeVideoStreamListVideoStream["StartTime"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Dar"].isNull()) - videoStreamObject.dar = streamsNodeVideoStreamListVideoStream["Dar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecName"].isNull()) - videoStreamObject.codecName = streamsNodeVideoStreamListVideoStream["CodecName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Width"].isNull()) - videoStreamObject.width = streamsNodeVideoStreamListVideoStream["Width"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Duration"].isNull()) - videoStreamObject.duration = streamsNodeVideoStreamListVideoStream["Duration"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Fps"].isNull()) - videoStreamObject.fps = streamsNodeVideoStreamListVideoStream["Fps"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTag"].isNull()) - videoStreamObject.codecTag = streamsNodeVideoStreamListVideoStream["CodecTag"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTimeBase"].isNull()) - videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) - videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); - auto networkCostNode = value["NetworkCost"]; - if(!networkCostNode["PreloadTime"].isNull()) - videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); - if(!networkCostNode["AvgBitrate"].isNull()) - videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString(); - if(!networkCostNode["CostBandwidth"].isNull()) - videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString(); - jobListObject.transcodeOutput.properties.streams.videoStreamList.push_back(videoStreamObject); - } - auto allAudioStreamListNode = streamsNode["AudioStreamList"]["AudioStream"]; - for (auto streamsNodeAudioStreamListAudioStream : allAudioStreamListNode) - { - Job::TranscodeOutput::Properties::Streams::AudioStream audioStreamObject; - if(!streamsNodeAudioStreamListAudioStream["Timebase"].isNull()) - audioStreamObject.timebase = streamsNodeAudioStreamListAudioStream["Timebase"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Index"].isNull()) - audioStreamObject.index = streamsNodeAudioStreamListAudioStream["Index"].asString(); - if(!streamsNodeAudioStreamListAudioStream["SampleFmt"].isNull()) - audioStreamObject.sampleFmt = streamsNodeAudioStreamListAudioStream["SampleFmt"].asString(); - if(!streamsNodeAudioStreamListAudioStream["ChannelLayout"].isNull()) - audioStreamObject.channelLayout = streamsNodeAudioStreamListAudioStream["ChannelLayout"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Lang"].isNull()) - audioStreamObject.lang = streamsNodeAudioStreamListAudioStream["Lang"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Samplerate"].isNull()) - audioStreamObject.samplerate = streamsNodeAudioStreamListAudioStream["Samplerate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecLongName"].isNull()) - audioStreamObject.codecLongName = streamsNodeAudioStreamListAudioStream["CodecLongName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Channels"].isNull()) - audioStreamObject.channels = streamsNodeAudioStreamListAudioStream["Channels"].asString(); - if(!streamsNodeAudioStreamListAudioStream["NumFrames"].isNull()) - audioStreamObject.numFrames = streamsNodeAudioStreamListAudioStream["NumFrames"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Bitrate"].isNull()) - audioStreamObject.bitrate = streamsNodeAudioStreamListAudioStream["Bitrate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTagString"].isNull()) - audioStreamObject.codecTagString = streamsNodeAudioStreamListAudioStream["CodecTagString"].asString(); - if(!streamsNodeAudioStreamListAudioStream["StartTime"].isNull()) - audioStreamObject.startTime = streamsNodeAudioStreamListAudioStream["StartTime"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecName"].isNull()) - audioStreamObject.codecName = streamsNodeAudioStreamListAudioStream["CodecName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Duration"].isNull()) - audioStreamObject.duration = streamsNodeAudioStreamListAudioStream["Duration"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTag"].isNull()) - audioStreamObject.codecTag = streamsNodeAudioStreamListAudioStream["CodecTag"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTimeBase"].isNull()) - audioStreamObject.codecTimeBase = streamsNodeAudioStreamListAudioStream["CodecTimeBase"].asString(); - jobListObject.transcodeOutput.properties.streams.audioStreamList.push_back(audioStreamObject); - } - auto allSubtitleStreamListNode = streamsNode["SubtitleStreamList"]["SubtitleStream"]; - for (auto streamsNodeSubtitleStreamListSubtitleStream : allSubtitleStreamListNode) - { - Job::TranscodeOutput::Properties::Streams::SubtitleStream subtitleStreamObject; - if(!streamsNodeSubtitleStreamListSubtitleStream["Index"].isNull()) - subtitleStreamObject.index = streamsNodeSubtitleStreamListSubtitleStream["Index"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Lang"].isNull()) - subtitleStreamObject.lang = streamsNodeSubtitleStreamListSubtitleStream["Lang"].asString(); - jobListObject.transcodeOutput.properties.streams.subtitleStreamList.push_back(subtitleStreamObject); - } - auto formatNode = propertiesNode["Format"]; - if(!formatNode["StartTime"].isNull()) - jobListObject.transcodeOutput.properties.format.startTime = formatNode["StartTime"].asString(); - if(!formatNode["NumPrograms"].isNull()) - jobListObject.transcodeOutput.properties.format.numPrograms = formatNode["NumPrograms"].asString(); - if(!formatNode["Size"].isNull()) - jobListObject.transcodeOutput.properties.format.size = formatNode["Size"].asString(); - if(!formatNode["NumStreams"].isNull()) - jobListObject.transcodeOutput.properties.format.numStreams = formatNode["NumStreams"].asString(); - if(!formatNode["FormatLongName"].isNull()) - jobListObject.transcodeOutput.properties.format.formatLongName = formatNode["FormatLongName"].asString(); - if(!formatNode["Duration"].isNull()) - jobListObject.transcodeOutput.properties.format.duration = formatNode["Duration"].asString(); - if(!formatNode["Bitrate"].isNull()) - jobListObject.transcodeOutput.properties.format.bitrate = formatNode["Bitrate"].asString(); - if(!formatNode["FormatName"].isNull()) - jobListObject.transcodeOutput.properties.format.formatName = formatNode["FormatName"].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 QueryComplexJobListResult::getNonExistJobIds()const -{ - return nonExistJobIds_; -} - -std::vector QueryComplexJobListResult::getJobList()const -{ - return jobList_; -} - diff --git a/mts/src/model/DetectImageSyncRequest.cc b/mts/src/model/QueryCopyrightExtractJobRequest.cc similarity index 53% rename from mts/src/model/DetectImageSyncRequest.cc rename to mts/src/model/QueryCopyrightExtractJobRequest.cc index cfb64b43a..a0c9aba00 100644 --- a/mts/src/model/DetectImageSyncRequest.cc +++ b/mts/src/model/QueryCopyrightExtractJobRequest.cc @@ -14,23 +14,23 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Mts::Model::DetectImageSyncRequest; +using AlibabaCloud::Mts::Model::QueryCopyrightExtractJobRequest; -DetectImageSyncRequest::DetectImageSyncRequest() - : RpcServiceRequest("mts", "2014-06-18", "DetectImageSync") { +QueryCopyrightExtractJobRequest::QueryCopyrightExtractJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "QueryCopyrightExtractJob") { setMethod(HttpRequest::Method::Post); } -DetectImageSyncRequest::~DetectImageSyncRequest() {} +QueryCopyrightExtractJobRequest::~QueryCopyrightExtractJobRequest() {} -std::string DetectImageSyncRequest::getImage() const { - return image_; +std::string QueryCopyrightExtractJobRequest::getJobId() const { + return jobId_; } -void DetectImageSyncRequest::setImage(const std::string &image) { - image_ = image; - setParameter(std::string("Image"), image); +void QueryCopyrightExtractJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } diff --git a/mts/src/model/QueryCopyrightExtractJobResult.cc b/mts/src/model/QueryCopyrightExtractJobResult.cc new file mode 100644 index 000000000..d5a2379bb --- /dev/null +++ b/mts/src/model/QueryCopyrightExtractJobResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +QueryCopyrightExtractJobResult::QueryCopyrightExtractJobResult() : + ServiceResult() +{} + +QueryCopyrightExtractJobResult::QueryCopyrightExtractJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCopyrightExtractJobResult::~QueryCopyrightExtractJobResult() +{} + +void QueryCopyrightExtractJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Message"].isNull()) + data_.message = dataNode["Message"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string QueryCopyrightExtractJobResult::getMessage()const +{ + return message_; +} + +QueryCopyrightExtractJobResult::Data QueryCopyrightExtractJobResult::getData()const +{ + return data_; +} + +long QueryCopyrightExtractJobResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/QueryCopyrightJobRequest.cc b/mts/src/model/QueryCopyrightJobRequest.cc new file mode 100644 index 000000000..a1b78a6ba --- /dev/null +++ b/mts/src/model/QueryCopyrightJobRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Mts::Model::QueryCopyrightJobRequest; + +QueryCopyrightJobRequest::QueryCopyrightJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "QueryCopyrightJob") { + setMethod(HttpRequest::Method::Post); +} + +QueryCopyrightJobRequest::~QueryCopyrightJobRequest() {} + +long QueryCopyrightJobRequest::getLevel() const { + return level_; +} + +void QueryCopyrightJobRequest::setLevel(long level) { + level_ = level; + setParameter(std::string("Level"), std::to_string(level)); +} + +long QueryCopyrightJobRequest::getPageNumber() const { + return pageNumber_; +} + +void QueryCopyrightJobRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long QueryCopyrightJobRequest::getCreateTimeEnd() const { + return createTimeEnd_; +} + +void QueryCopyrightJobRequest::setCreateTimeEnd(long createTimeEnd) { + createTimeEnd_ = createTimeEnd; + setParameter(std::string("CreateTimeEnd"), std::to_string(createTimeEnd)); +} + +std::string QueryCopyrightJobRequest::getJobId() const { + return jobId_; +} + +void QueryCopyrightJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +long QueryCopyrightJobRequest::getPageSize() const { + return pageSize_; +} + +void QueryCopyrightJobRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +long QueryCopyrightJobRequest::getCreateTimeStart() const { + return createTimeStart_; +} + +void QueryCopyrightJobRequest::setCreateTimeStart(long createTimeStart) { + createTimeStart_ = createTimeStart; + setParameter(std::string("CreateTimeStart"), std::to_string(createTimeStart)); +} + diff --git a/mts/src/model/QueryCopyrightJobResult.cc b/mts/src/model/QueryCopyrightJobResult.cc new file mode 100644 index 000000000..d23543ead --- /dev/null +++ b/mts/src/model/QueryCopyrightJobResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +QueryCopyrightJobResult::QueryCopyrightJobResult() : + ServiceResult() +{} + +QueryCopyrightJobResult::QueryCopyrightJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCopyrightJobResult::~QueryCopyrightJobResult() +{} + +void QueryCopyrightJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Callback"].isNull()) + dataObject.callback = valueDataDataItem["Callback"].asString(); + if(!valueDataDataItem["GmtCreate"].isNull()) + dataObject.gmtCreate = std::stol(valueDataDataItem["GmtCreate"].asString()); + if(!valueDataDataItem["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(valueDataDataItem["GmtModified"].asString()); + if(!valueDataDataItem["Input"].isNull()) + dataObject.input = valueDataDataItem["Input"].asString(); + if(!valueDataDataItem["JobId"].isNull()) + dataObject.jobId = valueDataDataItem["JobId"].asString(); + if(!valueDataDataItem["Level"].isNull()) + dataObject.level = std::stol(valueDataDataItem["Level"].asString()); + if(!valueDataDataItem["Message"].isNull()) + dataObject.message = valueDataDataItem["Message"].asString(); + if(!valueDataDataItem["MessageId"].isNull()) + dataObject.messageId = std::stol(valueDataDataItem["MessageId"].asString()); + if(!valueDataDataItem["Output"].isNull()) + dataObject.output = valueDataDataItem["Output"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["UserData"].isNull()) + dataObject.userData = valueDataDataItem["UserData"].asString(); + if(!valueDataDataItem["UserId"].isNull()) + dataObject.userId = std::stol(valueDataDataItem["UserId"].asString()); + if(!valueDataDataItem["Result"].isNull()) + dataObject.result = valueDataDataItem["Result"].asString(); + data_.push_back(dataObject); + } + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string QueryCopyrightJobResult::getMessage()const +{ + return message_; +} + +std::vector QueryCopyrightJobResult::getData()const +{ + return data_; +} + +long QueryCopyrightJobResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/QueryCoverJobListRequest.cc b/mts/src/model/QueryCoverJobListRequest.cc deleted file mode 100644 index c3da593b1..000000000 --- a/mts/src/model/QueryCoverJobListRequest.cc +++ /dev/null @@ -1,135 +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 - -using AlibabaCloud::Mts::Model::QueryCoverJobListRequest; - -QueryCoverJobListRequest::QueryCoverJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryCoverJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryCoverJobListRequest::~QueryCoverJobListRequest() {} - -long QueryCoverJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryCoverJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryCoverJobListRequest::getNextPageToken() const { - return nextPageToken_; -} - -void QueryCoverJobListRequest::setNextPageToken(const std::string &nextPageToken) { - nextPageToken_ = nextPageToken; - setParameter(std::string("NextPageToken"), nextPageToken); -} - -std::string QueryCoverJobListRequest::getStartOfJobCreatedTimeRange() const { - return startOfJobCreatedTimeRange_; -} - -void QueryCoverJobListRequest::setStartOfJobCreatedTimeRange(const std::string &startOfJobCreatedTimeRange) { - startOfJobCreatedTimeRange_ = startOfJobCreatedTimeRange; - setParameter(std::string("StartOfJobCreatedTimeRange"), startOfJobCreatedTimeRange); -} - -std::string QueryCoverJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryCoverJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryCoverJobListRequest::getCoverJobIds() const { - return coverJobIds_; -} - -void QueryCoverJobListRequest::setCoverJobIds(const std::string &coverJobIds) { - coverJobIds_ = coverJobIds; - setParameter(std::string("CoverJobIds"), coverJobIds); -} - -std::string QueryCoverJobListRequest::getState() const { - return state_; -} - -void QueryCoverJobListRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string QueryCoverJobListRequest::getEndOfJobCreatedTimeRange() const { - return endOfJobCreatedTimeRange_; -} - -void QueryCoverJobListRequest::setEndOfJobCreatedTimeRange(const std::string &endOfJobCreatedTimeRange) { - endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange; - setParameter(std::string("EndOfJobCreatedTimeRange"), endOfJobCreatedTimeRange); -} - -std::string QueryCoverJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryCoverJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryCoverJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryCoverJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryCoverJobListRequest::getMaximumPageSize() const { - return maximumPageSize_; -} - -void QueryCoverJobListRequest::setMaximumPageSize(long maximumPageSize) { - maximumPageSize_ = maximumPageSize; - setParameter(std::string("MaximumPageSize"), std::to_string(maximumPageSize)); -} - -long QueryCoverJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryCoverJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryCoverJobListRequest::getPipelineId() const { - return pipelineId_; -} - -void QueryCoverJobListRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - diff --git a/mts/src/model/QueryCoverJobListResult.cc b/mts/src/model/QueryCoverJobListResult.cc deleted file mode 100644 index 06fe15ebc..000000000 --- a/mts/src/model/QueryCoverJobListResult.cc +++ /dev/null @@ -1,111 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryCoverJobListResult::QueryCoverJobListResult() : - ServiceResult() -{} - -QueryCoverJobListResult::QueryCoverJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryCoverJobListResult::~QueryCoverJobListResult() -{} - -void QueryCoverJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allCoverJobListNode = value["CoverJobList"]["CoverJob"]; - for (auto valueCoverJobListCoverJob : allCoverJobListNode) - { - CoverJob coverJobListObject; - if(!valueCoverJobListCoverJob["CreationTime"].isNull()) - coverJobListObject.creationTime = valueCoverJobListCoverJob["CreationTime"].asString(); - if(!valueCoverJobListCoverJob["State"].isNull()) - coverJobListObject.state = valueCoverJobListCoverJob["State"].asString(); - if(!valueCoverJobListCoverJob["UserData"].isNull()) - coverJobListObject.userData = valueCoverJobListCoverJob["UserData"].asString(); - if(!valueCoverJobListCoverJob["Code"].isNull()) - coverJobListObject.code = valueCoverJobListCoverJob["Code"].asString(); - if(!valueCoverJobListCoverJob["Message"].isNull()) - coverJobListObject.message = valueCoverJobListCoverJob["Message"].asString(); - if(!valueCoverJobListCoverJob["PipelineId"].isNull()) - coverJobListObject.pipelineId = valueCoverJobListCoverJob["PipelineId"].asString(); - if(!valueCoverJobListCoverJob["Id"].isNull()) - coverJobListObject.id = valueCoverJobListCoverJob["Id"].asString(); - auto allCoverImageListNode = valueCoverJobListCoverJob["CoverImageList"]["CoverImage"]; - for (auto valueCoverJobListCoverJobCoverImageListCoverImage : allCoverImageListNode) - { - CoverJob::CoverImage coverImageListObject; - if(!valueCoverJobListCoverJobCoverImageListCoverImage["Time"].isNull()) - coverImageListObject.time = valueCoverJobListCoverJobCoverImageListCoverImage["Time"].asString(); - if(!valueCoverJobListCoverJobCoverImageListCoverImage["Score"].isNull()) - coverImageListObject.score = valueCoverJobListCoverJobCoverImageListCoverImage["Score"].asString(); - if(!valueCoverJobListCoverJobCoverImageListCoverImage["Url"].isNull()) - coverImageListObject.url = valueCoverJobListCoverJobCoverImageListCoverImage["Url"].asString(); - coverJobListObject.coverImageList.push_back(coverImageListObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - coverJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - coverJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - coverJobListObject.input.bucket = inputNode["Bucket"].asString(); - auto coverConfigNode = value["CoverConfig"]; - auto outputFileNode = coverConfigNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - coverJobListObject.coverConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - coverJobListObject.coverConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - coverJobListObject.coverConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - coverJobList_.push_back(coverJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - if(!value["NextPageToken"].isNull()) - nextPageToken_ = value["NextPageToken"].asString(); - -} - -std::vector QueryCoverJobListResult::getCoverJobList()const -{ - return coverJobList_; -} - -std::string QueryCoverJobListResult::getNextPageToken()const -{ - return nextPageToken_; -} - -std::vector QueryCoverJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryCoverPipelineListRequest.cc b/mts/src/model/QueryCoverPipelineListRequest.cc deleted file mode 100644 index 2620eb449..000000000 --- a/mts/src/model/QueryCoverPipelineListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryCoverPipelineListRequest; - -QueryCoverPipelineListRequest::QueryCoverPipelineListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryCoverPipelineList") { - setMethod(HttpRequest::Method::Post); -} - -QueryCoverPipelineListRequest::~QueryCoverPipelineListRequest() {} - -long QueryCoverPipelineListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryCoverPipelineListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryCoverPipelineListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryCoverPipelineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryCoverPipelineListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryCoverPipelineListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryCoverPipelineListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryCoverPipelineListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryCoverPipelineListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryCoverPipelineListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryCoverPipelineListRequest::getPipelineIds() const { - return pipelineIds_; -} - -void QueryCoverPipelineListRequest::setPipelineIds(const std::string &pipelineIds) { - pipelineIds_ = pipelineIds; - setParameter(std::string("PipelineIds"), pipelineIds); -} - diff --git a/mts/src/model/QueryCoverPipelineListResult.cc b/mts/src/model/QueryCoverPipelineListResult.cc deleted file mode 100644 index da68ddbb4..000000000 --- a/mts/src/model/QueryCoverPipelineListResult.cc +++ /dev/null @@ -1,78 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryCoverPipelineListResult::QueryCoverPipelineListResult() : - ServiceResult() -{} - -QueryCoverPipelineListResult::QueryCoverPipelineListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryCoverPipelineListResult::~QueryCoverPipelineListResult() -{} - -void QueryCoverPipelineListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Role"].isNull()) - pipelineListObject.role = valuePipelineListPipeline["Role"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryCoverPipelineListResult::getPipelineList()const -{ - return pipelineList_; -} - -std::vector QueryCoverPipelineListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryEditingJobListRequest.cc b/mts/src/model/QueryEditingJobListRequest.cc deleted file mode 100644 index d56224d27..000000000 --- a/mts/src/model/QueryEditingJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryEditingJobListRequest; - -QueryEditingJobListRequest::QueryEditingJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryEditingJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryEditingJobListRequest::~QueryEditingJobListRequest() {} - -long QueryEditingJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryEditingJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryEditingJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryEditingJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryEditingJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryEditingJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryEditingJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryEditingJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryEditingJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryEditingJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryEditingJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryEditingJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryEditingJobListResult.cc b/mts/src/model/QueryEditingJobListResult.cc deleted file mode 100644 index ab2b939bc..000000000 --- a/mts/src/model/QueryEditingJobListResult.cc +++ /dev/null @@ -1,561 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryEditingJobListResult::QueryEditingJobListResult() : - ServiceResult() -{} - -QueryEditingJobListResult::QueryEditingJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryEditingJobListResult::~QueryEditingJobListResult() -{} - -void QueryEditingJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["Percent"].isNull()) - jobListObject.percent = std::stol(valueJobListJob["Percent"].asString()); - if(!valueJobListJob["FinishTime"].isNull()) - jobListObject.finishTime = valueJobListJob["FinishTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["JobId"].isNull()) - jobListObject.jobId = valueJobListJob["JobId"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - auto allEditingInputsNode = valueJobListJob["EditingInputs"]["EditingInput"]; - for (auto valueJobListJobEditingInputsEditingInput : allEditingInputsNode) - { - Job::EditingInput editingInputsObject; - if(!valueJobListJobEditingInputsEditingInput["Id"].isNull()) - editingInputsObject.id = valueJobListJobEditingInputsEditingInput["Id"].asString(); - auto inputFileNode = value["InputFile"]; - if(!inputFileNode["Object"].isNull()) - editingInputsObject.inputFile.object = inputFileNode["Object"].asString(); - if(!inputFileNode["Location"].isNull()) - editingInputsObject.inputFile.location = inputFileNode["Location"].asString(); - if(!inputFileNode["Bucket"].isNull()) - editingInputsObject.inputFile.bucket = inputFileNode["Bucket"].asString(); - auto inputConfigNode = value["InputConfig"]; - if(!inputConfigNode["IsNormalSar"].isNull()) - editingInputsObject.inputConfig.isNormalSar = inputConfigNode["IsNormalSar"].asString(); - if(!inputConfigNode["DeinterlaceMethod"].isNull()) - editingInputsObject.inputConfig.deinterlaceMethod = inputConfigNode["DeinterlaceMethod"].asString(); - jobListObject.editingInputs.push_back(editingInputsObject); - } - auto editingConfigNode = value["EditingConfig"]; - if(!editingConfigNode["DeWatermark"].isNull()) - jobListObject.editingConfig.deWatermark = editingConfigNode["DeWatermark"].asString(); - if(!editingConfigNode["WaterMarkConfigUrl"].isNull()) - jobListObject.editingConfig.waterMarkConfigUrl = editingConfigNode["WaterMarkConfigUrl"].asString(); - if(!editingConfigNode["Priority"].isNull()) - jobListObject.editingConfig.priority = editingConfigNode["Priority"].asString(); - if(!editingConfigNode["AudioStreamMap"].isNull()) - jobListObject.editingConfig.audioStreamMap = editingConfigNode["AudioStreamMap"].asString(); - if(!editingConfigNode["UserData"].isNull()) - jobListObject.editingConfig.userData = editingConfigNode["UserData"].asString(); - if(!editingConfigNode["VideoStreamMap"].isNull()) - jobListObject.editingConfig.videoStreamMap = editingConfigNode["VideoStreamMap"].asString(); - if(!editingConfigNode["Rotate"].isNull()) - jobListObject.editingConfig.rotate = editingConfigNode["Rotate"].asString(); - if(!editingConfigNode["MergeConfigUrl"].isNull()) - jobListObject.editingConfig.mergeConfigUrl = editingConfigNode["MergeConfigUrl"].asString(); - if(!editingConfigNode["TemplateId"].isNull()) - jobListObject.editingConfig.templateId = editingConfigNode["TemplateId"].asString(); - auto allWaterMarkListNode = editingConfigNode["WaterMarkList"]["WaterMark"]; - for (auto editingConfigNodeWaterMarkListWaterMark : allWaterMarkListNode) - { - Job::EditingConfig::WaterMark waterMarkObject; - if(!editingConfigNodeWaterMarkListWaterMark["Type"].isNull()) - waterMarkObject.type = editingConfigNodeWaterMarkListWaterMark["Type"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["ReferPos"].isNull()) - waterMarkObject.referPos = editingConfigNodeWaterMarkListWaterMark["ReferPos"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Dx"].isNull()) - waterMarkObject.dx = editingConfigNodeWaterMarkListWaterMark["Dx"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Width"].isNull()) - waterMarkObject.width = editingConfigNodeWaterMarkListWaterMark["Width"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Height"].isNull()) - waterMarkObject.height = editingConfigNodeWaterMarkListWaterMark["Height"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["WaterMarkTemplateId"].isNull()) - waterMarkObject.waterMarkTemplateId = editingConfigNodeWaterMarkListWaterMark["WaterMarkTemplateId"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Dy"].isNull()) - waterMarkObject.dy = editingConfigNodeWaterMarkListWaterMark["Dy"].asString(); - auto inputFile1Node = value["InputFile"]; - if(!inputFile1Node["Object"].isNull()) - waterMarkObject.inputFile1.object = inputFile1Node["Object"].asString(); - if(!inputFile1Node["Location"].isNull()) - waterMarkObject.inputFile1.location = inputFile1Node["Location"].asString(); - if(!inputFile1Node["Bucket"].isNull()) - waterMarkObject.inputFile1.bucket = inputFile1Node["Bucket"].asString(); - jobListObject.editingConfig.waterMarkList.push_back(waterMarkObject); - } - auto allMergeListNode = editingConfigNode["MergeList"]["Merge"]; - for (auto editingConfigNodeMergeListMerge : allMergeListNode) - { - Job::EditingConfig::Merge mergeObject; - if(!editingConfigNodeMergeListMerge["Start"].isNull()) - mergeObject.start = editingConfigNodeMergeListMerge["Start"].asString(); - if(!editingConfigNodeMergeListMerge["RoleArn"].isNull()) - mergeObject.roleArn = editingConfigNodeMergeListMerge["RoleArn"].asString(); - if(!editingConfigNodeMergeListMerge["MergeURL"].isNull()) - mergeObject.mergeURL = editingConfigNodeMergeListMerge["MergeURL"].asString(); - if(!editingConfigNodeMergeListMerge["Duration"].isNull()) - mergeObject.duration = editingConfigNodeMergeListMerge["Duration"].asString(); - jobListObject.editingConfig.mergeList.push_back(mergeObject); - } - auto videoNode = editingConfigNode["Video"]; - if(!videoNode["Bufsize"].isNull()) - jobListObject.editingConfig.video.bufsize = videoNode["Bufsize"].asString(); - if(!videoNode["Degrain"].isNull()) - jobListObject.editingConfig.video.degrain = videoNode["Degrain"].asString(); - if(!videoNode["PixFmt"].isNull()) - jobListObject.editingConfig.video.pixFmt = videoNode["PixFmt"].asString(); - if(!videoNode["Pad"].isNull()) - jobListObject.editingConfig.video.pad = videoNode["Pad"].asString(); - if(!videoNode["Codec"].isNull()) - jobListObject.editingConfig.video.codec = videoNode["Codec"].asString(); - if(!videoNode["Height"].isNull()) - jobListObject.editingConfig.video.height = videoNode["Height"].asString(); - if(!videoNode["Qscale"].isNull()) - jobListObject.editingConfig.video.qscale = videoNode["Qscale"].asString(); - if(!videoNode["Crop"].isNull()) - jobListObject.editingConfig.video.crop = videoNode["Crop"].asString(); - if(!videoNode["Bitrate"].isNull()) - jobListObject.editingConfig.video.bitrate = videoNode["Bitrate"].asString(); - if(!videoNode["Maxrate"].isNull()) - jobListObject.editingConfig.video.maxrate = videoNode["Maxrate"].asString(); - if(!videoNode["MaxFps"].isNull()) - jobListObject.editingConfig.video.maxFps = videoNode["MaxFps"].asString(); - if(!videoNode["Profile"].isNull()) - jobListObject.editingConfig.video.profile = videoNode["Profile"].asString(); - if(!videoNode["Crf"].isNull()) - jobListObject.editingConfig.video.crf = videoNode["Crf"].asString(); - if(!videoNode["Gop"].isNull()) - jobListObject.editingConfig.video.gop = videoNode["Gop"].asString(); - if(!videoNode["Width"].isNull()) - jobListObject.editingConfig.video.width = videoNode["Width"].asString(); - if(!videoNode["Fps"].isNull()) - jobListObject.editingConfig.video.fps = videoNode["Fps"].asString(); - if(!videoNode["Preset"].isNull()) - jobListObject.editingConfig.video.preset = videoNode["Preset"].asString(); - if(!videoNode["ScanMode"].isNull()) - jobListObject.editingConfig.video.scanMode = videoNode["ScanMode"].asString(); - auto bitrateBndNode = videoNode["BitrateBnd"]; - if(!bitrateBndNode["Max"].isNull()) - jobListObject.editingConfig.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); - if(!bitrateBndNode["Min"].isNull()) - jobListObject.editingConfig.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); - auto transConfigNode = editingConfigNode["TransConfig"]; - if(!transConfigNode["IsCheckAudioBitrate"].isNull()) - jobListObject.editingConfig.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); - if(!transConfigNode["IsCheckReso"].isNull()) - jobListObject.editingConfig.transConfig.isCheckReso = transConfigNode["IsCheckReso"].asString(); - if(!transConfigNode["TransMode"].isNull()) - jobListObject.editingConfig.transConfig.transMode = transConfigNode["TransMode"].asString(); - if(!transConfigNode["IsCheckVideoBitrateFail"].isNull()) - jobListObject.editingConfig.transConfig.isCheckVideoBitrateFail = transConfigNode["IsCheckVideoBitrateFail"].asString(); - if(!transConfigNode["AdjDarMethod"].isNull()) - jobListObject.editingConfig.transConfig.adjDarMethod = transConfigNode["AdjDarMethod"].asString(); - if(!transConfigNode["Duration"].isNull()) - jobListObject.editingConfig.transConfig.duration = transConfigNode["Duration"].asString(); - if(!transConfigNode["IsCheckVideoBitrate"].isNull()) - jobListObject.editingConfig.transConfig.isCheckVideoBitrate = transConfigNode["IsCheckVideoBitrate"].asString(); - if(!transConfigNode["IsCheckResoFail"].isNull()) - jobListObject.editingConfig.transConfig.isCheckResoFail = transConfigNode["IsCheckResoFail"].asString(); - if(!transConfigNode["IsCheckAudioBitrateFail"].isNull()) - jobListObject.editingConfig.transConfig.isCheckAudioBitrateFail = transConfigNode["IsCheckAudioBitrateFail"].asString(); - auto encryptionNode = editingConfigNode["Encryption"]; - if(!encryptionNode["Type"].isNull()) - jobListObject.editingConfig.encryption.type = encryptionNode["Type"].asString(); - if(!encryptionNode["Key"].isNull()) - jobListObject.editingConfig.encryption.key = encryptionNode["Key"].asString(); - if(!encryptionNode["KeyType"].isNull()) - jobListObject.editingConfig.encryption.keyType = encryptionNode["KeyType"].asString(); - if(!encryptionNode["Id"].isNull()) - jobListObject.editingConfig.encryption.id = encryptionNode["Id"].asString(); - if(!encryptionNode["KeyUri"].isNull()) - jobListObject.editingConfig.encryption.keyUri = encryptionNode["KeyUri"].asString(); - if(!encryptionNode["SkipCnt"].isNull()) - jobListObject.editingConfig.encryption.skipCnt = encryptionNode["SkipCnt"].asString(); - auto m3U8NonStandardSupportNode = editingConfigNode["M3U8NonStandardSupport"]; - auto tSNode = m3U8NonStandardSupportNode["TS"]; - if(!tSNode["SizeSupport"].isNull()) - jobListObject.editingConfig.m3U8NonStandardSupport.tS.sizeSupport = tSNode["SizeSupport"].asString() == "true"; - if(!tSNode["Md5Support"].isNull()) - jobListObject.editingConfig.m3U8NonStandardSupport.tS.md5Support = tSNode["Md5Support"].asString() == "true"; - auto audioNode = editingConfigNode["Audio"]; - if(!audioNode["Profile"].isNull()) - jobListObject.editingConfig.audio.profile = audioNode["Profile"].asString(); - if(!audioNode["Codec"].isNull()) - jobListObject.editingConfig.audio.codec = audioNode["Codec"].asString(); - if(!audioNode["Samplerate"].isNull()) - jobListObject.editingConfig.audio.samplerate = audioNode["Samplerate"].asString(); - if(!audioNode["Qscale"].isNull()) - jobListObject.editingConfig.audio.qscale = audioNode["Qscale"].asString(); - if(!audioNode["Channels"].isNull()) - jobListObject.editingConfig.audio.channels = audioNode["Channels"].asString(); - if(!audioNode["Bitrate"].isNull()) - jobListObject.editingConfig.audio.bitrate = audioNode["Bitrate"].asString(); - auto volumeNode = audioNode["Volume"]; - if(!volumeNode["Method"].isNull()) - jobListObject.editingConfig.audio.volume.method = volumeNode["Method"].asString(); - if(!volumeNode["Level"].isNull()) - jobListObject.editingConfig.audio.volume.level = volumeNode["Level"].asString(); - auto superResoNode = editingConfigNode["SuperReso"]; - if(!superResoNode["IsHalfSample"].isNull()) - jobListObject.editingConfig.superReso.isHalfSample = superResoNode["IsHalfSample"].asString(); - auto digiWaterMarkNode = editingConfigNode["DigiWaterMark"]; - if(!digiWaterMarkNode["Type"].isNull()) - jobListObject.editingConfig.digiWaterMark.type = digiWaterMarkNode["Type"].asString(); - if(!digiWaterMarkNode["Alpha"].isNull()) - jobListObject.editingConfig.digiWaterMark.alpha = digiWaterMarkNode["Alpha"].asString(); - auto inputFile2Node = digiWaterMarkNode["InputFile"]; - if(!inputFile2Node["Object"].isNull()) - jobListObject.editingConfig.digiWaterMark.inputFile2.object = inputFile2Node["Object"].asString(); - if(!inputFile2Node["Location"].isNull()) - jobListObject.editingConfig.digiWaterMark.inputFile2.location = inputFile2Node["Location"].asString(); - if(!inputFile2Node["Bucket"].isNull()) - jobListObject.editingConfig.digiWaterMark.inputFile2.bucket = inputFile2Node["Bucket"].asString(); - auto outputFileNode = editingConfigNode["OutputFile"]; - if(!outputFileNode["RoleArn"].isNull()) - jobListObject.editingConfig.outputFile.roleArn = outputFileNode["RoleArn"].asString(); - if(!outputFileNode["Object"].isNull()) - jobListObject.editingConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobListObject.editingConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobListObject.editingConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto editingNode = editingConfigNode["Editing"]; - auto allClipListNode = editingNode["ClipList"]["Clip"]; - for (auto editingNodeClipListClip : allClipListNode) - { - Job::EditingConfig::Editing::Clip clipObject; - if(!editingNodeClipListClip["Type"].isNull()) - clipObject.type = editingNodeClipListClip["Type"].asString(); - if(!editingNodeClipListClip["SourceID"].isNull()) - clipObject.sourceID = editingNodeClipListClip["SourceID"].asString(); - if(!editingNodeClipListClip["SourceType"].isNull()) - clipObject.sourceType = editingNodeClipListClip["SourceType"].asString(); - if(!editingNodeClipListClip["SourceStrmMap"].isNull()) - clipObject.sourceStrmMap = editingNodeClipListClip["SourceStrmMap"].asString(); - if(!editingNodeClipListClip["Out"].isNull()) - clipObject.out = editingNodeClipListClip["Out"].asString(); - if(!editingNodeClipListClip["In"].isNull()) - clipObject.in = editingNodeClipListClip["In"].asString(); - if(!editingNodeClipListClip["Id"].isNull()) - clipObject.id = editingNodeClipListClip["Id"].asString(); - auto allEffectsNode = editingNodeClipListClip["Effects"]["Effect"]; - for (auto editingNodeClipListClipEffectsEffect : allEffectsNode) - { - Job::EditingConfig::Editing::Clip::Effect effectsObject; - if(!editingNodeClipListClipEffectsEffect["Effect"].isNull()) - effectsObject.effect = editingNodeClipListClipEffectsEffect["Effect"].asString(); - if(!editingNodeClipListClipEffectsEffect["EffectConfig"].isNull()) - effectsObject.effectConfig = editingNodeClipListClipEffectsEffect["EffectConfig"].asString(); - clipObject.effects.push_back(effectsObject); - } - jobListObject.editingConfig.editing.clipList.push_back(clipObject); - } - auto timelineNode = editingNode["Timeline"]; - auto allTrackListNode = timelineNode["TrackList"]["Track"]; - for (auto timelineNodeTrackListTrack : allTrackListNode) - { - Job::EditingConfig::Editing::Timeline::Track trackObject; - if(!timelineNodeTrackListTrack["Type"].isNull()) - trackObject.type = timelineNodeTrackListTrack["Type"].asString(); - if(!timelineNodeTrackListTrack["Order"].isNull()) - trackObject.order = timelineNodeTrackListTrack["Order"].asString(); - if(!timelineNodeTrackListTrack["Id"].isNull()) - trackObject.id = timelineNodeTrackListTrack["Id"].asString(); - auto allClipsNode = timelineNodeTrackListTrack["Clips"]["Clip"]; - for (auto timelineNodeTrackListTrackClipsClip : allClipsNode) - { - Job::EditingConfig::Editing::Timeline::Track::Clip3 clipsObject; - if(!timelineNodeTrackListTrackClipsClip["Out"].isNull()) - clipsObject.out = timelineNodeTrackListTrackClipsClip["Out"].asString(); - if(!timelineNodeTrackListTrackClipsClip["In"].isNull()) - clipsObject.in = timelineNodeTrackListTrackClipsClip["In"].asString(); - if(!timelineNodeTrackListTrackClipsClip["clipID"].isNull()) - clipsObject.clipID = timelineNodeTrackListTrackClipsClip["clipID"].asString(); - auto clipsConfigNode = value["ClipsConfig"]; - auto clipsConfigVideoNode = clipsConfigNode["ClipsConfigVideo"]; - if(!clipsConfigVideoNode["T"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.t = clipsConfigVideoNode["T"].asString(); - if(!clipsConfigVideoNode["L"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.l = clipsConfigVideoNode["L"].asString(); - trackObject.clips.push_back(clipsObject); - } - jobListObject.editingConfig.editing.timeline.trackList.push_back(trackObject); - } - auto timelineConfigNode = timelineNode["TimelineConfig"]; - auto timelineConfigAudioNode = timelineConfigNode["TimelineConfigAudio"]; - if(!timelineConfigAudioNode["ChannelLayout"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigAudio.channelLayout = timelineConfigAudioNode["ChannelLayout"].asString(); - if(!timelineConfigAudioNode["Samplerate"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigAudio.samplerate = timelineConfigAudioNode["Samplerate"].asString(); - if(!timelineConfigAudioNode["Channels"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigAudio.channels = timelineConfigAudioNode["Channels"].asString(); - auto timelineConfigVideoNode = timelineConfigNode["TimelineConfigVideo"]; - if(!timelineConfigVideoNode["BgColor"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.bgColor = timelineConfigVideoNode["BgColor"].asString(); - if(!timelineConfigVideoNode["Width"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.width = timelineConfigVideoNode["Width"].asString(); - if(!timelineConfigVideoNode["RenderRatio"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.renderRatio = timelineConfigVideoNode["RenderRatio"].asString(); - if(!timelineConfigVideoNode["IsGpuData"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.isGpuData = timelineConfigVideoNode["IsGpuData"].asString(); - if(!timelineConfigVideoNode["Height"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.height = timelineConfigVideoNode["Height"].asString(); - if(!timelineConfigVideoNode["IsOneTrackData"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.isOneTrackData = timelineConfigVideoNode["IsOneTrackData"].asString(); - if(!timelineConfigVideoNode["Fps"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.fps = timelineConfigVideoNode["Fps"].asString(); - if(!timelineConfigVideoNode["ReclosePrec"].isNull()) - jobListObject.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.reclosePrec = timelineConfigVideoNode["ReclosePrec"].asString(); - auto containerNode = editingConfigNode["Container"]; - if(!containerNode["Format"].isNull()) - jobListObject.editingConfig.container.format = containerNode["Format"].asString(); - auto clip4Node = editingConfigNode["Clip"]; - auto timeSpanNode = clip4Node["TimeSpan"]; - if(!timeSpanNode["Seek"].isNull()) - jobListObject.editingConfig.clip4.timeSpan.seek = timeSpanNode["Seek"].asString(); - if(!timeSpanNode["Duration"].isNull()) - jobListObject.editingConfig.clip4.timeSpan.duration = timeSpanNode["Duration"].asString(); - auto muxConfigNode = editingConfigNode["MuxConfig"]; - auto gifNode = muxConfigNode["Gif"]; - if(!gifNode["FinalDelay"].isNull()) - jobListObject.editingConfig.muxConfig.gif.finalDelay = gifNode["FinalDelay"].asString(); - if(!gifNode["DitherMode"].isNull()) - jobListObject.editingConfig.muxConfig.gif.ditherMode = gifNode["DitherMode"].asString(); - if(!gifNode["Loop"].isNull()) - jobListObject.editingConfig.muxConfig.gif.loop = gifNode["Loop"].asString(); - if(!gifNode["IsCustomPalette"].isNull()) - jobListObject.editingConfig.muxConfig.gif.isCustomPalette = gifNode["IsCustomPalette"].asString(); - auto segmentNode = muxConfigNode["Segment"]; - if(!segmentNode["Duration"].isNull()) - jobListObject.editingConfig.muxConfig.segment.duration = segmentNode["Duration"].asString(); - auto subtitleConfigNode = editingConfigNode["SubtitleConfig"]; - auto allExtSubtitleListNode = subtitleConfigNode["ExtSubtitleList"]["ExtSubtitle"]; - for (auto subtitleConfigNodeExtSubtitleListExtSubtitle : allExtSubtitleListNode) - { - Job::EditingConfig::SubtitleConfig::ExtSubtitle extSubtitleObject; - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].isNull()) - extSubtitleObject.charEnc = subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].asString(); - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].isNull()) - extSubtitleObject.fontName = subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - extSubtitleObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - extSubtitleObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - extSubtitleObject.input.bucket = inputNode["Bucket"].asString(); - jobListObject.editingConfig.subtitleConfig.extSubtitleList.push_back(extSubtitleObject); - } - auto allSubtitleListNode = subtitleConfigNode["SubtitleList"]["Subtitle"]; - for (auto subtitleConfigNodeSubtitleListSubtitle : allSubtitleListNode) - { - Job::EditingConfig::SubtitleConfig::Subtitle subtitleObject; - if(!subtitleConfigNodeSubtitleListSubtitle["Map"].isNull()) - subtitleObject.map = subtitleConfigNodeSubtitleListSubtitle["Map"].asString(); - jobListObject.editingConfig.subtitleConfig.subtitleList.push_back(subtitleObject); - } - auto propertiesNode = editingConfigNode["Properties"]; - if(!propertiesNode["Width"].isNull()) - jobListObject.editingConfig.properties.width = propertiesNode["Width"].asString(); - if(!propertiesNode["Height"].isNull()) - jobListObject.editingConfig.properties.height = propertiesNode["Height"].asString(); - if(!propertiesNode["Duration"].isNull()) - jobListObject.editingConfig.properties.duration = propertiesNode["Duration"].asString(); - if(!propertiesNode["Fps"].isNull()) - jobListObject.editingConfig.properties.fps = propertiesNode["Fps"].asString(); - if(!propertiesNode["Bitrate"].isNull()) - jobListObject.editingConfig.properties.bitrate = propertiesNode["Bitrate"].asString(); - if(!propertiesNode["FileFormat"].isNull()) - jobListObject.editingConfig.properties.fileFormat = propertiesNode["FileFormat"].asString(); - if(!propertiesNode["FileSize"].isNull()) - jobListObject.editingConfig.properties.fileSize = propertiesNode["FileSize"].asString(); - auto streamsNode = propertiesNode["Streams"]; - auto allVideoStreamListNode = streamsNode["VideoStreamList"]["VideoStream"]; - for (auto streamsNodeVideoStreamListVideoStream : allVideoStreamListNode) - { - Job::EditingConfig::Properties::Streams::VideoStream videoStreamObject; - if(!streamsNodeVideoStreamListVideoStream["Index"].isNull()) - videoStreamObject.index = streamsNodeVideoStreamListVideoStream["Index"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Timebase"].isNull()) - videoStreamObject.timebase = streamsNodeVideoStreamListVideoStream["Timebase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["AvgFPS"].isNull()) - videoStreamObject.avgFPS = streamsNodeVideoStreamListVideoStream["AvgFPS"].asString(); - if(!streamsNodeVideoStreamListVideoStream["PixFmt"].isNull()) - videoStreamObject.pixFmt = streamsNodeVideoStreamListVideoStream["PixFmt"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Sar"].isNull()) - videoStreamObject.sar = streamsNodeVideoStreamListVideoStream["Sar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Lang"].isNull()) - videoStreamObject.lang = streamsNodeVideoStreamListVideoStream["Lang"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecLongName"].isNull()) - videoStreamObject.codecLongName = streamsNodeVideoStreamListVideoStream["CodecLongName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Height"].isNull()) - videoStreamObject.height = streamsNodeVideoStreamListVideoStream["Height"].asString(); - if(!streamsNodeVideoStreamListVideoStream["NumFrames"].isNull()) - videoStreamObject.numFrames = streamsNodeVideoStreamListVideoStream["NumFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Bitrate"].isNull()) - videoStreamObject.bitrate = streamsNodeVideoStreamListVideoStream["Bitrate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTagString"].isNull()) - videoStreamObject.codecTagString = streamsNodeVideoStreamListVideoStream["CodecTagString"].asString(); - if(!streamsNodeVideoStreamListVideoStream["HasBFrames"].isNull()) - videoStreamObject.hasBFrames = streamsNodeVideoStreamListVideoStream["HasBFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Profile"].isNull()) - videoStreamObject.profile = streamsNodeVideoStreamListVideoStream["Profile"].asString(); - if(!streamsNodeVideoStreamListVideoStream["StartTime"].isNull()) - videoStreamObject.startTime = streamsNodeVideoStreamListVideoStream["StartTime"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Dar"].isNull()) - videoStreamObject.dar = streamsNodeVideoStreamListVideoStream["Dar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecName"].isNull()) - videoStreamObject.codecName = streamsNodeVideoStreamListVideoStream["CodecName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Width"].isNull()) - videoStreamObject.width = streamsNodeVideoStreamListVideoStream["Width"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Duration"].isNull()) - videoStreamObject.duration = streamsNodeVideoStreamListVideoStream["Duration"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Fps"].isNull()) - videoStreamObject.fps = streamsNodeVideoStreamListVideoStream["Fps"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTag"].isNull()) - videoStreamObject.codecTag = streamsNodeVideoStreamListVideoStream["CodecTag"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTimeBase"].isNull()) - videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) - videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); - auto networkCostNode = value["NetworkCost"]; - if(!networkCostNode["PreloadTime"].isNull()) - videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); - if(!networkCostNode["AvgBitrate"].isNull()) - videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString(); - if(!networkCostNode["CostBandwidth"].isNull()) - videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString(); - jobListObject.editingConfig.properties.streams.videoStreamList.push_back(videoStreamObject); - } - auto allAudioStreamListNode = streamsNode["AudioStreamList"]["AudioStream"]; - for (auto streamsNodeAudioStreamListAudioStream : allAudioStreamListNode) - { - Job::EditingConfig::Properties::Streams::AudioStream audioStreamObject; - if(!streamsNodeAudioStreamListAudioStream["Timebase"].isNull()) - audioStreamObject.timebase = streamsNodeAudioStreamListAudioStream["Timebase"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Index"].isNull()) - audioStreamObject.index = streamsNodeAudioStreamListAudioStream["Index"].asString(); - if(!streamsNodeAudioStreamListAudioStream["SampleFmt"].isNull()) - audioStreamObject.sampleFmt = streamsNodeAudioStreamListAudioStream["SampleFmt"].asString(); - if(!streamsNodeAudioStreamListAudioStream["ChannelLayout"].isNull()) - audioStreamObject.channelLayout = streamsNodeAudioStreamListAudioStream["ChannelLayout"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Lang"].isNull()) - audioStreamObject.lang = streamsNodeAudioStreamListAudioStream["Lang"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Samplerate"].isNull()) - audioStreamObject.samplerate = streamsNodeAudioStreamListAudioStream["Samplerate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecLongName"].isNull()) - audioStreamObject.codecLongName = streamsNodeAudioStreamListAudioStream["CodecLongName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Channels"].isNull()) - audioStreamObject.channels = streamsNodeAudioStreamListAudioStream["Channels"].asString(); - if(!streamsNodeAudioStreamListAudioStream["NumFrames"].isNull()) - audioStreamObject.numFrames = streamsNodeAudioStreamListAudioStream["NumFrames"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Bitrate"].isNull()) - audioStreamObject.bitrate = streamsNodeAudioStreamListAudioStream["Bitrate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTagString"].isNull()) - audioStreamObject.codecTagString = streamsNodeAudioStreamListAudioStream["CodecTagString"].asString(); - if(!streamsNodeAudioStreamListAudioStream["StartTime"].isNull()) - audioStreamObject.startTime = streamsNodeAudioStreamListAudioStream["StartTime"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecName"].isNull()) - audioStreamObject.codecName = streamsNodeAudioStreamListAudioStream["CodecName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Duration"].isNull()) - audioStreamObject.duration = streamsNodeAudioStreamListAudioStream["Duration"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTag"].isNull()) - audioStreamObject.codecTag = streamsNodeAudioStreamListAudioStream["CodecTag"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTimeBase"].isNull()) - audioStreamObject.codecTimeBase = streamsNodeAudioStreamListAudioStream["CodecTimeBase"].asString(); - jobListObject.editingConfig.properties.streams.audioStreamList.push_back(audioStreamObject); - } - auto allSubtitleStreamListNode = streamsNode["SubtitleStreamList"]["SubtitleStream"]; - for (auto streamsNodeSubtitleStreamListSubtitleStream : allSubtitleStreamListNode) - { - Job::EditingConfig::Properties::Streams::SubtitleStream subtitleStreamObject; - if(!streamsNodeSubtitleStreamListSubtitleStream["Index"].isNull()) - subtitleStreamObject.index = streamsNodeSubtitleStreamListSubtitleStream["Index"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Lang"].isNull()) - subtitleStreamObject.lang = streamsNodeSubtitleStreamListSubtitleStream["Lang"].asString(); - jobListObject.editingConfig.properties.streams.subtitleStreamList.push_back(subtitleStreamObject); - } - auto formatNode = propertiesNode["Format"]; - if(!formatNode["StartTime"].isNull()) - jobListObject.editingConfig.properties.format.startTime = formatNode["StartTime"].asString(); - if(!formatNode["NumPrograms"].isNull()) - jobListObject.editingConfig.properties.format.numPrograms = formatNode["NumPrograms"].asString(); - if(!formatNode["Size"].isNull()) - jobListObject.editingConfig.properties.format.size = formatNode["Size"].asString(); - if(!formatNode["NumStreams"].isNull()) - jobListObject.editingConfig.properties.format.numStreams = formatNode["NumStreams"].asString(); - if(!formatNode["FormatLongName"].isNull()) - jobListObject.editingConfig.properties.format.formatLongName = formatNode["FormatLongName"].asString(); - if(!formatNode["Duration"].isNull()) - jobListObject.editingConfig.properties.format.duration = formatNode["Duration"].asString(); - if(!formatNode["Bitrate"].isNull()) - jobListObject.editingConfig.properties.format.bitrate = formatNode["Bitrate"].asString(); - if(!formatNode["FormatName"].isNull()) - jobListObject.editingConfig.properties.format.formatName = formatNode["FormatName"].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 QueryEditingJobListResult::getNonExistJobIds()const -{ - return nonExistJobIds_; -} - -std::vector QueryEditingJobListResult::getJobList()const -{ - return jobList_; -} - diff --git a/mts/src/model/QueryFacerecogJobListRequest.cc b/mts/src/model/QueryFacerecogJobListRequest.cc deleted file mode 100644 index a305e4a81..000000000 --- a/mts/src/model/QueryFacerecogJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryFacerecogJobListRequest; - -QueryFacerecogJobListRequest::QueryFacerecogJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryFacerecogJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryFacerecogJobListRequest::~QueryFacerecogJobListRequest() {} - -long QueryFacerecogJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryFacerecogJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryFacerecogJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryFacerecogJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryFacerecogJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryFacerecogJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string QueryFacerecogJobListRequest::getFacerecogJobIds() const { - return facerecogJobIds_; -} - -void QueryFacerecogJobListRequest::setFacerecogJobIds(const std::string &facerecogJobIds) { - facerecogJobIds_ = facerecogJobIds; - setParameter(std::string("FacerecogJobIds"), facerecogJobIds); -} - -long QueryFacerecogJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryFacerecogJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryFacerecogJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryFacerecogJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/QueryFacerecogJobListResult.cc b/mts/src/model/QueryFacerecogJobListResult.cc deleted file mode 100644 index 56abb86cf..000000000 --- a/mts/src/model/QueryFacerecogJobListResult.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryFacerecogJobListResult::QueryFacerecogJobListResult() : - ServiceResult() -{} - -QueryFacerecogJobListResult::QueryFacerecogJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryFacerecogJobListResult::~QueryFacerecogJobListResult() -{} - -void QueryFacerecogJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allFacerecogJobListNode = value["FacerecogJobList"]["FacerecogJob"]; - for (auto valueFacerecogJobListFacerecogJob : allFacerecogJobListNode) - { - FacerecogJob facerecogJobListObject; - if(!valueFacerecogJobListFacerecogJob["CreationTime"].isNull()) - facerecogJobListObject.creationTime = valueFacerecogJobListFacerecogJob["CreationTime"].asString(); - if(!valueFacerecogJobListFacerecogJob["State"].isNull()) - facerecogJobListObject.state = valueFacerecogJobListFacerecogJob["State"].asString(); - if(!valueFacerecogJobListFacerecogJob["UserData"].isNull()) - facerecogJobListObject.userData = valueFacerecogJobListFacerecogJob["UserData"].asString(); - if(!valueFacerecogJobListFacerecogJob["Code"].isNull()) - facerecogJobListObject.code = valueFacerecogJobListFacerecogJob["Code"].asString(); - if(!valueFacerecogJobListFacerecogJob["Message"].isNull()) - facerecogJobListObject.message = valueFacerecogJobListFacerecogJob["Message"].asString(); - if(!valueFacerecogJobListFacerecogJob["PipelineId"].isNull()) - facerecogJobListObject.pipelineId = valueFacerecogJobListFacerecogJob["PipelineId"].asString(); - if(!valueFacerecogJobListFacerecogJob["Id"].isNull()) - facerecogJobListObject.id = valueFacerecogJobListFacerecogJob["Id"].asString(); - auto videoFacerecogResultNode = value["VideoFacerecogResult"]; - auto allFacerecogsNode = videoFacerecogResultNode["Facerecogs"]["Facerecog"]; - for (auto videoFacerecogResultNodeFacerecogsFacerecog : allFacerecogsNode) - { - FacerecogJob::VideoFacerecogResult::Facerecog facerecogObject; - if(!videoFacerecogResultNodeFacerecogsFacerecog["Time"].isNull()) - facerecogObject.time = videoFacerecogResultNodeFacerecogsFacerecog["Time"].asString(); - auto allFacesNode = videoFacerecogResultNodeFacerecogsFacerecog["Faces"]["Face"]; - for (auto videoFacerecogResultNodeFacerecogsFacerecogFacesFace : allFacesNode) - { - FacerecogJob::VideoFacerecogResult::Facerecog::Face facesObject; - if(!videoFacerecogResultNodeFacerecogsFacerecogFacesFace["Score"].isNull()) - facesObject.score = videoFacerecogResultNodeFacerecogsFacerecogFacesFace["Score"].asString(); - if(!videoFacerecogResultNodeFacerecogsFacerecogFacesFace["Name"].isNull()) - facesObject.name = videoFacerecogResultNodeFacerecogsFacerecogFacesFace["Name"].asString(); - if(!videoFacerecogResultNodeFacerecogsFacerecogFacesFace["Target"].isNull()) - facesObject.target = videoFacerecogResultNodeFacerecogsFacerecogFacesFace["Target"].asString(); - facerecogObject.faces.push_back(facesObject); - } - facerecogJobListObject.videoFacerecogResult.facerecogs.push_back(facerecogObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - facerecogJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - facerecogJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - facerecogJobListObject.input.bucket = inputNode["Bucket"].asString(); - facerecogJobList_.push_back(facerecogJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryFacerecogJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - -std::vector QueryFacerecogJobListResult::getFacerecogJobList()const -{ - return facerecogJobList_; -} - diff --git a/mts/src/model/QueryFpCompareJobListRequest.cc b/mts/src/model/QueryFpCompareJobListRequest.cc deleted file mode 100644 index f233607c0..000000000 --- a/mts/src/model/QueryFpCompareJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryFpCompareJobListRequest; - -QueryFpCompareJobListRequest::QueryFpCompareJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryFpCompareJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryFpCompareJobListRequest::~QueryFpCompareJobListRequest() {} - -long QueryFpCompareJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryFpCompareJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryFpCompareJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryFpCompareJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryFpCompareJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryFpCompareJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryFpCompareJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryFpCompareJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryFpCompareJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryFpCompareJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryFpCompareJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryFpCompareJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryFpCompareJobListResult.cc b/mts/src/model/QueryFpCompareJobListResult.cc deleted file mode 100644 index f14ae9843..000000000 --- a/mts/src/model/QueryFpCompareJobListResult.cc +++ /dev/null @@ -1,182 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryFpCompareJobListResult::QueryFpCompareJobListResult() : - ServiceResult() -{} - -QueryFpCompareJobListResult::QueryFpCompareJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryFpCompareJobListResult::~QueryFpCompareJobListResult() -{} - -void QueryFpCompareJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allFpCompareJobListNode = value["FpCompareJobList"]["FpCompareJob"]; - for (auto valueFpCompareJobListFpCompareJob : allFpCompareJobListNode) - { - FpCompareJob fpCompareJobListObject; - if(!valueFpCompareJobListFpCompareJob["CreationTime"].isNull()) - fpCompareJobListObject.creationTime = valueFpCompareJobListFpCompareJob["CreationTime"].asString(); - if(!valueFpCompareJobListFpCompareJob["FinishTime"].isNull()) - fpCompareJobListObject.finishTime = valueFpCompareJobListFpCompareJob["FinishTime"].asString(); - if(!valueFpCompareJobListFpCompareJob["State"].isNull()) - fpCompareJobListObject.state = valueFpCompareJobListFpCompareJob["State"].asString(); - if(!valueFpCompareJobListFpCompareJob["Message"].isNull()) - fpCompareJobListObject.message = valueFpCompareJobListFpCompareJob["Message"].asString(); - if(!valueFpCompareJobListFpCompareJob["FpDBId"].isNull()) - fpCompareJobListObject.fpDBId = valueFpCompareJobListFpCompareJob["FpDBId"].asString(); - if(!valueFpCompareJobListFpCompareJob["UserData"].isNull()) - fpCompareJobListObject.userData = valueFpCompareJobListFpCompareJob["UserData"].asString(); - if(!valueFpCompareJobListFpCompareJob["Code"].isNull()) - fpCompareJobListObject.code = valueFpCompareJobListFpCompareJob["Code"].asString(); - if(!valueFpCompareJobListFpCompareJob["PipelineId"].isNull()) - fpCompareJobListObject.pipelineId = valueFpCompareJobListFpCompareJob["PipelineId"].asString(); - if(!valueFpCompareJobListFpCompareJob["Id"].isNull()) - fpCompareJobListObject.id = valueFpCompareJobListFpCompareJob["Id"].asString(); - auto masterFileNode = value["MasterFile"]; - if(!masterFileNode["Object"].isNull()) - fpCompareJobListObject.masterFile.object = masterFileNode["Object"].asString(); - if(!masterFileNode["Location"].isNull()) - fpCompareJobListObject.masterFile.location = masterFileNode["Location"].asString(); - if(!masterFileNode["Bucket"].isNull()) - fpCompareJobListObject.masterFile.bucket = masterFileNode["Bucket"].asString(); - auto queryFileNode = value["QueryFile"]; - if(!queryFileNode["Object"].isNull()) - fpCompareJobListObject.queryFile.object = queryFileNode["Object"].asString(); - if(!queryFileNode["Location"].isNull()) - fpCompareJobListObject.queryFile.location = queryFileNode["Location"].asString(); - if(!queryFileNode["Bucket"].isNull()) - fpCompareJobListObject.queryFile.bucket = queryFileNode["Bucket"].asString(); - auto matchFrameStorageNode = value["MatchFrameStorage"]; - auto masterMediaFramesNode = matchFrameStorageNode["MasterMediaFrames"]; - if(!masterMediaFramesNode["Object"].isNull()) - fpCompareJobListObject.matchFrameStorage.masterMediaFrames.object = masterMediaFramesNode["Object"].asString(); - if(!masterMediaFramesNode["Location"].isNull()) - fpCompareJobListObject.matchFrameStorage.masterMediaFrames.location = masterMediaFramesNode["Location"].asString(); - if(!masterMediaFramesNode["Bucket"].isNull()) - fpCompareJobListObject.matchFrameStorage.masterMediaFrames.bucket = masterMediaFramesNode["Bucket"].asString(); - auto matchedFramesDescFileNode = matchFrameStorageNode["MatchedFramesDescFile"]; - if(!matchedFramesDescFileNode["Object"].isNull()) - fpCompareJobListObject.matchFrameStorage.matchedFramesDescFile.object = matchedFramesDescFileNode["Object"].asString(); - if(!matchedFramesDescFileNode["Location"].isNull()) - fpCompareJobListObject.matchFrameStorage.matchedFramesDescFile.location = matchedFramesDescFileNode["Location"].asString(); - if(!matchedFramesDescFileNode["Bucket"].isNull()) - fpCompareJobListObject.matchFrameStorage.matchedFramesDescFile.bucket = matchedFramesDescFileNode["Bucket"].asString(); - auto queryMediaFramesNode = matchFrameStorageNode["QueryMediaFrames"]; - if(!queryMediaFramesNode["Object"].isNull()) - fpCompareJobListObject.matchFrameStorage.queryMediaFrames.object = queryMediaFramesNode["Object"].asString(); - if(!queryMediaFramesNode["Location"].isNull()) - fpCompareJobListObject.matchFrameStorage.queryMediaFrames.location = queryMediaFramesNode["Location"].asString(); - if(!queryMediaFramesNode["Bucket"].isNull()) - fpCompareJobListObject.matchFrameStorage.queryMediaFrames.bucket = queryMediaFramesNode["Bucket"].asString(); - auto fpCompareResultNode = value["FpCompareResult"]; - auto allMediaMatchSegmentsNode = fpCompareResultNode["MediaMatchSegments"]["MediaMatchSegment"]; - for (auto fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment : allMediaMatchSegmentsNode) - { - FpCompareJob::FpCompareResult::MediaMatchSegment mediaMatchSegmentObject; - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryStartTime"].isNull()) - mediaMatchSegmentObject.queryStartTime = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryStartTime"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryEndFrame"].isNull()) - mediaMatchSegmentObject.queryEndFrame = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryEndFrame"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["Score"].isNull()) - mediaMatchSegmentObject.score = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["Score"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["TotalMatchFrameNum"].isNull()) - mediaMatchSegmentObject.totalMatchFrameNum = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["TotalMatchFrameNum"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterEndTime"].isNull()) - mediaMatchSegmentObject.masterEndTime = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterEndTime"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterStartTime"].isNull()) - mediaMatchSegmentObject.masterStartTime = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterStartTime"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryStartFrame"].isNull()) - mediaMatchSegmentObject.queryStartFrame = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryStartFrame"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterEndFrame"].isNull()) - mediaMatchSegmentObject.masterEndFrame = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterEndFrame"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterStartFrame"].isNull()) - mediaMatchSegmentObject.masterStartFrame = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["MasterStartFrame"].asString(); - if(!fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryEndTime"].isNull()) - mediaMatchSegmentObject.queryEndTime = fpCompareResultNodeMediaMatchSegmentsMediaMatchSegment["QueryEndTime"].asString(); - fpCompareJobListObject.fpCompareResult.mediaMatchSegments.push_back(mediaMatchSegmentObject); - } - auto queryMediaInfoNode = fpCompareResultNode["QueryMediaInfo"]; - if(!queryMediaInfoNode["AudioSampleRate"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.audioSampleRate = queryMediaInfoNode["AudioSampleRate"].asString(); - if(!queryMediaInfoNode["AudioBitRate"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.audioBitRate = queryMediaInfoNode["AudioBitRate"].asString(); - if(!queryMediaInfoNode["FpNum"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.fpNum = queryMediaInfoNode["FpNum"].asString(); - if(!queryMediaInfoNode["Width"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.width = queryMediaInfoNode["Width"].asString(); - if(!queryMediaInfoNode["Height"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.height = queryMediaInfoNode["Height"].asString(); - if(!queryMediaInfoNode["TotalVideoFrame"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.totalVideoFrame = queryMediaInfoNode["TotalVideoFrame"].asString(); - if(!queryMediaInfoNode["Fps"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.fps = queryMediaInfoNode["Fps"].asString(); - if(!queryMediaInfoNode["Duration"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.duration = queryMediaInfoNode["Duration"].asString(); - if(!queryMediaInfoNode["AudioChannels"].isNull()) - fpCompareJobListObject.fpCompareResult.queryMediaInfo.audioChannels = queryMediaInfoNode["AudioChannels"].asString(); - auto masterMediaInfoNode = fpCompareResultNode["MasterMediaInfo"]; - if(!masterMediaInfoNode["AudioSampleRate"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.audioSampleRate = masterMediaInfoNode["AudioSampleRate"].asString(); - if(!masterMediaInfoNode["AudioBitRate"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.audioBitRate = masterMediaInfoNode["AudioBitRate"].asString(); - if(!masterMediaInfoNode["FpNum"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.fpNum = masterMediaInfoNode["FpNum"].asString(); - if(!masterMediaInfoNode["Width"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.width = masterMediaInfoNode["Width"].asString(); - if(!masterMediaInfoNode["Height"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.height = masterMediaInfoNode["Height"].asString(); - if(!masterMediaInfoNode["TotalVideoFrame"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.totalVideoFrame = masterMediaInfoNode["TotalVideoFrame"].asString(); - if(!masterMediaInfoNode["Fps"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.fps = masterMediaInfoNode["Fps"].asString(); - if(!masterMediaInfoNode["Duration"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.duration = masterMediaInfoNode["Duration"].asString(); - if(!masterMediaInfoNode["AudioChannels"].isNull()) - fpCompareJobListObject.fpCompareResult.masterMediaInfo.audioChannels = masterMediaInfoNode["AudioChannels"].asString(); - fpCompareJobList_.push_back(fpCompareJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryFpCompareJobListResult::getFpCompareJobList()const -{ - return fpCompareJobList_; -} - -std::vector QueryFpCompareJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryFpImportResultRequest.cc b/mts/src/model/QueryFpImportResultRequest.cc deleted file mode 100644 index e340c134a..000000000 --- a/mts/src/model/QueryFpImportResultRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::QueryFpImportResultRequest; - -QueryFpImportResultRequest::QueryFpImportResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryFpImportResult") { - setMethod(HttpRequest::Method::Post); -} - -QueryFpImportResultRequest::~QueryFpImportResultRequest() {} - -long QueryFpImportResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryFpImportResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -long QueryFpImportResultRequest::getStartTime() const { - return startTime_; -} - -void QueryFpImportResultRequest::setStartTime(long startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), std::to_string(startTime)); -} - -std::string QueryFpImportResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryFpImportResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long QueryFpImportResultRequest::getPageSize() const { - return pageSize_; -} - -void QueryFpImportResultRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -long QueryFpImportResultRequest::getPageIndex() const { - return pageIndex_; -} - -void QueryFpImportResultRequest::setPageIndex(long pageIndex) { - pageIndex_ = pageIndex; - setParameter(std::string("PageIndex"), std::to_string(pageIndex)); -} - -std::string QueryFpImportResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryFpImportResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryFpImportResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryFpImportResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryFpImportResultRequest::getEndTime() const { - return endTime_; -} - -void QueryFpImportResultRequest::setEndTime(long endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), std::to_string(endTime)); -} - -long QueryFpImportResultRequest::getOwnerId() const { - return ownerId_; -} - -void QueryFpImportResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/QueryFpImportResultResult.cc b/mts/src/model/QueryFpImportResultResult.cc deleted file mode 100644 index 6b15aa223..000000000 --- a/mts/src/model/QueryFpImportResultResult.cc +++ /dev/null @@ -1,86 +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 -#include - -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 allFpResultLogInfoListNode = value["FpResultLogInfoList"]["FpResultLogInfo"]; - for (auto valueFpResultLogInfoListFpResultLogInfo : allFpResultLogInfoListNode) - { - FpResultLogInfo fpResultLogInfoListObject; - if(!valueFpResultLogInfoListFpResultLogInfo["LogStartTime"].isNull()) - fpResultLogInfoListObject.logStartTime = std::stol(valueFpResultLogInfoListFpResultLogInfo["LogStartTime"].asString()); - if(!valueFpResultLogInfoListFpResultLogInfo["LogPath"].isNull()) - fpResultLogInfoListObject.logPath = valueFpResultLogInfoListFpResultLogInfo["LogPath"].asString(); - if(!valueFpResultLogInfoListFpResultLogInfo["CreateTime"].isNull()) - fpResultLogInfoListObject.createTime = std::stol(valueFpResultLogInfoListFpResultLogInfo["CreateTime"].asString()); - if(!valueFpResultLogInfoListFpResultLogInfo["LogSize"].isNull()) - fpResultLogInfoListObject.logSize = std::stol(valueFpResultLogInfoListFpResultLogInfo["LogSize"].asString()); - if(!valueFpResultLogInfoListFpResultLogInfo["LogName"].isNull()) - fpResultLogInfoListObject.logName = valueFpResultLogInfoListFpResultLogInfo["LogName"].asString(); - if(!valueFpResultLogInfoListFpResultLogInfo["LogEndTime"].isNull()) - fpResultLogInfoListObject.logEndTime = std::stol(valueFpResultLogInfoListFpResultLogInfo["LogEndTime"].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::getFpResultLogInfoList()const -{ - return fpResultLogInfoList_; -} - -long QueryFpImportResultResult::getLogCount()const -{ - return logCount_; -} - diff --git a/mts/src/model/QueryFpShotJobListRequest.cc b/mts/src/model/QueryFpShotJobListRequest.cc index e3a982d5a..25eb998e2 100644 --- a/mts/src/model/QueryFpShotJobListRequest.cc +++ b/mts/src/model/QueryFpShotJobListRequest.cc @@ -61,6 +61,15 @@ void QueryFpShotJobListRequest::setAccessKeyId(const std::string &accessKeyId) { setParameter(std::string("AccessKeyId"), accessKeyId); } +std::string QueryFpShotJobListRequest::getUserData() const { + return userData_; +} + +void QueryFpShotJobListRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + std::string QueryFpShotJobListRequest::getState() const { return state_; } diff --git a/mts/src/model/QueryFpShotJobListResult.cc b/mts/src/model/QueryFpShotJobListResult.cc index d2d202f68..49499c35d 100644 --- a/mts/src/model/QueryFpShotJobListResult.cc +++ b/mts/src/model/QueryFpShotJobListResult.cc @@ -59,12 +59,16 @@ void QueryFpShotJobListResult::parse(const std::string &payload) fpShotJobListObject.fileId = valueFpShotJobListFpShotJob["FileId"].asString(); if(!valueFpShotJobListFpShotJob["UserData"].isNull()) fpShotJobListObject.userData = valueFpShotJobListFpShotJob["UserData"].asString(); + if(!valueFpShotJobListFpShotJob["Duration"].isNull()) + fpShotJobListObject.duration = std::stoi(valueFpShotJobListFpShotJob["Duration"].asString()); if(!valueFpShotJobListFpShotJob["Code"].isNull()) fpShotJobListObject.code = valueFpShotJobListFpShotJob["Code"].asString(); if(!valueFpShotJobListFpShotJob["PipelineId"].isNull()) fpShotJobListObject.pipelineId = valueFpShotJobListFpShotJob["PipelineId"].asString(); if(!valueFpShotJobListFpShotJob["Id"].isNull()) fpShotJobListObject.id = valueFpShotJobListFpShotJob["Id"].asString(); + if(!valueFpShotJobListFpShotJob["Input"].isNull()) + fpShotJobListObject.input = valueFpShotJobListFpShotJob["Input"].asString(); auto fpShotResultNode = value["FpShotResult"]; auto allAudioFpShotsNode = fpShotResultNode["AudioFpShots"]["FpShot"]; for (auto fpShotResultNodeAudioFpShotsFpShot : allAudioFpShotsNode) @@ -122,6 +126,33 @@ void QueryFpShotJobListResult::parse(const std::string &payload) } fpShotJobListObject.fpShotResult.fpShots.push_back(fpShotObject); } + auto allTextFpShotsNode = fpShotResultNode["TextFpShots"]["TextFpShot"]; + for (auto fpShotResultNodeTextFpShotsTextFpShot : allTextFpShotsNode) + { + FpShotJob::FpShotResult::TextFpShot textFpShotObject; + if(!fpShotResultNodeTextFpShotsTextFpShot["PrimaryKey"].isNull()) + textFpShotObject.primaryKey = fpShotResultNodeTextFpShotsTextFpShot["PrimaryKey"].asString(); + if(!fpShotResultNodeTextFpShotsTextFpShot["Similarity"].isNull()) + textFpShotObject.similarity = fpShotResultNodeTextFpShotsTextFpShot["Similarity"].asString(); + auto allTextFpShotSlicesNode = fpShotResultNodeTextFpShotsTextFpShot["TextFpShotSlices"]["TextFpShotSlice"]; + for (auto fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice : allTextFpShotSlicesNode) + { + FpShotJob::FpShotResult::TextFpShot::TextFpShotSlice textFpShotSlicesObject; + if(!fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice["Similarity"].isNull()) + textFpShotSlicesObject.similarity = fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice["Similarity"].asString(); + if(!fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice["InputText"].isNull()) + textFpShotSlicesObject.inputText = fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice["InputText"].asString(); + if(!fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice["DuplicationText"].isNull()) + textFpShotSlicesObject.duplicationText = fpShotResultNodeTextFpShotsTextFpShotTextFpShotSlicesTextFpShotSlice["DuplicationText"].asString(); + auto inputFragmentNode = value["InputFragment"]; + if(!inputFragmentNode["Start"].isNull()) + textFpShotSlicesObject.inputFragment.start = inputFragmentNode["Start"].asString(); + if(!inputFragmentNode["Duration"].isNull()) + textFpShotSlicesObject.inputFragment.duration = inputFragmentNode["Duration"].asString(); + textFpShotObject.textFpShotSlices.push_back(textFpShotSlicesObject); + } + fpShotJobListObject.fpShotResult.textFpShots.push_back(textFpShotObject); + } auto fpShotConfigNode = value["FpShotConfig"]; if(!fpShotConfigNode["PrimaryKey"].isNull()) fpShotJobListObject.fpShotConfig.primaryKey = fpShotConfigNode["PrimaryKey"].asString(); diff --git a/mts/src/model/QueryIProductionJobListRequest.cc b/mts/src/model/QueryIProductionJobListRequest.cc deleted file mode 100644 index 764d62764..000000000 --- a/mts/src/model/QueryIProductionJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryIProductionJobListRequest; - -QueryIProductionJobListRequest::QueryIProductionJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryIProductionJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryIProductionJobListRequest::~QueryIProductionJobListRequest() {} - -long QueryIProductionJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryIProductionJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryIProductionJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryIProductionJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryIProductionJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryIProductionJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryIProductionJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryIProductionJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryIProductionJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryIProductionJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryIProductionJobListRequest::getIProductionJobIds() const { - return iProductionJobIds_; -} - -void QueryIProductionJobListRequest::setIProductionJobIds(const std::string &iProductionJobIds) { - iProductionJobIds_ = iProductionJobIds; - setParameter(std::string("IProductionJobIds"), iProductionJobIds); -} - diff --git a/mts/src/model/QueryIProductionJobListResult.cc b/mts/src/model/QueryIProductionJobListResult.cc deleted file mode 100644 index 67b40a5ae..000000000 --- a/mts/src/model/QueryIProductionJobListResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryIProductionJobListResult::QueryIProductionJobListResult() : - ServiceResult() -{} - -QueryIProductionJobListResult::QueryIProductionJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryIProductionJobListResult::~QueryIProductionJobListResult() -{} - -void QueryIProductionJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobs = value["Jobs"]["String"]; - for (const auto &item : allJobs) - jobs_.push_back(item.asString()); - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - if(!value["NextPageToken"].isNull()) - nextPageToken_ = value["NextPageToken"].asString(); - -} - -std::vector QueryIProductionJobListResult::getJobs()const -{ - return jobs_; -} - -std::string QueryIProductionJobListResult::getNextPageToken()const -{ - return nextPageToken_; -} - -std::vector QueryIProductionJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryImageSearchJobListRequest.cc b/mts/src/model/QueryImageSearchJobListRequest.cc deleted file mode 100644 index af5fc1cdc..000000000 --- a/mts/src/model/QueryImageSearchJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryImageSearchJobListRequest; - -QueryImageSearchJobListRequest::QueryImageSearchJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryImageSearchJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryImageSearchJobListRequest::~QueryImageSearchJobListRequest() {} - -long QueryImageSearchJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryImageSearchJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryImageSearchJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryImageSearchJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryImageSearchJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryImageSearchJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryImageSearchJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryImageSearchJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryImageSearchJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryImageSearchJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryImageSearchJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryImageSearchJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryImageSearchJobListResult.cc b/mts/src/model/QueryImageSearchJobListResult.cc deleted file mode 100644 index 294ba981a..000000000 --- a/mts/src/model/QueryImageSearchJobListResult.cc +++ /dev/null @@ -1,106 +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 -#include - -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 allImageSearchJobListNode = value["ImageSearchJobList"]["ImageSearchJob"]; - for (auto valueImageSearchJobListImageSearchJob : allImageSearchJobListNode) - { - ImageSearchJob imageSearchJobListObject; - if(!valueImageSearchJobListImageSearchJob["CreationTime"].isNull()) - imageSearchJobListObject.creationTime = valueImageSearchJobListImageSearchJob["CreationTime"].asString(); - if(!valueImageSearchJobListImageSearchJob["FinishTime"].isNull()) - imageSearchJobListObject.finishTime = valueImageSearchJobListImageSearchJob["FinishTime"].asString(); - if(!valueImageSearchJobListImageSearchJob["State"].isNull()) - imageSearchJobListObject.state = valueImageSearchJobListImageSearchJob["State"].asString(); - if(!valueImageSearchJobListImageSearchJob["UserData"].isNull()) - imageSearchJobListObject.userData = valueImageSearchJobListImageSearchJob["UserData"].asString(); - if(!valueImageSearchJobListImageSearchJob["Code"].isNull()) - imageSearchJobListObject.code = valueImageSearchJobListImageSearchJob["Code"].asString(); - if(!valueImageSearchJobListImageSearchJob["Message"].isNull()) - imageSearchJobListObject.message = valueImageSearchJobListImageSearchJob["Message"].asString(); - if(!valueImageSearchJobListImageSearchJob["PipelineId"].isNull()) - imageSearchJobListObject.pipelineId = valueImageSearchJobListImageSearchJob["PipelineId"].asString(); - if(!valueImageSearchJobListImageSearchJob["Id"].isNull()) - imageSearchJobListObject.id = valueImageSearchJobListImageSearchJob["Id"].asString(); - auto resultNode = value["Result"]; - auto allImageSearchShotsNode = resultNode["ImageSearchShots"]["ImageSearchShotsItem"]; - for (auto resultNodeImageSearchShotsImageSearchShotsItem : allImageSearchShotsNode) - { - ImageSearchJob::Result::ImageSearchShotsItem imageSearchShotsItemObject; - if(!resultNodeImageSearchShotsImageSearchShotsItem["MatchedFrame"].isNull()) - imageSearchShotsItemObject.matchedFrame = resultNodeImageSearchShotsImageSearchShotsItem["MatchedFrame"].asString(); - if(!resultNodeImageSearchShotsImageSearchShotsItem["MatchedTimestamp"].isNull()) - imageSearchShotsItemObject.matchedTimestamp = resultNodeImageSearchShotsImageSearchShotsItem["MatchedTimestamp"].asString(); - if(!resultNodeImageSearchShotsImageSearchShotsItem["Similarity"].isNull()) - imageSearchShotsItemObject.similarity = resultNodeImageSearchShotsImageSearchShotsItem["Similarity"].asString(); - imageSearchJobListObject.result.imageSearchShots.push_back(imageSearchShotsItemObject); - } - auto inputImageNode = value["inputImage"]; - if(!inputImageNode["Object"].isNull()) - imageSearchJobListObject.inputImage.object = inputImageNode["Object"].asString(); - if(!inputImageNode["Location"].isNull()) - imageSearchJobListObject.inputImage.location = inputImageNode["Location"].asString(); - if(!inputImageNode["Bucket"].isNull()) - imageSearchJobListObject.inputImage.bucket = inputImageNode["Bucket"].asString(); - auto inputVideoNode = value["InputVideo"]; - if(!inputVideoNode["Object"].isNull()) - imageSearchJobListObject.inputVideo.object = inputVideoNode["Object"].asString(); - if(!inputVideoNode["Location"].isNull()) - imageSearchJobListObject.inputVideo.location = inputVideoNode["Location"].asString(); - if(!inputVideoNode["Bucket"].isNull()) - imageSearchJobListObject.inputVideo.bucket = inputVideoNode["Bucket"].asString(); - imageSearchJobList_.push_back(imageSearchJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryImageSearchJobListResult::getImageSearchJobList()const -{ - return imageSearchJobList_; -} - -std::vector QueryImageSearchJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryInferenceJobResult.cc b/mts/src/model/QueryInferenceJobResult.cc deleted file mode 100644 index 378f742c3..000000000 --- a/mts/src/model/QueryInferenceJobResult.cc +++ /dev/null @@ -1,78 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryInferenceJobResult::QueryInferenceJobResult() : - ServiceResult() -{} - -QueryInferenceJobResult::QueryInferenceJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryInferenceJobResult::~QueryInferenceJobResult() -{} - -void QueryInferenceJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto jobNode = value["Job"]; - if(!jobNode["Status"].isNull()) - job_.status = jobNode["Status"].asString(); - if(!jobNode["Result"].isNull()) - job_.result = jobNode["Result"].asString(); - if(!jobNode["JobId"].isNull()) - job_.jobId = jobNode["JobId"].asString(); - if(!jobNode["UserId"].isNull()) - job_.userId = std::stol(jobNode["UserId"].asString()); - if(!jobNode["Message"].isNull()) - job_.message = jobNode["Message"].asString(); - if(!jobNode["JobTime"].isNull()) - job_.jobTime = std::stol(jobNode["JobTime"].asString()); - if(!jobNode["JobParams"].isNull()) - job_.jobParams = jobNode["JobParams"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - -} - -std::string QueryInferenceJobResult::getMessage()const -{ - return message_; -} - -QueryInferenceJobResult::Job QueryInferenceJobResult::getJob()const -{ - return job_; -} - -std::string QueryInferenceJobResult::getCode()const -{ - return code_; -} - diff --git a/mts/src/model/QueryInferenceServerRequest.cc b/mts/src/model/QueryInferenceServerRequest.cc deleted file mode 100644 index cbecde621..000000000 --- a/mts/src/model/QueryInferenceServerRequest.cc +++ /dev/null @@ -1,63 +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 - -using AlibabaCloud::Mts::Model::QueryInferenceServerRequest; - -QueryInferenceServerRequest::QueryInferenceServerRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryInferenceServer") { - setMethod(HttpRequest::Method::Post); -} - -QueryInferenceServerRequest::~QueryInferenceServerRequest() {} - -long QueryInferenceServerRequest::getCreateTime() const { - return createTime_; -} - -void QueryInferenceServerRequest::setCreateTime(long createTime) { - createTime_ = createTime; - setParameter(std::string("CreateTime"), std::to_string(createTime)); -} - -long QueryInferenceServerRequest::getMaxPageSize() const { - return maxPageSize_; -} - -void QueryInferenceServerRequest::setMaxPageSize(long maxPageSize) { - maxPageSize_ = maxPageSize; - setParameter(std::string("MaxPageSize"), std::to_string(maxPageSize)); -} - -long QueryInferenceServerRequest::getPageNumber() const { - return pageNumber_; -} - -void QueryInferenceServerRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string QueryInferenceServerRequest::getModelType() const { - return modelType_; -} - -void QueryInferenceServerRequest::setModelType(const std::string &modelType) { - modelType_ = modelType; - setParameter(std::string("ModelType"), modelType); -} - diff --git a/mts/src/model/QueryInferenceServerResult.cc b/mts/src/model/QueryInferenceServerResult.cc deleted file mode 100644 index 3e4804738..000000000 --- a/mts/src/model/QueryInferenceServerResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryInferenceServerResult::QueryInferenceServerResult() : - ServiceResult() -{} - -QueryInferenceServerResult::QueryInferenceServerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryInferenceServerResult::~QueryInferenceServerResult() -{} - -void QueryInferenceServerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allFunctionsNode = value["Functions"]["FunctionsItem"]; - for (auto valueFunctionsFunctionsItem : allFunctionsNode) - { - FunctionsItem functionsObject; - if(!valueFunctionsFunctionsItem["FunctionName"].isNull()) - functionsObject.functionName = valueFunctionsFunctionsItem["FunctionName"].asString(); - if(!valueFunctionsFunctionsItem["CreateTime"].isNull()) - functionsObject.createTime = std::stol(valueFunctionsFunctionsItem["CreateTime"].asString()); - if(!valueFunctionsFunctionsItem["UserId"].isNull()) - functionsObject.userId = std::stol(valueFunctionsFunctionsItem["UserId"].asString()); - if(!valueFunctionsFunctionsItem["ModelType"].isNull()) - functionsObject.modelType = valueFunctionsFunctionsItem["ModelType"].asString(); - if(!valueFunctionsFunctionsItem["ModelPath"].isNull()) - functionsObject.modelPath = valueFunctionsFunctionsItem["ModelPath"].asString(); - if(!valueFunctionsFunctionsItem["PipelineId"].isNull()) - functionsObject.pipelineId = valueFunctionsFunctionsItem["PipelineId"].asString(); - if(!valueFunctionsFunctionsItem["TestId"].isNull()) - functionsObject.testId = valueFunctionsFunctionsItem["TestId"].asString(); - functions_.push_back(functionsObject); - } - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["TotalSize"].isNull()) - totalSize_ = std::stol(value["TotalSize"].asString()); - -} - -std::string QueryInferenceServerResult::getMessage()const -{ - return message_; -} - -std::vector QueryInferenceServerResult::getFunctions()const -{ - return functions_; -} - -long QueryInferenceServerResult::getTotalSize()const -{ - return totalSize_; -} - -std::string QueryInferenceServerResult::getCode()const -{ - return code_; -} - diff --git a/mts/src/model/QueryInnerJobRequest.cc b/mts/src/model/QueryInnerJobRequest.cc deleted file mode 100644 index 76f48c038..000000000 --- a/mts/src/model/QueryInnerJobRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::QueryInnerJobRequest; - -QueryInnerJobRequest::QueryInnerJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryInnerJob") { - setMethod(HttpRequest::Method::Post); -} - -QueryInnerJobRequest::~QueryInnerJobRequest() {} - -long QueryInnerJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryInnerJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryInnerJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryInnerJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -long QueryInnerJobRequest::getOwnerId() const { - return ownerId_; -} - -void QueryInnerJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryInnerJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryInnerJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryInnerJobRequest::getJobId() const { - return jobId_; -} - -void QueryInnerJobRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - diff --git a/mts/src/model/QueryInnerJobResult.cc b/mts/src/model/QueryInnerJobResult.cc deleted file mode 100644 index 512eb3276..000000000 --- a/mts/src/model/QueryInnerJobResult.cc +++ /dev/null @@ -1,87 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryInnerJobResult::QueryInnerJobResult() : - ServiceResult() -{} - -QueryInnerJobResult::QueryInnerJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryInnerJobResult::~QueryInnerJobResult() -{} - -void QueryInnerJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allImageNode = value["Image"]["Result"]; - for (auto valueImageResult : allImageNode) - { - Result imageObject; - if(!valueImageResult["Index"].isNull()) - imageObject.index = std::stoi(valueImageResult["Index"].asString()); - if(!valueImageResult["Result"].isNull()) - imageObject.result = std::stoi(valueImageResult["Result"].asString()); - if(!valueImageResult["Code"].isNull()) - imageObject.code = valueImageResult["Code"].asString(); - image_.push_back(imageObject); - } - auto videoNode = value["Video"]; - if(!videoNode["Index"].isNull()) - video_.index = std::stoi(videoNode["Index"].asString()); - if(!videoNode["Result"].isNull()) - video_.result = std::stoi(videoNode["Result"].asString()); - if(!videoNode["Code"].isNull()) - video_.code = videoNode["Code"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["Suggestion"].isNull()) - suggestion_ = value["Suggestion"].asString(); - -} - -std::string QueryInnerJobResult::getStatus()const -{ - return status_; -} - -std::string QueryInnerJobResult::getSuggestion()const -{ - return suggestion_; -} - -QueryInnerJobResult::Video QueryInnerJobResult::getVideo()const -{ - return video_; -} - -std::vector QueryInnerJobResult::getImage()const -{ - return image_; -} - diff --git a/mts/src/model/QueryJobListRequest.cc b/mts/src/model/QueryJobListRequest.cc index 27663dbf8..19e505427 100644 --- a/mts/src/model/QueryJobListRequest.cc +++ b/mts/src/model/QueryJobListRequest.cc @@ -34,6 +34,24 @@ void QueryJobListRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +bool QueryJobListRequest::getIncludePipelineInfo() const { + return includePipelineInfo_; +} + +void QueryJobListRequest::setIncludePipelineInfo(bool includePipelineInfo) { + includePipelineInfo_ = includePipelineInfo; + setParameter(std::string("IncludePipelineInfo"), includePipelineInfo ? "true" : "false"); +} + +std::string QueryJobListRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void QueryJobListRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + std::string QueryJobListRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -61,15 +79,6 @@ void QueryJobListRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -std::string QueryJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - std::string QueryJobListRequest::getJobIds() const { return jobIds_; } diff --git a/mts/src/model/QueryJobListResult.cc b/mts/src/model/QueryJobListResult.cc index f1941796a..d1bfdf267 100644 --- a/mts/src/model/QueryJobListResult.cc +++ b/mts/src/model/QueryJobListResult.cc @@ -59,6 +59,8 @@ void QueryJobListResult::parse(const std::string &payload) jobListObject.message = valueJobListJob["Message"].asString(); if(!valueJobListJob["PipelineId"].isNull()) jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); + if(!valueJobListJob["SubmitTime"].isNull()) + jobListObject.submitTime = valueJobListJob["SubmitTime"].asString(); auto outputNode = value["Output"]; if(!outputNode["WaterMarkConfigUrl"].isNull()) jobListObject.output.waterMarkConfigUrl = outputNode["WaterMarkConfigUrl"].asString(); @@ -70,6 +72,8 @@ void QueryJobListResult::parse(const std::string &payload) jobListObject.output.audioStreamMap = outputNode["AudioStreamMap"].asString(); if(!outputNode["UserData"].isNull()) jobListObject.output.userData = outputNode["UserData"].asString(); + if(!outputNode["ExtendData"].isNull()) + jobListObject.output.extendData = outputNode["ExtendData"].asString(); if(!outputNode["VideoStreamMap"].isNull()) jobListObject.output.videoStreamMap = outputNode["VideoStreamMap"].asString(); if(!outputNode["Rotate"].isNull()) @@ -407,6 +411,12 @@ void QueryJobListResult::parse(const std::string &payload) videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); + if(!streamsNodeVideoStreamListVideoStream["colorTransfer"].isNull()) + videoStreamObject.colorTransfer = streamsNodeVideoStreamListVideoStream["colorTransfer"].asString(); + if(!streamsNodeVideoStreamListVideoStream["colorPrimaries"].isNull()) + videoStreamObject.colorPrimaries = streamsNodeVideoStreamListVideoStream["colorPrimaries"].asString(); + if(!streamsNodeVideoStreamListVideoStream["bitsPerRawSample"].isNull()) + videoStreamObject.bitsPerRawSample = streamsNodeVideoStreamListVideoStream["bitsPerRawSample"].asString(); auto networkCostNode = value["NetworkCost"]; if(!networkCostNode["PreloadTime"].isNull()) videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); @@ -481,6 +491,29 @@ void QueryJobListResult::parse(const std::string &payload) jobListObject.output.properties.format.bitrate = formatNode["Bitrate"].asString(); if(!formatNode["FormatName"].isNull()) jobListObject.output.properties.format.formatName = formatNode["FormatName"].asString(); + auto multiSpeedInfoNode = outputNode["MultiSpeedInfo"]; + if(!multiSpeedInfoNode["Enable"].isNull()) + jobListObject.output.multiSpeedInfo.enable = multiSpeedInfoNode["Enable"].asString(); + if(!multiSpeedInfoNode["Code"].isNull()) + jobListObject.output.multiSpeedInfo.code = multiSpeedInfoNode["Code"].asString(); + if(!multiSpeedInfoNode["Message"].isNull()) + jobListObject.output.multiSpeedInfo.message = multiSpeedInfoNode["Message"].asString(); + if(!multiSpeedInfoNode["SettingSpeed"].isNull()) + jobListObject.output.multiSpeedInfo.settingSpeed = std::stoi(multiSpeedInfoNode["SettingSpeed"].asString()); + if(!multiSpeedInfoNode["DowngradePolicy"].isNull()) + jobListObject.output.multiSpeedInfo.downgradePolicy = multiSpeedInfoNode["DowngradePolicy"].asString(); + if(!multiSpeedInfoNode["RealSpeed"].isNull()) + jobListObject.output.multiSpeedInfo.realSpeed = multiSpeedInfoNode["RealSpeed"].asString(); + if(!multiSpeedInfoNode["Duration"].isNull()) + jobListObject.output.multiSpeedInfo.duration = multiSpeedInfoNode["Duration"].asString(); + if(!multiSpeedInfoNode["TimeCost"].isNull()) + jobListObject.output.multiSpeedInfo.timeCost = multiSpeedInfoNode["TimeCost"].asString(); + auto traceMarkNode = outputNode["TraceMark"]; + if(!traceMarkNode["Enable"].isNull()) + jobListObject.output.traceMark.enable = traceMarkNode["Enable"].asString(); + auto copyrightMarkNode = outputNode["CopyrightMark"]; + if(!copyrightMarkNode["Content"].isNull()) + jobListObject.output.copyrightMark.content = copyrightMarkNode["Content"].asString(); auto inputNode = value["Input"]; if(!inputNode["Object"].isNull()) jobListObject.input.object = inputNode["Object"].asString(); @@ -495,6 +528,22 @@ void QueryJobListResult::parse(const std::string &payload) jobListObject.mNSMessageResult.errorMessage = mNSMessageResultNode["ErrorMessage"].asString(); if(!mNSMessageResultNode["ErrorCode"].isNull()) jobListObject.mNSMessageResult.errorCode = mNSMessageResultNode["ErrorCode"].asString(); + auto pipelineNode = value["Pipeline"]; + if(!pipelineNode["Id"].isNull()) + jobListObject.pipeline.id = pipelineNode["Id"].asString(); + if(!pipelineNode["Name"].isNull()) + jobListObject.pipeline.name = pipelineNode["Name"].asString(); + if(!pipelineNode["Speed"].isNull()) + jobListObject.pipeline.speed = pipelineNode["Speed"].asString(); + if(!pipelineNode["State"].isNull()) + jobListObject.pipeline.state = pipelineNode["State"].asString(); + auto extendConfigNode = pipelineNode["ExtendConfig"]; + if(!extendConfigNode["IsBoostNew"].isNull()) + jobListObject.pipeline.extendConfig.isBoostNew = extendConfigNode["IsBoostNew"].asString() == "true"; + if(!extendConfigNode["MaxMultiSpeed"].isNull()) + jobListObject.pipeline.extendConfig.maxMultiSpeed = std::stoi(extendConfigNode["MaxMultiSpeed"].asString()); + if(!extendConfigNode["MultiSpeedDowngradePolicy"].isNull()) + jobListObject.pipeline.extendConfig.multiSpeedDowngradePolicy = extendConfigNode["MultiSpeedDowngradePolicy"].asString(); jobList_.push_back(jobListObject); } auto allNonExistJobIds = value["NonExistJobIds"]["String"]; diff --git a/mts/src/model/QueryMCJobListRequest.cc b/mts/src/model/QueryMCJobListRequest.cc deleted file mode 100644 index 8756053e5..000000000 --- a/mts/src/model/QueryMCJobListRequest.cc +++ /dev/null @@ -1,135 +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 - -using AlibabaCloud::Mts::Model::QueryMCJobListRequest; - -QueryMCJobListRequest::QueryMCJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryMCJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryMCJobListRequest::~QueryMCJobListRequest() {} - -long QueryMCJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryMCJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryMCJobListRequest::getNextPageToken() const { - return nextPageToken_; -} - -void QueryMCJobListRequest::setNextPageToken(const std::string &nextPageToken) { - nextPageToken_ = nextPageToken; - setParameter(std::string("NextPageToken"), nextPageToken); -} - -std::string QueryMCJobListRequest::getStartOfJobCreatedTimeRange() const { - return startOfJobCreatedTimeRange_; -} - -void QueryMCJobListRequest::setStartOfJobCreatedTimeRange(const std::string &startOfJobCreatedTimeRange) { - startOfJobCreatedTimeRange_ = startOfJobCreatedTimeRange; - setParameter(std::string("StartOfJobCreatedTimeRange"), startOfJobCreatedTimeRange); -} - -std::string QueryMCJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryMCJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryMCJobListRequest::getState() const { - return state_; -} - -void QueryMCJobListRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string QueryMCJobListRequest::getEndOfJobCreatedTimeRange() const { - return endOfJobCreatedTimeRange_; -} - -void QueryMCJobListRequest::setEndOfJobCreatedTimeRange(const std::string &endOfJobCreatedTimeRange) { - endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange; - setParameter(std::string("EndOfJobCreatedTimeRange"), endOfJobCreatedTimeRange); -} - -std::string QueryMCJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryMCJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryMCJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryMCJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryMCJobListRequest::getMaximumPageSize() const { - return maximumPageSize_; -} - -void QueryMCJobListRequest::setMaximumPageSize(long maximumPageSize) { - maximumPageSize_ = maximumPageSize; - setParameter(std::string("MaximumPageSize"), std::to_string(maximumPageSize)); -} - -long QueryMCJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryMCJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryMCJobListRequest::getPipelineId() const { - return pipelineId_; -} - -void QueryMCJobListRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string QueryMCJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryMCJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryMCJobListResult.cc b/mts/src/model/QueryMCJobListResult.cc deleted file mode 100644 index 802ed28d6..000000000 --- a/mts/src/model/QueryMCJobListResult.cc +++ /dev/null @@ -1,619 +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 -#include - -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 allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["ResultOutputFile"].isNull()) - jobListObject.resultOutputFile = valueJobListJob["ResultOutputFile"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["JobId"].isNull()) - jobListObject.jobId = valueJobListJob["JobId"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].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 allPornTextsNode = pornResultNode["PornTexts"]["PornText"]; - for (auto pornResultNodePornTextsPornText : allPornTextsNode) - { - Job::Result::PornResult::PornText pornTextObject; - if(!pornResultNodePornTextsPornText["Suggestion"].isNull()) - pornTextObject.suggestion = pornResultNodePornTextsPornText["Suggestion"].asString(); - if(!pornResultNodePornTextsPornText["Score"].isNull()) - pornTextObject.score = pornResultNodePornTextsPornText["Score"].asString(); - if(!pornResultNodePornTextsPornText["Text"].isNull()) - pornTextObject.text = pornResultNodePornTextsPornText["Text"].asString(); - jobListObject.result.pornResult.pornTexts.push_back(pornTextObject); - } - auto allPornVideosNode = pornResultNode["PornVideos"]["PornVideo"]; - for (auto pornResultNodePornVideosPornVideo : allPornVideosNode) - { - Job::Result::PornResult::PornVideo pornVideoObject; - if(!pornResultNodePornVideosPornVideo["Time"].isNull()) - pornVideoObject.time = pornResultNodePornVideosPornVideo["Time"].asString(); - if(!pornResultNodePornVideosPornVideo["Suggestion"].isNull()) - pornVideoObject.suggestion = pornResultNodePornVideosPornVideo["Suggestion"].asString(); - if(!pornResultNodePornVideosPornVideo["Score"].isNull()) - pornVideoObject.score = pornResultNodePornVideosPornVideo["Score"].asString(); - if(!pornResultNodePornVideosPornVideo["Object"].isNull()) - pornVideoObject.object = pornResultNodePornVideosPornVideo["Object"].asString(); - jobListObject.result.pornResult.pornVideos.push_back(pornVideoObject); - } - auto allPornAudiosNode = pornResultNode["PornAudios"]["PornAudio"]; - for (auto pornResultNodePornAudiosPornAudio : allPornAudiosNode) - { - Job::Result::PornResult::PornAudio pornAudioObject; - if(!pornResultNodePornAudiosPornAudio["EndTime"].isNull()) - pornAudioObject.endTime = pornResultNodePornAudiosPornAudio["EndTime"].asString(); - if(!pornResultNodePornAudiosPornAudio["StartTime"].isNull()) - pornAudioObject.startTime = pornResultNodePornAudiosPornAudio["StartTime"].asString(); - if(!pornResultNodePornAudiosPornAudio["Suggestion"].isNull()) - pornAudioObject.suggestion = pornResultNodePornAudiosPornAudio["Suggestion"].asString(); - if(!pornResultNodePornAudiosPornAudio["Score"].isNull()) - pornAudioObject.score = pornResultNodePornAudiosPornAudio["Score"].asString(); - if(!pornResultNodePornAudiosPornAudio["Text"].isNull()) - pornAudioObject.text = pornResultNodePornAudiosPornAudio["Text"].asString(); - if(!pornResultNodePornAudiosPornAudio["Object"].isNull()) - pornAudioObject.object = pornResultNodePornAudiosPornAudio["Object"].asString(); - jobListObject.result.pornResult.pornAudios.push_back(pornAudioObject); - } - auto allPornImagesNode = pornResultNode["PornImages"]["PornImage"]; - for (auto pornResultNodePornImagesPornImage : allPornImagesNode) - { - Job::Result::PornResult::PornImage pornImageObject; - if(!pornResultNodePornImagesPornImage["Suggestion"].isNull()) - pornImageObject.suggestion = pornResultNodePornImagesPornImage["Suggestion"].asString(); - if(!pornResultNodePornImagesPornImage["Score"].isNull()) - pornImageObject.score = pornResultNodePornImagesPornImage["Score"].asString(); - if(!pornResultNodePornImagesPornImage["Url"].isNull()) - pornImageObject.url = pornResultNodePornImagesPornImage["Url"].asString(); - if(!pornResultNodePornImagesPornImage["Text"].isNull()) - pornImageObject.text = pornResultNodePornImagesPornImage["Text"].asString(); - jobListObject.result.pornResult.pornImages.push_back(pornImageObject); - } - auto allPornOcrsNode = pornResultNode["PornOcrs"]["PornOcr"]; - for (auto pornResultNodePornOcrsPornOcr : allPornOcrsNode) - { - Job::Result::PornResult::PornOcr pornOcrObject; - if(!pornResultNodePornOcrsPornOcr["Time"].isNull()) - pornOcrObject.time = pornResultNodePornOcrsPornOcr["Time"].asString(); - if(!pornResultNodePornOcrsPornOcr["Suggestion"].isNull()) - pornOcrObject.suggestion = pornResultNodePornOcrsPornOcr["Suggestion"].asString(); - if(!pornResultNodePornOcrsPornOcr["Score"].isNull()) - pornOcrObject.score = pornResultNodePornOcrsPornOcr["Score"].asString(); - if(!pornResultNodePornOcrsPornOcr["Text"].isNull()) - pornOcrObject.text = pornResultNodePornOcrsPornOcr["Text"].asString(); - if(!pornResultNodePornOcrsPornOcr["Object"].isNull()) - pornOcrObject.object = pornResultNodePornOcrsPornOcr["Object"].asString(); - jobListObject.result.pornResult.pornOcrs.push_back(pornOcrObject); - } - auto adResultNode = resultNode["AdResult"]; - auto allAdOcrsNode = adResultNode["AdOcrs"]["AdOcr"]; - for (auto adResultNodeAdOcrsAdOcr : allAdOcrsNode) - { - Job::Result::AdResult::AdOcr adOcrObject; - if(!adResultNodeAdOcrsAdOcr["Time"].isNull()) - adOcrObject.time = adResultNodeAdOcrsAdOcr["Time"].asString(); - if(!adResultNodeAdOcrsAdOcr["Suggestion"].isNull()) - adOcrObject.suggestion = adResultNodeAdOcrsAdOcr["Suggestion"].asString(); - if(!adResultNodeAdOcrsAdOcr["Score"].isNull()) - adOcrObject.score = adResultNodeAdOcrsAdOcr["Score"].asString(); - if(!adResultNodeAdOcrsAdOcr["Text"].isNull()) - adOcrObject.text = adResultNodeAdOcrsAdOcr["Text"].asString(); - if(!adResultNodeAdOcrsAdOcr["Object"].isNull()) - adOcrObject.object = adResultNodeAdOcrsAdOcr["Object"].asString(); - jobListObject.result.adResult.adOcrs.push_back(adOcrObject); - } - auto allAdTextsNode = adResultNode["AdTexts"]["AdText"]; - for (auto adResultNodeAdTextsAdText : allAdTextsNode) - { - Job::Result::AdResult::AdText adTextObject; - if(!adResultNodeAdTextsAdText["Suggestion"].isNull()) - adTextObject.suggestion = adResultNodeAdTextsAdText["Suggestion"].asString(); - if(!adResultNodeAdTextsAdText["Score"].isNull()) - adTextObject.score = adResultNodeAdTextsAdText["Score"].asString(); - if(!adResultNodeAdTextsAdText["Text"].isNull()) - adTextObject.text = adResultNodeAdTextsAdText["Text"].asString(); - jobListObject.result.adResult.adTexts.push_back(adTextObject); - } - auto allAdImagesNode = adResultNode["AdImages"]["AdImage"]; - for (auto adResultNodeAdImagesAdImage : allAdImagesNode) - { - Job::Result::AdResult::AdImage adImageObject; - if(!adResultNodeAdImagesAdImage["Suggestion"].isNull()) - adImageObject.suggestion = adResultNodeAdImagesAdImage["Suggestion"].asString(); - if(!adResultNodeAdImagesAdImage["Score"].isNull()) - adImageObject.score = adResultNodeAdImagesAdImage["Score"].asString(); - if(!adResultNodeAdImagesAdImage["Url"].isNull()) - adImageObject.url = adResultNodeAdImagesAdImage["Url"].asString(); - if(!adResultNodeAdImagesAdImage["Text"].isNull()) - adImageObject.text = adResultNodeAdImagesAdImage["Text"].asString(); - jobListObject.result.adResult.adImages.push_back(adImageObject); - } - auto allAdAudiosNode = adResultNode["AdAudios"]["AdAudio"]; - for (auto adResultNodeAdAudiosAdAudio : allAdAudiosNode) - { - Job::Result::AdResult::AdAudio adAudioObject; - if(!adResultNodeAdAudiosAdAudio["EndTime"].isNull()) - adAudioObject.endTime = adResultNodeAdAudiosAdAudio["EndTime"].asString(); - if(!adResultNodeAdAudiosAdAudio["StartTime"].isNull()) - adAudioObject.startTime = adResultNodeAdAudiosAdAudio["StartTime"].asString(); - if(!adResultNodeAdAudiosAdAudio["Suggestion"].isNull()) - adAudioObject.suggestion = adResultNodeAdAudiosAdAudio["Suggestion"].asString(); - if(!adResultNodeAdAudiosAdAudio["Score"].isNull()) - adAudioObject.score = adResultNodeAdAudiosAdAudio["Score"].asString(); - if(!adResultNodeAdAudiosAdAudio["Text"].isNull()) - adAudioObject.text = adResultNodeAdAudiosAdAudio["Text"].asString(); - if(!adResultNodeAdAudiosAdAudio["Object"].isNull()) - adAudioObject.object = adResultNodeAdAudiosAdAudio["Object"].asString(); - jobListObject.result.adResult.adAudios.push_back(adAudioObject); - } - auto allAdVideosNode = adResultNode["AdVideos"]["AdVideo"]; - for (auto adResultNodeAdVideosAdVideo : allAdVideosNode) - { - Job::Result::AdResult::AdVideo adVideoObject; - if(!adResultNodeAdVideosAdVideo["Time"].isNull()) - adVideoObject.time = adResultNodeAdVideosAdVideo["Time"].asString(); - if(!adResultNodeAdVideosAdVideo["Suggestion"].isNull()) - adVideoObject.suggestion = adResultNodeAdVideosAdVideo["Suggestion"].asString(); - if(!adResultNodeAdVideosAdVideo["Score"].isNull()) - adVideoObject.score = adResultNodeAdVideosAdVideo["Score"].asString(); - if(!adResultNodeAdVideosAdVideo["Object"].isNull()) - adVideoObject.object = adResultNodeAdVideosAdVideo["Object"].asString(); - jobListObject.result.adResult.adVideos.push_back(adVideoObject); - } - auto logoResultNode = resultNode["LogoResult"]; - auto allLogoImagesNode = logoResultNode["LogoImages"]["LogoImage"]; - for (auto logoResultNodeLogoImagesLogoImage : allLogoImagesNode) - { - Job::Result::LogoResult::LogoImage logoImageObject; - if(!logoResultNodeLogoImagesLogoImage["Suggestion"].isNull()) - logoImageObject.suggestion = logoResultNodeLogoImagesLogoImage["Suggestion"].asString(); - if(!logoResultNodeLogoImagesLogoImage["Score"].isNull()) - logoImageObject.score = logoResultNodeLogoImagesLogoImage["Score"].asString(); - if(!logoResultNodeLogoImagesLogoImage["Url"].isNull()) - logoImageObject.url = logoResultNodeLogoImagesLogoImage["Url"].asString(); - if(!logoResultNodeLogoImagesLogoImage["Text"].isNull()) - logoImageObject.text = logoResultNodeLogoImagesLogoImage["Text"].asString(); - jobListObject.result.logoResult.logoImages.push_back(logoImageObject); - } - auto allLogoVideosNode = logoResultNode["LogoVideos"]["LogoVideo"]; - for (auto logoResultNodeLogoVideosLogoVideo : allLogoVideosNode) - { - Job::Result::LogoResult::LogoVideo logoVideoObject; - if(!logoResultNodeLogoVideosLogoVideo["Time"].isNull()) - logoVideoObject.time = logoResultNodeLogoVideosLogoVideo["Time"].asString(); - if(!logoResultNodeLogoVideosLogoVideo["Suggestion"].isNull()) - logoVideoObject.suggestion = logoResultNodeLogoVideosLogoVideo["Suggestion"].asString(); - if(!logoResultNodeLogoVideosLogoVideo["Score"].isNull()) - logoVideoObject.score = logoResultNodeLogoVideosLogoVideo["Score"].asString(); - if(!logoResultNodeLogoVideosLogoVideo["Object"].isNull()) - logoVideoObject.object = logoResultNodeLogoVideosLogoVideo["Object"].asString(); - jobListObject.result.logoResult.logoVideos.push_back(logoVideoObject); - } - auto qrcodeResultNode = resultNode["QrcodeResult"]; - auto allQrcodeImagesNode = qrcodeResultNode["QrcodeImages"]["QrcodeImage"]; - for (auto qrcodeResultNodeQrcodeImagesQrcodeImage : allQrcodeImagesNode) - { - Job::Result::QrcodeResult::QrcodeImage qrcodeImageObject; - if(!qrcodeResultNodeQrcodeImagesQrcodeImage["Suggestion"].isNull()) - qrcodeImageObject.suggestion = qrcodeResultNodeQrcodeImagesQrcodeImage["Suggestion"].asString(); - if(!qrcodeResultNodeQrcodeImagesQrcodeImage["Score"].isNull()) - qrcodeImageObject.score = qrcodeResultNodeQrcodeImagesQrcodeImage["Score"].asString(); - if(!qrcodeResultNodeQrcodeImagesQrcodeImage["Url"].isNull()) - qrcodeImageObject.url = qrcodeResultNodeQrcodeImagesQrcodeImage["Url"].asString(); - if(!qrcodeResultNodeQrcodeImagesQrcodeImage["Text"].isNull()) - qrcodeImageObject.text = qrcodeResultNodeQrcodeImagesQrcodeImage["Text"].asString(); - jobListObject.result.qrcodeResult.qrcodeImages.push_back(qrcodeImageObject); - } - auto allQrcodeVideosNode = qrcodeResultNode["QrcodeVideos"]["QrcodeVideo"]; - for (auto qrcodeResultNodeQrcodeVideosQrcodeVideo : allQrcodeVideosNode) - { - Job::Result::QrcodeResult::QrcodeVideo qrcodeVideoObject; - if(!qrcodeResultNodeQrcodeVideosQrcodeVideo["Time"].isNull()) - qrcodeVideoObject.time = qrcodeResultNodeQrcodeVideosQrcodeVideo["Time"].asString(); - if(!qrcodeResultNodeQrcodeVideosQrcodeVideo["Suggestion"].isNull()) - qrcodeVideoObject.suggestion = qrcodeResultNodeQrcodeVideosQrcodeVideo["Suggestion"].asString(); - if(!qrcodeResultNodeQrcodeVideosQrcodeVideo["Score"].isNull()) - qrcodeVideoObject.score = qrcodeResultNodeQrcodeVideosQrcodeVideo["Score"].asString(); - if(!qrcodeResultNodeQrcodeVideosQrcodeVideo["Object"].isNull()) - qrcodeVideoObject.object = qrcodeResultNodeQrcodeVideosQrcodeVideo["Object"].asString(); - jobListObject.result.qrcodeResult.qrcodeVideos.push_back(qrcodeVideoObject); - } - auto politicsResultNode = resultNode["PoliticsResult"]; - auto allPoliticsOcrsNode = politicsResultNode["PoliticsOcrs"]["PoliticsOcr"]; - for (auto politicsResultNodePoliticsOcrsPoliticsOcr : allPoliticsOcrsNode) - { - Job::Result::PoliticsResult::PoliticsOcr politicsOcrObject; - if(!politicsResultNodePoliticsOcrsPoliticsOcr["Time"].isNull()) - politicsOcrObject.time = politicsResultNodePoliticsOcrsPoliticsOcr["Time"].asString(); - if(!politicsResultNodePoliticsOcrsPoliticsOcr["Suggestion"].isNull()) - politicsOcrObject.suggestion = politicsResultNodePoliticsOcrsPoliticsOcr["Suggestion"].asString(); - if(!politicsResultNodePoliticsOcrsPoliticsOcr["Score"].isNull()) - politicsOcrObject.score = politicsResultNodePoliticsOcrsPoliticsOcr["Score"].asString(); - if(!politicsResultNodePoliticsOcrsPoliticsOcr["Text"].isNull()) - politicsOcrObject.text = politicsResultNodePoliticsOcrsPoliticsOcr["Text"].asString(); - if(!politicsResultNodePoliticsOcrsPoliticsOcr["Object"].isNull()) - politicsOcrObject.object = politicsResultNodePoliticsOcrsPoliticsOcr["Object"].asString(); - jobListObject.result.politicsResult.politicsOcrs.push_back(politicsOcrObject); - } - auto allPoliticsVideosNode = politicsResultNode["PoliticsVideos"]["PoliticsVideo"]; - for (auto politicsResultNodePoliticsVideosPoliticsVideo : allPoliticsVideosNode) - { - Job::Result::PoliticsResult::PoliticsVideo politicsVideoObject; - if(!politicsResultNodePoliticsVideosPoliticsVideo["Time"].isNull()) - politicsVideoObject.time = politicsResultNodePoliticsVideosPoliticsVideo["Time"].asString(); - if(!politicsResultNodePoliticsVideosPoliticsVideo["Suggestion"].isNull()) - politicsVideoObject.suggestion = politicsResultNodePoliticsVideosPoliticsVideo["Suggestion"].asString(); - if(!politicsResultNodePoliticsVideosPoliticsVideo["Score"].isNull()) - politicsVideoObject.score = politicsResultNodePoliticsVideosPoliticsVideo["Score"].asString(); - if(!politicsResultNodePoliticsVideosPoliticsVideo["Object"].isNull()) - politicsVideoObject.object = politicsResultNodePoliticsVideosPoliticsVideo["Object"].asString(); - jobListObject.result.politicsResult.politicsVideos.push_back(politicsVideoObject); - } - auto allPoliticsImagesNode = politicsResultNode["PoliticsImages"]["PoliticsImage"]; - for (auto politicsResultNodePoliticsImagesPoliticsImage : allPoliticsImagesNode) - { - Job::Result::PoliticsResult::PoliticsImage politicsImageObject; - if(!politicsResultNodePoliticsImagesPoliticsImage["Suggestion"].isNull()) - politicsImageObject.suggestion = politicsResultNodePoliticsImagesPoliticsImage["Suggestion"].asString(); - if(!politicsResultNodePoliticsImagesPoliticsImage["Score"].isNull()) - politicsImageObject.score = politicsResultNodePoliticsImagesPoliticsImage["Score"].asString(); - if(!politicsResultNodePoliticsImagesPoliticsImage["Url"].isNull()) - politicsImageObject.url = politicsResultNodePoliticsImagesPoliticsImage["Url"].asString(); - if(!politicsResultNodePoliticsImagesPoliticsImage["Text"].isNull()) - politicsImageObject.text = politicsResultNodePoliticsImagesPoliticsImage["Text"].asString(); - jobListObject.result.politicsResult.politicsImages.push_back(politicsImageObject); - } - auto allPoliticsTextsNode = politicsResultNode["PoliticsTexts"]["PoliticsText"]; - for (auto politicsResultNodePoliticsTextsPoliticsText : allPoliticsTextsNode) - { - Job::Result::PoliticsResult::PoliticsText politicsTextObject; - if(!politicsResultNodePoliticsTextsPoliticsText["Suggestion"].isNull()) - politicsTextObject.suggestion = politicsResultNodePoliticsTextsPoliticsText["Suggestion"].asString(); - if(!politicsResultNodePoliticsTextsPoliticsText["Score"].isNull()) - politicsTextObject.score = politicsResultNodePoliticsTextsPoliticsText["Score"].asString(); - if(!politicsResultNodePoliticsTextsPoliticsText["Text"].isNull()) - politicsTextObject.text = politicsResultNodePoliticsTextsPoliticsText["Text"].asString(); - jobListObject.result.politicsResult.politicsTexts.push_back(politicsTextObject); - } - auto allPoliticsAudiosNode = politicsResultNode["PoliticsAudios"]["PoliticsAudio"]; - for (auto politicsResultNodePoliticsAudiosPoliticsAudio : allPoliticsAudiosNode) - { - Job::Result::PoliticsResult::PoliticsAudio politicsAudioObject; - if(!politicsResultNodePoliticsAudiosPoliticsAudio["EndTime"].isNull()) - politicsAudioObject.endTime = politicsResultNodePoliticsAudiosPoliticsAudio["EndTime"].asString(); - if(!politicsResultNodePoliticsAudiosPoliticsAudio["StartTime"].isNull()) - politicsAudioObject.startTime = politicsResultNodePoliticsAudiosPoliticsAudio["StartTime"].asString(); - if(!politicsResultNodePoliticsAudiosPoliticsAudio["Suggestion"].isNull()) - politicsAudioObject.suggestion = politicsResultNodePoliticsAudiosPoliticsAudio["Suggestion"].asString(); - if(!politicsResultNodePoliticsAudiosPoliticsAudio["Score"].isNull()) - politicsAudioObject.score = politicsResultNodePoliticsAudiosPoliticsAudio["Score"].asString(); - if(!politicsResultNodePoliticsAudiosPoliticsAudio["Text"].isNull()) - politicsAudioObject.text = politicsResultNodePoliticsAudiosPoliticsAudio["Text"].asString(); - if(!politicsResultNodePoliticsAudiosPoliticsAudio["Object"].isNull()) - politicsAudioObject.object = politicsResultNodePoliticsAudiosPoliticsAudio["Object"].asString(); - jobListObject.result.politicsResult.politicsAudios.push_back(politicsAudioObject); - } - auto liveResultNode = resultNode["LiveResult"]; - auto allLiveImagesNode = liveResultNode["LiveImages"]["LiveImage"]; - for (auto liveResultNodeLiveImagesLiveImage : allLiveImagesNode) - { - Job::Result::LiveResult::LiveImage liveImageObject; - if(!liveResultNodeLiveImagesLiveImage["Suggestion"].isNull()) - liveImageObject.suggestion = liveResultNodeLiveImagesLiveImage["Suggestion"].asString(); - if(!liveResultNodeLiveImagesLiveImage["Score"].isNull()) - liveImageObject.score = liveResultNodeLiveImagesLiveImage["Score"].asString(); - if(!liveResultNodeLiveImagesLiveImage["Url"].isNull()) - liveImageObject.url = liveResultNodeLiveImagesLiveImage["Url"].asString(); - if(!liveResultNodeLiveImagesLiveImage["Text"].isNull()) - liveImageObject.text = liveResultNodeLiveImagesLiveImage["Text"].asString(); - jobListObject.result.liveResult.liveImages.push_back(liveImageObject); - } - auto allLiveVideosNode = liveResultNode["LiveVideos"]["LiveVideo"]; - for (auto liveResultNodeLiveVideosLiveVideo : allLiveVideosNode) - { - Job::Result::LiveResult::LiveVideo liveVideoObject; - if(!liveResultNodeLiveVideosLiveVideo["Time"].isNull()) - liveVideoObject.time = liveResultNodeLiveVideosLiveVideo["Time"].asString(); - if(!liveResultNodeLiveVideosLiveVideo["Suggestion"].isNull()) - liveVideoObject.suggestion = liveResultNodeLiveVideosLiveVideo["Suggestion"].asString(); - if(!liveResultNodeLiveVideosLiveVideo["Score"].isNull()) - liveVideoObject.score = liveResultNodeLiveVideosLiveVideo["Score"].asString(); - if(!liveResultNodeLiveVideosLiveVideo["Object"].isNull()) - liveVideoObject.object = liveResultNodeLiveVideosLiveVideo["Object"].asString(); - jobListObject.result.liveResult.liveVideos.push_back(liveVideoObject); - } - auto abuseResultNode = resultNode["AbuseResult"]; - auto allAbuseOcrsNode = abuseResultNode["AbuseOcrs"]["AbuseOcr"]; - for (auto abuseResultNodeAbuseOcrsAbuseOcr : allAbuseOcrsNode) - { - Job::Result::AbuseResult::AbuseOcr abuseOcrObject; - if(!abuseResultNodeAbuseOcrsAbuseOcr["Time"].isNull()) - abuseOcrObject.time = abuseResultNodeAbuseOcrsAbuseOcr["Time"].asString(); - if(!abuseResultNodeAbuseOcrsAbuseOcr["Suggestion"].isNull()) - abuseOcrObject.suggestion = abuseResultNodeAbuseOcrsAbuseOcr["Suggestion"].asString(); - if(!abuseResultNodeAbuseOcrsAbuseOcr["Score"].isNull()) - abuseOcrObject.score = abuseResultNodeAbuseOcrsAbuseOcr["Score"].asString(); - if(!abuseResultNodeAbuseOcrsAbuseOcr["Text"].isNull()) - abuseOcrObject.text = abuseResultNodeAbuseOcrsAbuseOcr["Text"].asString(); - if(!abuseResultNodeAbuseOcrsAbuseOcr["Object"].isNull()) - abuseOcrObject.object = abuseResultNodeAbuseOcrsAbuseOcr["Object"].asString(); - jobListObject.result.abuseResult.abuseOcrs.push_back(abuseOcrObject); - } - auto allAbuseAudiosNode = abuseResultNode["AbuseAudios"]["AbuseAudio"]; - for (auto abuseResultNodeAbuseAudiosAbuseAudio : allAbuseAudiosNode) - { - Job::Result::AbuseResult::AbuseAudio abuseAudioObject; - if(!abuseResultNodeAbuseAudiosAbuseAudio["EndTime"].isNull()) - abuseAudioObject.endTime = abuseResultNodeAbuseAudiosAbuseAudio["EndTime"].asString(); - if(!abuseResultNodeAbuseAudiosAbuseAudio["StartTime"].isNull()) - abuseAudioObject.startTime = abuseResultNodeAbuseAudiosAbuseAudio["StartTime"].asString(); - if(!abuseResultNodeAbuseAudiosAbuseAudio["Suggestion"].isNull()) - abuseAudioObject.suggestion = abuseResultNodeAbuseAudiosAbuseAudio["Suggestion"].asString(); - if(!abuseResultNodeAbuseAudiosAbuseAudio["Score"].isNull()) - abuseAudioObject.score = abuseResultNodeAbuseAudiosAbuseAudio["Score"].asString(); - if(!abuseResultNodeAbuseAudiosAbuseAudio["Text"].isNull()) - abuseAudioObject.text = abuseResultNodeAbuseAudiosAbuseAudio["Text"].asString(); - if(!abuseResultNodeAbuseAudiosAbuseAudio["Object"].isNull()) - abuseAudioObject.object = abuseResultNodeAbuseAudiosAbuseAudio["Object"].asString(); - jobListObject.result.abuseResult.abuseAudios.push_back(abuseAudioObject); - } - auto allAbuseTextsNode = abuseResultNode["AbuseTexts"]["AbuseText"]; - for (auto abuseResultNodeAbuseTextsAbuseText : allAbuseTextsNode) - { - Job::Result::AbuseResult::AbuseText abuseTextObject; - if(!abuseResultNodeAbuseTextsAbuseText["Suggestion"].isNull()) - abuseTextObject.suggestion = abuseResultNodeAbuseTextsAbuseText["Suggestion"].asString(); - if(!abuseResultNodeAbuseTextsAbuseText["Score"].isNull()) - abuseTextObject.score = abuseResultNodeAbuseTextsAbuseText["Score"].asString(); - if(!abuseResultNodeAbuseTextsAbuseText["Text"].isNull()) - abuseTextObject.text = abuseResultNodeAbuseTextsAbuseText["Text"].asString(); - jobListObject.result.abuseResult.abuseTexts.push_back(abuseTextObject); - } - auto spamResultNode = resultNode["SpamResult"]; - auto allSpamTextsNode = spamResultNode["SpamTexts"]["SpamText"]; - for (auto spamResultNodeSpamTextsSpamText : allSpamTextsNode) - { - Job::Result::SpamResult::SpamText spamTextObject; - if(!spamResultNodeSpamTextsSpamText["Suggestion"].isNull()) - spamTextObject.suggestion = spamResultNodeSpamTextsSpamText["Suggestion"].asString(); - if(!spamResultNodeSpamTextsSpamText["Score"].isNull()) - spamTextObject.score = spamResultNodeSpamTextsSpamText["Score"].asString(); - if(!spamResultNodeSpamTextsSpamText["Text"].isNull()) - spamTextObject.text = spamResultNodeSpamTextsSpamText["Text"].asString(); - jobListObject.result.spamResult.spamTexts.push_back(spamTextObject); - } - auto allSpamAudiosNode = spamResultNode["SpamAudios"]["SpamAudio"]; - for (auto spamResultNodeSpamAudiosSpamAudio : allSpamAudiosNode) - { - Job::Result::SpamResult::SpamAudio spamAudioObject; - if(!spamResultNodeSpamAudiosSpamAudio["EndTime"].isNull()) - spamAudioObject.endTime = spamResultNodeSpamAudiosSpamAudio["EndTime"].asString(); - if(!spamResultNodeSpamAudiosSpamAudio["StartTime"].isNull()) - spamAudioObject.startTime = spamResultNodeSpamAudiosSpamAudio["StartTime"].asString(); - if(!spamResultNodeSpamAudiosSpamAudio["Suggestion"].isNull()) - spamAudioObject.suggestion = spamResultNodeSpamAudiosSpamAudio["Suggestion"].asString(); - if(!spamResultNodeSpamAudiosSpamAudio["Score"].isNull()) - spamAudioObject.score = spamResultNodeSpamAudiosSpamAudio["Score"].asString(); - if(!spamResultNodeSpamAudiosSpamAudio["Text"].isNull()) - spamAudioObject.text = spamResultNodeSpamAudiosSpamAudio["Text"].asString(); - if(!spamResultNodeSpamAudiosSpamAudio["Object"].isNull()) - spamAudioObject.object = spamResultNodeSpamAudiosSpamAudio["Object"].asString(); - jobListObject.result.spamResult.spamAudios.push_back(spamAudioObject); - } - auto allSpamOcrsNode = spamResultNode["SpamOcrs"]["SpamOcr"]; - for (auto spamResultNodeSpamOcrsSpamOcr : allSpamOcrsNode) - { - Job::Result::SpamResult::SpamOcr spamOcrObject; - if(!spamResultNodeSpamOcrsSpamOcr["Time"].isNull()) - spamOcrObject.time = spamResultNodeSpamOcrsSpamOcr["Time"].asString(); - if(!spamResultNodeSpamOcrsSpamOcr["Suggestion"].isNull()) - spamOcrObject.suggestion = spamResultNodeSpamOcrsSpamOcr["Suggestion"].asString(); - if(!spamResultNodeSpamOcrsSpamOcr["Score"].isNull()) - spamOcrObject.score = spamResultNodeSpamOcrsSpamOcr["Score"].asString(); - if(!spamResultNodeSpamOcrsSpamOcr["Text"].isNull()) - spamOcrObject.text = spamResultNodeSpamOcrsSpamOcr["Text"].asString(); - if(!spamResultNodeSpamOcrsSpamOcr["Object"].isNull()) - spamOcrObject.object = spamResultNodeSpamOcrsSpamOcr["Object"].asString(); - jobListObject.result.spamResult.spamOcrs.push_back(spamOcrObject); - } - auto contrabandResultNode = resultNode["ContrabandResult"]; - auto allContrabandAudiosNode = contrabandResultNode["ContrabandAudios"]["ContrabandAudio"]; - for (auto contrabandResultNodeContrabandAudiosContrabandAudio : allContrabandAudiosNode) - { - Job::Result::ContrabandResult::ContrabandAudio contrabandAudioObject; - if(!contrabandResultNodeContrabandAudiosContrabandAudio["EndTime"].isNull()) - contrabandAudioObject.endTime = contrabandResultNodeContrabandAudiosContrabandAudio["EndTime"].asString(); - if(!contrabandResultNodeContrabandAudiosContrabandAudio["StartTime"].isNull()) - contrabandAudioObject.startTime = contrabandResultNodeContrabandAudiosContrabandAudio["StartTime"].asString(); - if(!contrabandResultNodeContrabandAudiosContrabandAudio["Suggestion"].isNull()) - contrabandAudioObject.suggestion = contrabandResultNodeContrabandAudiosContrabandAudio["Suggestion"].asString(); - if(!contrabandResultNodeContrabandAudiosContrabandAudio["Score"].isNull()) - contrabandAudioObject.score = contrabandResultNodeContrabandAudiosContrabandAudio["Score"].asString(); - if(!contrabandResultNodeContrabandAudiosContrabandAudio["Text"].isNull()) - contrabandAudioObject.text = contrabandResultNodeContrabandAudiosContrabandAudio["Text"].asString(); - if(!contrabandResultNodeContrabandAudiosContrabandAudio["Object"].isNull()) - contrabandAudioObject.object = contrabandResultNodeContrabandAudiosContrabandAudio["Object"].asString(); - jobListObject.result.contrabandResult.contrabandAudios.push_back(contrabandAudioObject); - } - auto allContrabandOcrsNode = contrabandResultNode["ContrabandOcrs"]["ContrabandOcr"]; - for (auto contrabandResultNodeContrabandOcrsContrabandOcr : allContrabandOcrsNode) - { - Job::Result::ContrabandResult::ContrabandOcr contrabandOcrObject; - if(!contrabandResultNodeContrabandOcrsContrabandOcr["Time"].isNull()) - contrabandOcrObject.time = contrabandResultNodeContrabandOcrsContrabandOcr["Time"].asString(); - if(!contrabandResultNodeContrabandOcrsContrabandOcr["Suggestion"].isNull()) - contrabandOcrObject.suggestion = contrabandResultNodeContrabandOcrsContrabandOcr["Suggestion"].asString(); - if(!contrabandResultNodeContrabandOcrsContrabandOcr["Score"].isNull()) - contrabandOcrObject.score = contrabandResultNodeContrabandOcrsContrabandOcr["Score"].asString(); - if(!contrabandResultNodeContrabandOcrsContrabandOcr["Text"].isNull()) - contrabandOcrObject.text = contrabandResultNodeContrabandOcrsContrabandOcr["Text"].asString(); - if(!contrabandResultNodeContrabandOcrsContrabandOcr["Object"].isNull()) - contrabandOcrObject.object = contrabandResultNodeContrabandOcrsContrabandOcr["Object"].asString(); - jobListObject.result.contrabandResult.contrabandOcrs.push_back(contrabandOcrObject); - } - auto allContrabandTextsNode = contrabandResultNode["ContrabandTexts"]["ContrabandText"]; - for (auto contrabandResultNodeContrabandTextsContrabandText : allContrabandTextsNode) - { - Job::Result::ContrabandResult::ContrabandText contrabandTextObject; - if(!contrabandResultNodeContrabandTextsContrabandText["Suggestion"].isNull()) - contrabandTextObject.suggestion = contrabandResultNodeContrabandTextsContrabandText["Suggestion"].asString(); - if(!contrabandResultNodeContrabandTextsContrabandText["Score"].isNull()) - contrabandTextObject.score = contrabandResultNodeContrabandTextsContrabandText["Score"].asString(); - if(!contrabandResultNodeContrabandTextsContrabandText["Text"].isNull()) - contrabandTextObject.text = contrabandResultNodeContrabandTextsContrabandText["Text"].asString(); - jobListObject.result.contrabandResult.contrabandTexts.push_back(contrabandTextObject); - } - auto terrorismResultNode = resultNode["TerrorismResult"]; - auto allTerrorismOcrsNode = terrorismResultNode["TerrorismOcrs"]["TerrorismOcr"]; - for (auto terrorismResultNodeTerrorismOcrsTerrorismOcr : allTerrorismOcrsNode) - { - Job::Result::TerrorismResult::TerrorismOcr terrorismOcrObject; - if(!terrorismResultNodeTerrorismOcrsTerrorismOcr["Time"].isNull()) - terrorismOcrObject.time = terrorismResultNodeTerrorismOcrsTerrorismOcr["Time"].asString(); - if(!terrorismResultNodeTerrorismOcrsTerrorismOcr["Suggestion"].isNull()) - terrorismOcrObject.suggestion = terrorismResultNodeTerrorismOcrsTerrorismOcr["Suggestion"].asString(); - if(!terrorismResultNodeTerrorismOcrsTerrorismOcr["Score"].isNull()) - terrorismOcrObject.score = terrorismResultNodeTerrorismOcrsTerrorismOcr["Score"].asString(); - if(!terrorismResultNodeTerrorismOcrsTerrorismOcr["Text"].isNull()) - terrorismOcrObject.text = terrorismResultNodeTerrorismOcrsTerrorismOcr["Text"].asString(); - if(!terrorismResultNodeTerrorismOcrsTerrorismOcr["Object"].isNull()) - terrorismOcrObject.object = terrorismResultNodeTerrorismOcrsTerrorismOcr["Object"].asString(); - jobListObject.result.terrorismResult.terrorismOcrs.push_back(terrorismOcrObject); - } - auto allTerrorismAudiosNode = terrorismResultNode["TerrorismAudios"]["TerrorismAudio"]; - for (auto terrorismResultNodeTerrorismAudiosTerrorismAudio : allTerrorismAudiosNode) - { - Job::Result::TerrorismResult::TerrorismAudio terrorismAudioObject; - if(!terrorismResultNodeTerrorismAudiosTerrorismAudio["EndTime"].isNull()) - terrorismAudioObject.endTime = terrorismResultNodeTerrorismAudiosTerrorismAudio["EndTime"].asString(); - if(!terrorismResultNodeTerrorismAudiosTerrorismAudio["StartTime"].isNull()) - terrorismAudioObject.startTime = terrorismResultNodeTerrorismAudiosTerrorismAudio["StartTime"].asString(); - if(!terrorismResultNodeTerrorismAudiosTerrorismAudio["Suggestion"].isNull()) - terrorismAudioObject.suggestion = terrorismResultNodeTerrorismAudiosTerrorismAudio["Suggestion"].asString(); - if(!terrorismResultNodeTerrorismAudiosTerrorismAudio["Score"].isNull()) - terrorismAudioObject.score = terrorismResultNodeTerrorismAudiosTerrorismAudio["Score"].asString(); - if(!terrorismResultNodeTerrorismAudiosTerrorismAudio["Text"].isNull()) - terrorismAudioObject.text = terrorismResultNodeTerrorismAudiosTerrorismAudio["Text"].asString(); - if(!terrorismResultNodeTerrorismAudiosTerrorismAudio["Object"].isNull()) - terrorismAudioObject.object = terrorismResultNodeTerrorismAudiosTerrorismAudio["Object"].asString(); - jobListObject.result.terrorismResult.terrorismAudios.push_back(terrorismAudioObject); - } - auto allTerrorismVideosNode = terrorismResultNode["TerrorismVideos"]["TerrorismVideo"]; - for (auto terrorismResultNodeTerrorismVideosTerrorismVideo : allTerrorismVideosNode) - { - Job::Result::TerrorismResult::TerrorismVideo terrorismVideoObject; - if(!terrorismResultNodeTerrorismVideosTerrorismVideo["Time"].isNull()) - terrorismVideoObject.time = terrorismResultNodeTerrorismVideosTerrorismVideo["Time"].asString(); - if(!terrorismResultNodeTerrorismVideosTerrorismVideo["Suggestion"].isNull()) - terrorismVideoObject.suggestion = terrorismResultNodeTerrorismVideosTerrorismVideo["Suggestion"].asString(); - if(!terrorismResultNodeTerrorismVideosTerrorismVideo["Score"].isNull()) - terrorismVideoObject.score = terrorismResultNodeTerrorismVideosTerrorismVideo["Score"].asString(); - if(!terrorismResultNodeTerrorismVideosTerrorismVideo["Object"].isNull()) - terrorismVideoObject.object = terrorismResultNodeTerrorismVideosTerrorismVideo["Object"].asString(); - jobListObject.result.terrorismResult.terrorismVideos.push_back(terrorismVideoObject); - } - auto allTerrorismTextsNode = terrorismResultNode["TerrorismTexts"]["TerrorismText"]; - for (auto terrorismResultNodeTerrorismTextsTerrorismText : allTerrorismTextsNode) - { - Job::Result::TerrorismResult::TerrorismText terrorismTextObject; - if(!terrorismResultNodeTerrorismTextsTerrorismText["Suggestion"].isNull()) - terrorismTextObject.suggestion = terrorismResultNodeTerrorismTextsTerrorismText["Suggestion"].asString(); - if(!terrorismResultNodeTerrorismTextsTerrorismText["Score"].isNull()) - terrorismTextObject.score = terrorismResultNodeTerrorismTextsTerrorismText["Score"].asString(); - if(!terrorismResultNodeTerrorismTextsTerrorismText["Text"].isNull()) - terrorismTextObject.text = terrorismResultNodeTerrorismTextsTerrorismText["Text"].asString(); - jobListObject.result.terrorismResult.terrorismTexts.push_back(terrorismTextObject); - } - auto allTerrorismImagesNode = terrorismResultNode["TerrorismImages"]["TerrorismImage"]; - for (auto terrorismResultNodeTerrorismImagesTerrorismImage : allTerrorismImagesNode) - { - Job::Result::TerrorismResult::TerrorismImage terrorismImageObject; - if(!terrorismResultNodeTerrorismImagesTerrorismImage["Suggestion"].isNull()) - terrorismImageObject.suggestion = terrorismResultNodeTerrorismImagesTerrorismImage["Suggestion"].asString(); - if(!terrorismResultNodeTerrorismImagesTerrorismImage["Score"].isNull()) - terrorismImageObject.score = terrorismResultNodeTerrorismImagesTerrorismImage["Score"].asString(); - if(!terrorismResultNodeTerrorismImagesTerrorismImage["Url"].isNull()) - terrorismImageObject.url = terrorismResultNodeTerrorismImagesTerrorismImage["Url"].asString(); - if(!terrorismResultNodeTerrorismImagesTerrorismImage["Text"].isNull()) - terrorismImageObject.text = terrorismResultNodeTerrorismImagesTerrorismImage["Text"].asString(); - jobListObject.result.terrorismResult.terrorismImages.push_back(terrorismImageObject); - } - 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::getJobList()const -{ - return jobList_; -} - -std::vector QueryMCJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryMCTemplateListRequest.cc b/mts/src/model/QueryMCTemplateListRequest.cc deleted file mode 100644 index 35fc23739..000000000 --- a/mts/src/model/QueryMCTemplateListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryMCTemplateListRequest; - -QueryMCTemplateListRequest::QueryMCTemplateListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryMCTemplateList") { - setMethod(HttpRequest::Method::Post); -} - -QueryMCTemplateListRequest::~QueryMCTemplateListRequest() {} - -long QueryMCTemplateListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryMCTemplateListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryMCTemplateListRequest::getTemplateIds() const { - return templateIds_; -} - -void QueryMCTemplateListRequest::setTemplateIds(const std::string &templateIds) { - templateIds_ = templateIds; - setParameter(std::string("TemplateIds"), templateIds); -} - -std::string QueryMCTemplateListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryMCTemplateListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryMCTemplateListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryMCTemplateListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryMCTemplateListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryMCTemplateListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryMCTemplateListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryMCTemplateListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/QueryMCTemplateListResult.cc b/mts/src/model/QueryMCTemplateListResult.cc deleted file mode 100644 index 69ca415c5..000000000 --- a/mts/src/model/QueryMCTemplateListResult.cc +++ /dev/null @@ -1,89 +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 -#include - -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 allTemplateListNode = value["TemplateList"]["Template"]; - for (auto valueTemplateListTemplate : allTemplateListNode) - { - _Template templateListObject; - if(!valueTemplateListTemplate["Logo"].isNull()) - templateListObject.logo = valueTemplateListTemplate["Logo"].asString(); - if(!valueTemplateListTemplate["Abuse"].isNull()) - templateListObject.abuse = valueTemplateListTemplate["Abuse"].asString(); - if(!valueTemplateListTemplate["State"].isNull()) - templateListObject.state = valueTemplateListTemplate["State"].asString(); - if(!valueTemplateListTemplate["Terrorism"].isNull()) - templateListObject.terrorism = valueTemplateListTemplate["Terrorism"].asString(); - if(!valueTemplateListTemplate["Politics"].isNull()) - templateListObject.politics = valueTemplateListTemplate["Politics"].asString(); - if(!valueTemplateListTemplate["Qrcode"].isNull()) - templateListObject.qrcode = valueTemplateListTemplate["Qrcode"].asString(); - if(!valueTemplateListTemplate["Live"].isNull()) - templateListObject.live = valueTemplateListTemplate["Live"].asString(); - if(!valueTemplateListTemplate["Spam"].isNull()) - templateListObject.spam = valueTemplateListTemplate["Spam"].asString(); - if(!valueTemplateListTemplate["Contraband"].isNull()) - templateListObject.contraband = valueTemplateListTemplate["Contraband"].asString(); - if(!valueTemplateListTemplate["Ad"].isNull()) - templateListObject.ad = valueTemplateListTemplate["Ad"].asString(); - if(!valueTemplateListTemplate["Porn"].isNull()) - templateListObject.porn = valueTemplateListTemplate["Porn"].asString(); - if(!valueTemplateListTemplate["Name"].isNull()) - templateListObject.name = valueTemplateListTemplate["Name"].asString(); - if(!valueTemplateListTemplate["TemplateId"].isNull()) - templateListObject.templateId = valueTemplateListTemplate["TemplateId"].asString(); - templateList_.push_back(templateListObject); - } - auto allNonExistTids = value["NonExistTids"]["String"]; - for (const auto &item : allNonExistTids) - nonExistTids_.push_back(item.asString()); - -} - -std::vector QueryMCTemplateListResult::getTemplateList()const -{ - return templateList_; -} - -std::vector QueryMCTemplateListResult::getNonExistTids()const -{ - return nonExistTids_; -} - diff --git a/mts/src/model/QueryMcuJobRequest.cc b/mts/src/model/QueryMcuJobRequest.cc deleted file mode 100644 index 13398728c..000000000 --- a/mts/src/model/QueryMcuJobRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryMcuJobRequest; - -QueryMcuJobRequest::QueryMcuJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryMcuJob") { - setMethod(HttpRequest::Method::Post); -} - -QueryMcuJobRequest::~QueryMcuJobRequest() {} - -long QueryMcuJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryMcuJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryMcuJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryMcuJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryMcuJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryMcuJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryMcuJobRequest::getOwnerId() const { - return ownerId_; -} - -void QueryMcuJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryMcuJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryMcuJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryMcuJobRequest::getJobIds() const { - return jobIds_; -} - -void QueryMcuJobRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryMcuJobResult.cc b/mts/src/model/QueryMcuJobResult.cc deleted file mode 100644 index 24e41d836..000000000 --- a/mts/src/model/QueryMcuJobResult.cc +++ /dev/null @@ -1,184 +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 -#include - -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 allJobResultNode = value["JobResult"]["Job"]; - for (auto valueJobResultJob : allJobResultNode) - { - Job jobResultObject; - if(!valueJobResultJob["JobId"].isNull()) - jobResultObject.jobId = valueJobResultJob["JobId"].asString(); - if(!valueJobResultJob["Template"].isNull()) - jobResultObject._template = valueJobResultJob["Template"].asString(); - if(!valueJobResultJob["UserData"].isNull()) - jobResultObject.userData = valueJobResultJob["UserData"].asString(); - if(!valueJobResultJob["TemplateId"].isNull()) - jobResultObject.templateId = valueJobResultJob["TemplateId"].asString(); - auto allTagResultNode = valueJobResultJob["TagResult"]["Tag"]; - for (auto valueJobResultJobTagResultTag : allTagResultNode) - { - Job::Tag tagResultObject; - if(!valueJobResultJobTagResultTag["Time"].isNull()) - tagResultObject.time = valueJobResultJobTagResultTag["Time"].asString(); - if(!valueJobResultJobTagResultTag["ImageUrl"].isNull()) - tagResultObject.imageUrl = valueJobResultJobTagResultTag["ImageUrl"].asString(); - if(!valueJobResultJobTagResultTag["ImageId"].isNull()) - tagResultObject.imageId = valueJobResultJobTagResultTag["ImageId"].asString(); - auto allFrameTagInfosNode = valueJobResultJobTagResultTag["FrameTagInfos"]["FrameTagInfo"]; - for (auto valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo : allFrameTagInfosNode) - { - Job::Tag::FrameTagInfo frameTagInfosObject; - if(!valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo["Score"].isNull()) - frameTagInfosObject.score = valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo["Score"].asString(); - if(!valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo["Category"].isNull()) - frameTagInfosObject.category = valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo["Category"].asString(); - if(!valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo["Tag"].isNull()) - frameTagInfosObject.tag = valueJobResultJobTagResultTagFrameTagInfosFrameTagInfo["Tag"].asString(); - tagResultObject.frameTagInfos.push_back(frameTagInfosObject); - } - jobResultObject.tagResult.push_back(tagResultObject); - } - auto allOcrResultNode = valueJobResultJob["OcrResult"]["Ocr"]; - for (auto valueJobResultJobOcrResultOcr : allOcrResultNode) - { - Job::Ocr ocrResultObject; - if(!valueJobResultJobOcrResultOcr["Time"].isNull()) - ocrResultObject.time = valueJobResultJobOcrResultOcr["Time"].asString(); - if(!valueJobResultJobOcrResultOcr["ImageUrl"].isNull()) - ocrResultObject.imageUrl = valueJobResultJobOcrResultOcr["ImageUrl"].asString(); - if(!valueJobResultJobOcrResultOcr["OcrText"].isNull()) - ocrResultObject.ocrText = valueJobResultJobOcrResultOcr["OcrText"].asString(); - if(!valueJobResultJobOcrResultOcr["ImageId"].isNull()) - ocrResultObject.imageId = valueJobResultJobOcrResultOcr["ImageId"].asString(); - jobResultObject.ocrResult.push_back(ocrResultObject); - } - auto allSubTaskInfoNode = valueJobResultJob["SubTaskInfo"]["SubTask"]; - for (auto valueJobResultJobSubTaskInfoSubTask : allSubTaskInfoNode) - { - Job::SubTask subTaskInfoObject; - if(!valueJobResultJobSubTaskInfoSubTask["Type"].isNull()) - subTaskInfoObject.type = valueJobResultJobSubTaskInfoSubTask["Type"].asString(); - if(!valueJobResultJobSubTaskInfoSubTask["Code"].isNull()) - subTaskInfoObject.code = valueJobResultJobSubTaskInfoSubTask["Code"].asString(); - if(!valueJobResultJobSubTaskInfoSubTask["Message"].isNull()) - subTaskInfoObject.message = valueJobResultJobSubTaskInfoSubTask["Message"].asString(); - jobResultObject.subTaskInfo.push_back(subTaskInfoObject); - } - auto allFaceResultNode = valueJobResultJob["FaceResult"]["Face"]; - for (auto valueJobResultJobFaceResultFace : allFaceResultNode) - { - Job::Face faceResultObject; - if(!valueJobResultJobFaceResultFace["Time"].isNull()) - faceResultObject.time = valueJobResultJobFaceResultFace["Time"].asString(); - if(!valueJobResultJobFaceResultFace["ImageUrl"].isNull()) - faceResultObject.imageUrl = valueJobResultJobFaceResultFace["ImageUrl"].asString(); - if(!valueJobResultJobFaceResultFace["ImageId"].isNull()) - faceResultObject.imageId = valueJobResultJobFaceResultFace["ImageId"].asString(); - auto allCelebritiesNode = valueJobResultJobFaceResultFace["Celebrities"]["Celebrity"]; - for (auto valueJobResultJobFaceResultFaceCelebritiesCelebrity : allCelebritiesNode) - { - Job::Face::Celebrity celebritiesObject; - if(!valueJobResultJobFaceResultFaceCelebritiesCelebrity["Score"].isNull()) - celebritiesObject.score = valueJobResultJobFaceResultFaceCelebritiesCelebrity["Score"].asString(); - if(!valueJobResultJobFaceResultFaceCelebritiesCelebrity["Name"].isNull()) - celebritiesObject.name = valueJobResultJobFaceResultFaceCelebritiesCelebrity["Name"].asString(); - if(!valueJobResultJobFaceResultFaceCelebritiesCelebrity["Target"].isNull()) - celebritiesObject.target = valueJobResultJobFaceResultFaceCelebritiesCelebrity["Target"].asString(); - faceResultObject.celebrities.push_back(celebritiesObject); - } - jobResultObject.faceResult.push_back(faceResultObject); - } - auto categoryResultNode = value["CategoryResult"]; - if(!categoryResultNode["Details"].isNull()) - jobResultObject.categoryResult.details = categoryResultNode["Details"].asString(); - auto allCategoriesNode = categoryResultNode["Categories"]["Category"]; - for (auto categoryResultNodeCategoriesCategory : allCategoriesNode) - { - Job::CategoryResult::Category categoryObject; - if(!categoryResultNodeCategoriesCategory["Score"].isNull()) - categoryObject.score = categoryResultNodeCategoriesCategory["Score"].asString(); - if(!categoryResultNodeCategoriesCategory["Label"].isNull()) - categoryObject.label = categoryResultNodeCategoriesCategory["Label"].asString(); - jobResultObject.categoryResult.categories.push_back(categoryObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - jobResultObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobResultObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobResultObject.input.bucket = inputNode["Bucket"].asString(); - auto asrResultNode = value["AsrResult"]; - if(!asrResultNode["Duration"].isNull()) - jobResultObject.asrResult.duration = asrResultNode["Duration"].asString(); - auto allAsrTextListNode = asrResultNode["AsrTextList"]["AsrText"]; - for (auto asrResultNodeAsrTextListAsrText : allAsrTextListNode) - { - Job::AsrResult::AsrText asrTextObject; - if(!asrResultNodeAsrTextListAsrText["EndTime"].isNull()) - asrTextObject.endTime = asrResultNodeAsrTextListAsrText["EndTime"].asString(); - if(!asrResultNodeAsrTextListAsrText["StartTime"].isNull()) - asrTextObject.startTime = std::stoi(asrResultNodeAsrTextListAsrText["StartTime"].asString()); - if(!asrResultNodeAsrTextListAsrText["ChannelId"].isNull()) - asrTextObject.channelId = asrResultNodeAsrTextListAsrText["ChannelId"].asString(); - if(!asrResultNodeAsrTextListAsrText["Text"].isNull()) - asrTextObject.text = asrResultNodeAsrTextListAsrText["Text"].asString(); - if(!asrResultNodeAsrTextListAsrText["SpeechRate"].isNull()) - asrTextObject.speechRate = asrResultNodeAsrTextListAsrText["SpeechRate"].asString(); - jobResultObject.asrResult.asrTextList.push_back(asrTextObject); - } - jobResult_.push_back(jobResultObject); - } - auto allNonExistJobIds = value["NonExistJobIds"]["String"]; - for (const auto &item : allNonExistJobIds) - nonExistJobIds_.push_back(item.asString()); - -} - -std::vector QueryMcuJobResult::getNonExistJobIds()const -{ - return nonExistJobIds_; -} - -std::vector QueryMcuJobResult::getJobResult()const -{ - return jobResult_; -} - diff --git a/mts/src/model/QueryMcuTemplateRequest.cc b/mts/src/model/QueryMcuTemplateRequest.cc deleted file mode 100644 index a2e15ffb2..000000000 --- a/mts/src/model/QueryMcuTemplateRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryMcuTemplateRequest; - -QueryMcuTemplateRequest::QueryMcuTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryMcuTemplate") { - setMethod(HttpRequest::Method::Post); -} - -QueryMcuTemplateRequest::~QueryMcuTemplateRequest() {} - -long QueryMcuTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryMcuTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryMcuTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryMcuTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryMcuTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryMcuTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void QueryMcuTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryMcuTemplateRequest::getTemplateId() const { - return templateId_; -} - -void QueryMcuTemplateRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); -} - -std::string QueryMcuTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryMcuTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/QueryMcuTemplateResult.cc b/mts/src/model/QueryMcuTemplateResult.cc deleted file mode 100644 index cc138aa56..000000000 --- a/mts/src/model/QueryMcuTemplateResult.cc +++ /dev/null @@ -1,59 +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 -#include - -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 allTemplatesNode = value["Templates"]["Job"]; - for (auto valueTemplatesJob : allTemplatesNode) - { - Job templatesObject; - if(!valueTemplatesJob["Template"].isNull()) - templatesObject._template = valueTemplatesJob["Template"].asString(); - if(!valueTemplatesJob["TemplateId"].isNull()) - templatesObject.templateId = valueTemplatesJob["TemplateId"].asString(); - templates_.push_back(templatesObject); - } - -} - -std::vector QueryMcuTemplateResult::getTemplates()const -{ - return templates_; -} - diff --git a/mts/src/model/QueryMediaCensorJobDetailResult.cc b/mts/src/model/QueryMediaCensorJobDetailResult.cc index 47d2d9549..74344e2c5 100644 --- a/mts/src/model/QueryMediaCensorJobDetailResult.cc +++ b/mts/src/model/QueryMediaCensorJobDetailResult.cc @@ -171,6 +171,25 @@ void QueryMediaCensorJobDetailResult::parse(const std::string &payload) censorResult2Object.rate = vensorCensorResultNodeCensorResultsCensorResult["Rate"].asString(); mediaCensorJobDetail_.vensorCensorResult.censorResults.push_back(censorResult2Object); } + auto audioCensorResultNode = mediaCensorJobDetailNode["AudioCensorResult"]; + if(!audioCensorResultNode["Suggestion"].isNull()) + mediaCensorJobDetail_.audioCensorResult.suggestion = audioCensorResultNode["Suggestion"].asString(); + if(!audioCensorResultNode["Label"].isNull()) + mediaCensorJobDetail_.audioCensorResult.label = audioCensorResultNode["Label"].asString(); + auto allAudioDetailResultListNode = audioCensorResultNode["AudioDetailResultList"]["AudioDetailResult"]; + for (auto audioCensorResultNodeAudioDetailResultListAudioDetailResult : allAudioDetailResultListNode) + { + MediaCensorJobDetail::AudioCensorResult::AudioDetailResult audioDetailResultObject; + if(!audioCensorResultNodeAudioDetailResultListAudioDetailResult["StartTime"].isNull()) + audioDetailResultObject.startTime = std::stoi(audioCensorResultNodeAudioDetailResultListAudioDetailResult["StartTime"].asString()); + if(!audioCensorResultNodeAudioDetailResultListAudioDetailResult["EndTime"].isNull()) + audioDetailResultObject.endTime = std::stoi(audioCensorResultNodeAudioDetailResultListAudioDetailResult["EndTime"].asString()); + if(!audioCensorResultNodeAudioDetailResultListAudioDetailResult["Text"].isNull()) + audioDetailResultObject.text = audioCensorResultNodeAudioDetailResultListAudioDetailResult["Text"].asString(); + if(!audioCensorResultNodeAudioDetailResultListAudioDetailResult["Label"].isNull()) + audioDetailResultObject.label = audioCensorResultNodeAudioDetailResultListAudioDetailResult["Label"].asString(); + mediaCensorJobDetail_.audioCensorResult.audioDetailResultList.push_back(audioDetailResultObject); + } } diff --git a/mts/src/model/QueryMediaCensorJobListRequest.cc b/mts/src/model/QueryMediaCensorJobListRequest.cc index f6d7cc04e..10d8f9c4d 100644 --- a/mts/src/model/QueryMediaCensorJobListRequest.cc +++ b/mts/src/model/QueryMediaCensorJobListRequest.cc @@ -61,15 +61,6 @@ void QueryMediaCensorJobListRequest::setAccessKeyId(const std::string &accessKey setParameter(std::string("AccessKeyId"), accessKeyId); } -std::string QueryMediaCensorJobListRequest::getJobId() const { - return jobId_; -} - -void QueryMediaCensorJobListRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - std::string QueryMediaCensorJobListRequest::getState() const { return state_; } @@ -133,3 +124,12 @@ void QueryMediaCensorJobListRequest::setPipelineId(const std::string &pipelineId setParameter(std::string("PipelineId"), pipelineId); } +std::string QueryMediaCensorJobListRequest::getJobIds() const { + return jobIds_; +} + +void QueryMediaCensorJobListRequest::setJobIds(const std::string &jobIds) { + jobIds_ = jobIds; + setParameter(std::string("JobIds"), jobIds); +} + diff --git a/mts/src/model/QueryMediaCensorJobListResult.cc b/mts/src/model/QueryMediaCensorJobListResult.cc index 29dd5dddb..75db61dca 100644 --- a/mts/src/model/QueryMediaCensorJobListResult.cc +++ b/mts/src/model/QueryMediaCensorJobListResult.cc @@ -174,6 +174,11 @@ void QueryMediaCensorJobListResult::parse(const std::string &payload) censorResult2Object.rate = vensorCensorResultNodeCensorResultsCensorResult["Rate"].asString(); mediaCensorJobListObject.vensorCensorResult.censorResults.push_back(censorResult2Object); } + auto audioCensorResultNode = value["AudioCensorResult"]; + if(!audioCensorResultNode["Suggestion"].isNull()) + mediaCensorJobListObject.audioCensorResult.suggestion = audioCensorResultNode["Suggestion"].asString(); + if(!audioCensorResultNode["Label"].isNull()) + mediaCensorJobListObject.audioCensorResult.label = audioCensorResultNode["Label"].asString(); mediaCensorJobList_.push_back(mediaCensorJobListObject); } auto allNonExistIds = value["NonExistIds"]["String"]; diff --git a/mts/src/model/QueryMediaDetailJobListRequest.cc b/mts/src/model/QueryMediaDetailJobListRequest.cc deleted file mode 100644 index 171664d62..000000000 --- a/mts/src/model/QueryMediaDetailJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryMediaDetailJobListRequest; - -QueryMediaDetailJobListRequest::QueryMediaDetailJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryMediaDetailJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryMediaDetailJobListRequest::~QueryMediaDetailJobListRequest() {} - -long QueryMediaDetailJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryMediaDetailJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryMediaDetailJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryMediaDetailJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryMediaDetailJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryMediaDetailJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryMediaDetailJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryMediaDetailJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryMediaDetailJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryMediaDetailJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryMediaDetailJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryMediaDetailJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryMediaDetailJobListResult.cc b/mts/src/model/QueryMediaDetailJobListResult.cc deleted file mode 100644 index 685d45c6b..000000000 --- a/mts/src/model/QueryMediaDetailJobListResult.cc +++ /dev/null @@ -1,193 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryMediaDetailJobListResult::QueryMediaDetailJobListResult() : - ServiceResult() -{} - -QueryMediaDetailJobListResult::QueryMediaDetailJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryMediaDetailJobListResult::~QueryMediaDetailJobListResult() -{} - -void QueryMediaDetailJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - if(!valueJobListJob["Id"].isNull()) - jobListObject.id = valueJobListJob["Id"].asString(); - auto mediaDetailResultNode = value["MediaDetailResult"]; - if(!mediaDetailResultNode["Status"].isNull()) - jobListObject.mediaDetailResult.status = mediaDetailResultNode["Status"].asString(); - auto allMediaDetailRecgResultsNode = mediaDetailResultNode["MediaDetailRecgResults"]["MediaDetailRecgResult"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult : allMediaDetailRecgResultsNode) - { - Job::MediaDetailResult::MediaDetailRecgResult mediaDetailRecgResultObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["Time"].isNull()) - mediaDetailRecgResultObject.time = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["Time"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["ImageUrl"].isNull()) - mediaDetailRecgResultObject.imageUrl = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["ImageUrl"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["OcrText"].isNull()) - mediaDetailRecgResultObject.ocrText = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["OcrText"].asString(); - auto allSensitivesNode = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["Sensitives"]["Sensitive"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive : allSensitivesNode) - { - Job::MediaDetailResult::MediaDetailRecgResult::Sensitive sensitivesObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive["Score"].isNull()) - sensitivesObject.score = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive["Score"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive["Name"].isNull()) - sensitivesObject.name = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive["Name"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive["Target"].isNull()) - sensitivesObject.target = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultSensitivesSensitive["Target"].asString(); - mediaDetailRecgResultObject.sensitives.push_back(sensitivesObject); - } - auto allPoliticiansNode = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["Politicians"]["Politician"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician : allPoliticiansNode) - { - Job::MediaDetailResult::MediaDetailRecgResult::Politician politiciansObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician["Score"].isNull()) - politiciansObject.score = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician["Score"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician["Name"].isNull()) - politiciansObject.name = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician["Name"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician["Target"].isNull()) - politiciansObject.target = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultPoliticiansPolitician["Target"].asString(); - mediaDetailRecgResultObject.politicians.push_back(politiciansObject); - } - auto allCustomsNode = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["Customs"]["Custom"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustom : allCustomsNode) - { - Job::MediaDetailResult::MediaDetailRecgResult::Custom customsObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustom["Name"].isNull()) - customsObject.name = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustom["Name"].asString(); - auto allClipsNode = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustom["Clips"]["Clip"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip : allClipsNode) - { - Job::MediaDetailResult::MediaDetailRecgResult::Custom::Clip clipsObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["EndTime"].isNull()) - clipsObject.endTime = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["EndTime"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["MinScore"].isNull()) - clipsObject.minScore = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["MinScore"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["StartTime"].isNull()) - clipsObject.startTime = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["StartTime"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["AvgScore"].isNull()) - clipsObject.avgScore = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["AvgScore"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["MaxScore"].isNull()) - clipsObject.maxScore = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["MaxScore"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["EndTarget"].isNull()) - clipsObject.endTarget = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["EndTarget"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["StartTarget"].isNull()) - clipsObject.startTarget = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCustomsCustomClipsClip["StartTarget"].asString(); - customsObject.clips.push_back(clipsObject); - } - mediaDetailRecgResultObject.customs.push_back(customsObject); - } - auto allFrameTagInfosNode = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["FrameTagInfos"]["FrameTagInfo"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo : allFrameTagInfosNode) - { - Job::MediaDetailResult::MediaDetailRecgResult::FrameTagInfo frameTagInfosObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo["Score"].isNull()) - frameTagInfosObject.score = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo["Score"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo["Category"].isNull()) - frameTagInfosObject.category = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo["Category"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo["Tag"].isNull()) - frameTagInfosObject.tag = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultFrameTagInfosFrameTagInfo["Tag"].asString(); - mediaDetailRecgResultObject.frameTagInfos.push_back(frameTagInfosObject); - } - auto allCelebritiesNode = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResult["Celebrities"]["Celebrity"]; - for (auto mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity : allCelebritiesNode) - { - Job::MediaDetailResult::MediaDetailRecgResult::Celebrity celebritiesObject; - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity["Score"].isNull()) - celebritiesObject.score = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity["Score"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity["Name"].isNull()) - celebritiesObject.name = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity["Name"].asString(); - if(!mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity["Target"].isNull()) - celebritiesObject.target = mediaDetailResultNodeMediaDetailRecgResultsMediaDetailRecgResultCelebritiesCelebrity["Target"].asString(); - mediaDetailRecgResultObject.celebrities.push_back(celebritiesObject); - } - auto allFrameTags = value["FrameTags"]["String"]; - for (auto value : allFrameTags) - mediaDetailRecgResultObject.frameTags.push_back(value.asString()); - jobListObject.mediaDetailResult.mediaDetailRecgResults.push_back(mediaDetailRecgResultObject); - } - auto allTags = mediaDetailResultNode["Tags"]["String"]; - for (auto value : allTags) - jobListObject.mediaDetailResult.tags.push_back(value.asString()); - auto mediaDetailConfigNode = value["MediaDetailConfig"]; - if(!mediaDetailConfigNode["Scenario"].isNull()) - jobListObject.mediaDetailConfig.scenario = mediaDetailConfigNode["Scenario"].asString(); - if(!mediaDetailConfigNode["DetailType"].isNull()) - jobListObject.mediaDetailConfig.detailType = mediaDetailConfigNode["DetailType"].asString(); - auto outputFileNode = mediaDetailConfigNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - jobListObject.mediaDetailConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobListObject.mediaDetailConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobListObject.mediaDetailConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].asString(); - jobList_.push_back(jobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryMediaDetailJobListResult::getJobList()const -{ - return jobList_; -} - -std::vector QueryMediaDetailJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryMediaFpDeleteJobListRequest.cc b/mts/src/model/QueryMediaFpDeleteJobListRequest.cc deleted file mode 100644 index 578e702f7..000000000 --- a/mts/src/model/QueryMediaFpDeleteJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryMediaFpDeleteJobListRequest; - -QueryMediaFpDeleteJobListRequest::QueryMediaFpDeleteJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryMediaFpDeleteJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryMediaFpDeleteJobListRequest::~QueryMediaFpDeleteJobListRequest() {} - -long QueryMediaFpDeleteJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryMediaFpDeleteJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryMediaFpDeleteJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryMediaFpDeleteJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryMediaFpDeleteJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryMediaFpDeleteJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryMediaFpDeleteJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryMediaFpDeleteJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryMediaFpDeleteJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryMediaFpDeleteJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryMediaFpDeleteJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryMediaFpDeleteJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryMediaFpDeleteJobListResult.cc b/mts/src/model/QueryMediaFpDeleteJobListResult.cc deleted file mode 100644 index 4f27abe95..000000000 --- a/mts/src/model/QueryMediaFpDeleteJobListResult.cc +++ /dev/null @@ -1,83 +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 -#include - -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 allMediaFpDeleteJobListNode = value["MediaFpDeleteJobList"]["MediaFpDeleteJob"]; - for (auto valueMediaFpDeleteJobListMediaFpDeleteJob : allMediaFpDeleteJobListNode) - { - MediaFpDeleteJob mediaFpDeleteJobListObject; - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["CreationTime"].isNull()) - mediaFpDeleteJobListObject.creationTime = valueMediaFpDeleteJobListMediaFpDeleteJob["CreationTime"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["FinishTime"].isNull()) - mediaFpDeleteJobListObject.finishTime = valueMediaFpDeleteJobListMediaFpDeleteJob["FinishTime"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["PrimaryKey"].isNull()) - mediaFpDeleteJobListObject.primaryKey = valueMediaFpDeleteJobListMediaFpDeleteJob["PrimaryKey"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["State"].isNull()) - mediaFpDeleteJobListObject.state = valueMediaFpDeleteJobListMediaFpDeleteJob["State"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["UserData"].isNull()) - mediaFpDeleteJobListObject.userData = valueMediaFpDeleteJobListMediaFpDeleteJob["UserData"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["Code"].isNull()) - mediaFpDeleteJobListObject.code = valueMediaFpDeleteJobListMediaFpDeleteJob["Code"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["Message"].isNull()) - mediaFpDeleteJobListObject.message = valueMediaFpDeleteJobListMediaFpDeleteJob["Message"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["PipelineId"].isNull()) - mediaFpDeleteJobListObject.pipelineId = valueMediaFpDeleteJobListMediaFpDeleteJob["PipelineId"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["FpDBId"].isNull()) - mediaFpDeleteJobListObject.fpDBId = valueMediaFpDeleteJobListMediaFpDeleteJob["FpDBId"].asString(); - if(!valueMediaFpDeleteJobListMediaFpDeleteJob["Id"].isNull()) - mediaFpDeleteJobListObject.id = valueMediaFpDeleteJobListMediaFpDeleteJob["Id"].asString(); - mediaFpDeleteJobList_.push_back(mediaFpDeleteJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryMediaFpDeleteJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - -std::vector QueryMediaFpDeleteJobListResult::getMediaFpDeleteJobList()const -{ - return mediaFpDeleteJobList_; -} - diff --git a/mts/src/model/QueryPipelineListResult.cc b/mts/src/model/QueryPipelineListResult.cc index 2575f6685..342df5ab3 100644 --- a/mts/src/model/QueryPipelineListResult.cc +++ b/mts/src/model/QueryPipelineListResult.cc @@ -66,6 +66,13 @@ void QueryPipelineListResult::parse(const std::string &payload) pipelineListObject.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString(); if(!notifyConfigNode["Topic"].isNull()) pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); + auto extendConfigNode = value["ExtendConfig"]; + if(!extendConfigNode["IsBoostNew"].isNull()) + pipelineListObject.extendConfig.isBoostNew = extendConfigNode["IsBoostNew"].asString() == "true"; + if(!extendConfigNode["MaxMultiSpeed"].isNull()) + pipelineListObject.extendConfig.maxMultiSpeed = std::stoi(extendConfigNode["MaxMultiSpeed"].asString()); + if(!extendConfigNode["MultiSpeedDowngradePolicy"].isNull()) + pipelineListObject.extendConfig.multiSpeedDowngradePolicy = extendConfigNode["MultiSpeedDowngradePolicy"].asString(); pipelineList_.push_back(pipelineListObject); } auto allNonExistPids = value["NonExistPids"]["String"]; diff --git a/mts/src/model/QueryPornJobListRequest.cc b/mts/src/model/QueryPornJobListRequest.cc deleted file mode 100644 index 46e22dc36..000000000 --- a/mts/src/model/QueryPornJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryPornJobListRequest; - -QueryPornJobListRequest::QueryPornJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryPornJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryPornJobListRequest::~QueryPornJobListRequest() {} - -long QueryPornJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryPornJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryPornJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryPornJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryPornJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryPornJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryPornJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryPornJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryPornJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryPornJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryPornJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryPornJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryPornJobListResult.cc b/mts/src/model/QueryPornJobListResult.cc deleted file mode 100644 index 3eafe1f1b..000000000 --- a/mts/src/model/QueryPornJobListResult.cc +++ /dev/null @@ -1,131 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryPornJobListResult::QueryPornJobListResult() : - ServiceResult() -{} - -QueryPornJobListResult::QueryPornJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryPornJobListResult::~QueryPornJobListResult() -{} - -void QueryPornJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPornJobListNode = value["PornJobList"]["PornJob"]; - for (auto valuePornJobListPornJob : allPornJobListNode) - { - PornJob pornJobListObject; - if(!valuePornJobListPornJob["CreationTime"].isNull()) - pornJobListObject.creationTime = valuePornJobListPornJob["CreationTime"].asString(); - if(!valuePornJobListPornJob["State"].isNull()) - pornJobListObject.state = valuePornJobListPornJob["State"].asString(); - if(!valuePornJobListPornJob["UserData"].isNull()) - pornJobListObject.userData = valuePornJobListPornJob["UserData"].asString(); - if(!valuePornJobListPornJob["Code"].isNull()) - pornJobListObject.code = valuePornJobListPornJob["Code"].asString(); - if(!valuePornJobListPornJob["Message"].isNull()) - pornJobListObject.message = valuePornJobListPornJob["Message"].asString(); - if(!valuePornJobListPornJob["PipelineId"].isNull()) - pornJobListObject.pipelineId = valuePornJobListPornJob["PipelineId"].asString(); - if(!valuePornJobListPornJob["Id"].isNull()) - pornJobListObject.id = valuePornJobListPornJob["Id"].asString(); - auto pornConfigNode = value["PornConfig"]; - if(!pornConfigNode["Interval"].isNull()) - pornJobListObject.pornConfig.interval = pornConfigNode["Interval"].asString(); - if(!pornConfigNode["BizType"].isNull()) - pornJobListObject.pornConfig.bizType = pornConfigNode["BizType"].asString(); - auto outputFileNode = pornConfigNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - pornJobListObject.pornConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - pornJobListObject.pornConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - pornJobListObject.pornConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto censorPornResultNode = value["CensorPornResult"]; - if(!censorPornResultNode["Suggestion"].isNull()) - pornJobListObject.censorPornResult.suggestion = censorPornResultNode["Suggestion"].asString(); - if(!censorPornResultNode["AverageScore"].isNull()) - pornJobListObject.censorPornResult.averageScore = censorPornResultNode["AverageScore"].asString(); - if(!censorPornResultNode["Label"].isNull()) - pornJobListObject.censorPornResult.label = censorPornResultNode["Label"].asString(); - if(!censorPornResultNode["MaxScore"].isNull()) - pornJobListObject.censorPornResult.maxScore = censorPornResultNode["MaxScore"].asString(); - auto allPornCounterListNode = censorPornResultNode["PornCounterList"]["Counter"]; - for (auto censorPornResultNodePornCounterListCounter : allPornCounterListNode) - { - PornJob::CensorPornResult::Counter counterObject; - if(!censorPornResultNodePornCounterListCounter["Label"].isNull()) - counterObject.label = censorPornResultNodePornCounterListCounter["Label"].asString(); - if(!censorPornResultNodePornCounterListCounter["Count"].isNull()) - counterObject.count = std::stoi(censorPornResultNodePornCounterListCounter["Count"].asString()); - pornJobListObject.censorPornResult.pornCounterList.push_back(counterObject); - } - auto allPornTopListNode = censorPornResultNode["PornTopList"]["Top"]; - for (auto censorPornResultNodePornTopListTop : allPornTopListNode) - { - PornJob::CensorPornResult::Top topObject; - if(!censorPornResultNodePornTopListTop["Index"].isNull()) - topObject.index = censorPornResultNodePornTopListTop["Index"].asString(); - if(!censorPornResultNodePornTopListTop["Score"].isNull()) - topObject.score = censorPornResultNodePornTopListTop["Score"].asString(); - if(!censorPornResultNodePornTopListTop["Timestamp"].isNull()) - topObject.timestamp = censorPornResultNodePornTopListTop["Timestamp"].asString(); - if(!censorPornResultNodePornTopListTop["Object"].isNull()) - topObject.object = censorPornResultNodePornTopListTop["Object"].asString(); - if(!censorPornResultNodePornTopListTop["Label"].isNull()) - topObject.label = censorPornResultNodePornTopListTop["Label"].asString(); - pornJobListObject.censorPornResult.pornTopList.push_back(topObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - pornJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - pornJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - pornJobListObject.input.bucket = inputNode["Bucket"].asString(); - pornJobList_.push_back(pornJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryPornJobListResult::getPornJobList()const -{ - return pornJobList_; -} - -std::vector QueryPornJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryPornPipelineListRequest.cc b/mts/src/model/QueryPornPipelineListRequest.cc deleted file mode 100644 index cda81392e..000000000 --- a/mts/src/model/QueryPornPipelineListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryPornPipelineListRequest; - -QueryPornPipelineListRequest::QueryPornPipelineListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryPornPipelineList") { - setMethod(HttpRequest::Method::Post); -} - -QueryPornPipelineListRequest::~QueryPornPipelineListRequest() {} - -long QueryPornPipelineListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryPornPipelineListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryPornPipelineListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryPornPipelineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryPornPipelineListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryPornPipelineListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryPornPipelineListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryPornPipelineListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryPornPipelineListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryPornPipelineListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryPornPipelineListRequest::getPipelineIds() const { - return pipelineIds_; -} - -void QueryPornPipelineListRequest::setPipelineIds(const std::string &pipelineIds) { - pipelineIds_ = pipelineIds; - setParameter(std::string("PipelineIds"), pipelineIds); -} - diff --git a/mts/src/model/QueryPornPipelineListResult.cc b/mts/src/model/QueryPornPipelineListResult.cc deleted file mode 100644 index 8aa0c3d14..000000000 --- a/mts/src/model/QueryPornPipelineListResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryPornPipelineListResult::QueryPornPipelineListResult() : - ServiceResult() -{} - -QueryPornPipelineListResult::QueryPornPipelineListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryPornPipelineListResult::~QueryPornPipelineListResult() -{} - -void QueryPornPipelineListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryPornPipelineListResult::getPipelineList()const -{ - return pipelineList_; -} - -std::vector QueryPornPipelineListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QuerySmarttagJobRequest.cc b/mts/src/model/QuerySmarttagJobRequest.cc index d4bcd6894..dba354b88 100644 --- a/mts/src/model/QuerySmarttagJobRequest.cc +++ b/mts/src/model/QuerySmarttagJobRequest.cc @@ -34,6 +34,24 @@ void QuerySmarttagJobRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string QuerySmarttagJobRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void QuerySmarttagJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string QuerySmarttagJobRequest::getJobId() const { + return jobId_; +} + +void QuerySmarttagJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + std::string QuerySmarttagJobRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -61,21 +79,12 @@ void QuerySmarttagJobRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -std::string QuerySmarttagJobRequest::getAccessKeyId() const { - return accessKeyId_; +std::string QuerySmarttagJobRequest::getParams() const { + return params_; } -void QuerySmarttagJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QuerySmarttagJobRequest::getJobId() const { - return jobId_; -} - -void QuerySmarttagJobRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); +void QuerySmarttagJobRequest::setParams(const std::string ¶ms) { + params_ = params; + setParameter(std::string("Params"), params); } diff --git a/mts/src/model/QuerySmarttagTemplateListResult.cc b/mts/src/model/QuerySmarttagTemplateListResult.cc index 391242752..a7b1fb1ec 100644 --- a/mts/src/model/QuerySmarttagTemplateListResult.cc +++ b/mts/src/model/QuerySmarttagTemplateListResult.cc @@ -55,8 +55,22 @@ void QuerySmarttagTemplateListResult::parse(const std::string &payload) templatesObject.templateId = valueTemplatesTemplate["TemplateId"].asString(); if(!valueTemplatesTemplate["FaceCategoryIds"].isNull()) templatesObject.faceCategoryIds = valueTemplatesTemplate["FaceCategoryIds"].asString(); + if(!valueTemplatesTemplate["FaceCustomParamsConfig"].isNull()) + templatesObject.faceCustomParamsConfig = valueTemplatesTemplate["FaceCustomParamsConfig"].asString(); + if(!valueTemplatesTemplate["ObjectGroupIds"].isNull()) + templatesObject.objectGroupIds = valueTemplatesTemplate["ObjectGroupIds"].asString(); + if(!valueTemplatesTemplate["LandmarkGroupIds"].isNull()) + templatesObject.landmarkGroupIds = valueTemplatesTemplate["LandmarkGroupIds"].asString(); if(!valueTemplatesTemplate["Scene"].isNull()) templatesObject.scene = valueTemplatesTemplate["Scene"].asString(); + if(!valueTemplatesTemplate["LabelType"].isNull()) + templatesObject.labelType = valueTemplatesTemplate["LabelType"].asString(); + if(!valueTemplatesTemplate["LabelVersion"].isNull()) + templatesObject.labelVersion = valueTemplatesTemplate["LabelVersion"].asString(); + if(!valueTemplatesTemplate["KnowledgeConfig"].isNull()) + templatesObject.knowledgeConfig = valueTemplatesTemplate["KnowledgeConfig"].asString(); + if(!valueTemplatesTemplate["KeywordConfig"].isNull()) + templatesObject.keywordConfig = valueTemplatesTemplate["KeywordConfig"].asString(); templates_.push_back(templatesObject); } diff --git a/mts/src/model/QuerySnapshotJobListResult.cc b/mts/src/model/QuerySnapshotJobListResult.cc index 548108ce6..1b5e8602e 100644 --- a/mts/src/model/QuerySnapshotJobListResult.cc +++ b/mts/src/model/QuerySnapshotJobListResult.cc @@ -111,6 +111,9 @@ void QuerySnapshotJobListResult::parse(const std::string &payload) snapshotJobListObject.snapshotConfig.tileOutputFile.location = tileOutputFileNode["Location"].asString(); if(!tileOutputFileNode["Bucket"].isNull()) snapshotJobListObject.snapshotConfig.tileOutputFile.bucket = tileOutputFileNode["Bucket"].asString(); + auto allTimeArray = snapshotConfigNode["TimeArray"]["TimePointList"]; + for (auto value : allTimeArray) + snapshotJobListObject.snapshotConfig.timeArray.push_back(value.asString()); auto mNSMessageResultNode = value["MNSMessageResult"]; if(!mNSMessageResultNode["MessageId"].isNull()) snapshotJobListObject.mNSMessageResult.messageId = mNSMessageResultNode["MessageId"].asString(); diff --git a/mts/src/model/QuerySubtitleJobListRequest.cc b/mts/src/model/QuerySubtitleJobListRequest.cc deleted file mode 100644 index ec0cf7c83..000000000 --- a/mts/src/model/QuerySubtitleJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QuerySubtitleJobListRequest; - -QuerySubtitleJobListRequest::QuerySubtitleJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QuerySubtitleJobList") { - setMethod(HttpRequest::Method::Post); -} - -QuerySubtitleJobListRequest::~QuerySubtitleJobListRequest() {} - -long QuerySubtitleJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QuerySubtitleJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QuerySubtitleJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QuerySubtitleJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QuerySubtitleJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QuerySubtitleJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QuerySubtitleJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QuerySubtitleJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QuerySubtitleJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QuerySubtitleJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QuerySubtitleJobListRequest::getJobIds() const { - return jobIds_; -} - -void QuerySubtitleJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QuerySubtitleJobListResult.cc b/mts/src/model/QuerySubtitleJobListResult.cc deleted file mode 100644 index bd0947f8f..000000000 --- a/mts/src/model/QuerySubtitleJobListResult.cc +++ /dev/null @@ -1,80 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QuerySubtitleJobListResult::QuerySubtitleJobListResult() : - ServiceResult() -{} - -QuerySubtitleJobListResult::QuerySubtitleJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QuerySubtitleJobListResult::~QuerySubtitleJobListResult() -{} - -void QuerySubtitleJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["OutputConfig"].isNull()) - jobListObject.outputConfig = valueJobListJob["OutputConfig"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["JobId"].isNull()) - jobListObject.jobId = valueJobListJob["JobId"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["InputConfig"].isNull()) - jobListObject.inputConfig = valueJobListJob["InputConfig"].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 QuerySubtitleJobListResult::getNonExistJobIds()const -{ - return nonExistJobIds_; -} - -std::vector QuerySubtitleJobListResult::getJobList()const -{ - return jobList_; -} - diff --git a/mts/src/model/QueryTagJobListRequest.cc b/mts/src/model/QueryTagJobListRequest.cc deleted file mode 100644 index 22fbd8829..000000000 --- a/mts/src/model/QueryTagJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryTagJobListRequest; - -QueryTagJobListRequest::QueryTagJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryTagJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryTagJobListRequest::~QueryTagJobListRequest() {} - -long QueryTagJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryTagJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryTagJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryTagJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryTagJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryTagJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryTagJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryTagJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryTagJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryTagJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryTagJobListRequest::getTagJobIds() const { - return tagJobIds_; -} - -void QueryTagJobListRequest::setTagJobIds(const std::string &tagJobIds) { - tagJobIds_ = tagJobIds; - setParameter(std::string("TagJobIds"), tagJobIds); -} - diff --git a/mts/src/model/QueryTagJobListResult.cc b/mts/src/model/QueryTagJobListResult.cc deleted file mode 100644 index 3b7811fd4..000000000 --- a/mts/src/model/QueryTagJobListResult.cc +++ /dev/null @@ -1,117 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryTagJobListResult::QueryTagJobListResult() : - ServiceResult() -{} - -QueryTagJobListResult::QueryTagJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTagJobListResult::~QueryTagJobListResult() -{} - -void QueryTagJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allTagJobListNode = value["TagJobList"]["TagJob"]; - for (auto valueTagJobListTagJob : allTagJobListNode) - { - TagJob tagJobListObject; - if(!valueTagJobListTagJob["CreationTime"].isNull()) - tagJobListObject.creationTime = valueTagJobListTagJob["CreationTime"].asString(); - if(!valueTagJobListTagJob["State"].isNull()) - tagJobListObject.state = valueTagJobListTagJob["State"].asString(); - if(!valueTagJobListTagJob["UserData"].isNull()) - tagJobListObject.userData = valueTagJobListTagJob["UserData"].asString(); - if(!valueTagJobListTagJob["Code"].isNull()) - tagJobListObject.code = valueTagJobListTagJob["Code"].asString(); - if(!valueTagJobListTagJob["Message"].isNull()) - tagJobListObject.message = valueTagJobListTagJob["Message"].asString(); - if(!valueTagJobListTagJob["PipelineId"].isNull()) - tagJobListObject.pipelineId = valueTagJobListTagJob["PipelineId"].asString(); - if(!valueTagJobListTagJob["Id"].isNull()) - tagJobListObject.id = valueTagJobListTagJob["Id"].asString(); - auto videoTagResultNode = value["VideoTagResult"]; - if(!videoTagResultNode["Details"].isNull()) - tagJobListObject.videoTagResult.details = videoTagResultNode["Details"].asString(); - auto allTagAnResultsNode = videoTagResultNode["TagAnResults"]["TagAnResult"]; - for (auto videoTagResultNodeTagAnResultsTagAnResult : allTagAnResultsNode) - { - TagJob::VideoTagResult::TagAnResult tagAnResultObject; - if(!videoTagResultNodeTagAnResultsTagAnResult["Score"].isNull()) - tagAnResultObject.score = videoTagResultNodeTagAnResultsTagAnResult["Score"].asString(); - if(!videoTagResultNodeTagAnResultsTagAnResult["Label"].isNull()) - tagAnResultObject.label = videoTagResultNodeTagAnResultsTagAnResult["Label"].asString(); - tagJobListObject.videoTagResult.tagAnResults.push_back(tagAnResultObject); - } - auto allTagFrResultsNode = videoTagResultNode["TagFrResults"]["TagFrResult"]; - for (auto videoTagResultNodeTagFrResultsTagFrResult : allTagFrResultsNode) - { - TagJob::VideoTagResult::TagFrResult tagFrResultObject; - if(!videoTagResultNodeTagFrResultsTagFrResult["Time"].isNull()) - tagFrResultObject.time = videoTagResultNodeTagFrResultsTagFrResult["Time"].asString(); - auto allTagFacesNode = videoTagResultNodeTagFrResultsTagFrResult["TagFaces"]["TagFace"]; - for (auto videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace : allTagFacesNode) - { - TagJob::VideoTagResult::TagFrResult::TagFace tagFacesObject; - if(!videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace["Score"].isNull()) - tagFacesObject.score = videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace["Score"].asString(); - if(!videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace["Name"].isNull()) - tagFacesObject.name = videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace["Name"].asString(); - if(!videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace["Target"].isNull()) - tagFacesObject.target = videoTagResultNodeTagFrResultsTagFrResultTagFacesTagFace["Target"].asString(); - tagFrResultObject.tagFaces.push_back(tagFacesObject); - } - tagJobListObject.videoTagResult.tagFrResults.push_back(tagFrResultObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - tagJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - tagJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - tagJobListObject.input.bucket = inputNode["Bucket"].asString(); - tagJobList_.push_back(tagJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryTagJobListResult::getTagJobList()const -{ - return tagJobList_; -} - -std::vector QueryTagJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryTemplateListRequest.cc b/mts/src/model/QueryTemplateListRequest.cc index 407f023ce..c2339d65f 100644 --- a/mts/src/model/QueryTemplateListRequest.cc +++ b/mts/src/model/QueryTemplateListRequest.cc @@ -43,6 +43,24 @@ void QueryTemplateListRequest::setTemplateIds(const std::string &templateIds) { setParameter(std::string("TemplateIds"), templateIds); } +bool QueryTemplateListRequest::getForFrontend() const { + return forFrontend_; +} + +void QueryTemplateListRequest::setForFrontend(bool forFrontend) { + forFrontend_ = forFrontend; + setParameter(std::string("ForFrontend"), forFrontend ? "true" : "false"); +} + +std::string QueryTemplateListRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void QueryTemplateListRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + std::string QueryTemplateListRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -70,12 +88,3 @@ void QueryTemplateListRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -std::string QueryTemplateListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryTemplateListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/QueryTemplateListResult.cc b/mts/src/model/QueryTemplateListResult.cc index f7b5c6d2b..8e6735970 100644 --- a/mts/src/model/QueryTemplateListResult.cc +++ b/mts/src/model/QueryTemplateListResult.cc @@ -49,6 +49,8 @@ void QueryTemplateListResult::parse(const std::string &payload) templateListObject.name = valueTemplateListTemplate["Name"].asString(); if(!valueTemplateListTemplate["Id"].isNull()) templateListObject.id = valueTemplateListTemplate["Id"].asString(); + if(!valueTemplateListTemplate["CreationTime"].isNull()) + templateListObject.creationTime = valueTemplateListTemplate["CreationTime"].asString(); auto videoNode = value["Video"]; if(!videoNode["Bufsize"].isNull()) templateListObject.video.bufsize = videoNode["Bufsize"].asString(); @@ -92,11 +94,20 @@ void QueryTemplateListResult::parse(const std::string &payload) templateListObject.video.scanMode = videoNode["ScanMode"].asString(); if(!videoNode["ResoPriority"].isNull()) templateListObject.video.resoPriority = videoNode["ResoPriority"].asString(); + if(!videoNode["Hdr2sdr"].isNull()) + templateListObject.video.hdr2sdr = videoNode["Hdr2sdr"].asString(); auto bitrateBndNode = videoNode["BitrateBnd"]; if(!bitrateBndNode["Max"].isNull()) templateListObject.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); if(!bitrateBndNode["Min"].isNull()) templateListObject.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); + auto narrowBandNode = videoNode["NarrowBand"]; + if(!narrowBandNode["Version"].isNull()) + templateListObject.video.narrowBand.version = narrowBandNode["Version"].asString(); + if(!narrowBandNode["Abrmax"].isNull()) + templateListObject.video.narrowBand.abrmax = std::stof(narrowBandNode["Abrmax"].asString()); + if(!narrowBandNode["MaxAbrRatio"].isNull()) + templateListObject.video.narrowBand.maxAbrRatio = std::stof(narrowBandNode["MaxAbrRatio"].asString()); auto transConfigNode = value["TransConfig"]; if(!transConfigNode["IsCheckAudioBitrate"].isNull()) templateListObject.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); @@ -145,9 +156,33 @@ void QueryTemplateListResult::parse(const std::string &payload) templateListObject.audio.channels = audioNode["Channels"].asString(); if(!audioNode["Bitrate"].isNull()) templateListObject.audio.bitrate = audioNode["Bitrate"].asString(); + auto volumeNode = audioNode["Volume"]; + if(!volumeNode["Method"].isNull()) + templateListObject.audio.volume.method = volumeNode["Method"].asString(); + if(!volumeNode["TruePeak"].isNull()) + templateListObject.audio.volume.truePeak = volumeNode["TruePeak"].asString(); + if(!volumeNode["IntegratedLoudnessTarget"].isNull()) + templateListObject.audio.volume.integratedLoudnessTarget = volumeNode["IntegratedLoudnessTarget"].asString(); + if(!volumeNode["LoudnessRangeTarget"].isNull()) + templateListObject.audio.volume.loudnessRangeTarget = volumeNode["LoudnessRangeTarget"].asString(); + if(!volumeNode["Level"].isNull()) + templateListObject.audio.volume.level = volumeNode["Level"].asString(); + if(!volumeNode["PeakLevel"].isNull()) + templateListObject.audio.volume.peakLevel = volumeNode["PeakLevel"].asString(); auto containerNode = value["Container"]; if(!containerNode["Format"].isNull()) templateListObject.container.format = containerNode["Format"].asString(); + auto frontendHintNode = value["FrontendHint"]; + if(!frontendHintNode["TranscodeType"].isNull()) + templateListObject.frontendHint.transcodeType = frontendHintNode["TranscodeType"].asString(); + if(!frontendHintNode["BitrateControlType"].isNull()) + templateListObject.frontendHint.bitrateControlType = frontendHintNode["BitrateControlType"].asString(); + if(!frontendHintNode["Source"].isNull()) + templateListObject.frontendHint.source = frontendHintNode["Source"].asString(); + if(!frontendHintNode["IsDynamic"].isNull()) + templateListObject.frontendHint.isDynamic = frontendHintNode["IsDynamic"].asString() == "true"; + if(!frontendHintNode["HasOldHdr2Sdr"].isNull()) + templateListObject.frontendHint.hasOldHdr2Sdr = frontendHintNode["HasOldHdr2Sdr"].asString() == "true"; templateList_.push_back(templateListObject); } auto allNonExistTids = value["NonExistTids"]["String"]; diff --git a/mts/src/model/QueryTerrorismJobListRequest.cc b/mts/src/model/QueryTerrorismJobListRequest.cc deleted file mode 100644 index ded8f08b3..000000000 --- a/mts/src/model/QueryTerrorismJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryTerrorismJobListRequest; - -QueryTerrorismJobListRequest::QueryTerrorismJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryTerrorismJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryTerrorismJobListRequest::~QueryTerrorismJobListRequest() {} - -long QueryTerrorismJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryTerrorismJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryTerrorismJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryTerrorismJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryTerrorismJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryTerrorismJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryTerrorismJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryTerrorismJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryTerrorismJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryTerrorismJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryTerrorismJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryTerrorismJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryTerrorismJobListResult.cc b/mts/src/model/QueryTerrorismJobListResult.cc deleted file mode 100644 index 01efde8cf..000000000 --- a/mts/src/model/QueryTerrorismJobListResult.cc +++ /dev/null @@ -1,131 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryTerrorismJobListResult::QueryTerrorismJobListResult() : - ServiceResult() -{} - -QueryTerrorismJobListResult::QueryTerrorismJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTerrorismJobListResult::~QueryTerrorismJobListResult() -{} - -void QueryTerrorismJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allTerrorismJobListNode = value["TerrorismJobList"]["TerrorismJob"]; - for (auto valueTerrorismJobListTerrorismJob : allTerrorismJobListNode) - { - TerrorismJob terrorismJobListObject; - if(!valueTerrorismJobListTerrorismJob["CreationTime"].isNull()) - terrorismJobListObject.creationTime = valueTerrorismJobListTerrorismJob["CreationTime"].asString(); - if(!valueTerrorismJobListTerrorismJob["State"].isNull()) - terrorismJobListObject.state = valueTerrorismJobListTerrorismJob["State"].asString(); - if(!valueTerrorismJobListTerrorismJob["UserData"].isNull()) - terrorismJobListObject.userData = valueTerrorismJobListTerrorismJob["UserData"].asString(); - if(!valueTerrorismJobListTerrorismJob["Code"].isNull()) - terrorismJobListObject.code = valueTerrorismJobListTerrorismJob["Code"].asString(); - if(!valueTerrorismJobListTerrorismJob["Message"].isNull()) - terrorismJobListObject.message = valueTerrorismJobListTerrorismJob["Message"].asString(); - if(!valueTerrorismJobListTerrorismJob["PipelineId"].isNull()) - terrorismJobListObject.pipelineId = valueTerrorismJobListTerrorismJob["PipelineId"].asString(); - if(!valueTerrorismJobListTerrorismJob["Id"].isNull()) - terrorismJobListObject.id = valueTerrorismJobListTerrorismJob["Id"].asString(); - auto censorTerrorismResultNode = value["CensorTerrorismResult"]; - if(!censorTerrorismResultNode["Suggestion"].isNull()) - terrorismJobListObject.censorTerrorismResult.suggestion = censorTerrorismResultNode["Suggestion"].asString(); - if(!censorTerrorismResultNode["AverageScore"].isNull()) - terrorismJobListObject.censorTerrorismResult.averageScore = censorTerrorismResultNode["AverageScore"].asString(); - if(!censorTerrorismResultNode["Label"].isNull()) - terrorismJobListObject.censorTerrorismResult.label = censorTerrorismResultNode["Label"].asString(); - if(!censorTerrorismResultNode["MaxScore"].isNull()) - terrorismJobListObject.censorTerrorismResult.maxScore = censorTerrorismResultNode["MaxScore"].asString(); - auto allTerrorismTopListNode = censorTerrorismResultNode["TerrorismTopList"]["Top"]; - for (auto censorTerrorismResultNodeTerrorismTopListTop : allTerrorismTopListNode) - { - TerrorismJob::CensorTerrorismResult::Top topObject; - if(!censorTerrorismResultNodeTerrorismTopListTop["Index"].isNull()) - topObject.index = censorTerrorismResultNodeTerrorismTopListTop["Index"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Score"].isNull()) - topObject.score = censorTerrorismResultNodeTerrorismTopListTop["Score"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Timestamp"].isNull()) - topObject.timestamp = censorTerrorismResultNodeTerrorismTopListTop["Timestamp"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Object"].isNull()) - topObject.object = censorTerrorismResultNodeTerrorismTopListTop["Object"].asString(); - if(!censorTerrorismResultNodeTerrorismTopListTop["Label"].isNull()) - topObject.label = censorTerrorismResultNodeTerrorismTopListTop["Label"].asString(); - terrorismJobListObject.censorTerrorismResult.terrorismTopList.push_back(topObject); - } - auto allTerrorismCounterListNode = censorTerrorismResultNode["TerrorismCounterList"]["Counter"]; - for (auto censorTerrorismResultNodeTerrorismCounterListCounter : allTerrorismCounterListNode) - { - TerrorismJob::CensorTerrorismResult::Counter counterObject; - if(!censorTerrorismResultNodeTerrorismCounterListCounter["Label"].isNull()) - counterObject.label = censorTerrorismResultNodeTerrorismCounterListCounter["Label"].asString(); - if(!censorTerrorismResultNodeTerrorismCounterListCounter["Count"].isNull()) - counterObject.count = std::stoi(censorTerrorismResultNodeTerrorismCounterListCounter["Count"].asString()); - terrorismJobListObject.censorTerrorismResult.terrorismCounterList.push_back(counterObject); - } - auto terrorismConfigNode = value["TerrorismConfig"]; - if(!terrorismConfigNode["Interval"].isNull()) - terrorismJobListObject.terrorismConfig.interval = terrorismConfigNode["Interval"].asString(); - if(!terrorismConfigNode["BizType"].isNull()) - terrorismJobListObject.terrorismConfig.bizType = terrorismConfigNode["BizType"].asString(); - auto outputFileNode = terrorismConfigNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - terrorismJobListObject.terrorismConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - terrorismJobListObject.terrorismConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - terrorismJobListObject.terrorismConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - terrorismJobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - terrorismJobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - terrorismJobListObject.input.bucket = inputNode["Bucket"].asString(); - terrorismJobList_.push_back(terrorismJobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryTerrorismJobListResult::getTerrorismJobList()const -{ - return terrorismJobList_; -} - -std::vector QueryTerrorismJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryTerrorismPipelineListRequest.cc b/mts/src/model/QueryTerrorismPipelineListRequest.cc deleted file mode 100644 index 2376d081e..000000000 --- a/mts/src/model/QueryTerrorismPipelineListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryTerrorismPipelineListRequest; - -QueryTerrorismPipelineListRequest::QueryTerrorismPipelineListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryTerrorismPipelineList") { - setMethod(HttpRequest::Method::Post); -} - -QueryTerrorismPipelineListRequest::~QueryTerrorismPipelineListRequest() {} - -long QueryTerrorismPipelineListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryTerrorismPipelineListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryTerrorismPipelineListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryTerrorismPipelineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryTerrorismPipelineListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryTerrorismPipelineListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryTerrorismPipelineListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryTerrorismPipelineListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryTerrorismPipelineListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryTerrorismPipelineListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryTerrorismPipelineListRequest::getPipelineIds() const { - return pipelineIds_; -} - -void QueryTerrorismPipelineListRequest::setPipelineIds(const std::string &pipelineIds) { - pipelineIds_ = pipelineIds; - setParameter(std::string("PipelineIds"), pipelineIds); -} - diff --git a/mts/src/model/QueryTerrorismPipelineListResult.cc b/mts/src/model/QueryTerrorismPipelineListResult.cc deleted file mode 100644 index 1b3348450..000000000 --- a/mts/src/model/QueryTerrorismPipelineListResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryTerrorismPipelineListResult::QueryTerrorismPipelineListResult() : - ServiceResult() -{} - -QueryTerrorismPipelineListResult::QueryTerrorismPipelineListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTerrorismPipelineListResult::~QueryTerrorismPipelineListResult() -{} - -void QueryTerrorismPipelineListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPipelineListNode = value["PipelineList"]["Pipeline"]; - for (auto valuePipelineListPipeline : allPipelineListNode) - { - Pipeline pipelineListObject; - if(!valuePipelineListPipeline["State"].isNull()) - pipelineListObject.state = valuePipelineListPipeline["State"].asString(); - if(!valuePipelineListPipeline["Priority"].isNull()) - pipelineListObject.priority = valuePipelineListPipeline["Priority"].asString(); - if(!valuePipelineListPipeline["Name"].isNull()) - pipelineListObject.name = valuePipelineListPipeline["Name"].asString(); - if(!valuePipelineListPipeline["Id"].isNull()) - pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); - auto notifyConfigNode = value["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipelineListObject.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - pipelineList_.push_back(pipelineListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryTerrorismPipelineListResult::getPipelineList()const -{ - return pipelineList_; -} - -std::vector QueryTerrorismPipelineListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryVideoQualityJobRequest.cc b/mts/src/model/QueryTraceAbJobRequest.cc similarity index 52% rename from mts/src/model/QueryVideoQualityJobRequest.cc rename to mts/src/model/QueryTraceAbJobRequest.cc index db0985004..b50cdd261 100644 --- a/mts/src/model/QueryVideoQualityJobRequest.cc +++ b/mts/src/model/QueryTraceAbJobRequest.cc @@ -14,31 +14,31 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Mts::Model::QueryVideoQualityJobRequest; +using AlibabaCloud::Mts::Model::QueryTraceAbJobRequest; -QueryVideoQualityJobRequest::QueryVideoQualityJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryVideoQualityJob") { +QueryTraceAbJobRequest::QueryTraceAbJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "QueryTraceAbJob") { setMethod(HttpRequest::Method::Post); } -QueryVideoQualityJobRequest::~QueryVideoQualityJobRequest() {} +QueryTraceAbJobRequest::~QueryTraceAbJobRequest() {} -long QueryVideoQualityJobRequest::getUserId() const { - return userId_; +std::string QueryTraceAbJobRequest::getMediaId() const { + return mediaId_; } -void QueryVideoQualityJobRequest::setUserId(long userId) { - userId_ = userId; - setParameter(std::string("UserId"), std::to_string(userId)); +void QueryTraceAbJobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -std::string QueryVideoQualityJobRequest::getJobId() const { +std::string QueryTraceAbJobRequest::getJobId() const { return jobId_; } -void QueryVideoQualityJobRequest::setJobId(const std::string &jobId) { +void QueryTraceAbJobRequest::setJobId(const std::string &jobId) { jobId_ = jobId; setParameter(std::string("JobId"), jobId); } diff --git a/mts/src/model/QueryTraceAbJobResult.cc b/mts/src/model/QueryTraceAbJobResult.cc new file mode 100644 index 000000000..1f322f675 --- /dev/null +++ b/mts/src/model/QueryTraceAbJobResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +QueryTraceAbJobResult::QueryTraceAbJobResult() : + ServiceResult() +{} + +QueryTraceAbJobResult::QueryTraceAbJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTraceAbJobResult::~QueryTraceAbJobResult() +{} + +void QueryTraceAbJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Callback"].isNull()) + dataObject.callback = valueDataDataItem["Callback"].asString(); + if(!valueDataDataItem["GmtCreate"].isNull()) + dataObject.gmtCreate = std::stol(valueDataDataItem["GmtCreate"].asString()); + if(!valueDataDataItem["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(valueDataDataItem["GmtModified"].asString()); + if(!valueDataDataItem["Input"].isNull()) + dataObject.input = valueDataDataItem["Input"].asString(); + if(!valueDataDataItem["JobId"].isNull()) + dataObject.jobId = valueDataDataItem["JobId"].asString(); + if(!valueDataDataItem["Level"].isNull()) + dataObject.level = std::stol(valueDataDataItem["Level"].asString()); + if(!valueDataDataItem["MediaId"].isNull()) + dataObject.mediaId = valueDataDataItem["MediaId"].asString(); + if(!valueDataDataItem["Output"].isNull()) + dataObject.output = valueDataDataItem["Output"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["UserData"].isNull()) + dataObject.userData = valueDataDataItem["UserData"].asString(); + if(!valueDataDataItem["UserId"].isNull()) + dataObject.userId = std::stol(valueDataDataItem["UserId"].asString()); + if(!valueDataDataItem["Result"].isNull()) + dataObject.result = valueDataDataItem["Result"].asString(); + data_.push_back(dataObject); + } + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string QueryTraceAbJobResult::getMessage()const +{ + return message_; +} + +std::vector QueryTraceAbJobResult::getData()const +{ + return data_; +} + +long QueryTraceAbJobResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/QueryInferenceJobRequest.cc b/mts/src/model/QueryTraceExtractJobRequest.cc similarity index 61% rename from mts/src/model/QueryInferenceJobRequest.cc rename to mts/src/model/QueryTraceExtractJobRequest.cc index b01dec4c6..48b26ef8e 100644 --- a/mts/src/model/QueryInferenceJobRequest.cc +++ b/mts/src/model/QueryTraceExtractJobRequest.cc @@ -14,22 +14,22 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Mts::Model::QueryInferenceJobRequest; +using AlibabaCloud::Mts::Model::QueryTraceExtractJobRequest; -QueryInferenceJobRequest::QueryInferenceJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryInferenceJob") { +QueryTraceExtractJobRequest::QueryTraceExtractJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "QueryTraceExtractJob") { setMethod(HttpRequest::Method::Post); } -QueryInferenceJobRequest::~QueryInferenceJobRequest() {} +QueryTraceExtractJobRequest::~QueryTraceExtractJobRequest() {} -std::string QueryInferenceJobRequest::getJobId() const { +std::string QueryTraceExtractJobRequest::getJobId() const { return jobId_; } -void QueryInferenceJobRequest::setJobId(const std::string &jobId) { +void QueryTraceExtractJobRequest::setJobId(const std::string &jobId) { jobId_ = jobId; setParameter(std::string("JobId"), jobId); } diff --git a/mts/src/model/SubmitInferenceJobResult.cc b/mts/src/model/QueryTraceExtractJobResult.cc similarity index 56% rename from mts/src/model/SubmitInferenceJobResult.cc rename to mts/src/model/QueryTraceExtractJobResult.cc index a237cb44b..6b4fb3714 100644 --- a/mts/src/model/SubmitInferenceJobResult.cc +++ b/mts/src/model/QueryTraceExtractJobResult.cc @@ -14,59 +14,53 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitInferenceJobResult::SubmitInferenceJobResult() : +QueryTraceExtractJobResult::QueryTraceExtractJobResult() : ServiceResult() {} -SubmitInferenceJobResult::SubmitInferenceJobResult(const std::string &payload) : +QueryTraceExtractJobResult::QueryTraceExtractJobResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitInferenceJobResult::~SubmitInferenceJobResult() +QueryTraceExtractJobResult::~QueryTraceExtractJobResult() {} -void SubmitInferenceJobResult::parse(const std::string &payload) +void QueryTraceExtractJobResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["TestId"].isNull()) - testId_ = value["TestId"].asString(); + auto dataNode = value["Data"]; + if(!dataNode["Trace"].isNull()) + data_.trace = dataNode["Trace"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); } -std::string SubmitInferenceJobResult::getTestId()const -{ - return testId_; -} - -std::string SubmitInferenceJobResult::getMessage()const +std::string QueryTraceExtractJobResult::getMessage()const { return message_; } -std::string SubmitInferenceJobResult::getCode()const +QueryTraceExtractJobResult::Data QueryTraceExtractJobResult::getData()const { - return code_; + return data_; } -std::string SubmitInferenceJobResult::getJobId()const +long QueryTraceExtractJobResult::getStatusCode()const { - return jobId_; + return statusCode_; } diff --git a/mts/src/model/QueryTraceM3u8JobRequest.cc b/mts/src/model/QueryTraceM3u8JobRequest.cc new file mode 100644 index 000000000..4c66c0521 --- /dev/null +++ b/mts/src/model/QueryTraceM3u8JobRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::QueryTraceM3u8JobRequest; + +QueryTraceM3u8JobRequest::QueryTraceM3u8JobRequest() + : RpcServiceRequest("mts", "2014-06-18", "QueryTraceM3u8Job") { + setMethod(HttpRequest::Method::Post); +} + +QueryTraceM3u8JobRequest::~QueryTraceM3u8JobRequest() {} + +long QueryTraceM3u8JobRequest::getLevel() const { + return level_; +} + +void QueryTraceM3u8JobRequest::setLevel(long level) { + level_ = level; + setParameter(std::string("Level"), std::to_string(level)); +} + +long QueryTraceM3u8JobRequest::getMessageId() const { + return messageId_; +} + +void QueryTraceM3u8JobRequest::setMessageId(long messageId) { + messageId_ = messageId; + setParameter(std::string("MessageId"), std::to_string(messageId)); +} + +long QueryTraceM3u8JobRequest::getPageNumber() const { + return pageNumber_; +} + +void QueryTraceM3u8JobRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long QueryTraceM3u8JobRequest::getCreateTimeEnd() const { + return createTimeEnd_; +} + +void QueryTraceM3u8JobRequest::setCreateTimeEnd(long createTimeEnd) { + createTimeEnd_ = createTimeEnd; + setParameter(std::string("CreateTimeEnd"), std::to_string(createTimeEnd)); +} + +std::string QueryTraceM3u8JobRequest::getJobId() const { + return jobId_; +} + +void QueryTraceM3u8JobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +long QueryTraceM3u8JobRequest::getPageSize() const { + return pageSize_; +} + +void QueryTraceM3u8JobRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +long QueryTraceM3u8JobRequest::getCreateTimeStart() const { + return createTimeStart_; +} + +void QueryTraceM3u8JobRequest::setCreateTimeStart(long createTimeStart) { + createTimeStart_ = createTimeStart; + setParameter(std::string("CreateTimeStart"), std::to_string(createTimeStart)); +} + diff --git a/mts/src/model/QueryTraceM3u8JobResult.cc b/mts/src/model/QueryTraceM3u8JobResult.cc new file mode 100644 index 000000000..433700a9e --- /dev/null +++ b/mts/src/model/QueryTraceM3u8JobResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +QueryTraceM3u8JobResult::QueryTraceM3u8JobResult() : + ServiceResult() +{} + +QueryTraceM3u8JobResult::QueryTraceM3u8JobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTraceM3u8JobResult::~QueryTraceM3u8JobResult() +{} + +void QueryTraceM3u8JobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["GmtCreate"].isNull()) + dataObject.gmtCreate = std::stol(valueDataDataItem["GmtCreate"].asString()); + if(!valueDataDataItem["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(valueDataDataItem["GmtModified"].asString()); + if(!valueDataDataItem["MediaId"].isNull()) + dataObject.mediaId = valueDataDataItem["MediaId"].asString(); + if(!valueDataDataItem["JobId"].isNull()) + dataObject.jobId = valueDataDataItem["JobId"].asString(); + if(!valueDataDataItem["Trace"].isNull()) + dataObject.trace = valueDataDataItem["Trace"].asString(); + if(!valueDataDataItem["TraceId"].isNull()) + dataObject.traceId = std::stol(valueDataDataItem["TraceId"].asString()); + if(!valueDataDataItem["Output"].isNull()) + dataObject.output = valueDataDataItem["Output"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["UserData"].isNull()) + dataObject.userData = valueDataDataItem["UserData"].asString(); + if(!valueDataDataItem["UserId"].isNull()) + dataObject.userId = std::stol(valueDataDataItem["UserId"].asString()); + data_.push_back(dataObject); + } + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string QueryTraceM3u8JobResult::getMessage()const +{ + return message_; +} + +std::vector QueryTraceM3u8JobResult::getData()const +{ + return data_; +} + +long QueryTraceM3u8JobResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/QueryVideoGifJobListRequest.cc b/mts/src/model/QueryVideoGifJobListRequest.cc deleted file mode 100644 index 810bbf07a..000000000 --- a/mts/src/model/QueryVideoGifJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryVideoGifJobListRequest; - -QueryVideoGifJobListRequest::QueryVideoGifJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryVideoGifJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryVideoGifJobListRequest::~QueryVideoGifJobListRequest() {} - -long QueryVideoGifJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryVideoGifJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryVideoGifJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryVideoGifJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryVideoGifJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryVideoGifJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryVideoGifJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryVideoGifJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryVideoGifJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryVideoGifJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryVideoGifJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryVideoGifJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryVideoGifJobListResult.cc b/mts/src/model/QueryVideoGifJobListResult.cc deleted file mode 100644 index 5332be04b..000000000 --- a/mts/src/model/QueryVideoGifJobListResult.cc +++ /dev/null @@ -1,92 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryVideoGifJobListResult::QueryVideoGifJobListResult() : - ServiceResult() -{} - -QueryVideoGifJobListResult::QueryVideoGifJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryVideoGifJobListResult::~QueryVideoGifJobListResult() -{} - -void QueryVideoGifJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - if(!valueJobListJob["Id"].isNull()) - jobListObject.id = valueJobListJob["Id"].asString(); - auto videoGifResultNode = value["VideoGifResult"]; - auto outputFileNode = videoGifResultNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - jobListObject.videoGifResult.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobListObject.videoGifResult.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobListObject.videoGifResult.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].asString(); - jobList_.push_back(jobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryVideoGifJobListResult::getJobList()const -{ - return jobList_; -} - -std::vector QueryVideoGifJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryVideoPoseJobListRequest.cc b/mts/src/model/QueryVideoPoseJobListRequest.cc deleted file mode 100644 index 889252e00..000000000 --- a/mts/src/model/QueryVideoPoseJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryVideoPoseJobListRequest; - -QueryVideoPoseJobListRequest::QueryVideoPoseJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryVideoPoseJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryVideoPoseJobListRequest::~QueryVideoPoseJobListRequest() {} - -long QueryVideoPoseJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryVideoPoseJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryVideoPoseJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryVideoPoseJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryVideoPoseJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryVideoPoseJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryVideoPoseJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryVideoPoseJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryVideoPoseJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryVideoPoseJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryVideoPoseJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryVideoPoseJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryVideoPoseJobListResult.cc b/mts/src/model/QueryVideoPoseJobListResult.cc deleted file mode 100644 index 0de03b122..000000000 --- a/mts/src/model/QueryVideoPoseJobListResult.cc +++ /dev/null @@ -1,262 +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 -#include - -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 allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["JobId"].isNull()) - jobListObject.jobId = valueJobListJob["JobId"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - auto outputConfigNode = value["OutputConfig"]; - auto dataFileNode = outputConfigNode["DataFile"]; - if(!dataFileNode["RoleArn"].isNull()) - jobListObject.outputConfig.dataFile.roleArn = dataFileNode["RoleArn"].asString(); - if(!dataFileNode["Object"].isNull()) - jobListObject.outputConfig.dataFile.object = dataFileNode["Object"].asString(); - if(!dataFileNode["Location"].isNull()) - jobListObject.outputConfig.dataFile.location = dataFileNode["Location"].asString(); - if(!dataFileNode["Bucket"].isNull()) - jobListObject.outputConfig.dataFile.bucket = dataFileNode["Bucket"].asString(); - auto videoFileNode = outputConfigNode["VideoFile"]; - if(!videoFileNode["RoleArn"].isNull()) - jobListObject.outputConfig.videoFile.roleArn = videoFileNode["RoleArn"].asString(); - if(!videoFileNode["Object"].isNull()) - jobListObject.outputConfig.videoFile.object = videoFileNode["Object"].asString(); - if(!videoFileNode["Location"].isNull()) - jobListObject.outputConfig.videoFile.location = videoFileNode["Location"].asString(); - if(!videoFileNode["Bucket"].isNull()) - jobListObject.outputConfig.videoFile.bucket = videoFileNode["Bucket"].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(); - auto inputNode = value["Input"]; - if(!inputNode["RoleArn"].isNull()) - jobListObject.input.roleArn = inputNode["RoleArn"].asString(); - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].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["Duration"].isNull()) - jobListObject.properties.duration = propertiesNode["Duration"].asString(); - if(!propertiesNode["Fps"].isNull()) - jobListObject.properties.fps = propertiesNode["Fps"].asString(); - if(!propertiesNode["Bitrate"].isNull()) - jobListObject.properties.bitrate = propertiesNode["Bitrate"].asString(); - if(!propertiesNode["FileFormat"].isNull()) - jobListObject.properties.fileFormat = propertiesNode["FileFormat"].asString(); - if(!propertiesNode["FileSize"].isNull()) - jobListObject.properties.fileSize = propertiesNode["FileSize"].asString(); - auto streamsNode = propertiesNode["Streams"]; - auto allVideoStreamListNode = streamsNode["VideoStreamList"]["VideoStream"]; - for (auto streamsNodeVideoStreamListVideoStream : allVideoStreamListNode) - { - Job::Properties::Streams::VideoStream videoStreamObject; - if(!streamsNodeVideoStreamListVideoStream["Sar"].isNull()) - videoStreamObject.sar = streamsNodeVideoStreamListVideoStream["Sar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Height"].isNull()) - videoStreamObject.height = streamsNodeVideoStreamListVideoStream["Height"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTagString"].isNull()) - videoStreamObject.codecTagString = streamsNodeVideoStreamListVideoStream["CodecTagString"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Width"].isNull()) - videoStreamObject.width = streamsNodeVideoStreamListVideoStream["Width"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Index"].isNull()) - videoStreamObject.index = streamsNodeVideoStreamListVideoStream["Index"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Timebase"].isNull()) - videoStreamObject.timebase = streamsNodeVideoStreamListVideoStream["Timebase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["AvgFPS"].isNull()) - videoStreamObject.avgFPS = streamsNodeVideoStreamListVideoStream["AvgFPS"].asString(); - if(!streamsNodeVideoStreamListVideoStream["PixFmt"].isNull()) - videoStreamObject.pixFmt = streamsNodeVideoStreamListVideoStream["PixFmt"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Lang"].isNull()) - videoStreamObject.lang = streamsNodeVideoStreamListVideoStream["Lang"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecLongName"].isNull()) - videoStreamObject.codecLongName = streamsNodeVideoStreamListVideoStream["CodecLongName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["NumFrames"].isNull()) - videoStreamObject.numFrames = streamsNodeVideoStreamListVideoStream["NumFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Rotate"].isNull()) - videoStreamObject.rotate = streamsNodeVideoStreamListVideoStream["Rotate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Bitrate"].isNull()) - videoStreamObject.bitrate = streamsNodeVideoStreamListVideoStream["Bitrate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["HasBFrames"].isNull()) - videoStreamObject.hasBFrames = streamsNodeVideoStreamListVideoStream["HasBFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Profile"].isNull()) - videoStreamObject.profile = streamsNodeVideoStreamListVideoStream["Profile"].asString(); - if(!streamsNodeVideoStreamListVideoStream["StartTime"].isNull()) - videoStreamObject.startTime = streamsNodeVideoStreamListVideoStream["StartTime"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Dar"].isNull()) - videoStreamObject.dar = streamsNodeVideoStreamListVideoStream["Dar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecName"].isNull()) - videoStreamObject.codecName = streamsNodeVideoStreamListVideoStream["CodecName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Duration"].isNull()) - videoStreamObject.duration = streamsNodeVideoStreamListVideoStream["Duration"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Fps"].isNull()) - videoStreamObject.fps = streamsNodeVideoStreamListVideoStream["Fps"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTag"].isNull()) - videoStreamObject.codecTag = streamsNodeVideoStreamListVideoStream["CodecTag"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTimeBase"].isNull()) - videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) - videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); - auto networkCostNode = value["NetworkCost"]; - if(!networkCostNode["PreloadTime"].isNull()) - videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); - if(!networkCostNode["AvgBitrate"].isNull()) - videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString(); - if(!networkCostNode["CostBandwidth"].isNull()) - videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString(); - jobListObject.properties.streams.videoStreamList.push_back(videoStreamObject); - } - auto allAudioStreamListNode = streamsNode["AudioStreamList"]["AudioStream"]; - for (auto streamsNodeAudioStreamListAudioStream : allAudioStreamListNode) - { - Job::Properties::Streams::AudioStream audioStreamObject; - if(!streamsNodeAudioStreamListAudioStream["Timebase"].isNull()) - audioStreamObject.timebase = streamsNodeAudioStreamListAudioStream["Timebase"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Index"].isNull()) - audioStreamObject.index = streamsNodeAudioStreamListAudioStream["Index"].asString(); - if(!streamsNodeAudioStreamListAudioStream["SampleFmt"].isNull()) - audioStreamObject.sampleFmt = streamsNodeAudioStreamListAudioStream["SampleFmt"].asString(); - if(!streamsNodeAudioStreamListAudioStream["ChannelLayout"].isNull()) - audioStreamObject.channelLayout = streamsNodeAudioStreamListAudioStream["ChannelLayout"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Lang"].isNull()) - audioStreamObject.lang = streamsNodeAudioStreamListAudioStream["Lang"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Samplerate"].isNull()) - audioStreamObject.samplerate = streamsNodeAudioStreamListAudioStream["Samplerate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecLongName"].isNull()) - audioStreamObject.codecLongName = streamsNodeAudioStreamListAudioStream["CodecLongName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Channels"].isNull()) - audioStreamObject.channels = streamsNodeAudioStreamListAudioStream["Channels"].asString(); - if(!streamsNodeAudioStreamListAudioStream["NumFrames"].isNull()) - audioStreamObject.numFrames = streamsNodeAudioStreamListAudioStream["NumFrames"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Bitrate"].isNull()) - audioStreamObject.bitrate = streamsNodeAudioStreamListAudioStream["Bitrate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTagString"].isNull()) - audioStreamObject.codecTagString = streamsNodeAudioStreamListAudioStream["CodecTagString"].asString(); - if(!streamsNodeAudioStreamListAudioStream["StartTime"].isNull()) - audioStreamObject.startTime = streamsNodeAudioStreamListAudioStream["StartTime"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecName"].isNull()) - audioStreamObject.codecName = streamsNodeAudioStreamListAudioStream["CodecName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Duration"].isNull()) - audioStreamObject.duration = streamsNodeAudioStreamListAudioStream["Duration"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTag"].isNull()) - audioStreamObject.codecTag = streamsNodeAudioStreamListAudioStream["CodecTag"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTimeBase"].isNull()) - audioStreamObject.codecTimeBase = streamsNodeAudioStreamListAudioStream["CodecTimeBase"].asString(); - jobListObject.properties.streams.audioStreamList.push_back(audioStreamObject); - } - auto allSubtitleStreamListNode = streamsNode["SubtitleStreamList"]["SubtitleStream"]; - for (auto streamsNodeSubtitleStreamListSubtitleStream : allSubtitleStreamListNode) - { - Job::Properties::Streams::SubtitleStream subtitleStreamObject; - if(!streamsNodeSubtitleStreamListSubtitleStream["Timebase"].isNull()) - subtitleStreamObject.timebase = streamsNodeSubtitleStreamListSubtitleStream["Timebase"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Index"].isNull()) - subtitleStreamObject.index = streamsNodeSubtitleStreamListSubtitleStream["Index"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["StartTime"].isNull()) - subtitleStreamObject.startTime = streamsNodeSubtitleStreamListSubtitleStream["StartTime"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecName"].isNull()) - subtitleStreamObject.codecName = streamsNodeSubtitleStreamListSubtitleStream["CodecName"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Lang"].isNull()) - subtitleStreamObject.lang = streamsNodeSubtitleStreamListSubtitleStream["Lang"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecLongName"].isNull()) - subtitleStreamObject.codecLongName = streamsNodeSubtitleStreamListSubtitleStream["CodecLongName"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Duration"].isNull()) - subtitleStreamObject.duration = streamsNodeSubtitleStreamListSubtitleStream["Duration"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecTag"].isNull()) - subtitleStreamObject.codecTag = streamsNodeSubtitleStreamListSubtitleStream["CodecTag"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecTimeBase"].isNull()) - subtitleStreamObject.codecTimeBase = streamsNodeSubtitleStreamListSubtitleStream["CodecTimeBase"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecTagString"].isNull()) - subtitleStreamObject.codecTagString = streamsNodeSubtitleStreamListSubtitleStream["CodecTagString"].asString(); - jobListObject.properties.streams.subtitleStreamList.push_back(subtitleStreamObject); - } - auto formatNode = propertiesNode["Format"]; - if(!formatNode["StartTime"].isNull()) - jobListObject.properties.format.startTime = formatNode["StartTime"].asString(); - if(!formatNode["NumPrograms"].isNull()) - jobListObject.properties.format.numPrograms = formatNode["NumPrograms"].asString(); - if(!formatNode["Size"].isNull()) - jobListObject.properties.format.size = formatNode["Size"].asString(); - if(!formatNode["NumStreams"].isNull()) - jobListObject.properties.format.numStreams = formatNode["NumStreams"].asString(); - if(!formatNode["FormatLongName"].isNull()) - jobListObject.properties.format.formatLongName = formatNode["FormatLongName"].asString(); - if(!formatNode["Duration"].isNull()) - jobListObject.properties.format.duration = formatNode["Duration"].asString(); - if(!formatNode["Bitrate"].isNull()) - jobListObject.properties.format.bitrate = formatNode["Bitrate"].asString(); - if(!formatNode["FormatName"].isNull()) - jobListObject.properties.format.formatName = formatNode["FormatName"].asString(); - jobList_.push_back(jobListObject); - } - auto allNonExistJobIds = value["NonExistJobIds"]["String"]; - for (const auto &item : allNonExistJobIds) - nonExistJobIds_.push_back(item.asString()); - -} - -std::vector QueryVideoPoseJobListResult::getNonExistJobIds()const -{ - return nonExistJobIds_; -} - -std::vector QueryVideoPoseJobListResult::getJobList()const -{ - return jobList_; -} - diff --git a/mts/src/model/QueryVideoQualityJobResult.cc b/mts/src/model/QueryVideoQualityJobResult.cc deleted file mode 100644 index 3f6226296..000000000 --- a/mts/src/model/QueryVideoQualityJobResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryVideoQualityJobResult::QueryVideoQualityJobResult() : - ServiceResult() -{} - -QueryVideoQualityJobResult::QueryVideoQualityJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryVideoQualityJobResult::~QueryVideoQualityJobResult() -{} - -void QueryVideoQualityJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto jobNode = value["Job"]; - if(!jobNode["Status"].isNull()) - job_.status = jobNode["Status"].asString(); - if(!jobNode["JobId"].isNull()) - job_.jobId = jobNode["JobId"].asString(); - if(!jobNode["UserId"].isNull()) - job_.userId = std::stol(jobNode["UserId"].asString()); - if(!jobNode["VideoQualityResults"].isNull()) - job_.videoQualityResults = jobNode["VideoQualityResults"].asString(); - if(!jobNode["Message"].isNull()) - job_.message = jobNode["Message"].asString(); - if(!jobNode["Output"].isNull()) - job_.output = jobNode["Output"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - -} - -std::string QueryVideoQualityJobResult::getMessage()const -{ - return message_; -} - -QueryVideoQualityJobResult::Job QueryVideoQualityJobResult::getJob()const -{ - return job_; -} - -std::string QueryVideoQualityJobResult::getCode()const -{ - return code_; -} - diff --git a/mts/src/model/QueryVideoSplitJobListRequest.cc b/mts/src/model/QueryVideoSplitJobListRequest.cc deleted file mode 100644 index e06c5b8e2..000000000 --- a/mts/src/model/QueryVideoSplitJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryVideoSplitJobListRequest; - -QueryVideoSplitJobListRequest::QueryVideoSplitJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryVideoSplitJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryVideoSplitJobListRequest::~QueryVideoSplitJobListRequest() {} - -long QueryVideoSplitJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryVideoSplitJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryVideoSplitJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryVideoSplitJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryVideoSplitJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryVideoSplitJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryVideoSplitJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryVideoSplitJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryVideoSplitJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryVideoSplitJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryVideoSplitJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryVideoSplitJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryVideoSplitJobListResult.cc b/mts/src/model/QueryVideoSplitJobListResult.cc deleted file mode 100644 index 121c0c637..000000000 --- a/mts/src/model/QueryVideoSplitJobListResult.cc +++ /dev/null @@ -1,97 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryVideoSplitJobListResult::QueryVideoSplitJobListResult() : - ServiceResult() -{} - -QueryVideoSplitJobListResult::QueryVideoSplitJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryVideoSplitJobListResult::~QueryVideoSplitJobListResult() -{} - -void QueryVideoSplitJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - if(!valueJobListJob["Id"].isNull()) - jobListObject.id = valueJobListJob["Id"].asString(); - auto videoSplitResultNode = value["VideoSplitResult"]; - auto allVideoSplitListNode = videoSplitResultNode["VideoSplitList"]["VideoSplit"]; - for (auto videoSplitResultNodeVideoSplitListVideoSplit : allVideoSplitListNode) - { - Job::VideoSplitResult::VideoSplit videoSplitObject; - if(!videoSplitResultNodeVideoSplitListVideoSplit["EndTime"].isNull()) - videoSplitObject.endTime = videoSplitResultNodeVideoSplitListVideoSplit["EndTime"].asString(); - if(!videoSplitResultNodeVideoSplitListVideoSplit["StartTime"].isNull()) - videoSplitObject.startTime = videoSplitResultNodeVideoSplitListVideoSplit["StartTime"].asString(); - if(!videoSplitResultNodeVideoSplitListVideoSplit["Path"].isNull()) - videoSplitObject.path = videoSplitResultNodeVideoSplitListVideoSplit["Path"].asString(); - jobListObject.videoSplitResult.videoSplitList.push_back(videoSplitObject); - } - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].asString(); - jobList_.push_back(jobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryVideoSplitJobListResult::getJobList()const -{ - return jobList_; -} - -std::vector QueryVideoSplitJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/QueryVideoSummaryJobListRequest.cc b/mts/src/model/QueryVideoSummaryJobListRequest.cc deleted file mode 100644 index d81c1beb5..000000000 --- a/mts/src/model/QueryVideoSummaryJobListRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::QueryVideoSummaryJobListRequest; - -QueryVideoSummaryJobListRequest::QueryVideoSummaryJobListRequest() - : RpcServiceRequest("mts", "2014-06-18", "QueryVideoSummaryJobList") { - setMethod(HttpRequest::Method::Post); -} - -QueryVideoSummaryJobListRequest::~QueryVideoSummaryJobListRequest() {} - -long QueryVideoSummaryJobListRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryVideoSummaryJobListRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryVideoSummaryJobListRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryVideoSummaryJobListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryVideoSummaryJobListRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void QueryVideoSummaryJobListRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long QueryVideoSummaryJobListRequest::getOwnerId() const { - return ownerId_; -} - -void QueryVideoSummaryJobListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryVideoSummaryJobListRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryVideoSummaryJobListRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryVideoSummaryJobListRequest::getJobIds() const { - return jobIds_; -} - -void QueryVideoSummaryJobListRequest::setJobIds(const std::string &jobIds) { - jobIds_ = jobIds; - setParameter(std::string("JobIds"), jobIds); -} - diff --git a/mts/src/model/QueryVideoSummaryJobListResult.cc b/mts/src/model/QueryVideoSummaryJobListResult.cc deleted file mode 100644 index 38efa8682..000000000 --- a/mts/src/model/QueryVideoSummaryJobListResult.cc +++ /dev/null @@ -1,102 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -QueryVideoSummaryJobListResult::QueryVideoSummaryJobListResult() : - ServiceResult() -{} - -QueryVideoSummaryJobListResult::QueryVideoSummaryJobListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryVideoSummaryJobListResult::~QueryVideoSummaryJobListResult() -{} - -void QueryVideoSummaryJobListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - if(!valueJobListJob["Id"].isNull()) - jobListObject.id = valueJobListJob["Id"].asString(); - auto videoSummaryResultNode = value["VideoSummaryResult"]; - auto allVideoSummaryListNode = videoSummaryResultNode["VideoSummaryList"]["VideoSummary"]; - for (auto videoSummaryResultNodeVideoSummaryListVideoSummary : allVideoSummaryListNode) - { - Job::VideoSummaryResult::VideoSummary videoSummaryObject; - if(!videoSummaryResultNodeVideoSummaryListVideoSummary["EndTime"].isNull()) - videoSummaryObject.endTime = videoSummaryResultNodeVideoSummaryListVideoSummary["EndTime"].asString(); - if(!videoSummaryResultNodeVideoSummaryListVideoSummary["StartTime"].isNull()) - videoSummaryObject.startTime = videoSummaryResultNodeVideoSummaryListVideoSummary["StartTime"].asString(); - jobListObject.videoSummaryResult.videoSummaryList.push_back(videoSummaryObject); - } - auto outputFileNode = videoSummaryResultNode["OutputFile"]; - if(!outputFileNode["Object"].isNull()) - jobListObject.videoSummaryResult.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobListObject.videoSummaryResult.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobListObject.videoSummaryResult.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].asString(); - jobList_.push_back(jobListObject); - } - auto allNonExistIds = value["NonExistIds"]["String"]; - for (const auto &item : allNonExistIds) - nonExistIds_.push_back(item.asString()); - -} - -std::vector QueryVideoSummaryJobListResult::getJobList()const -{ - return jobList_; -} - -std::vector QueryVideoSummaryJobListResult::getNonExistIds()const -{ - return nonExistIds_; -} - diff --git a/mts/src/model/RefreshCdnDomainConfigsCacheRequest.cc b/mts/src/model/RefreshCdnDomainConfigsCacheRequest.cc deleted file mode 100644 index 9e072c9f5..000000000 --- a/mts/src/model/RefreshCdnDomainConfigsCacheRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::RefreshCdnDomainConfigsCacheRequest; - -RefreshCdnDomainConfigsCacheRequest::RefreshCdnDomainConfigsCacheRequest() - : RpcServiceRequest("mts", "2014-06-18", "RefreshCdnDomainConfigsCache") { - setMethod(HttpRequest::Method::Post); -} - -RefreshCdnDomainConfigsCacheRequest::~RefreshCdnDomainConfigsCacheRequest() {} - -std::string RefreshCdnDomainConfigsCacheRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void RefreshCdnDomainConfigsCacheRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string RefreshCdnDomainConfigsCacheRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void RefreshCdnDomainConfigsCacheRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string RefreshCdnDomainConfigsCacheRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void RefreshCdnDomainConfigsCacheRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string RefreshCdnDomainConfigsCacheRequest::getDomains() const { - return domains_; -} - -void RefreshCdnDomainConfigsCacheRequest::setDomains(const std::string &domains) { - domains_ = domains; - setParameter(std::string("Domains"), domains); -} - -std::string RefreshCdnDomainConfigsCacheRequest::getOwnerId() const { - return ownerId_; -} - -void RefreshCdnDomainConfigsCacheRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - -std::string RefreshCdnDomainConfigsCacheRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void RefreshCdnDomainConfigsCacheRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - diff --git a/mts/src/model/RefreshCdnDomainConfigsCacheResult.cc b/mts/src/model/RefreshCdnDomainConfigsCacheResult.cc deleted file mode 100644 index 9172aeb59..000000000 --- a/mts/src/model/RefreshCdnDomainConfigsCacheResult.cc +++ /dev/null @@ -1,60 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -RefreshCdnDomainConfigsCacheResult::RefreshCdnDomainConfigsCacheResult() : - ServiceResult() -{} - -RefreshCdnDomainConfigsCacheResult::RefreshCdnDomainConfigsCacheResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RefreshCdnDomainConfigsCacheResult::~RefreshCdnDomainConfigsCacheResult() -{} - -void RefreshCdnDomainConfigsCacheResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSucessDomains = value["SucessDomains"]["String"]; - for (const auto &item : allSucessDomains) - sucessDomains_.push_back(item.asString()); - auto allFailedDomains = value["FailedDomains"]["String"]; - for (const auto &item : allFailedDomains) - failedDomains_.push_back(item.asString()); - -} - -std::vector RefreshCdnDomainConfigsCacheResult::getSucessDomains()const -{ - return sucessDomains_; -} - -std::vector RefreshCdnDomainConfigsCacheResult::getFailedDomains()const -{ - return failedDomains_; -} - diff --git a/mts/src/model/RegisterCustomViewRequest.cc b/mts/src/model/RegisterCustomViewRequest.cc new file mode 100644 index 000000000..3c7a20f9b --- /dev/null +++ b/mts/src/model/RegisterCustomViewRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::RegisterCustomViewRequest; + +RegisterCustomViewRequest::RegisterCustomViewRequest() + : RpcServiceRequest("mts", "2014-06-18", "RegisterCustomView") { + setMethod(HttpRequest::Method::Post); +} + +RegisterCustomViewRequest::~RegisterCustomViewRequest() {} + +long RegisterCustomViewRequest::getResourceOwnerId() const { + return resourceOwnerId_; +} + +void RegisterCustomViewRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); +} + +std::string RegisterCustomViewRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void RegisterCustomViewRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string RegisterCustomViewRequest::getAlgorithm() const { + return algorithm_; +} + +void RegisterCustomViewRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string RegisterCustomViewRequest::getCustomGroupId() const { + return customGroupId_; +} + +void RegisterCustomViewRequest::setCustomGroupId(const std::string &customGroupId) { + customGroupId_ = customGroupId; + setParameter(std::string("CustomGroupId"), customGroupId); +} + +std::string RegisterCustomViewRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; +} + +void RegisterCustomViewRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); +} + +std::string RegisterCustomViewRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void RegisterCustomViewRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string RegisterCustomViewRequest::getCustomEntityId() const { + return customEntityId_; +} + +void RegisterCustomViewRequest::setCustomEntityId(const std::string &customEntityId) { + customEntityId_ = customEntityId; + setParameter(std::string("CustomEntityId"), customEntityId); +} + +long RegisterCustomViewRequest::getOwnerId() const { + return ownerId_; +} + +void RegisterCustomViewRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string RegisterCustomViewRequest::getImageUrl() const { + return imageUrl_; +} + +void RegisterCustomViewRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setParameter(std::string("ImageUrl"), imageUrl); +} + diff --git a/mts/src/model/SubmitFacerecogJobResult.cc b/mts/src/model/RegisterCustomViewResult.cc similarity index 66% rename from mts/src/model/SubmitFacerecogJobResult.cc rename to mts/src/model/RegisterCustomViewResult.cc index dab2ba4f3..8429d81a5 100644 --- a/mts/src/model/SubmitFacerecogJobResult.cc +++ b/mts/src/model/RegisterCustomViewResult.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitFacerecogJobResult::SubmitFacerecogJobResult() : +RegisterCustomViewResult::RegisterCustomViewResult() : ServiceResult() {} -SubmitFacerecogJobResult::SubmitFacerecogJobResult(const std::string &payload) : +RegisterCustomViewResult::RegisterCustomViewResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitFacerecogJobResult::~SubmitFacerecogJobResult() +RegisterCustomViewResult::~RegisterCustomViewResult() {} -void SubmitFacerecogJobResult::parse(const std::string &payload) +void RegisterCustomViewResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); + if(!value["CustomViewId"].isNull()) + customViewId_ = value["CustomViewId"].asString(); } -std::string SubmitFacerecogJobResult::getJobId()const +std::string RegisterCustomViewResult::getCustomViewId()const { - return jobId_; + return customViewId_; } diff --git a/mts/src/model/RegisterMediaDetailPersonRequest.cc b/mts/src/model/RegisterMediaDetailPersonRequest.cc deleted file mode 100644 index 6cb636c8c..000000000 --- a/mts/src/model/RegisterMediaDetailPersonRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::RegisterMediaDetailPersonRequest; - -RegisterMediaDetailPersonRequest::RegisterMediaDetailPersonRequest() - : RpcServiceRequest("mts", "2014-06-18", "RegisterMediaDetailPerson") { - setMethod(HttpRequest::Method::Post); -} - -RegisterMediaDetailPersonRequest::~RegisterMediaDetailPersonRequest() {} - -long RegisterMediaDetailPersonRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void RegisterMediaDetailPersonRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string RegisterMediaDetailPersonRequest::getPersonLib() const { - return personLib_; -} - -void RegisterMediaDetailPersonRequest::setPersonLib(const std::string &personLib) { - personLib_ = personLib; - setParameter(std::string("PersonLib"), personLib); -} - -std::string RegisterMediaDetailPersonRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void RegisterMediaDetailPersonRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string RegisterMediaDetailPersonRequest::getPersonName() const { - return personName_; -} - -void RegisterMediaDetailPersonRequest::setPersonName(const std::string &personName) { - personName_ = personName; - setParameter(std::string("PersonName"), personName); -} - -std::string RegisterMediaDetailPersonRequest::getImages() const { - return images_; -} - -void RegisterMediaDetailPersonRequest::setImages(const std::string &images) { - images_ = images; - setParameter(std::string("Images"), images); -} - -std::string RegisterMediaDetailPersonRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void RegisterMediaDetailPersonRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string RegisterMediaDetailPersonRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void RegisterMediaDetailPersonRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long RegisterMediaDetailPersonRequest::getOwnerId() const { - return ownerId_; -} - -void RegisterMediaDetailPersonRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string RegisterMediaDetailPersonRequest::getCategory() const { - return category_; -} - -void RegisterMediaDetailPersonRequest::setCategory(const std::string &category) { - category_ = category; - setParameter(std::string("Category"), category); -} - diff --git a/mts/src/model/RegisterMediaDetailPersonResult.cc b/mts/src/model/RegisterMediaDetailPersonResult.cc deleted file mode 100644 index 9ea7782ee..000000000 --- a/mts/src/model/RegisterMediaDetailPersonResult.cc +++ /dev/null @@ -1,96 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -RegisterMediaDetailPersonResult::RegisterMediaDetailPersonResult() : - ServiceResult() -{} - -RegisterMediaDetailPersonResult::RegisterMediaDetailPersonResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RegisterMediaDetailPersonResult::~RegisterMediaDetailPersonResult() -{} - -void RegisterMediaDetailPersonResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRegisteredPersonagesNode = value["RegisteredPersonages"]["RegisteredPersonage"]; - for (auto valueRegisteredPersonagesRegisteredPersonage : allRegisteredPersonagesNode) - { - RegisteredPersonage registeredPersonagesObject; - if(!valueRegisteredPersonagesRegisteredPersonage["Quality"].isNull()) - registeredPersonagesObject.quality = valueRegisteredPersonagesRegisteredPersonage["Quality"].asString(); - if(!valueRegisteredPersonagesRegisteredPersonage["PersonName"].isNull()) - registeredPersonagesObject.personName = valueRegisteredPersonagesRegisteredPersonage["PersonName"].asString(); - if(!valueRegisteredPersonagesRegisteredPersonage["Gender"].isNull()) - registeredPersonagesObject.gender = valueRegisteredPersonagesRegisteredPersonage["Gender"].asString(); - if(!valueRegisteredPersonagesRegisteredPersonage["FaceId"].isNull()) - registeredPersonagesObject.faceId = valueRegisteredPersonagesRegisteredPersonage["FaceId"].asString(); - if(!valueRegisteredPersonagesRegisteredPersonage["Target"].isNull()) - registeredPersonagesObject.target = valueRegisteredPersonagesRegisteredPersonage["Target"].asString(); - if(!valueRegisteredPersonagesRegisteredPersonage["ImageId"].isNull()) - registeredPersonagesObject.imageId = valueRegisteredPersonagesRegisteredPersonage["ImageId"].asString(); - auto imageFileNode = value["ImageFile"]; - if(!imageFileNode["Object"].isNull()) - registeredPersonagesObject.imageFile.object = imageFileNode["Object"].asString(); - if(!imageFileNode["Location"].isNull()) - registeredPersonagesObject.imageFile.location = imageFileNode["Location"].asString(); - if(!imageFileNode["Bucket"].isNull()) - registeredPersonagesObject.imageFile.bucket = imageFileNode["Bucket"].asString(); - registeredPersonages_.push_back(registeredPersonagesObject); - } - auto allFailedImagesNode = value["FailedImages"]["FailedImage"]; - for (auto valueFailedImagesFailedImage : allFailedImagesNode) - { - FailedImage failedImagesObject; - if(!valueFailedImagesFailedImage["Success"].isNull()) - failedImagesObject.success = valueFailedImagesFailedImage["Success"].asString(); - if(!valueFailedImagesFailedImage["Code"].isNull()) - failedImagesObject.code = valueFailedImagesFailedImage["Code"].asString(); - auto imageFile1Node = value["ImageFile"]; - if(!imageFile1Node["Object"].isNull()) - failedImagesObject.imageFile1.object = imageFile1Node["Object"].asString(); - if(!imageFile1Node["Location"].isNull()) - failedImagesObject.imageFile1.location = imageFile1Node["Location"].asString(); - if(!imageFile1Node["Bucket"].isNull()) - failedImagesObject.imageFile1.bucket = imageFile1Node["Bucket"].asString(); - failedImages_.push_back(failedImagesObject); - } - -} - -std::vector RegisterMediaDetailPersonResult::getRegisteredPersonages()const -{ - return registeredPersonages_; -} - -std::vector RegisterMediaDetailPersonResult::getFailedImages()const -{ - return failedImages_; -} - diff --git a/mts/src/model/RegisterMediaDetailScenarioRequest.cc b/mts/src/model/RegisterMediaDetailScenarioRequest.cc deleted file mode 100644 index 5f9baf331..000000000 --- a/mts/src/model/RegisterMediaDetailScenarioRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::RegisterMediaDetailScenarioRequest; - -RegisterMediaDetailScenarioRequest::RegisterMediaDetailScenarioRequest() - : RpcServiceRequest("mts", "2014-06-18", "RegisterMediaDetailScenario") { - setMethod(HttpRequest::Method::Post); -} - -RegisterMediaDetailScenarioRequest::~RegisterMediaDetailScenarioRequest() {} - -long RegisterMediaDetailScenarioRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void RegisterMediaDetailScenarioRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string RegisterMediaDetailScenarioRequest::getDescription() const { - return description_; -} - -void RegisterMediaDetailScenarioRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); -} - -std::string RegisterMediaDetailScenarioRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void RegisterMediaDetailScenarioRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string RegisterMediaDetailScenarioRequest::getJobId() const { - return jobId_; -} - -void RegisterMediaDetailScenarioRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string RegisterMediaDetailScenarioRequest::getScenario() const { - return scenario_; -} - -void RegisterMediaDetailScenarioRequest::setScenario(const std::string &scenario) { - scenario_ = scenario; - setParameter(std::string("Scenario"), scenario); -} - -std::string RegisterMediaDetailScenarioRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void RegisterMediaDetailScenarioRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string RegisterMediaDetailScenarioRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void RegisterMediaDetailScenarioRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long RegisterMediaDetailScenarioRequest::getOwnerId() const { - return ownerId_; -} - -void RegisterMediaDetailScenarioRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/RegisterMediaDetailScenarioResult.cc b/mts/src/model/RegisterMediaDetailScenarioResult.cc deleted file mode 100644 index e730f0378..000000000 --- a/mts/src/model/RegisterMediaDetailScenarioResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -RegisterMediaDetailScenarioResult::RegisterMediaDetailScenarioResult() : - ServiceResult() -{} - -RegisterMediaDetailScenarioResult::RegisterMediaDetailScenarioResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RegisterMediaDetailScenarioResult::~RegisterMediaDetailScenarioResult() -{} - -void RegisterMediaDetailScenarioResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ScenarioId"].isNull()) - scenarioId_ = value["ScenarioId"].asString(); - -} - -std::string RegisterMediaDetailScenarioResult::getScenarioId()const -{ - return scenarioId_; -} - diff --git a/mts/src/model/ReportAnnotationJobResultRequest.cc b/mts/src/model/ReportAnnotationJobResultRequest.cc deleted file mode 100644 index e8850f252..000000000 --- a/mts/src/model/ReportAnnotationJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportAnnotationJobResultRequest; - -ReportAnnotationJobResultRequest::ReportAnnotationJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportAnnotationJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportAnnotationJobResultRequest::~ReportAnnotationJobResultRequest() {} - -long ReportAnnotationJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportAnnotationJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportAnnotationJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportAnnotationJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportAnnotationJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportAnnotationJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportAnnotationJobResultRequest::getDetails() const { - return details_; -} - -void ReportAnnotationJobResultRequest::setDetails(const std::string &details) { - details_ = details; - setParameter(std::string("Details"), details); -} - -std::string ReportAnnotationJobResultRequest::getAnnotation() const { - return annotation_; -} - -void ReportAnnotationJobResultRequest::setAnnotation(const std::string &annotation) { - annotation_ = annotation; - setParameter(std::string("Annotation"), annotation); -} - -std::string ReportAnnotationJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportAnnotationJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportAnnotationJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportAnnotationJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportAnnotationJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportAnnotationJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportAnnotationJobResultResult.cc b/mts/src/model/ReportAnnotationJobResultResult.cc deleted file mode 100644 index ef70b0dc7..000000000 --- a/mts/src/model/ReportAnnotationJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportAnnotationJobResultResult::ReportAnnotationJobResultResult() : - ServiceResult() -{} - -ReportAnnotationJobResultResult::ReportAnnotationJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportAnnotationJobResultResult::~ReportAnnotationJobResultResult() -{} - -void ReportAnnotationJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportAnnotationJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportCensorJobResultRequest.cc b/mts/src/model/ReportCensorJobResultRequest.cc deleted file mode 100644 index 5e773b64a..000000000 --- a/mts/src/model/ReportCensorJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportCensorJobResultRequest; - -ReportCensorJobResultRequest::ReportCensorJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportCensorJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportCensorJobResultRequest::~ReportCensorJobResultRequest() {} - -long ReportCensorJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportCensorJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportCensorJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportCensorJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportCensorJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportCensorJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportCensorJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportCensorJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportCensorJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportCensorJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string ReportCensorJobResultRequest::getLabel() const { - return label_; -} - -void ReportCensorJobResultRequest::setLabel(const std::string &label) { - label_ = label; - setParameter(std::string("Label"), label); -} - -long ReportCensorJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportCensorJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string ReportCensorJobResultRequest::getDetail() const { - return detail_; -} - -void ReportCensorJobResultRequest::setDetail(const std::string &detail) { - detail_ = detail; - setParameter(std::string("Detail"), detail); -} - diff --git a/mts/src/model/ReportCensorJobResultResult.cc b/mts/src/model/ReportCensorJobResultResult.cc deleted file mode 100644 index bb5939a00..000000000 --- a/mts/src/model/ReportCensorJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportCensorJobResultResult::ReportCensorJobResultResult() : - ServiceResult() -{} - -ReportCensorJobResultResult::ReportCensorJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportCensorJobResultResult::~ReportCensorJobResultResult() -{} - -void ReportCensorJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportCensorJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportCoverJobResultRequest.cc b/mts/src/model/ReportCoverJobResultRequest.cc deleted file mode 100644 index 8c586bb2f..000000000 --- a/mts/src/model/ReportCoverJobResultRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportCoverJobResultRequest; - -ReportCoverJobResultRequest::ReportCoverJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportCoverJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportCoverJobResultRequest::~ReportCoverJobResultRequest() {} - -long ReportCoverJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportCoverJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportCoverJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportCoverJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportCoverJobResultRequest::getResult() const { - return result_; -} - -void ReportCoverJobResultRequest::setResult(const std::string &result) { - result_ = result; - setParameter(std::string("Result"), result); -} - -std::string ReportCoverJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportCoverJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportCoverJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportCoverJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportCoverJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportCoverJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportCoverJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportCoverJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportCoverJobResultResult.cc b/mts/src/model/ReportCoverJobResultResult.cc deleted file mode 100644 index 0e4041148..000000000 --- a/mts/src/model/ReportCoverJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportCoverJobResultResult::ReportCoverJobResultResult() : - ServiceResult() -{} - -ReportCoverJobResultResult::ReportCoverJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportCoverJobResultResult::~ReportCoverJobResultResult() -{} - -void ReportCoverJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportCoverJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportFacerecogJobResultRequest.cc b/mts/src/model/ReportFacerecogJobResultRequest.cc deleted file mode 100644 index 83e173515..000000000 --- a/mts/src/model/ReportFacerecogJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportFacerecogJobResultRequest; - -ReportFacerecogJobResultRequest::ReportFacerecogJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportFacerecogJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportFacerecogJobResultRequest::~ReportFacerecogJobResultRequest() {} - -long ReportFacerecogJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportFacerecogJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportFacerecogJobResultRequest::getFacerecog() const { - return facerecog_; -} - -void ReportFacerecogJobResultRequest::setFacerecog(const std::string &facerecog) { - facerecog_ = facerecog; - setParameter(std::string("Facerecog"), facerecog); -} - -std::string ReportFacerecogJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportFacerecogJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportFacerecogJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportFacerecogJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportFacerecogJobResultRequest::getDetails() const { - return details_; -} - -void ReportFacerecogJobResultRequest::setDetails(const std::string &details) { - details_ = details; - setParameter(std::string("Details"), details); -} - -std::string ReportFacerecogJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportFacerecogJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportFacerecogJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportFacerecogJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportFacerecogJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportFacerecogJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportFacerecogJobResultResult.cc b/mts/src/model/ReportFacerecogJobResultResult.cc deleted file mode 100644 index 03cf72851..000000000 --- a/mts/src/model/ReportFacerecogJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportFacerecogJobResultResult::ReportFacerecogJobResultResult() : - ServiceResult() -{} - -ReportFacerecogJobResultResult::ReportFacerecogJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportFacerecogJobResultResult::~ReportFacerecogJobResultResult() -{} - -void ReportFacerecogJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportFacerecogJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportFpShotJobResultRequest.cc b/mts/src/model/ReportFpShotJobResultRequest.cc deleted file mode 100644 index c75119545..000000000 --- a/mts/src/model/ReportFpShotJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportFpShotJobResultRequest; - -ReportFpShotJobResultRequest::ReportFpShotJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportFpShotJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportFpShotJobResultRequest::~ReportFpShotJobResultRequest() {} - -long ReportFpShotJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportFpShotJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportFpShotJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportFpShotJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportFpShotJobResultRequest::getResult() const { - return result_; -} - -void ReportFpShotJobResultRequest::setResult(const std::string &result) { - result_ = result; - setParameter(std::string("Result"), result); -} - -std::string ReportFpShotJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportFpShotJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportFpShotJobResultRequest::getDetails() const { - return details_; -} - -void ReportFpShotJobResultRequest::setDetails(const std::string &details) { - details_ = details; - setParameter(std::string("Details"), details); -} - -std::string ReportFpShotJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportFpShotJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportFpShotJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportFpShotJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportFpShotJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportFpShotJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportFpShotJobResultResult.cc b/mts/src/model/ReportFpShotJobResultResult.cc deleted file mode 100644 index e6809f7d5..000000000 --- a/mts/src/model/ReportFpShotJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportFpShotJobResultResult::ReportFpShotJobResultResult() : - ServiceResult() -{} - -ReportFpShotJobResultResult::ReportFpShotJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportFpShotJobResultResult::~ReportFpShotJobResultResult() -{} - -void ReportFpShotJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportFpShotJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportMediaDetailJobResultRequest.cc b/mts/src/model/ReportMediaDetailJobResultRequest.cc deleted file mode 100644 index 09940f9be..000000000 --- a/mts/src/model/ReportMediaDetailJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportMediaDetailJobResultRequest; - -ReportMediaDetailJobResultRequest::ReportMediaDetailJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportMediaDetailJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportMediaDetailJobResultRequest::~ReportMediaDetailJobResultRequest() {} - -long ReportMediaDetailJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportMediaDetailJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportMediaDetailJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportMediaDetailJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportMediaDetailJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportMediaDetailJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportMediaDetailJobResultRequest::getTag() const { - return tag_; -} - -void ReportMediaDetailJobResultRequest::setTag(const std::string &tag) { - tag_ = tag; - setParameter(std::string("Tag"), tag); -} - -std::string ReportMediaDetailJobResultRequest::getResults() const { - return results_; -} - -void ReportMediaDetailJobResultRequest::setResults(const std::string &results) { - results_ = results; - setParameter(std::string("Results"), results); -} - -std::string ReportMediaDetailJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportMediaDetailJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportMediaDetailJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportMediaDetailJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportMediaDetailJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportMediaDetailJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportMediaDetailJobResultResult.cc b/mts/src/model/ReportMediaDetailJobResultResult.cc deleted file mode 100644 index e5bf0a584..000000000 --- a/mts/src/model/ReportMediaDetailJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportMediaDetailJobResultResult::ReportMediaDetailJobResultResult() : - ServiceResult() -{} - -ReportMediaDetailJobResultResult::ReportMediaDetailJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportMediaDetailJobResultResult::~ReportMediaDetailJobResultResult() -{} - -void ReportMediaDetailJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportMediaDetailJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportPornJobResultRequest.cc b/mts/src/model/ReportPornJobResultRequest.cc deleted file mode 100644 index a3c9100dd..000000000 --- a/mts/src/model/ReportPornJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportPornJobResultRequest; - -ReportPornJobResultRequest::ReportPornJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportPornJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportPornJobResultRequest::~ReportPornJobResultRequest() {} - -long ReportPornJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportPornJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportPornJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportPornJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportPornJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportPornJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportPornJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportPornJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportPornJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportPornJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string ReportPornJobResultRequest::getLabel() const { - return label_; -} - -void ReportPornJobResultRequest::setLabel(const std::string &label) { - label_ = label; - setParameter(std::string("Label"), label); -} - -long ReportPornJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportPornJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string ReportPornJobResultRequest::getDetail() const { - return detail_; -} - -void ReportPornJobResultRequest::setDetail(const std::string &detail) { - detail_ = detail; - setParameter(std::string("Detail"), detail); -} - diff --git a/mts/src/model/ReportPornJobResultResult.cc b/mts/src/model/ReportPornJobResultResult.cc deleted file mode 100644 index 129b401a2..000000000 --- a/mts/src/model/ReportPornJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportPornJobResultResult::ReportPornJobResultResult() : - ServiceResult() -{} - -ReportPornJobResultResult::ReportPornJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportPornJobResultResult::~ReportPornJobResultResult() -{} - -void ReportPornJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportPornJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportTagJobResultRequest.cc b/mts/src/model/ReportTagJobResultRequest.cc deleted file mode 100644 index 773d529e2..000000000 --- a/mts/src/model/ReportTagJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportTagJobResultRequest; - -ReportTagJobResultRequest::ReportTagJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportTagJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportTagJobResultRequest::~ReportTagJobResultRequest() {} - -long ReportTagJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportTagJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportTagJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportTagJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportTagJobResultRequest::getResult() const { - return result_; -} - -void ReportTagJobResultRequest::setResult(const std::string &result) { - result_ = result; - setParameter(std::string("Result"), result); -} - -std::string ReportTagJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportTagJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportTagJobResultRequest::getTag() const { - return tag_; -} - -void ReportTagJobResultRequest::setTag(const std::string &tag) { - tag_ = tag; - setParameter(std::string("Tag"), tag); -} - -std::string ReportTagJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportTagJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportTagJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportTagJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportTagJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportTagJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportTagJobResultResult.cc b/mts/src/model/ReportTagJobResultResult.cc deleted file mode 100644 index a094e9c5a..000000000 --- a/mts/src/model/ReportTagJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportTagJobResultResult::ReportTagJobResultResult() : - ServiceResult() -{} - -ReportTagJobResultResult::ReportTagJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportTagJobResultResult::~ReportTagJobResultResult() -{} - -void ReportTagJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportTagJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportTerrorismJobResultRequest.cc b/mts/src/model/ReportTerrorismJobResultRequest.cc deleted file mode 100644 index 63b985ac8..000000000 --- a/mts/src/model/ReportTerrorismJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportTerrorismJobResultRequest; - -ReportTerrorismJobResultRequest::ReportTerrorismJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportTerrorismJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportTerrorismJobResultRequest::~ReportTerrorismJobResultRequest() {} - -long ReportTerrorismJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportTerrorismJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportTerrorismJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportTerrorismJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportTerrorismJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportTerrorismJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportTerrorismJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportTerrorismJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportTerrorismJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportTerrorismJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string ReportTerrorismJobResultRequest::getLabel() const { - return label_; -} - -void ReportTerrorismJobResultRequest::setLabel(const std::string &label) { - label_ = label; - setParameter(std::string("Label"), label); -} - -long ReportTerrorismJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportTerrorismJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string ReportTerrorismJobResultRequest::getDetail() const { - return detail_; -} - -void ReportTerrorismJobResultRequest::setDetail(const std::string &detail) { - detail_ = detail; - setParameter(std::string("Detail"), detail); -} - diff --git a/mts/src/model/ReportTerrorismJobResultResult.cc b/mts/src/model/ReportTerrorismJobResultResult.cc deleted file mode 100644 index ea7bc63ad..000000000 --- a/mts/src/model/ReportTerrorismJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportTerrorismJobResultResult::ReportTerrorismJobResultResult() : - ServiceResult() -{} - -ReportTerrorismJobResultResult::ReportTerrorismJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportTerrorismJobResultResult::~ReportTerrorismJobResultResult() -{} - -void ReportTerrorismJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportTerrorismJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/ReportVideoSplitJobResultRequest.cc b/mts/src/model/ReportVideoSplitJobResultRequest.cc deleted file mode 100644 index 06e5e212e..000000000 --- a/mts/src/model/ReportVideoSplitJobResultRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::ReportVideoSplitJobResultRequest; - -ReportVideoSplitJobResultRequest::ReportVideoSplitJobResultRequest() - : RpcServiceRequest("mts", "2014-06-18", "ReportVideoSplitJobResult") { - setMethod(HttpRequest::Method::Post); -} - -ReportVideoSplitJobResultRequest::~ReportVideoSplitJobResultRequest() {} - -long ReportVideoSplitJobResultRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ReportVideoSplitJobResultRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ReportVideoSplitJobResultRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ReportVideoSplitJobResultRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ReportVideoSplitJobResultRequest::getResult() const { - return result_; -} - -void ReportVideoSplitJobResultRequest::setResult(const std::string &result) { - result_ = result; - setParameter(std::string("Result"), result); -} - -std::string ReportVideoSplitJobResultRequest::getJobId() const { - return jobId_; -} - -void ReportVideoSplitJobResultRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - -std::string ReportVideoSplitJobResultRequest::getDetails() const { - return details_; -} - -void ReportVideoSplitJobResultRequest::setDetails(const std::string &details) { - details_ = details; - setParameter(std::string("Details"), details); -} - -std::string ReportVideoSplitJobResultRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ReportVideoSplitJobResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ReportVideoSplitJobResultRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void ReportVideoSplitJobResultRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long ReportVideoSplitJobResultRequest::getOwnerId() const { - return ownerId_; -} - -void ReportVideoSplitJobResultRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/ReportVideoSplitJobResultResult.cc b/mts/src/model/ReportVideoSplitJobResultResult.cc deleted file mode 100644 index 6f133d3a5..000000000 --- a/mts/src/model/ReportVideoSplitJobResultResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -ReportVideoSplitJobResultResult::ReportVideoSplitJobResultResult() : - ServiceResult() -{} - -ReportVideoSplitJobResultResult::ReportVideoSplitJobResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReportVideoSplitJobResultResult::~ReportVideoSplitJobResultResult() -{} - -void ReportVideoSplitJobResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string ReportVideoSplitJobResultResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SearchMediaRequest.cc b/mts/src/model/SearchMediaRequest.cc deleted file mode 100644 index f0b36e3ad..000000000 --- a/mts/src/model/SearchMediaRequest.cc +++ /dev/null @@ -1,162 +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 - -using AlibabaCloud::Mts::Model::SearchMediaRequest; - -SearchMediaRequest::SearchMediaRequest() - : RpcServiceRequest("mts", "2014-06-18", "SearchMedia") { - setMethod(HttpRequest::Method::Post); -} - -SearchMediaRequest::~SearchMediaRequest() {} - -long SearchMediaRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SearchMediaRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SearchMediaRequest::getDescription() const { - return description_; -} - -void SearchMediaRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); -} - -std::string SearchMediaRequest::getTitle() const { - return title_; -} - -void SearchMediaRequest::setTitle(const std::string &title) { - title_ = title; - setParameter(std::string("Title"), title); -} - -long SearchMediaRequest::getPageNumber() const { - return pageNumber_; -} - -void SearchMediaRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string SearchMediaRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SearchMediaRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SearchMediaRequest::getCateId() const { - return cateId_; -} - -void SearchMediaRequest::setCateId(const std::string &cateId) { - cateId_ = cateId; - setParameter(std::string("CateId"), cateId); -} - -long SearchMediaRequest::getPageSize() const { - return pageSize_; -} - -void SearchMediaRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -std::string SearchMediaRequest::getFrom() const { - return from_; -} - -void SearchMediaRequest::setFrom(const std::string &from) { - from_ = from; - setParameter(std::string("From"), from); -} - -std::string SearchMediaRequest::getTag() const { - return tag_; -} - -void SearchMediaRequest::setTag(const std::string &tag) { - tag_ = tag; - setParameter(std::string("Tag"), tag); -} - -std::string SearchMediaRequest::getKeyWord() const { - return keyWord_; -} - -void SearchMediaRequest::setKeyWord(const std::string &keyWord) { - keyWord_ = keyWord; - setParameter(std::string("KeyWord"), keyWord); -} - -std::string SearchMediaRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SearchMediaRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SearchMediaRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SearchMediaRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SearchMediaRequest::getOwnerId() const { - return ownerId_; -} - -void SearchMediaRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SearchMediaRequest::getSortBy() const { - return sortBy_; -} - -void SearchMediaRequest::setSortBy(const std::string &sortBy) { - sortBy_ = sortBy; - setParameter(std::string("SortBy"), sortBy); -} - -std::string SearchMediaRequest::getTo() const { - return to_; -} - -void SearchMediaRequest::setTo(const std::string &to) { - to_ = to; - setParameter(std::string("To"), to); -} - diff --git a/mts/src/model/SearchMediaResult.cc b/mts/src/model/SearchMediaResult.cc deleted file mode 100644 index fb48e2b18..000000000 --- a/mts/src/model/SearchMediaResult.cc +++ /dev/null @@ -1,115 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SearchMediaResult::SearchMediaResult() : - ServiceResult() -{} - -SearchMediaResult::SearchMediaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SearchMediaResult::~SearchMediaResult() -{} - -void SearchMediaResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allMediaListNode = value["MediaList"]["Media"]; - for (auto valueMediaListMedia : allMediaListNode) - { - Media mediaListObject; - if(!valueMediaListMedia["CreationTime"].isNull()) - mediaListObject.creationTime = valueMediaListMedia["CreationTime"].asString(); - if(!valueMediaListMedia["CateId"].isNull()) - mediaListObject.cateId = std::stol(valueMediaListMedia["CateId"].asString()); - if(!valueMediaListMedia["Height"].isNull()) - mediaListObject.height = valueMediaListMedia["Height"].asString(); - if(!valueMediaListMedia["Bitrate"].isNull()) - mediaListObject.bitrate = valueMediaListMedia["Bitrate"].asString(); - if(!valueMediaListMedia["MediaId"].isNull()) - mediaListObject.mediaId = valueMediaListMedia["MediaId"].asString(); - if(!valueMediaListMedia["PublishState"].isNull()) - mediaListObject.publishState = valueMediaListMedia["PublishState"].asString(); - if(!valueMediaListMedia["Description"].isNull()) - mediaListObject.description = valueMediaListMedia["Description"].asString(); - if(!valueMediaListMedia["Width"].isNull()) - mediaListObject.width = valueMediaListMedia["Width"].asString(); - if(!valueMediaListMedia["Size"].isNull()) - mediaListObject.size = valueMediaListMedia["Size"].asString(); - if(!valueMediaListMedia["CoverURL"].isNull()) - mediaListObject.coverURL = valueMediaListMedia["CoverURL"].asString(); - if(!valueMediaListMedia["Duration"].isNull()) - mediaListObject.duration = valueMediaListMedia["Duration"].asString(); - if(!valueMediaListMedia["Fps"].isNull()) - mediaListObject.fps = valueMediaListMedia["Fps"].asString(); - if(!valueMediaListMedia["Title"].isNull()) - mediaListObject.title = valueMediaListMedia["Title"].asString(); - if(!valueMediaListMedia["Format"].isNull()) - mediaListObject.format = valueMediaListMedia["Format"].asString(); - auto fileNode = value["File"]; - if(!fileNode["State"].isNull()) - mediaListObject.file.state = fileNode["State"].asString(); - if(!fileNode["URL"].isNull()) - mediaListObject.file.uRL = fileNode["URL"].asString(); - auto allTags = value["Tags"]["Tag"]; - for (auto value : allTags) - mediaListObject.tags.push_back(value.asString()); - auto allRunIdList = value["RunIdList"]["RunId"]; - for (auto value : allRunIdList) - mediaListObject.runIdList.push_back(value.asString()); - mediaList_.push_back(mediaListObject); - } - if(!value["TotalNum"].isNull()) - totalNum_ = std::stol(value["TotalNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - -} - -std::vector SearchMediaResult::getMediaList()const -{ - return mediaList_; -} - -long SearchMediaResult::getTotalNum()const -{ - return totalNum_; -} - -long SearchMediaResult::getPageSize()const -{ - return pageSize_; -} - -long SearchMediaResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/mts/src/model/SearchPipelineResult.cc b/mts/src/model/SearchPipelineResult.cc index a73ad0370..c97fd9365 100644 --- a/mts/src/model/SearchPipelineResult.cc +++ b/mts/src/model/SearchPipelineResult.cc @@ -57,6 +57,8 @@ void SearchPipelineResult::parse(const std::string &payload) pipelineListObject.id = valuePipelineListPipeline["Id"].asString(); if(!valuePipelineListPipeline["QuotaAllocate"].isNull()) pipelineListObject.quotaAllocate = std::stol(valuePipelineListPipeline["QuotaAllocate"].asString()); + if(!valuePipelineListPipeline["CreationTime"].isNull()) + pipelineListObject.creationTime = valuePipelineListPipeline["CreationTime"].asString(); auto notifyConfigNode = value["NotifyConfig"]; if(!notifyConfigNode["MqTopic"].isNull()) pipelineListObject.notifyConfig.mqTopic = notifyConfigNode["MqTopic"].asString(); @@ -66,6 +68,13 @@ void SearchPipelineResult::parse(const std::string &payload) pipelineListObject.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString(); if(!notifyConfigNode["Topic"].isNull()) pipelineListObject.notifyConfig.topic = notifyConfigNode["Topic"].asString(); + auto extendConfigNode = value["ExtendConfig"]; + if(!extendConfigNode["IsBoostNew"].isNull()) + pipelineListObject.extendConfig.isBoostNew = extendConfigNode["IsBoostNew"].asString() == "true"; + if(!extendConfigNode["MaxMultiSpeed"].isNull()) + pipelineListObject.extendConfig.maxMultiSpeed = std::stoi(extendConfigNode["MaxMultiSpeed"].asString()); + if(!extendConfigNode["MultiSpeedDowngradePolicy"].isNull()) + pipelineListObject.extendConfig.multiSpeedDowngradePolicy = extendConfigNode["MultiSpeedDowngradePolicy"].asString(); pipelineList_.push_back(pipelineListObject); } if(!value["TotalCount"].isNull()) diff --git a/mts/src/model/SearchTemplateRequest.cc b/mts/src/model/SearchTemplateRequest.cc index aa2ff807a..1cb170e03 100644 --- a/mts/src/model/SearchTemplateRequest.cc +++ b/mts/src/model/SearchTemplateRequest.cc @@ -34,6 +34,15 @@ void SearchTemplateRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +bool SearchTemplateRequest::getForFrontend() const { + return forFrontend_; +} + +void SearchTemplateRequest::setForFrontend(bool forFrontend) { + forFrontend_ = forFrontend; + setParameter(std::string("ForFrontend"), forFrontend ? "true" : "false"); +} + long SearchTemplateRequest::getPageNumber() const { return pageNumber_; } @@ -70,6 +79,15 @@ void SearchTemplateRequest::setState(const std::string &state) { setParameter(std::string("State"), state); } +std::string SearchTemplateRequest::getNamePrefix() const { + return namePrefix_; +} + +void SearchTemplateRequest::setNamePrefix(const std::string &namePrefix) { + namePrefix_ = namePrefix; + setParameter(std::string("NamePrefix"), namePrefix); +} + std::string SearchTemplateRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -97,3 +115,12 @@ void SearchTemplateRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } +std::string SearchTemplateRequest::getTemplateId() const { + return templateId_; +} + +void SearchTemplateRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); +} + diff --git a/mts/src/model/SearchTemplateResult.cc b/mts/src/model/SearchTemplateResult.cc index d8f0daa77..c749ff6c5 100644 --- a/mts/src/model/SearchTemplateResult.cc +++ b/mts/src/model/SearchTemplateResult.cc @@ -49,6 +49,8 @@ void SearchTemplateResult::parse(const std::string &payload) templateListObject.name = valueTemplateListTemplate["Name"].asString(); if(!valueTemplateListTemplate["Id"].isNull()) templateListObject.id = valueTemplateListTemplate["Id"].asString(); + if(!valueTemplateListTemplate["CreationTime"].isNull()) + templateListObject.creationTime = valueTemplateListTemplate["CreationTime"].asString(); auto videoNode = value["Video"]; if(!videoNode["Bufsize"].isNull()) templateListObject.video.bufsize = videoNode["Bufsize"].asString(); @@ -90,11 +92,22 @@ void SearchTemplateResult::parse(const std::string &payload) templateListObject.video.preset = videoNode["Preset"].asString(); if(!videoNode["ScanMode"].isNull()) templateListObject.video.scanMode = videoNode["ScanMode"].asString(); + if(!videoNode["ResoPriority"].isNull()) + templateListObject.video.resoPriority = videoNode["ResoPriority"].asString(); + if(!videoNode["Hdr2sdr"].isNull()) + templateListObject.video.hdr2sdr = videoNode["Hdr2sdr"].asString(); auto bitrateBndNode = videoNode["BitrateBnd"]; if(!bitrateBndNode["Max"].isNull()) templateListObject.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); if(!bitrateBndNode["Min"].isNull()) templateListObject.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); + auto narrowBandNode = videoNode["NarrowBand"]; + if(!narrowBandNode["Abrmax"].isNull()) + templateListObject.video.narrowBand.abrmax = std::stof(narrowBandNode["Abrmax"].asString()); + if(!narrowBandNode["MaxAbrRatio"].isNull()) + templateListObject.video.narrowBand.maxAbrRatio = std::stof(narrowBandNode["MaxAbrRatio"].asString()); + if(!narrowBandNode["Version"].isNull()) + templateListObject.video.narrowBand.version = narrowBandNode["Version"].asString(); auto transConfigNode = value["TransConfig"]; if(!transConfigNode["IsCheckAudioBitrate"].isNull()) templateListObject.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); @@ -143,6 +156,17 @@ void SearchTemplateResult::parse(const std::string &payload) auto containerNode = value["Container"]; if(!containerNode["Format"].isNull()) templateListObject.container.format = containerNode["Format"].asString(); + auto frontendHintNode = value["FrontendHint"]; + if(!frontendHintNode["TranscodeType"].isNull()) + templateListObject.frontendHint.transcodeType = frontendHintNode["TranscodeType"].asString(); + if(!frontendHintNode["BitrateControlType"].isNull()) + templateListObject.frontendHint.bitrateControlType = frontendHintNode["BitrateControlType"].asString(); + if(!frontendHintNode["Source"].isNull()) + templateListObject.frontendHint.source = frontendHintNode["Source"].asString(); + if(!frontendHintNode["IsDynamic"].isNull()) + templateListObject.frontendHint.isDynamic = frontendHintNode["IsDynamic"].asString() == "true"; + if(!frontendHintNode["HasOldHdr2Sdr"].isNull()) + templateListObject.frontendHint.hasOldHdr2Sdr = frontendHintNode["HasOldHdr2Sdr"].asString() == "true"; templateList_.push_back(templateListObject); } if(!value["TotalCount"].isNull()) diff --git a/mts/src/model/SetAuthConfigRequest.cc b/mts/src/model/SetAuthConfigRequest.cc deleted file mode 100644 index 66bf09a15..000000000 --- a/mts/src/model/SetAuthConfigRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::SetAuthConfigRequest; - -SetAuthConfigRequest::SetAuthConfigRequest() - : RpcServiceRequest("mts", "2014-06-18", "SetAuthConfig") { - setMethod(HttpRequest::Method::Post); -} - -SetAuthConfigRequest::~SetAuthConfigRequest() {} - -std::string SetAuthConfigRequest::getKey1() const { - return key1_; -} - -void SetAuthConfigRequest::setKey1(const std::string &key1) { - key1_ = key1; - setParameter(std::string("Key1"), key1); -} - -std::string SetAuthConfigRequest::getKey2() const { - return key2_; -} - -void SetAuthConfigRequest::setKey2(const std::string &key2) { - key2_ = key2; - setParameter(std::string("Key2"), key2); -} - -std::string SetAuthConfigRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SetAuthConfigRequest::setResourceOwnerId(const std::string &resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), resourceOwnerId); -} - -std::string SetAuthConfigRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SetAuthConfigRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SetAuthConfigRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SetAuthConfigRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SetAuthConfigRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SetAuthConfigRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string SetAuthConfigRequest::getOwnerId() const { - return ownerId_; -} - -void SetAuthConfigRequest::setOwnerId(const std::string &ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), ownerId); -} - diff --git a/mts/src/model/SetAuthConfigResult.cc b/mts/src/model/SetAuthConfigResult.cc deleted file mode 100644 index 5354ae0d9..000000000 --- a/mts/src/model/SetAuthConfigResult.cc +++ /dev/null @@ -1,58 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SetAuthConfigResult::SetAuthConfigResult() : - ServiceResult() -{} - -SetAuthConfigResult::SetAuthConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetAuthConfigResult::~SetAuthConfigResult() -{} - -void SetAuthConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Key2"].isNull()) - key2_ = value["Key2"].asString(); - if(!value["Key1"].isNull()) - key1_ = value["Key1"].asString(); - -} - -std::string SetAuthConfigResult::getKey2()const -{ - return key2_; -} - -std::string SetAuthConfigResult::getKey1()const -{ - return key1_; -} - diff --git a/mts/src/model/StopIProductionJobRequest.cc b/mts/src/model/StopIProductionJobRequest.cc deleted file mode 100644 index 18e34a701..000000000 --- a/mts/src/model/StopIProductionJobRequest.cc +++ /dev/null @@ -1,81 +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 - -using AlibabaCloud::Mts::Model::StopIProductionJobRequest; - -StopIProductionJobRequest::StopIProductionJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "StopIProductionJob") { - setMethod(HttpRequest::Method::Post); -} - -StopIProductionJobRequest::~StopIProductionJobRequest() {} - -long StopIProductionJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void StopIProductionJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string StopIProductionJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void StopIProductionJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string StopIProductionJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void StopIProductionJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long StopIProductionJobRequest::getOwnerId() const { - return ownerId_; -} - -void StopIProductionJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string StopIProductionJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void StopIProductionJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string StopIProductionJobRequest::getJobId() const { - return jobId_; -} - -void StopIProductionJobRequest::setJobId(const std::string &jobId) { - jobId_ = jobId; - setParameter(std::string("JobId"), jobId); -} - diff --git a/mts/src/model/StopIProductionJobResult.cc b/mts/src/model/StopIProductionJobResult.cc deleted file mode 100644 index 4dfb3d1e4..000000000 --- a/mts/src/model/StopIProductionJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -StopIProductionJobResult::StopIProductionJobResult() : - ServiceResult() -{} - -StopIProductionJobResult::StopIProductionJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopIProductionJobResult::~StopIProductionJobResult() -{} - -void StopIProductionJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string StopIProductionJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitAnnotationJobRequest.cc b/mts/src/model/SubmitAnnotationJobRequest.cc deleted file mode 100644 index bd13cc58f..000000000 --- a/mts/src/model/SubmitAnnotationJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitAnnotationJobRequest; - -SubmitAnnotationJobRequest::SubmitAnnotationJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitAnnotationJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitAnnotationJobRequest::~SubmitAnnotationJobRequest() {} - -long SubmitAnnotationJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitAnnotationJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitAnnotationJobRequest::getAnnotationConfig() const { - return annotationConfig_; -} - -void SubmitAnnotationJobRequest::setAnnotationConfig(const std::string &annotationConfig) { - annotationConfig_ = annotationConfig; - setParameter(std::string("AnnotationConfig"), annotationConfig); -} - -std::string SubmitAnnotationJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitAnnotationJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitAnnotationJobRequest::getUserData() const { - return userData_; -} - -void SubmitAnnotationJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitAnnotationJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitAnnotationJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitAnnotationJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitAnnotationJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitAnnotationJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitAnnotationJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitAnnotationJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitAnnotationJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitAnnotationJobRequest::getInput() const { - return input_; -} - -void SubmitAnnotationJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitAnnotationJobResult.cc b/mts/src/model/SubmitAnnotationJobResult.cc deleted file mode 100644 index ad53d5946..000000000 --- a/mts/src/model/SubmitAnnotationJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitAnnotationJobResult::SubmitAnnotationJobResult() : - ServiceResult() -{} - -SubmitAnnotationJobResult::SubmitAnnotationJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitAnnotationJobResult::~SubmitAnnotationJobResult() -{} - -void SubmitAnnotationJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitAnnotationJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitAsrJobRequest.cc b/mts/src/model/SubmitAsrJobRequest.cc deleted file mode 100644 index 551ed37d0..000000000 --- a/mts/src/model/SubmitAsrJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitAsrJobRequest; - -SubmitAsrJobRequest::SubmitAsrJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitAsrJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitAsrJobRequest::~SubmitAsrJobRequest() {} - -long SubmitAsrJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitAsrJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitAsrJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitAsrJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitAsrJobRequest::getUserData() const { - return userData_; -} - -void SubmitAsrJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitAsrJobRequest::getAsrConfig() const { - return asrConfig_; -} - -void SubmitAsrJobRequest::setAsrConfig(const std::string &asrConfig) { - asrConfig_ = asrConfig; - setParameter(std::string("AsrConfig"), asrConfig); -} - -std::string SubmitAsrJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitAsrJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitAsrJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitAsrJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitAsrJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitAsrJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitAsrJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitAsrJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitAsrJobRequest::getInput() const { - return input_; -} - -void SubmitAsrJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitAsrJobResult.cc b/mts/src/model/SubmitAsrJobResult.cc deleted file mode 100644 index 262cd4bf5..000000000 --- a/mts/src/model/SubmitAsrJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitAsrJobResult::SubmitAsrJobResult() : - ServiceResult() -{} - -SubmitAsrJobResult::SubmitAsrJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitAsrJobResult::~SubmitAsrJobResult() -{} - -void SubmitAsrJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitAsrJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitBeautifyJobsRequest.cc b/mts/src/model/SubmitBeautifyJobsRequest.cc deleted file mode 100644 index 9424ec4f5..000000000 --- a/mts/src/model/SubmitBeautifyJobsRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitBeautifyJobsRequest; - -SubmitBeautifyJobsRequest::SubmitBeautifyJobsRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitBeautifyJobs") { - setMethod(HttpRequest::Method::Post); -} - -SubmitBeautifyJobsRequest::~SubmitBeautifyJobsRequest() {} - -long SubmitBeautifyJobsRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitBeautifyJobsRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitBeautifyJobsRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitBeautifyJobsRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitBeautifyJobsRequest::getBeautifyConfig() const { - return beautifyConfig_; -} - -void SubmitBeautifyJobsRequest::setBeautifyConfig(const std::string &beautifyConfig) { - beautifyConfig_ = beautifyConfig; - setParameter(std::string("BeautifyConfig"), beautifyConfig); -} - -std::string SubmitBeautifyJobsRequest::getUserData() const { - return userData_; -} - -void SubmitBeautifyJobsRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitBeautifyJobsRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitBeautifyJobsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitBeautifyJobsRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitBeautifyJobsRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitBeautifyJobsRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitBeautifyJobsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitBeautifyJobsRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitBeautifyJobsRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -bool SubmitBeautifyJobsRequest::getAsync() const { - return async_; -} - -void SubmitBeautifyJobsRequest::setAsync(bool async) { - async_ = async; - setParameter(std::string("Async"), async ? "true" : "false"); -} - diff --git a/mts/src/model/SubmitBeautifyJobsResult.cc b/mts/src/model/SubmitBeautifyJobsResult.cc deleted file mode 100644 index 3a2feadbe..000000000 --- a/mts/src/model/SubmitBeautifyJobsResult.cc +++ /dev/null @@ -1,95 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitBeautifyJobsResult::SubmitBeautifyJobsResult() : - ServiceResult() -{} - -SubmitBeautifyJobsResult::SubmitBeautifyJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitBeautifyJobsResult::~SubmitBeautifyJobsResult() -{} - -void SubmitBeautifyJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobListNode = value["JobList"]["Job"]; - for (auto valueJobListJob : allJobListNode) - { - Job jobListObject; - if(!valueJobListJob["CreationTime"].isNull()) - jobListObject.creationTime = valueJobListJob["CreationTime"].asString(); - if(!valueJobListJob["State"].isNull()) - jobListObject.state = valueJobListJob["State"].asString(); - if(!valueJobListJob["UserData"].isNull()) - jobListObject.userData = valueJobListJob["UserData"].asString(); - if(!valueJobListJob["Code"].isNull()) - jobListObject.code = valueJobListJob["Code"].asString(); - if(!valueJobListJob["Message"].isNull()) - jobListObject.message = valueJobListJob["Message"].asString(); - if(!valueJobListJob["PipelineId"].isNull()) - jobListObject.pipelineId = valueJobListJob["PipelineId"].asString(); - if(!valueJobListJob["Id"].isNull()) - jobListObject.id = valueJobListJob["Id"].asString(); - auto beautifyConfigNode = value["BeautifyConfig"]; - auto outputFileNode = beautifyConfigNode["OutputFile"]; - if(!outputFileNode["RoleArn"].isNull()) - jobListObject.beautifyConfig.outputFile.roleArn = outputFileNode["RoleArn"].asString(); - if(!outputFileNode["Object"].isNull()) - jobListObject.beautifyConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobListObject.beautifyConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobListObject.beautifyConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["RoleArn"].isNull()) - jobListObject.input.roleArn = inputNode["RoleArn"].asString(); - if(!inputNode["Object"].isNull()) - jobListObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - jobListObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - jobListObject.input.bucket = inputNode["Bucket"].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); - } - -} - -std::vector SubmitBeautifyJobsResult::getJobList()const -{ - return jobList_; -} - diff --git a/mts/src/model/SubmitComplexJobRequest.cc b/mts/src/model/SubmitComplexJobRequest.cc deleted file mode 100644 index 956b69b92..000000000 --- a/mts/src/model/SubmitComplexJobRequest.cc +++ /dev/null @@ -1,135 +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 - -using AlibabaCloud::Mts::Model::SubmitComplexJobRequest; - -SubmitComplexJobRequest::SubmitComplexJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitComplexJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitComplexJobRequest::~SubmitComplexJobRequest() {} - -long SubmitComplexJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitComplexJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitComplexJobRequest::getTranscodeOutput() const { - return transcodeOutput_; -} - -void SubmitComplexJobRequest::setTranscodeOutput(const std::string &transcodeOutput) { - transcodeOutput_ = transcodeOutput; - setParameter(std::string("TranscodeOutput"), transcodeOutput); -} - -std::string SubmitComplexJobRequest::getInputs() const { - return inputs_; -} - -void SubmitComplexJobRequest::setInputs(const std::string &inputs) { - inputs_ = inputs; - setParameter(std::string("Inputs"), inputs); -} - -std::string SubmitComplexJobRequest::getOutputLocation() const { - return outputLocation_; -} - -void SubmitComplexJobRequest::setOutputLocation(const std::string &outputLocation) { - outputLocation_ = outputLocation; - setParameter(std::string("OutputLocation"), outputLocation); -} - -std::string SubmitComplexJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitComplexJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitComplexJobRequest::getUserData() const { - return userData_; -} - -void SubmitComplexJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitComplexJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitComplexJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitComplexJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitComplexJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitComplexJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitComplexJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitComplexJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitComplexJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitComplexJobRequest::getOutputBucket() const { - return outputBucket_; -} - -void SubmitComplexJobRequest::setOutputBucket(const std::string &outputBucket) { - outputBucket_ = outputBucket; - setParameter(std::string("OutputBucket"), outputBucket); -} - -std::string SubmitComplexJobRequest::getComplexConfigs() const { - return complexConfigs_; -} - -void SubmitComplexJobRequest::setComplexConfigs(const std::string &complexConfigs) { - complexConfigs_ = complexConfigs; - setParameter(std::string("ComplexConfigs"), complexConfigs); -} - diff --git a/mts/src/model/SubmitComplexJobResult.cc b/mts/src/model/SubmitComplexJobResult.cc deleted file mode 100644 index 8ec06462a..000000000 --- a/mts/src/model/SubmitComplexJobResult.cc +++ /dev/null @@ -1,560 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitComplexJobResult::SubmitComplexJobResult() : - ServiceResult() -{} - -SubmitComplexJobResult::SubmitComplexJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitComplexJobResult::~SubmitComplexJobResult() -{} - -void SubmitComplexJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto complexJobNode = value["ComplexJob"]; - if(!complexJobNode["CreationTime"].isNull()) - complexJob_.creationTime = complexJobNode["CreationTime"].asString(); - if(!complexJobNode["Percent"].isNull()) - complexJob_.percent = std::stol(complexJobNode["Percent"].asString()); - if(!complexJobNode["FinishTime"].isNull()) - complexJob_.finishTime = complexJobNode["FinishTime"].asString(); - if(!complexJobNode["State"].isNull()) - complexJob_.state = complexJobNode["State"].asString(); - if(!complexJobNode["Message"].isNull()) - complexJob_.message = complexJobNode["Message"].asString(); - if(!complexJobNode["JobId"].isNull()) - complexJob_.jobId = complexJobNode["JobId"].asString(); - if(!complexJobNode["Code"].isNull()) - complexJob_.code = complexJobNode["Code"].asString(); - if(!complexJobNode["PipelineId"].isNull()) - complexJob_.pipelineId = complexJobNode["PipelineId"].asString(); - auto allComplexEditingConfigsNode = complexJobNode["ComplexEditingConfigs"]["ComplexEditingConfigsItem"]; - for (auto complexJobNodeComplexEditingConfigsComplexEditingConfigsItem : allComplexEditingConfigsNode) - { - ComplexJob::ComplexEditingConfigsItem complexEditingConfigsItemObject; - auto editingNode = value["Editing"]; - auto allClipListNode = editingNode["ClipList"]["Clip"]; - for (auto editingNodeClipListClip : allClipListNode) - { - ComplexJob::ComplexEditingConfigsItem::Editing::Clip clipObject; - if(!editingNodeClipListClip["Type"].isNull()) - clipObject.type = editingNodeClipListClip["Type"].asString(); - if(!editingNodeClipListClip["SourceID"].isNull()) - clipObject.sourceID = editingNodeClipListClip["SourceID"].asString(); - if(!editingNodeClipListClip["SourceType"].isNull()) - clipObject.sourceType = editingNodeClipListClip["SourceType"].asString(); - if(!editingNodeClipListClip["SourceStrmMap"].isNull()) - clipObject.sourceStrmMap = editingNodeClipListClip["SourceStrmMap"].asString(); - if(!editingNodeClipListClip["Out"].isNull()) - clipObject.out = editingNodeClipListClip["Out"].asString(); - if(!editingNodeClipListClip["In"].isNull()) - clipObject.in = editingNodeClipListClip["In"].asString(); - if(!editingNodeClipListClip["Id"].isNull()) - clipObject.id = editingNodeClipListClip["Id"].asString(); - auto allEffectsNode = editingNodeClipListClip["Effects"]["Effect"]; - for (auto editingNodeClipListClipEffectsEffect : allEffectsNode) - { - ComplexJob::ComplexEditingConfigsItem::Editing::Clip::Effect effectsObject; - if(!editingNodeClipListClipEffectsEffect["Effect"].isNull()) - effectsObject.effect = editingNodeClipListClipEffectsEffect["Effect"].asString(); - if(!editingNodeClipListClipEffectsEffect["EffectConfig"].isNull()) - effectsObject.effectConfig = editingNodeClipListClipEffectsEffect["EffectConfig"].asString(); - clipObject.effects.push_back(effectsObject); - } - complexEditingConfigsItemObject.editing.clipList.push_back(clipObject); - } - auto timelineNode = editingNode["Timeline"]; - auto allTrackListNode = timelineNode["TrackList"]["Track"]; - for (auto timelineNodeTrackListTrack : allTrackListNode) - { - ComplexJob::ComplexEditingConfigsItem::Editing::Timeline::Track trackObject; - if(!timelineNodeTrackListTrack["Type"].isNull()) - trackObject.type = timelineNodeTrackListTrack["Type"].asString(); - if(!timelineNodeTrackListTrack["Order"].isNull()) - trackObject.order = timelineNodeTrackListTrack["Order"].asString(); - if(!timelineNodeTrackListTrack["Id"].isNull()) - trackObject.id = timelineNodeTrackListTrack["Id"].asString(); - auto allClipsNode = timelineNodeTrackListTrack["Clips"]["Clip"]; - for (auto timelineNodeTrackListTrackClipsClip : allClipsNode) - { - ComplexJob::ComplexEditingConfigsItem::Editing::Timeline::Track::Clip1 clipsObject; - if(!timelineNodeTrackListTrackClipsClip["Out"].isNull()) - clipsObject.out = timelineNodeTrackListTrackClipsClip["Out"].asString(); - if(!timelineNodeTrackListTrackClipsClip["In"].isNull()) - clipsObject.in = timelineNodeTrackListTrackClipsClip["In"].asString(); - if(!timelineNodeTrackListTrackClipsClip["clipID"].isNull()) - clipsObject.clipID = timelineNodeTrackListTrackClipsClip["clipID"].asString(); - auto clipsConfigNode = value["ClipsConfig"]; - auto clipsConfigVideoNode = clipsConfigNode["ClipsConfigVideo"]; - if(!clipsConfigVideoNode["T"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.t = clipsConfigVideoNode["T"].asString(); - if(!clipsConfigVideoNode["L"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.l = clipsConfigVideoNode["L"].asString(); - trackObject.clips.push_back(clipsObject); - } - complexEditingConfigsItemObject.editing.timeline.trackList.push_back(trackObject); - } - auto timelineConfigNode = timelineNode["TimelineConfig"]; - auto timelineConfigAudioNode = timelineConfigNode["TimelineConfigAudio"]; - if(!timelineConfigAudioNode["ChannelLayout"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigAudio.channelLayout = timelineConfigAudioNode["ChannelLayout"].asString(); - if(!timelineConfigAudioNode["Samplerate"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigAudio.samplerate = timelineConfigAudioNode["Samplerate"].asString(); - if(!timelineConfigAudioNode["Channels"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigAudio.channels = timelineConfigAudioNode["Channels"].asString(); - auto timelineConfigVideoNode = timelineConfigNode["TimelineConfigVideo"]; - if(!timelineConfigVideoNode["BgColor"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.bgColor = timelineConfigVideoNode["BgColor"].asString(); - if(!timelineConfigVideoNode["Width"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.width = timelineConfigVideoNode["Width"].asString(); - if(!timelineConfigVideoNode["RenderRatio"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.renderRatio = timelineConfigVideoNode["RenderRatio"].asString(); - if(!timelineConfigVideoNode["IsGpuData"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.isGpuData = timelineConfigVideoNode["IsGpuData"].asString(); - if(!timelineConfigVideoNode["Height"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.height = timelineConfigVideoNode["Height"].asString(); - if(!timelineConfigVideoNode["IsOneTrackData"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.isOneTrackData = timelineConfigVideoNode["IsOneTrackData"].asString(); - if(!timelineConfigVideoNode["Fps"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.fps = timelineConfigVideoNode["Fps"].asString(); - if(!timelineConfigVideoNode["ReclosePrec"].isNull()) - complexEditingConfigsItemObject.editing.timeline.timelineConfig.timelineConfigVideo.reclosePrec = timelineConfigVideoNode["ReclosePrec"].asString(); - complexJob_.complexEditingConfigs.push_back(complexEditingConfigsItemObject); - } - auto allInputsNode = complexJobNode["Inputs"]["InputsItem"]; - for (auto complexJobNodeInputsInputsItem : allInputsNode) - { - ComplexJob::InputsItem inputsItemObject; - auto allEditingInputsNode = complexJobNodeInputsInputsItem["EditingInputs"]["EditingInput"]; - for (auto complexJobNodeInputsInputsItemEditingInputsEditingInput : allEditingInputsNode) - { - ComplexJob::InputsItem::EditingInput editingInputsObject; - if(!complexJobNodeInputsInputsItemEditingInputsEditingInput["Id"].isNull()) - editingInputsObject.id = complexJobNodeInputsInputsItemEditingInputsEditingInput["Id"].asString(); - auto inputFileNode = value["InputFile"]; - if(!inputFileNode["Object"].isNull()) - editingInputsObject.inputFile.object = inputFileNode["Object"].asString(); - if(!inputFileNode["Location"].isNull()) - editingInputsObject.inputFile.location = inputFileNode["Location"].asString(); - if(!inputFileNode["Bucket"].isNull()) - editingInputsObject.inputFile.bucket = inputFileNode["Bucket"].asString(); - auto inputConfigNode = value["InputConfig"]; - if(!inputConfigNode["IsNormalSar"].isNull()) - editingInputsObject.inputConfig.isNormalSar = inputConfigNode["IsNormalSar"].asString(); - if(!inputConfigNode["DeinterlaceMethod"].isNull()) - editingInputsObject.inputConfig.deinterlaceMethod = inputConfigNode["DeinterlaceMethod"].asString(); - inputsItemObject.editingInputs.push_back(editingInputsObject); - } - complexJob_.inputs.push_back(inputsItemObject); - } - auto transcodeOutputNode = complexJobNode["transcodeOutput"]; - if(!transcodeOutputNode["DeWatermark"].isNull()) - complexJob_.transcodeOutput.deWatermark = transcodeOutputNode["DeWatermark"].asString(); - if(!transcodeOutputNode["WaterMarkConfigUrl"].isNull()) - complexJob_.transcodeOutput.waterMarkConfigUrl = transcodeOutputNode["WaterMarkConfigUrl"].asString(); - if(!transcodeOutputNode["Priority"].isNull()) - complexJob_.transcodeOutput.priority = transcodeOutputNode["Priority"].asString(); - if(!transcodeOutputNode["AudioStreamMap"].isNull()) - complexJob_.transcodeOutput.audioStreamMap = transcodeOutputNode["AudioStreamMap"].asString(); - if(!transcodeOutputNode["UserData"].isNull()) - complexJob_.transcodeOutput.userData = transcodeOutputNode["UserData"].asString(); - if(!transcodeOutputNode["VideoStreamMap"].isNull()) - complexJob_.transcodeOutput.videoStreamMap = transcodeOutputNode["VideoStreamMap"].asString(); - if(!transcodeOutputNode["Rotate"].isNull()) - complexJob_.transcodeOutput.rotate = transcodeOutputNode["Rotate"].asString(); - if(!transcodeOutputNode["MergeConfigUrl"].isNull()) - complexJob_.transcodeOutput.mergeConfigUrl = transcodeOutputNode["MergeConfigUrl"].asString(); - if(!transcodeOutputNode["TemplateId"].isNull()) - complexJob_.transcodeOutput.templateId = transcodeOutputNode["TemplateId"].asString(); - auto allWaterMarkListNode = transcodeOutputNode["WaterMarkList"]["WaterMark"]; - for (auto transcodeOutputNodeWaterMarkListWaterMark : allWaterMarkListNode) - { - ComplexJob::TranscodeOutput::WaterMark waterMarkObject; - if(!transcodeOutputNodeWaterMarkListWaterMark["Type"].isNull()) - waterMarkObject.type = transcodeOutputNodeWaterMarkListWaterMark["Type"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["ReferPos"].isNull()) - waterMarkObject.referPos = transcodeOutputNodeWaterMarkListWaterMark["ReferPos"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Dx"].isNull()) - waterMarkObject.dx = transcodeOutputNodeWaterMarkListWaterMark["Dx"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Width"].isNull()) - waterMarkObject.width = transcodeOutputNodeWaterMarkListWaterMark["Width"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Height"].isNull()) - waterMarkObject.height = transcodeOutputNodeWaterMarkListWaterMark["Height"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["WaterMarkTemplateId"].isNull()) - waterMarkObject.waterMarkTemplateId = transcodeOutputNodeWaterMarkListWaterMark["WaterMarkTemplateId"].asString(); - if(!transcodeOutputNodeWaterMarkListWaterMark["Dy"].isNull()) - waterMarkObject.dy = transcodeOutputNodeWaterMarkListWaterMark["Dy"].asString(); - auto inputFile2Node = value["InputFile"]; - if(!inputFile2Node["Object"].isNull()) - waterMarkObject.inputFile2.object = inputFile2Node["Object"].asString(); - if(!inputFile2Node["Location"].isNull()) - waterMarkObject.inputFile2.location = inputFile2Node["Location"].asString(); - if(!inputFile2Node["Bucket"].isNull()) - waterMarkObject.inputFile2.bucket = inputFile2Node["Bucket"].asString(); - complexJob_.transcodeOutput.waterMarkList.push_back(waterMarkObject); - } - auto allMergeListNode = transcodeOutputNode["MergeList"]["Merge"]; - for (auto transcodeOutputNodeMergeListMerge : allMergeListNode) - { - ComplexJob::TranscodeOutput::Merge mergeObject; - if(!transcodeOutputNodeMergeListMerge["Start"].isNull()) - mergeObject.start = transcodeOutputNodeMergeListMerge["Start"].asString(); - if(!transcodeOutputNodeMergeListMerge["RoleArn"].isNull()) - mergeObject.roleArn = transcodeOutputNodeMergeListMerge["RoleArn"].asString(); - if(!transcodeOutputNodeMergeListMerge["MergeURL"].isNull()) - mergeObject.mergeURL = transcodeOutputNodeMergeListMerge["MergeURL"].asString(); - if(!transcodeOutputNodeMergeListMerge["Duration"].isNull()) - mergeObject.duration = transcodeOutputNodeMergeListMerge["Duration"].asString(); - complexJob_.transcodeOutput.mergeList.push_back(mergeObject); - } - auto videoNode = transcodeOutputNode["Video"]; - if(!videoNode["Bufsize"].isNull()) - complexJob_.transcodeOutput.video.bufsize = videoNode["Bufsize"].asString(); - if(!videoNode["Degrain"].isNull()) - complexJob_.transcodeOutput.video.degrain = videoNode["Degrain"].asString(); - if(!videoNode["PixFmt"].isNull()) - complexJob_.transcodeOutput.video.pixFmt = videoNode["PixFmt"].asString(); - if(!videoNode["Pad"].isNull()) - complexJob_.transcodeOutput.video.pad = videoNode["Pad"].asString(); - if(!videoNode["Codec"].isNull()) - complexJob_.transcodeOutput.video.codec = videoNode["Codec"].asString(); - if(!videoNode["Height"].isNull()) - complexJob_.transcodeOutput.video.height = videoNode["Height"].asString(); - if(!videoNode["Qscale"].isNull()) - complexJob_.transcodeOutput.video.qscale = videoNode["Qscale"].asString(); - if(!videoNode["Crop"].isNull()) - complexJob_.transcodeOutput.video.crop = videoNode["Crop"].asString(); - if(!videoNode["Bitrate"].isNull()) - complexJob_.transcodeOutput.video.bitrate = videoNode["Bitrate"].asString(); - if(!videoNode["Maxrate"].isNull()) - complexJob_.transcodeOutput.video.maxrate = videoNode["Maxrate"].asString(); - if(!videoNode["MaxFps"].isNull()) - complexJob_.transcodeOutput.video.maxFps = videoNode["MaxFps"].asString(); - if(!videoNode["Profile"].isNull()) - complexJob_.transcodeOutput.video.profile = videoNode["Profile"].asString(); - if(!videoNode["Crf"].isNull()) - complexJob_.transcodeOutput.video.crf = videoNode["Crf"].asString(); - if(!videoNode["Gop"].isNull()) - complexJob_.transcodeOutput.video.gop = videoNode["Gop"].asString(); - if(!videoNode["Width"].isNull()) - complexJob_.transcodeOutput.video.width = videoNode["Width"].asString(); - if(!videoNode["Fps"].isNull()) - complexJob_.transcodeOutput.video.fps = videoNode["Fps"].asString(); - if(!videoNode["Preset"].isNull()) - complexJob_.transcodeOutput.video.preset = videoNode["Preset"].asString(); - if(!videoNode["ScanMode"].isNull()) - complexJob_.transcodeOutput.video.scanMode = videoNode["ScanMode"].asString(); - auto bitrateBndNode = videoNode["BitrateBnd"]; - if(!bitrateBndNode["Max"].isNull()) - complexJob_.transcodeOutput.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); - if(!bitrateBndNode["Min"].isNull()) - complexJob_.transcodeOutput.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); - auto transConfigNode = transcodeOutputNode["TransConfig"]; - if(!transConfigNode["IsCheckAudioBitrate"].isNull()) - complexJob_.transcodeOutput.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); - if(!transConfigNode["IsCheckReso"].isNull()) - complexJob_.transcodeOutput.transConfig.isCheckReso = transConfigNode["IsCheckReso"].asString(); - if(!transConfigNode["TransMode"].isNull()) - complexJob_.transcodeOutput.transConfig.transMode = transConfigNode["TransMode"].asString(); - if(!transConfigNode["IsCheckVideoBitrateFail"].isNull()) - complexJob_.transcodeOutput.transConfig.isCheckVideoBitrateFail = transConfigNode["IsCheckVideoBitrateFail"].asString(); - if(!transConfigNode["AdjDarMethod"].isNull()) - complexJob_.transcodeOutput.transConfig.adjDarMethod = transConfigNode["AdjDarMethod"].asString(); - if(!transConfigNode["Duration"].isNull()) - complexJob_.transcodeOutput.transConfig.duration = transConfigNode["Duration"].asString(); - if(!transConfigNode["IsCheckVideoBitrate"].isNull()) - complexJob_.transcodeOutput.transConfig.isCheckVideoBitrate = transConfigNode["IsCheckVideoBitrate"].asString(); - if(!transConfigNode["IsCheckResoFail"].isNull()) - complexJob_.transcodeOutput.transConfig.isCheckResoFail = transConfigNode["IsCheckResoFail"].asString(); - if(!transConfigNode["IsCheckAudioBitrateFail"].isNull()) - complexJob_.transcodeOutput.transConfig.isCheckAudioBitrateFail = transConfigNode["IsCheckAudioBitrateFail"].asString(); - auto encryptionNode = transcodeOutputNode["Encryption"]; - if(!encryptionNode["Type"].isNull()) - complexJob_.transcodeOutput.encryption.type = encryptionNode["Type"].asString(); - if(!encryptionNode["Key"].isNull()) - complexJob_.transcodeOutput.encryption.key = encryptionNode["Key"].asString(); - if(!encryptionNode["KeyType"].isNull()) - complexJob_.transcodeOutput.encryption.keyType = encryptionNode["KeyType"].asString(); - if(!encryptionNode["Id"].isNull()) - complexJob_.transcodeOutput.encryption.id = encryptionNode["Id"].asString(); - if(!encryptionNode["KeyUri"].isNull()) - complexJob_.transcodeOutput.encryption.keyUri = encryptionNode["KeyUri"].asString(); - if(!encryptionNode["SkipCnt"].isNull()) - complexJob_.transcodeOutput.encryption.skipCnt = encryptionNode["SkipCnt"].asString(); - auto m3U8NonStandardSupportNode = transcodeOutputNode["M3U8NonStandardSupport"]; - auto tSNode = m3U8NonStandardSupportNode["TS"]; - if(!tSNode["SizeSupport"].isNull()) - complexJob_.transcodeOutput.m3U8NonStandardSupport.tS.sizeSupport = tSNode["SizeSupport"].asString() == "true"; - if(!tSNode["Md5Support"].isNull()) - complexJob_.transcodeOutput.m3U8NonStandardSupport.tS.md5Support = tSNode["Md5Support"].asString() == "true"; - auto audioNode = transcodeOutputNode["Audio"]; - if(!audioNode["Profile"].isNull()) - complexJob_.transcodeOutput.audio.profile = audioNode["Profile"].asString(); - if(!audioNode["Codec"].isNull()) - complexJob_.transcodeOutput.audio.codec = audioNode["Codec"].asString(); - if(!audioNode["Samplerate"].isNull()) - complexJob_.transcodeOutput.audio.samplerate = audioNode["Samplerate"].asString(); - if(!audioNode["Qscale"].isNull()) - complexJob_.transcodeOutput.audio.qscale = audioNode["Qscale"].asString(); - if(!audioNode["Channels"].isNull()) - complexJob_.transcodeOutput.audio.channels = audioNode["Channels"].asString(); - if(!audioNode["Bitrate"].isNull()) - complexJob_.transcodeOutput.audio.bitrate = audioNode["Bitrate"].asString(); - auto volumeNode = audioNode["Volume"]; - if(!volumeNode["Method"].isNull()) - complexJob_.transcodeOutput.audio.volume.method = volumeNode["Method"].asString(); - if(!volumeNode["Level"].isNull()) - complexJob_.transcodeOutput.audio.volume.level = volumeNode["Level"].asString(); - auto superResoNode = transcodeOutputNode["SuperReso"]; - if(!superResoNode["IsHalfSample"].isNull()) - complexJob_.transcodeOutput.superReso.isHalfSample = superResoNode["IsHalfSample"].asString(); - auto digiWaterMarkNode = transcodeOutputNode["DigiWaterMark"]; - if(!digiWaterMarkNode["Type"].isNull()) - complexJob_.transcodeOutput.digiWaterMark.type = digiWaterMarkNode["Type"].asString(); - if(!digiWaterMarkNode["Alpha"].isNull()) - complexJob_.transcodeOutput.digiWaterMark.alpha = digiWaterMarkNode["Alpha"].asString(); - auto inputFile3Node = digiWaterMarkNode["InputFile"]; - if(!inputFile3Node["Object"].isNull()) - complexJob_.transcodeOutput.digiWaterMark.inputFile3.object = inputFile3Node["Object"].asString(); - if(!inputFile3Node["Location"].isNull()) - complexJob_.transcodeOutput.digiWaterMark.inputFile3.location = inputFile3Node["Location"].asString(); - if(!inputFile3Node["Bucket"].isNull()) - complexJob_.transcodeOutput.digiWaterMark.inputFile3.bucket = inputFile3Node["Bucket"].asString(); - auto outputFileNode = transcodeOutputNode["OutputFile"]; - if(!outputFileNode["RoleArn"].isNull()) - complexJob_.transcodeOutput.outputFile.roleArn = outputFileNode["RoleArn"].asString(); - if(!outputFileNode["Object"].isNull()) - complexJob_.transcodeOutput.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - complexJob_.transcodeOutput.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - complexJob_.transcodeOutput.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto containerNode = transcodeOutputNode["Container"]; - if(!containerNode["Format"].isNull()) - complexJob_.transcodeOutput.container.format = containerNode["Format"].asString(); - auto clip4Node = transcodeOutputNode["Clip"]; - auto timeSpanNode = clip4Node["TimeSpan"]; - if(!timeSpanNode["Seek"].isNull()) - complexJob_.transcodeOutput.clip4.timeSpan.seek = timeSpanNode["Seek"].asString(); - if(!timeSpanNode["Duration"].isNull()) - complexJob_.transcodeOutput.clip4.timeSpan.duration = timeSpanNode["Duration"].asString(); - auto muxConfigNode = transcodeOutputNode["MuxConfig"]; - auto gifNode = muxConfigNode["Gif"]; - if(!gifNode["FinalDelay"].isNull()) - complexJob_.transcodeOutput.muxConfig.gif.finalDelay = gifNode["FinalDelay"].asString(); - if(!gifNode["DitherMode"].isNull()) - complexJob_.transcodeOutput.muxConfig.gif.ditherMode = gifNode["DitherMode"].asString(); - if(!gifNode["Loop"].isNull()) - complexJob_.transcodeOutput.muxConfig.gif.loop = gifNode["Loop"].asString(); - if(!gifNode["IsCustomPalette"].isNull()) - complexJob_.transcodeOutput.muxConfig.gif.isCustomPalette = gifNode["IsCustomPalette"].asString(); - auto segmentNode = muxConfigNode["Segment"]; - if(!segmentNode["Duration"].isNull()) - complexJob_.transcodeOutput.muxConfig.segment.duration = segmentNode["Duration"].asString(); - auto subtitleConfigNode = transcodeOutputNode["SubtitleConfig"]; - auto allExtSubtitleListNode = subtitleConfigNode["ExtSubtitleList"]["ExtSubtitle"]; - for (auto subtitleConfigNodeExtSubtitleListExtSubtitle : allExtSubtitleListNode) - { - ComplexJob::TranscodeOutput::SubtitleConfig::ExtSubtitle extSubtitleObject; - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].isNull()) - extSubtitleObject.charEnc = subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].asString(); - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].isNull()) - extSubtitleObject.fontName = subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - extSubtitleObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - extSubtitleObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - extSubtitleObject.input.bucket = inputNode["Bucket"].asString(); - complexJob_.transcodeOutput.subtitleConfig.extSubtitleList.push_back(extSubtitleObject); - } - auto allSubtitleListNode = subtitleConfigNode["SubtitleList"]["Subtitle"]; - for (auto subtitleConfigNodeSubtitleListSubtitle : allSubtitleListNode) - { - ComplexJob::TranscodeOutput::SubtitleConfig::Subtitle subtitleObject; - if(!subtitleConfigNodeSubtitleListSubtitle["Map"].isNull()) - subtitleObject.map = subtitleConfigNodeSubtitleListSubtitle["Map"].asString(); - complexJob_.transcodeOutput.subtitleConfig.subtitleList.push_back(subtitleObject); - } - auto propertiesNode = transcodeOutputNode["Properties"]; - if(!propertiesNode["Width"].isNull()) - complexJob_.transcodeOutput.properties.width = propertiesNode["Width"].asString(); - if(!propertiesNode["Height"].isNull()) - complexJob_.transcodeOutput.properties.height = propertiesNode["Height"].asString(); - if(!propertiesNode["Duration"].isNull()) - complexJob_.transcodeOutput.properties.duration = propertiesNode["Duration"].asString(); - if(!propertiesNode["Fps"].isNull()) - complexJob_.transcodeOutput.properties.fps = propertiesNode["Fps"].asString(); - if(!propertiesNode["Bitrate"].isNull()) - complexJob_.transcodeOutput.properties.bitrate = propertiesNode["Bitrate"].asString(); - if(!propertiesNode["FileFormat"].isNull()) - complexJob_.transcodeOutput.properties.fileFormat = propertiesNode["FileFormat"].asString(); - if(!propertiesNode["FileSize"].isNull()) - complexJob_.transcodeOutput.properties.fileSize = propertiesNode["FileSize"].asString(); - auto streamsNode = propertiesNode["Streams"]; - auto allVideoStreamListNode = streamsNode["VideoStreamList"]["VideoStream"]; - for (auto streamsNodeVideoStreamListVideoStream : allVideoStreamListNode) - { - ComplexJob::TranscodeOutput::Properties::Streams::VideoStream videoStreamObject; - if(!streamsNodeVideoStreamListVideoStream["Index"].isNull()) - videoStreamObject.index = streamsNodeVideoStreamListVideoStream["Index"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Timebase"].isNull()) - videoStreamObject.timebase = streamsNodeVideoStreamListVideoStream["Timebase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["AvgFPS"].isNull()) - videoStreamObject.avgFPS = streamsNodeVideoStreamListVideoStream["AvgFPS"].asString(); - if(!streamsNodeVideoStreamListVideoStream["PixFmt"].isNull()) - videoStreamObject.pixFmt = streamsNodeVideoStreamListVideoStream["PixFmt"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Sar"].isNull()) - videoStreamObject.sar = streamsNodeVideoStreamListVideoStream["Sar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Lang"].isNull()) - videoStreamObject.lang = streamsNodeVideoStreamListVideoStream["Lang"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecLongName"].isNull()) - videoStreamObject.codecLongName = streamsNodeVideoStreamListVideoStream["CodecLongName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Height"].isNull()) - videoStreamObject.height = streamsNodeVideoStreamListVideoStream["Height"].asString(); - if(!streamsNodeVideoStreamListVideoStream["NumFrames"].isNull()) - videoStreamObject.numFrames = streamsNodeVideoStreamListVideoStream["NumFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Bitrate"].isNull()) - videoStreamObject.bitrate = streamsNodeVideoStreamListVideoStream["Bitrate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTagString"].isNull()) - videoStreamObject.codecTagString = streamsNodeVideoStreamListVideoStream["CodecTagString"].asString(); - if(!streamsNodeVideoStreamListVideoStream["HasBFrames"].isNull()) - videoStreamObject.hasBFrames = streamsNodeVideoStreamListVideoStream["HasBFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Profile"].isNull()) - videoStreamObject.profile = streamsNodeVideoStreamListVideoStream["Profile"].asString(); - if(!streamsNodeVideoStreamListVideoStream["StartTime"].isNull()) - videoStreamObject.startTime = streamsNodeVideoStreamListVideoStream["StartTime"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Dar"].isNull()) - videoStreamObject.dar = streamsNodeVideoStreamListVideoStream["Dar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecName"].isNull()) - videoStreamObject.codecName = streamsNodeVideoStreamListVideoStream["CodecName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Width"].isNull()) - videoStreamObject.width = streamsNodeVideoStreamListVideoStream["Width"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Duration"].isNull()) - videoStreamObject.duration = streamsNodeVideoStreamListVideoStream["Duration"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Fps"].isNull()) - videoStreamObject.fps = streamsNodeVideoStreamListVideoStream["Fps"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTag"].isNull()) - videoStreamObject.codecTag = streamsNodeVideoStreamListVideoStream["CodecTag"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTimeBase"].isNull()) - videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) - videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); - auto networkCostNode = value["NetworkCost"]; - if(!networkCostNode["PreloadTime"].isNull()) - videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); - if(!networkCostNode["AvgBitrate"].isNull()) - videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString(); - if(!networkCostNode["CostBandwidth"].isNull()) - videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString(); - complexJob_.transcodeOutput.properties.streams.videoStreamList.push_back(videoStreamObject); - } - auto allAudioStreamListNode = streamsNode["AudioStreamList"]["AudioStream"]; - for (auto streamsNodeAudioStreamListAudioStream : allAudioStreamListNode) - { - ComplexJob::TranscodeOutput::Properties::Streams::AudioStream audioStreamObject; - if(!streamsNodeAudioStreamListAudioStream["Timebase"].isNull()) - audioStreamObject.timebase = streamsNodeAudioStreamListAudioStream["Timebase"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Index"].isNull()) - audioStreamObject.index = streamsNodeAudioStreamListAudioStream["Index"].asString(); - if(!streamsNodeAudioStreamListAudioStream["SampleFmt"].isNull()) - audioStreamObject.sampleFmt = streamsNodeAudioStreamListAudioStream["SampleFmt"].asString(); - if(!streamsNodeAudioStreamListAudioStream["ChannelLayout"].isNull()) - audioStreamObject.channelLayout = streamsNodeAudioStreamListAudioStream["ChannelLayout"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Lang"].isNull()) - audioStreamObject.lang = streamsNodeAudioStreamListAudioStream["Lang"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Samplerate"].isNull()) - audioStreamObject.samplerate = streamsNodeAudioStreamListAudioStream["Samplerate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecLongName"].isNull()) - audioStreamObject.codecLongName = streamsNodeAudioStreamListAudioStream["CodecLongName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Channels"].isNull()) - audioStreamObject.channels = streamsNodeAudioStreamListAudioStream["Channels"].asString(); - if(!streamsNodeAudioStreamListAudioStream["NumFrames"].isNull()) - audioStreamObject.numFrames = streamsNodeAudioStreamListAudioStream["NumFrames"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Bitrate"].isNull()) - audioStreamObject.bitrate = streamsNodeAudioStreamListAudioStream["Bitrate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTagString"].isNull()) - audioStreamObject.codecTagString = streamsNodeAudioStreamListAudioStream["CodecTagString"].asString(); - if(!streamsNodeAudioStreamListAudioStream["StartTime"].isNull()) - audioStreamObject.startTime = streamsNodeAudioStreamListAudioStream["StartTime"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecName"].isNull()) - audioStreamObject.codecName = streamsNodeAudioStreamListAudioStream["CodecName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Duration"].isNull()) - audioStreamObject.duration = streamsNodeAudioStreamListAudioStream["Duration"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTag"].isNull()) - audioStreamObject.codecTag = streamsNodeAudioStreamListAudioStream["CodecTag"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTimeBase"].isNull()) - audioStreamObject.codecTimeBase = streamsNodeAudioStreamListAudioStream["CodecTimeBase"].asString(); - complexJob_.transcodeOutput.properties.streams.audioStreamList.push_back(audioStreamObject); - } - auto allSubtitleStreamListNode = streamsNode["SubtitleStreamList"]["SubtitleStream"]; - for (auto streamsNodeSubtitleStreamListSubtitleStream : allSubtitleStreamListNode) - { - ComplexJob::TranscodeOutput::Properties::Streams::SubtitleStream subtitleStreamObject; - if(!streamsNodeSubtitleStreamListSubtitleStream["Index"].isNull()) - subtitleStreamObject.index = streamsNodeSubtitleStreamListSubtitleStream["Index"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Lang"].isNull()) - subtitleStreamObject.lang = streamsNodeSubtitleStreamListSubtitleStream["Lang"].asString(); - complexJob_.transcodeOutput.properties.streams.subtitleStreamList.push_back(subtitleStreamObject); - } - auto formatNode = propertiesNode["Format"]; - if(!formatNode["StartTime"].isNull()) - complexJob_.transcodeOutput.properties.format.startTime = formatNode["StartTime"].asString(); - if(!formatNode["NumPrograms"].isNull()) - complexJob_.transcodeOutput.properties.format.numPrograms = formatNode["NumPrograms"].asString(); - if(!formatNode["Size"].isNull()) - complexJob_.transcodeOutput.properties.format.size = formatNode["Size"].asString(); - if(!formatNode["NumStreams"].isNull()) - complexJob_.transcodeOutput.properties.format.numStreams = formatNode["NumStreams"].asString(); - if(!formatNode["FormatLongName"].isNull()) - complexJob_.transcodeOutput.properties.format.formatLongName = formatNode["FormatLongName"].asString(); - if(!formatNode["Duration"].isNull()) - complexJob_.transcodeOutput.properties.format.duration = formatNode["Duration"].asString(); - if(!formatNode["Bitrate"].isNull()) - complexJob_.transcodeOutput.properties.format.bitrate = formatNode["Bitrate"].asString(); - if(!formatNode["FormatName"].isNull()) - complexJob_.transcodeOutput.properties.format.formatName = formatNode["FormatName"].asString(); - auto mNSMessageResultNode = complexJobNode["MNSMessageResult"]; - if(!mNSMessageResultNode["MessageId"].isNull()) - complexJob_.mNSMessageResult.messageId = mNSMessageResultNode["MessageId"].asString(); - if(!mNSMessageResultNode["ErrorMessage"].isNull()) - complexJob_.mNSMessageResult.errorMessage = mNSMessageResultNode["ErrorMessage"].asString(); - if(!mNSMessageResultNode["ErrorCode"].isNull()) - complexJob_.mNSMessageResult.errorCode = mNSMessageResultNode["ErrorCode"].asString(); - -} - -SubmitComplexJobResult::ComplexJob SubmitComplexJobResult::getComplexJob()const -{ - return complexJob_; -} - diff --git a/mts/src/model/SubmitCopyrightExtractJobRequest.cc b/mts/src/model/SubmitCopyrightExtractJobRequest.cc new file mode 100644 index 000000000..be4c1d87a --- /dev/null +++ b/mts/src/model/SubmitCopyrightExtractJobRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::SubmitCopyrightExtractJobRequest; + +SubmitCopyrightExtractJobRequest::SubmitCopyrightExtractJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "SubmitCopyrightExtractJob") { + setMethod(HttpRequest::Method::Post); +} + +SubmitCopyrightExtractJobRequest::~SubmitCopyrightExtractJobRequest() {} + +std::string SubmitCopyrightExtractJobRequest::getParams() const { + return params_; +} + +void SubmitCopyrightExtractJobRequest::setParams(const std::string ¶ms) { + params_ = params; + setParameter(std::string("Params"), params); +} + +std::string SubmitCopyrightExtractJobRequest::getUrl() const { + return url_; +} + +void SubmitCopyrightExtractJobRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + +std::string SubmitCopyrightExtractJobRequest::getInput() const { + return input_; +} + +void SubmitCopyrightExtractJobRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); +} + +std::string SubmitCopyrightExtractJobRequest::getUserData() const { + return userData_; +} + +void SubmitCopyrightExtractJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + +std::string SubmitCopyrightExtractJobRequest::getCallBack() const { + return callBack_; +} + +void SubmitCopyrightExtractJobRequest::setCallBack(const std::string &callBack) { + callBack_ = callBack; + setParameter(std::string("CallBack"), callBack); +} + diff --git a/mts/src/model/SubmitCopyrightExtractJobResult.cc b/mts/src/model/SubmitCopyrightExtractJobResult.cc new file mode 100644 index 000000000..d3849cf66 --- /dev/null +++ b/mts/src/model/SubmitCopyrightExtractJobResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +SubmitCopyrightExtractJobResult::SubmitCopyrightExtractJobResult() : + ServiceResult() +{} + +SubmitCopyrightExtractJobResult::SubmitCopyrightExtractJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitCopyrightExtractJobResult::~SubmitCopyrightExtractJobResult() +{} + +void SubmitCopyrightExtractJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string SubmitCopyrightExtractJobResult::getMessage()const +{ + return message_; +} + +SubmitCopyrightExtractJobResult::Data SubmitCopyrightExtractJobResult::getData()const +{ + return data_; +} + +long SubmitCopyrightExtractJobResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/SubmitCopyrightJobRequest.cc b/mts/src/model/SubmitCopyrightJobRequest.cc new file mode 100644 index 000000000..c3632ab9e --- /dev/null +++ b/mts/src/model/SubmitCopyrightJobRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::SubmitCopyrightJobRequest; + +SubmitCopyrightJobRequest::SubmitCopyrightJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "SubmitCopyrightJob") { + setMethod(HttpRequest::Method::Post); +} + +SubmitCopyrightJobRequest::~SubmitCopyrightJobRequest() {} + +std::string SubmitCopyrightJobRequest::getVisibleMessage() const { + return visibleMessage_; +} + +void SubmitCopyrightJobRequest::setVisibleMessage(const std::string &visibleMessage) { + visibleMessage_ = visibleMessage; + setParameter(std::string("VisibleMessage"), visibleMessage); +} + +std::string SubmitCopyrightJobRequest::getDescription() const { + return description_; +} + +void SubmitCopyrightJobRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string SubmitCopyrightJobRequest::getStartTime() const { + return startTime_; +} + +void SubmitCopyrightJobRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string SubmitCopyrightJobRequest::getOutput() const { + return output_; +} + +void SubmitCopyrightJobRequest::setOutput(const std::string &output) { + output_ = output; + setParameter(std::string("Output"), output); +} + +std::string SubmitCopyrightJobRequest::getUserData() const { + return userData_; +} + +void SubmitCopyrightJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + +long SubmitCopyrightJobRequest::getLevel() const { + return level_; +} + +void SubmitCopyrightJobRequest::setLevel(long level) { + level_ = level; + setParameter(std::string("Level"), std::to_string(level)); +} + +std::string SubmitCopyrightJobRequest::getMessage() const { + return message_; +} + +void SubmitCopyrightJobRequest::setMessage(const std::string &message) { + message_ = message; + setParameter(std::string("Message"), message); +} + +std::string SubmitCopyrightJobRequest::getParams() const { + return params_; +} + +void SubmitCopyrightJobRequest::setParams(const std::string ¶ms) { + params_ = params; + setParameter(std::string("Params"), params); +} + +std::string SubmitCopyrightJobRequest::getUrl() const { + return url_; +} + +void SubmitCopyrightJobRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + +std::string SubmitCopyrightJobRequest::getInput() const { + return input_; +} + +void SubmitCopyrightJobRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); +} + +std::string SubmitCopyrightJobRequest::getTotalTime() const { + return totalTime_; +} + +void SubmitCopyrightJobRequest::setTotalTime(const std::string &totalTime) { + totalTime_ = totalTime; + setParameter(std::string("TotalTime"), totalTime); +} + +std::string SubmitCopyrightJobRequest::getCallBack() const { + return callBack_; +} + +void SubmitCopyrightJobRequest::setCallBack(const std::string &callBack) { + callBack_ = callBack; + setParameter(std::string("CallBack"), callBack); +} + diff --git a/mts/src/model/DetectImageSyncResult.cc b/mts/src/model/SubmitCopyrightJobResult.cc similarity index 58% rename from mts/src/model/DetectImageSyncResult.cc rename to mts/src/model/SubmitCopyrightJobResult.cc index 4330974c2..418b65608 100644 --- a/mts/src/model/DetectImageSyncResult.cc +++ b/mts/src/model/SubmitCopyrightJobResult.cc @@ -14,52 +14,53 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -DetectImageSyncResult::DetectImageSyncResult() : +SubmitCopyrightJobResult::SubmitCopyrightJobResult() : ServiceResult() {} -DetectImageSyncResult::DetectImageSyncResult(const std::string &payload) : +SubmitCopyrightJobResult::SubmitCopyrightJobResult(const std::string &payload) : ServiceResult() { parse(payload); } -DetectImageSyncResult::~DetectImageSyncResult() +SubmitCopyrightJobResult::~SubmitCopyrightJobResult() {} -void DetectImageSyncResult::parse(const std::string &payload) +void SubmitCopyrightJobResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Result"].isNull()) - result_ = value["Result"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); + auto dataNode = value["Data"]; + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); } -std::string DetectImageSyncResult::getStatus()const -{ - return status_; -} - -std::string DetectImageSyncResult::getMessage()const +std::string SubmitCopyrightJobResult::getMessage()const { return message_; } -std::string DetectImageSyncResult::getResult()const +SubmitCopyrightJobResult::Data SubmitCopyrightJobResult::getData()const { - return result_; + return data_; +} + +long SubmitCopyrightJobResult::getStatusCode()const +{ + return statusCode_; } diff --git a/mts/src/model/SubmitCoverJobRequest.cc b/mts/src/model/SubmitCoverJobRequest.cc deleted file mode 100644 index 1874a8921..000000000 --- a/mts/src/model/SubmitCoverJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitCoverJobRequest; - -SubmitCoverJobRequest::SubmitCoverJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitCoverJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitCoverJobRequest::~SubmitCoverJobRequest() {} - -long SubmitCoverJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitCoverJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitCoverJobRequest::getCoverConfig() const { - return coverConfig_; -} - -void SubmitCoverJobRequest::setCoverConfig(const std::string &coverConfig) { - coverConfig_ = coverConfig; - setParameter(std::string("CoverConfig"), coverConfig); -} - -std::string SubmitCoverJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitCoverJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitCoverJobRequest::getUserData() const { - return userData_; -} - -void SubmitCoverJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitCoverJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitCoverJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitCoverJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitCoverJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitCoverJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitCoverJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitCoverJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitCoverJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitCoverJobRequest::getInput() const { - return input_; -} - -void SubmitCoverJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitCoverJobResult.cc b/mts/src/model/SubmitCoverJobResult.cc deleted file mode 100644 index 0c0fe5eb2..000000000 --- a/mts/src/model/SubmitCoverJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitCoverJobResult::SubmitCoverJobResult() : - ServiceResult() -{} - -SubmitCoverJobResult::SubmitCoverJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitCoverJobResult::~SubmitCoverJobResult() -{} - -void SubmitCoverJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitCoverJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitEditingJobsRequest.cc b/mts/src/model/SubmitEditingJobsRequest.cc deleted file mode 100644 index 319e2a3b3..000000000 --- a/mts/src/model/SubmitEditingJobsRequest.cc +++ /dev/null @@ -1,144 +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 - -using AlibabaCloud::Mts::Model::SubmitEditingJobsRequest; - -SubmitEditingJobsRequest::SubmitEditingJobsRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitEditingJobs") { - setMethod(HttpRequest::Method::Post); -} - -SubmitEditingJobsRequest::~SubmitEditingJobsRequest() {} - -long SubmitEditingJobsRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitEditingJobsRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitEditingJobsRequest::getOutputLocation() const { - return outputLocation_; -} - -void SubmitEditingJobsRequest::setOutputLocation(const std::string &outputLocation) { - outputLocation_ = outputLocation; - setParameter(std::string("OutputLocation"), outputLocation); -} - -std::string SubmitEditingJobsRequest::getEditingInputs() const { - return editingInputs_; -} - -void SubmitEditingJobsRequest::setEditingInputs(const std::string &editingInputs) { - editingInputs_ = editingInputs; - setParameter(std::string("EditingInputs"), editingInputs); -} - -std::string SubmitEditingJobsRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitEditingJobsRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitEditingJobsRequest::getEditingJobURL() const { - return editingJobURL_; -} - -void SubmitEditingJobsRequest::setEditingJobURL(const std::string &editingJobURL) { - editingJobURL_ = editingJobURL; - setParameter(std::string("EditingJobURL"), editingJobURL); -} - -long SubmitEditingJobsRequest::getEditingJobOssFileUid() const { - return editingJobOssFileUid_; -} - -void SubmitEditingJobsRequest::setEditingJobOssFileUid(long editingJobOssFileUid) { - editingJobOssFileUid_ = editingJobOssFileUid; - setParameter(std::string("EditingJobOssFileUid"), std::to_string(editingJobOssFileUid)); -} - -std::string SubmitEditingJobsRequest::getEditingJobOutputs() const { - return editingJobOutputs_; -} - -void SubmitEditingJobsRequest::setEditingJobOutputs(const std::string &editingJobOutputs) { - editingJobOutputs_ = editingJobOutputs; - setParameter(std::string("EditingJobOutputs"), editingJobOutputs); -} - -std::string SubmitEditingJobsRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitEditingJobsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitEditingJobsRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitEditingJobsRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitEditingJobsRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitEditingJobsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitEditingJobsRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitEditingJobsRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitEditingJobsRequest::getOutputBucket() const { - return outputBucket_; -} - -void SubmitEditingJobsRequest::setOutputBucket(const std::string &outputBucket) { - outputBucket_ = outputBucket; - setParameter(std::string("OutputBucket"), outputBucket); -} - -std::string SubmitEditingJobsRequest::getEditingJobOssFileRoleArn() const { - return editingJobOssFileRoleArn_; -} - -void SubmitEditingJobsRequest::setEditingJobOssFileRoleArn(const std::string &editingJobOssFileRoleArn) { - editingJobOssFileRoleArn_ = editingJobOssFileRoleArn; - setParameter(std::string("EditingJobOssFileRoleArn"), editingJobOssFileRoleArn); -} - diff --git a/mts/src/model/SubmitEditingJobsResult.cc b/mts/src/model/SubmitEditingJobsResult.cc deleted file mode 100644 index d0c8a3ec8..000000000 --- a/mts/src/model/SubmitEditingJobsResult.cc +++ /dev/null @@ -1,560 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitEditingJobsResult::SubmitEditingJobsResult() : - ServiceResult() -{} - -SubmitEditingJobsResult::SubmitEditingJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitEditingJobsResult::~SubmitEditingJobsResult() -{} - -void SubmitEditingJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobResultListNode = value["JobResultList"]["JobResult"]; - for (auto valueJobResultListJobResult : allJobResultListNode) - { - JobResult jobResultListObject; - if(!valueJobResultListJobResult["Success"].isNull()) - jobResultListObject.success = valueJobResultListJobResult["Success"].asString() == "true"; - if(!valueJobResultListJobResult["Code"].isNull()) - jobResultListObject.code = valueJobResultListJobResult["Code"].asString(); - if(!valueJobResultListJobResult["Message"].isNull()) - jobResultListObject.message = valueJobResultListJobResult["Message"].asString(); - auto jobNode = value["Job"]; - if(!jobNode["CreationTime"].isNull()) - jobResultListObject.job.creationTime = jobNode["CreationTime"].asString(); - if(!jobNode["Percent"].isNull()) - jobResultListObject.job.percent = std::stol(jobNode["Percent"].asString()); - if(!jobNode["FinishTime"].isNull()) - jobResultListObject.job.finishTime = jobNode["FinishTime"].asString(); - if(!jobNode["State"].isNull()) - jobResultListObject.job.state = jobNode["State"].asString(); - if(!jobNode["JobId"].isNull()) - jobResultListObject.job.jobId = jobNode["JobId"].asString(); - if(!jobNode["Code"].isNull()) - jobResultListObject.job.code = jobNode["Code"].asString(); - if(!jobNode["Message"].isNull()) - jobResultListObject.job.message = jobNode["Message"].asString(); - if(!jobNode["PipelineId"].isNull()) - jobResultListObject.job.pipelineId = jobNode["PipelineId"].asString(); - auto allEditingInputsNode = jobNode["EditingInputs"]["EditingInput"]; - for (auto jobNodeEditingInputsEditingInput : allEditingInputsNode) - { - JobResult::Job::EditingInput editingInputObject; - if(!jobNodeEditingInputsEditingInput["Id"].isNull()) - editingInputObject.id = jobNodeEditingInputsEditingInput["Id"].asString(); - auto inputFileNode = value["InputFile"]; - if(!inputFileNode["Object"].isNull()) - editingInputObject.inputFile.object = inputFileNode["Object"].asString(); - if(!inputFileNode["Location"].isNull()) - editingInputObject.inputFile.location = inputFileNode["Location"].asString(); - if(!inputFileNode["Bucket"].isNull()) - editingInputObject.inputFile.bucket = inputFileNode["Bucket"].asString(); - auto inputConfigNode = value["InputConfig"]; - if(!inputConfigNode["IsNormalSar"].isNull()) - editingInputObject.inputConfig.isNormalSar = inputConfigNode["IsNormalSar"].asString(); - if(!inputConfigNode["DeinterlaceMethod"].isNull()) - editingInputObject.inputConfig.deinterlaceMethod = inputConfigNode["DeinterlaceMethod"].asString(); - jobResultListObject.job.editingInputs.push_back(editingInputObject); - } - auto editingConfigNode = jobNode["EditingConfig"]; - if(!editingConfigNode["DeWatermark"].isNull()) - jobResultListObject.job.editingConfig.deWatermark = editingConfigNode["DeWatermark"].asString(); - if(!editingConfigNode["WaterMarkConfigUrl"].isNull()) - jobResultListObject.job.editingConfig.waterMarkConfigUrl = editingConfigNode["WaterMarkConfigUrl"].asString(); - if(!editingConfigNode["Priority"].isNull()) - jobResultListObject.job.editingConfig.priority = editingConfigNode["Priority"].asString(); - if(!editingConfigNode["AudioStreamMap"].isNull()) - jobResultListObject.job.editingConfig.audioStreamMap = editingConfigNode["AudioStreamMap"].asString(); - if(!editingConfigNode["UserData"].isNull()) - jobResultListObject.job.editingConfig.userData = editingConfigNode["UserData"].asString(); - if(!editingConfigNode["VideoStreamMap"].isNull()) - jobResultListObject.job.editingConfig.videoStreamMap = editingConfigNode["VideoStreamMap"].asString(); - if(!editingConfigNode["Rotate"].isNull()) - jobResultListObject.job.editingConfig.rotate = editingConfigNode["Rotate"].asString(); - if(!editingConfigNode["MergeConfigUrl"].isNull()) - jobResultListObject.job.editingConfig.mergeConfigUrl = editingConfigNode["MergeConfigUrl"].asString(); - if(!editingConfigNode["TemplateId"].isNull()) - jobResultListObject.job.editingConfig.templateId = editingConfigNode["TemplateId"].asString(); - auto allWaterMarkListNode = editingConfigNode["WaterMarkList"]["WaterMark"]; - for (auto editingConfigNodeWaterMarkListWaterMark : allWaterMarkListNode) - { - JobResult::Job::EditingConfig::WaterMark waterMarkObject; - if(!editingConfigNodeWaterMarkListWaterMark["Type"].isNull()) - waterMarkObject.type = editingConfigNodeWaterMarkListWaterMark["Type"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["ReferPos"].isNull()) - waterMarkObject.referPos = editingConfigNodeWaterMarkListWaterMark["ReferPos"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Dx"].isNull()) - waterMarkObject.dx = editingConfigNodeWaterMarkListWaterMark["Dx"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Width"].isNull()) - waterMarkObject.width = editingConfigNodeWaterMarkListWaterMark["Width"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Height"].isNull()) - waterMarkObject.height = editingConfigNodeWaterMarkListWaterMark["Height"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["WaterMarkTemplateId"].isNull()) - waterMarkObject.waterMarkTemplateId = editingConfigNodeWaterMarkListWaterMark["WaterMarkTemplateId"].asString(); - if(!editingConfigNodeWaterMarkListWaterMark["Dy"].isNull()) - waterMarkObject.dy = editingConfigNodeWaterMarkListWaterMark["Dy"].asString(); - auto inputFile1Node = value["InputFile"]; - if(!inputFile1Node["Object"].isNull()) - waterMarkObject.inputFile1.object = inputFile1Node["Object"].asString(); - if(!inputFile1Node["Location"].isNull()) - waterMarkObject.inputFile1.location = inputFile1Node["Location"].asString(); - if(!inputFile1Node["Bucket"].isNull()) - waterMarkObject.inputFile1.bucket = inputFile1Node["Bucket"].asString(); - jobResultListObject.job.editingConfig.waterMarkList.push_back(waterMarkObject); - } - auto allMergeListNode = editingConfigNode["MergeList"]["Merge"]; - for (auto editingConfigNodeMergeListMerge : allMergeListNode) - { - JobResult::Job::EditingConfig::Merge mergeObject; - if(!editingConfigNodeMergeListMerge["Start"].isNull()) - mergeObject.start = editingConfigNodeMergeListMerge["Start"].asString(); - if(!editingConfigNodeMergeListMerge["RoleArn"].isNull()) - mergeObject.roleArn = editingConfigNodeMergeListMerge["RoleArn"].asString(); - if(!editingConfigNodeMergeListMerge["MergeURL"].isNull()) - mergeObject.mergeURL = editingConfigNodeMergeListMerge["MergeURL"].asString(); - if(!editingConfigNodeMergeListMerge["Duration"].isNull()) - mergeObject.duration = editingConfigNodeMergeListMerge["Duration"].asString(); - jobResultListObject.job.editingConfig.mergeList.push_back(mergeObject); - } - auto videoNode = editingConfigNode["Video"]; - if(!videoNode["Bufsize"].isNull()) - jobResultListObject.job.editingConfig.video.bufsize = videoNode["Bufsize"].asString(); - if(!videoNode["Degrain"].isNull()) - jobResultListObject.job.editingConfig.video.degrain = videoNode["Degrain"].asString(); - if(!videoNode["PixFmt"].isNull()) - jobResultListObject.job.editingConfig.video.pixFmt = videoNode["PixFmt"].asString(); - if(!videoNode["Pad"].isNull()) - jobResultListObject.job.editingConfig.video.pad = videoNode["Pad"].asString(); - if(!videoNode["Codec"].isNull()) - jobResultListObject.job.editingConfig.video.codec = videoNode["Codec"].asString(); - if(!videoNode["Height"].isNull()) - jobResultListObject.job.editingConfig.video.height = videoNode["Height"].asString(); - if(!videoNode["Qscale"].isNull()) - jobResultListObject.job.editingConfig.video.qscale = videoNode["Qscale"].asString(); - if(!videoNode["Crop"].isNull()) - jobResultListObject.job.editingConfig.video.crop = videoNode["Crop"].asString(); - if(!videoNode["Bitrate"].isNull()) - jobResultListObject.job.editingConfig.video.bitrate = videoNode["Bitrate"].asString(); - if(!videoNode["Maxrate"].isNull()) - jobResultListObject.job.editingConfig.video.maxrate = videoNode["Maxrate"].asString(); - if(!videoNode["MaxFps"].isNull()) - jobResultListObject.job.editingConfig.video.maxFps = videoNode["MaxFps"].asString(); - if(!videoNode["Profile"].isNull()) - jobResultListObject.job.editingConfig.video.profile = videoNode["Profile"].asString(); - if(!videoNode["Crf"].isNull()) - jobResultListObject.job.editingConfig.video.crf = videoNode["Crf"].asString(); - if(!videoNode["Gop"].isNull()) - jobResultListObject.job.editingConfig.video.gop = videoNode["Gop"].asString(); - if(!videoNode["Width"].isNull()) - jobResultListObject.job.editingConfig.video.width = videoNode["Width"].asString(); - if(!videoNode["Fps"].isNull()) - jobResultListObject.job.editingConfig.video.fps = videoNode["Fps"].asString(); - if(!videoNode["Preset"].isNull()) - jobResultListObject.job.editingConfig.video.preset = videoNode["Preset"].asString(); - if(!videoNode["ScanMode"].isNull()) - jobResultListObject.job.editingConfig.video.scanMode = videoNode["ScanMode"].asString(); - auto bitrateBndNode = videoNode["BitrateBnd"]; - if(!bitrateBndNode["Max"].isNull()) - jobResultListObject.job.editingConfig.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); - if(!bitrateBndNode["Min"].isNull()) - jobResultListObject.job.editingConfig.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); - auto transConfigNode = editingConfigNode["TransConfig"]; - if(!transConfigNode["IsCheckAudioBitrate"].isNull()) - jobResultListObject.job.editingConfig.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); - if(!transConfigNode["IsCheckReso"].isNull()) - jobResultListObject.job.editingConfig.transConfig.isCheckReso = transConfigNode["IsCheckReso"].asString(); - if(!transConfigNode["TransMode"].isNull()) - jobResultListObject.job.editingConfig.transConfig.transMode = transConfigNode["TransMode"].asString(); - if(!transConfigNode["IsCheckVideoBitrateFail"].isNull()) - jobResultListObject.job.editingConfig.transConfig.isCheckVideoBitrateFail = transConfigNode["IsCheckVideoBitrateFail"].asString(); - if(!transConfigNode["AdjDarMethod"].isNull()) - jobResultListObject.job.editingConfig.transConfig.adjDarMethod = transConfigNode["AdjDarMethod"].asString(); - if(!transConfigNode["Duration"].isNull()) - jobResultListObject.job.editingConfig.transConfig.duration = transConfigNode["Duration"].asString(); - if(!transConfigNode["IsCheckVideoBitrate"].isNull()) - jobResultListObject.job.editingConfig.transConfig.isCheckVideoBitrate = transConfigNode["IsCheckVideoBitrate"].asString(); - if(!transConfigNode["IsCheckResoFail"].isNull()) - jobResultListObject.job.editingConfig.transConfig.isCheckResoFail = transConfigNode["IsCheckResoFail"].asString(); - if(!transConfigNode["IsCheckAudioBitrateFail"].isNull()) - jobResultListObject.job.editingConfig.transConfig.isCheckAudioBitrateFail = transConfigNode["IsCheckAudioBitrateFail"].asString(); - auto encryptionNode = editingConfigNode["Encryption"]; - if(!encryptionNode["Type"].isNull()) - jobResultListObject.job.editingConfig.encryption.type = encryptionNode["Type"].asString(); - if(!encryptionNode["Key"].isNull()) - jobResultListObject.job.editingConfig.encryption.key = encryptionNode["Key"].asString(); - if(!encryptionNode["KeyType"].isNull()) - jobResultListObject.job.editingConfig.encryption.keyType = encryptionNode["KeyType"].asString(); - if(!encryptionNode["Id"].isNull()) - jobResultListObject.job.editingConfig.encryption.id = encryptionNode["Id"].asString(); - if(!encryptionNode["KeyUri"].isNull()) - jobResultListObject.job.editingConfig.encryption.keyUri = encryptionNode["KeyUri"].asString(); - if(!encryptionNode["SkipCnt"].isNull()) - jobResultListObject.job.editingConfig.encryption.skipCnt = encryptionNode["SkipCnt"].asString(); - auto m3U8NonStandardSupportNode = editingConfigNode["M3U8NonStandardSupport"]; - auto tSNode = m3U8NonStandardSupportNode["TS"]; - if(!tSNode["SizeSupport"].isNull()) - jobResultListObject.job.editingConfig.m3U8NonStandardSupport.tS.sizeSupport = tSNode["SizeSupport"].asString() == "true"; - if(!tSNode["Md5Support"].isNull()) - jobResultListObject.job.editingConfig.m3U8NonStandardSupport.tS.md5Support = tSNode["Md5Support"].asString() == "true"; - auto audioNode = editingConfigNode["Audio"]; - if(!audioNode["Profile"].isNull()) - jobResultListObject.job.editingConfig.audio.profile = audioNode["Profile"].asString(); - if(!audioNode["Codec"].isNull()) - jobResultListObject.job.editingConfig.audio.codec = audioNode["Codec"].asString(); - if(!audioNode["Samplerate"].isNull()) - jobResultListObject.job.editingConfig.audio.samplerate = audioNode["Samplerate"].asString(); - if(!audioNode["Qscale"].isNull()) - jobResultListObject.job.editingConfig.audio.qscale = audioNode["Qscale"].asString(); - if(!audioNode["Channels"].isNull()) - jobResultListObject.job.editingConfig.audio.channels = audioNode["Channels"].asString(); - if(!audioNode["Bitrate"].isNull()) - jobResultListObject.job.editingConfig.audio.bitrate = audioNode["Bitrate"].asString(); - auto volumeNode = audioNode["Volume"]; - if(!volumeNode["Method"].isNull()) - jobResultListObject.job.editingConfig.audio.volume.method = volumeNode["Method"].asString(); - if(!volumeNode["Level"].isNull()) - jobResultListObject.job.editingConfig.audio.volume.level = volumeNode["Level"].asString(); - auto superResoNode = editingConfigNode["SuperReso"]; - if(!superResoNode["IsHalfSample"].isNull()) - jobResultListObject.job.editingConfig.superReso.isHalfSample = superResoNode["IsHalfSample"].asString(); - auto digiWaterMarkNode = editingConfigNode["DigiWaterMark"]; - if(!digiWaterMarkNode["Type"].isNull()) - jobResultListObject.job.editingConfig.digiWaterMark.type = digiWaterMarkNode["Type"].asString(); - if(!digiWaterMarkNode["Alpha"].isNull()) - jobResultListObject.job.editingConfig.digiWaterMark.alpha = digiWaterMarkNode["Alpha"].asString(); - auto inputFile2Node = digiWaterMarkNode["InputFile"]; - if(!inputFile2Node["Object"].isNull()) - jobResultListObject.job.editingConfig.digiWaterMark.inputFile2.object = inputFile2Node["Object"].asString(); - if(!inputFile2Node["Location"].isNull()) - jobResultListObject.job.editingConfig.digiWaterMark.inputFile2.location = inputFile2Node["Location"].asString(); - if(!inputFile2Node["Bucket"].isNull()) - jobResultListObject.job.editingConfig.digiWaterMark.inputFile2.bucket = inputFile2Node["Bucket"].asString(); - auto outputFileNode = editingConfigNode["OutputFile"]; - if(!outputFileNode["RoleArn"].isNull()) - jobResultListObject.job.editingConfig.outputFile.roleArn = outputFileNode["RoleArn"].asString(); - if(!outputFileNode["Object"].isNull()) - jobResultListObject.job.editingConfig.outputFile.object = outputFileNode["Object"].asString(); - if(!outputFileNode["Location"].isNull()) - jobResultListObject.job.editingConfig.outputFile.location = outputFileNode["Location"].asString(); - if(!outputFileNode["Bucket"].isNull()) - jobResultListObject.job.editingConfig.outputFile.bucket = outputFileNode["Bucket"].asString(); - auto editingNode = editingConfigNode["Editing"]; - auto allClipListNode = editingNode["ClipList"]["Clip"]; - for (auto editingNodeClipListClip : allClipListNode) - { - JobResult::Job::EditingConfig::Editing::Clip clipObject; - if(!editingNodeClipListClip["Type"].isNull()) - clipObject.type = editingNodeClipListClip["Type"].asString(); - if(!editingNodeClipListClip["SourceID"].isNull()) - clipObject.sourceID = editingNodeClipListClip["SourceID"].asString(); - if(!editingNodeClipListClip["SourceType"].isNull()) - clipObject.sourceType = editingNodeClipListClip["SourceType"].asString(); - if(!editingNodeClipListClip["SourceStrmMap"].isNull()) - clipObject.sourceStrmMap = editingNodeClipListClip["SourceStrmMap"].asString(); - if(!editingNodeClipListClip["Out"].isNull()) - clipObject.out = editingNodeClipListClip["Out"].asString(); - if(!editingNodeClipListClip["In"].isNull()) - clipObject.in = editingNodeClipListClip["In"].asString(); - if(!editingNodeClipListClip["Id"].isNull()) - clipObject.id = editingNodeClipListClip["Id"].asString(); - auto allEffectsNode = editingNodeClipListClip["Effects"]["Effect"]; - for (auto editingNodeClipListClipEffectsEffect : allEffectsNode) - { - JobResult::Job::EditingConfig::Editing::Clip::Effect effectsObject; - if(!editingNodeClipListClipEffectsEffect["Effect"].isNull()) - effectsObject.effect = editingNodeClipListClipEffectsEffect["Effect"].asString(); - if(!editingNodeClipListClipEffectsEffect["EffectConfig"].isNull()) - effectsObject.effectConfig = editingNodeClipListClipEffectsEffect["EffectConfig"].asString(); - clipObject.effects.push_back(effectsObject); - } - jobResultListObject.job.editingConfig.editing.clipList.push_back(clipObject); - } - auto timelineNode = editingNode["Timeline"]; - auto allTrackListNode = timelineNode["TrackList"]["Track"]; - for (auto timelineNodeTrackListTrack : allTrackListNode) - { - JobResult::Job::EditingConfig::Editing::Timeline::Track trackObject; - if(!timelineNodeTrackListTrack["Type"].isNull()) - trackObject.type = timelineNodeTrackListTrack["Type"].asString(); - if(!timelineNodeTrackListTrack["Order"].isNull()) - trackObject.order = timelineNodeTrackListTrack["Order"].asString(); - if(!timelineNodeTrackListTrack["Id"].isNull()) - trackObject.id = timelineNodeTrackListTrack["Id"].asString(); - auto allClipsNode = timelineNodeTrackListTrack["Clips"]["Clip"]; - for (auto timelineNodeTrackListTrackClipsClip : allClipsNode) - { - JobResult::Job::EditingConfig::Editing::Timeline::Track::Clip3 clipsObject; - if(!timelineNodeTrackListTrackClipsClip["Out"].isNull()) - clipsObject.out = timelineNodeTrackListTrackClipsClip["Out"].asString(); - if(!timelineNodeTrackListTrackClipsClip["In"].isNull()) - clipsObject.in = timelineNodeTrackListTrackClipsClip["In"].asString(); - if(!timelineNodeTrackListTrackClipsClip["clipID"].isNull()) - clipsObject.clipID = timelineNodeTrackListTrackClipsClip["clipID"].asString(); - auto clipsConfigNode = value["ClipsConfig"]; - auto clipsConfigVideoNode = clipsConfigNode["ClipsConfigVideo"]; - if(!clipsConfigVideoNode["T"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.t = clipsConfigVideoNode["T"].asString(); - if(!clipsConfigVideoNode["L"].isNull()) - clipsObject.clipsConfig.clipsConfigVideo.l = clipsConfigVideoNode["L"].asString(); - trackObject.clips.push_back(clipsObject); - } - jobResultListObject.job.editingConfig.editing.timeline.trackList.push_back(trackObject); - } - auto timelineConfigNode = timelineNode["TimelineConfig"]; - auto timelineConfigAudioNode = timelineConfigNode["TimelineConfigAudio"]; - if(!timelineConfigAudioNode["ChannelLayout"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigAudio.channelLayout = timelineConfigAudioNode["ChannelLayout"].asString(); - if(!timelineConfigAudioNode["Samplerate"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigAudio.samplerate = timelineConfigAudioNode["Samplerate"].asString(); - if(!timelineConfigAudioNode["Channels"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigAudio.channels = timelineConfigAudioNode["Channels"].asString(); - auto timelineConfigVideoNode = timelineConfigNode["TimelineConfigVideo"]; - if(!timelineConfigVideoNode["BgColor"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.bgColor = timelineConfigVideoNode["BgColor"].asString(); - if(!timelineConfigVideoNode["Width"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.width = timelineConfigVideoNode["Width"].asString(); - if(!timelineConfigVideoNode["RenderRatio"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.renderRatio = timelineConfigVideoNode["RenderRatio"].asString(); - if(!timelineConfigVideoNode["IsGpuData"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.isGpuData = timelineConfigVideoNode["IsGpuData"].asString(); - if(!timelineConfigVideoNode["Height"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.height = timelineConfigVideoNode["Height"].asString(); - if(!timelineConfigVideoNode["IsOneTrackData"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.isOneTrackData = timelineConfigVideoNode["IsOneTrackData"].asString(); - if(!timelineConfigVideoNode["Fps"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.fps = timelineConfigVideoNode["Fps"].asString(); - if(!timelineConfigVideoNode["ReclosePrec"].isNull()) - jobResultListObject.job.editingConfig.editing.timeline.timelineConfig.timelineConfigVideo.reclosePrec = timelineConfigVideoNode["ReclosePrec"].asString(); - auto containerNode = editingConfigNode["Container"]; - if(!containerNode["Format"].isNull()) - jobResultListObject.job.editingConfig.container.format = containerNode["Format"].asString(); - auto clip4Node = editingConfigNode["Clip"]; - auto timeSpanNode = clip4Node["TimeSpan"]; - if(!timeSpanNode["Seek"].isNull()) - jobResultListObject.job.editingConfig.clip4.timeSpan.seek = timeSpanNode["Seek"].asString(); - if(!timeSpanNode["Duration"].isNull()) - jobResultListObject.job.editingConfig.clip4.timeSpan.duration = timeSpanNode["Duration"].asString(); - auto muxConfigNode = editingConfigNode["MuxConfig"]; - auto gifNode = muxConfigNode["Gif"]; - if(!gifNode["FinalDelay"].isNull()) - jobResultListObject.job.editingConfig.muxConfig.gif.finalDelay = gifNode["FinalDelay"].asString(); - if(!gifNode["DitherMode"].isNull()) - jobResultListObject.job.editingConfig.muxConfig.gif.ditherMode = gifNode["DitherMode"].asString(); - if(!gifNode["Loop"].isNull()) - jobResultListObject.job.editingConfig.muxConfig.gif.loop = gifNode["Loop"].asString(); - if(!gifNode["IsCustomPalette"].isNull()) - jobResultListObject.job.editingConfig.muxConfig.gif.isCustomPalette = gifNode["IsCustomPalette"].asString(); - auto segmentNode = muxConfigNode["Segment"]; - if(!segmentNode["Duration"].isNull()) - jobResultListObject.job.editingConfig.muxConfig.segment.duration = segmentNode["Duration"].asString(); - auto subtitleConfigNode = editingConfigNode["SubtitleConfig"]; - auto allExtSubtitleListNode = subtitleConfigNode["ExtSubtitleList"]["ExtSubtitle"]; - for (auto subtitleConfigNodeExtSubtitleListExtSubtitle : allExtSubtitleListNode) - { - JobResult::Job::EditingConfig::SubtitleConfig::ExtSubtitle extSubtitleObject; - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].isNull()) - extSubtitleObject.charEnc = subtitleConfigNodeExtSubtitleListExtSubtitle["CharEnc"].asString(); - if(!subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].isNull()) - extSubtitleObject.fontName = subtitleConfigNodeExtSubtitleListExtSubtitle["FontName"].asString(); - auto inputNode = value["Input"]; - if(!inputNode["Object"].isNull()) - extSubtitleObject.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - extSubtitleObject.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - extSubtitleObject.input.bucket = inputNode["Bucket"].asString(); - jobResultListObject.job.editingConfig.subtitleConfig.extSubtitleList.push_back(extSubtitleObject); - } - auto allSubtitleListNode = subtitleConfigNode["SubtitleList"]["Subtitle"]; - for (auto subtitleConfigNodeSubtitleListSubtitle : allSubtitleListNode) - { - JobResult::Job::EditingConfig::SubtitleConfig::Subtitle subtitleObject; - if(!subtitleConfigNodeSubtitleListSubtitle["Map"].isNull()) - subtitleObject.map = subtitleConfigNodeSubtitleListSubtitle["Map"].asString(); - jobResultListObject.job.editingConfig.subtitleConfig.subtitleList.push_back(subtitleObject); - } - auto propertiesNode = editingConfigNode["Properties"]; - if(!propertiesNode["Width"].isNull()) - jobResultListObject.job.editingConfig.properties.width = propertiesNode["Width"].asString(); - if(!propertiesNode["Height"].isNull()) - jobResultListObject.job.editingConfig.properties.height = propertiesNode["Height"].asString(); - if(!propertiesNode["Duration"].isNull()) - jobResultListObject.job.editingConfig.properties.duration = propertiesNode["Duration"].asString(); - if(!propertiesNode["Fps"].isNull()) - jobResultListObject.job.editingConfig.properties.fps = propertiesNode["Fps"].asString(); - if(!propertiesNode["Bitrate"].isNull()) - jobResultListObject.job.editingConfig.properties.bitrate = propertiesNode["Bitrate"].asString(); - if(!propertiesNode["FileFormat"].isNull()) - jobResultListObject.job.editingConfig.properties.fileFormat = propertiesNode["FileFormat"].asString(); - if(!propertiesNode["FileSize"].isNull()) - jobResultListObject.job.editingConfig.properties.fileSize = propertiesNode["FileSize"].asString(); - auto streamsNode = propertiesNode["Streams"]; - auto allVideoStreamListNode = streamsNode["VideoStreamList"]["VideoStream"]; - for (auto streamsNodeVideoStreamListVideoStream : allVideoStreamListNode) - { - JobResult::Job::EditingConfig::Properties::Streams::VideoStream videoStreamObject; - if(!streamsNodeVideoStreamListVideoStream["Index"].isNull()) - videoStreamObject.index = streamsNodeVideoStreamListVideoStream["Index"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Timebase"].isNull()) - videoStreamObject.timebase = streamsNodeVideoStreamListVideoStream["Timebase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["AvgFPS"].isNull()) - videoStreamObject.avgFPS = streamsNodeVideoStreamListVideoStream["AvgFPS"].asString(); - if(!streamsNodeVideoStreamListVideoStream["PixFmt"].isNull()) - videoStreamObject.pixFmt = streamsNodeVideoStreamListVideoStream["PixFmt"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Sar"].isNull()) - videoStreamObject.sar = streamsNodeVideoStreamListVideoStream["Sar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Lang"].isNull()) - videoStreamObject.lang = streamsNodeVideoStreamListVideoStream["Lang"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecLongName"].isNull()) - videoStreamObject.codecLongName = streamsNodeVideoStreamListVideoStream["CodecLongName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Height"].isNull()) - videoStreamObject.height = streamsNodeVideoStreamListVideoStream["Height"].asString(); - if(!streamsNodeVideoStreamListVideoStream["NumFrames"].isNull()) - videoStreamObject.numFrames = streamsNodeVideoStreamListVideoStream["NumFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Bitrate"].isNull()) - videoStreamObject.bitrate = streamsNodeVideoStreamListVideoStream["Bitrate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTagString"].isNull()) - videoStreamObject.codecTagString = streamsNodeVideoStreamListVideoStream["CodecTagString"].asString(); - if(!streamsNodeVideoStreamListVideoStream["HasBFrames"].isNull()) - videoStreamObject.hasBFrames = streamsNodeVideoStreamListVideoStream["HasBFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Profile"].isNull()) - videoStreamObject.profile = streamsNodeVideoStreamListVideoStream["Profile"].asString(); - if(!streamsNodeVideoStreamListVideoStream["StartTime"].isNull()) - videoStreamObject.startTime = streamsNodeVideoStreamListVideoStream["StartTime"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Dar"].isNull()) - videoStreamObject.dar = streamsNodeVideoStreamListVideoStream["Dar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecName"].isNull()) - videoStreamObject.codecName = streamsNodeVideoStreamListVideoStream["CodecName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Width"].isNull()) - videoStreamObject.width = streamsNodeVideoStreamListVideoStream["Width"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Duration"].isNull()) - videoStreamObject.duration = streamsNodeVideoStreamListVideoStream["Duration"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Fps"].isNull()) - videoStreamObject.fps = streamsNodeVideoStreamListVideoStream["Fps"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTag"].isNull()) - videoStreamObject.codecTag = streamsNodeVideoStreamListVideoStream["CodecTag"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTimeBase"].isNull()) - videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) - videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); - auto networkCostNode = value["NetworkCost"]; - if(!networkCostNode["PreloadTime"].isNull()) - videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); - if(!networkCostNode["AvgBitrate"].isNull()) - videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString(); - if(!networkCostNode["CostBandwidth"].isNull()) - videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString(); - jobResultListObject.job.editingConfig.properties.streams.videoStreamList.push_back(videoStreamObject); - } - auto allAudioStreamListNode = streamsNode["AudioStreamList"]["AudioStream"]; - for (auto streamsNodeAudioStreamListAudioStream : allAudioStreamListNode) - { - JobResult::Job::EditingConfig::Properties::Streams::AudioStream audioStreamObject; - if(!streamsNodeAudioStreamListAudioStream["Timebase"].isNull()) - audioStreamObject.timebase = streamsNodeAudioStreamListAudioStream["Timebase"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Index"].isNull()) - audioStreamObject.index = streamsNodeAudioStreamListAudioStream["Index"].asString(); - if(!streamsNodeAudioStreamListAudioStream["SampleFmt"].isNull()) - audioStreamObject.sampleFmt = streamsNodeAudioStreamListAudioStream["SampleFmt"].asString(); - if(!streamsNodeAudioStreamListAudioStream["ChannelLayout"].isNull()) - audioStreamObject.channelLayout = streamsNodeAudioStreamListAudioStream["ChannelLayout"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Lang"].isNull()) - audioStreamObject.lang = streamsNodeAudioStreamListAudioStream["Lang"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Samplerate"].isNull()) - audioStreamObject.samplerate = streamsNodeAudioStreamListAudioStream["Samplerate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecLongName"].isNull()) - audioStreamObject.codecLongName = streamsNodeAudioStreamListAudioStream["CodecLongName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Channels"].isNull()) - audioStreamObject.channels = streamsNodeAudioStreamListAudioStream["Channels"].asString(); - if(!streamsNodeAudioStreamListAudioStream["NumFrames"].isNull()) - audioStreamObject.numFrames = streamsNodeAudioStreamListAudioStream["NumFrames"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Bitrate"].isNull()) - audioStreamObject.bitrate = streamsNodeAudioStreamListAudioStream["Bitrate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTagString"].isNull()) - audioStreamObject.codecTagString = streamsNodeAudioStreamListAudioStream["CodecTagString"].asString(); - if(!streamsNodeAudioStreamListAudioStream["StartTime"].isNull()) - audioStreamObject.startTime = streamsNodeAudioStreamListAudioStream["StartTime"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecName"].isNull()) - audioStreamObject.codecName = streamsNodeAudioStreamListAudioStream["CodecName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Duration"].isNull()) - audioStreamObject.duration = streamsNodeAudioStreamListAudioStream["Duration"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTag"].isNull()) - audioStreamObject.codecTag = streamsNodeAudioStreamListAudioStream["CodecTag"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTimeBase"].isNull()) - audioStreamObject.codecTimeBase = streamsNodeAudioStreamListAudioStream["CodecTimeBase"].asString(); - jobResultListObject.job.editingConfig.properties.streams.audioStreamList.push_back(audioStreamObject); - } - auto allSubtitleStreamListNode = streamsNode["SubtitleStreamList"]["SubtitleStream"]; - for (auto streamsNodeSubtitleStreamListSubtitleStream : allSubtitleStreamListNode) - { - JobResult::Job::EditingConfig::Properties::Streams::SubtitleStream subtitleStreamObject; - if(!streamsNodeSubtitleStreamListSubtitleStream["Index"].isNull()) - subtitleStreamObject.index = streamsNodeSubtitleStreamListSubtitleStream["Index"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Lang"].isNull()) - subtitleStreamObject.lang = streamsNodeSubtitleStreamListSubtitleStream["Lang"].asString(); - jobResultListObject.job.editingConfig.properties.streams.subtitleStreamList.push_back(subtitleStreamObject); - } - auto formatNode = propertiesNode["Format"]; - if(!formatNode["StartTime"].isNull()) - jobResultListObject.job.editingConfig.properties.format.startTime = formatNode["StartTime"].asString(); - if(!formatNode["NumPrograms"].isNull()) - jobResultListObject.job.editingConfig.properties.format.numPrograms = formatNode["NumPrograms"].asString(); - if(!formatNode["Size"].isNull()) - jobResultListObject.job.editingConfig.properties.format.size = formatNode["Size"].asString(); - if(!formatNode["NumStreams"].isNull()) - jobResultListObject.job.editingConfig.properties.format.numStreams = formatNode["NumStreams"].asString(); - if(!formatNode["FormatLongName"].isNull()) - jobResultListObject.job.editingConfig.properties.format.formatLongName = formatNode["FormatLongName"].asString(); - if(!formatNode["Duration"].isNull()) - jobResultListObject.job.editingConfig.properties.format.duration = formatNode["Duration"].asString(); - if(!formatNode["Bitrate"].isNull()) - jobResultListObject.job.editingConfig.properties.format.bitrate = formatNode["Bitrate"].asString(); - if(!formatNode["FormatName"].isNull()) - jobResultListObject.job.editingConfig.properties.format.formatName = formatNode["FormatName"].asString(); - auto mNSMessageResultNode = jobNode["MNSMessageResult"]; - if(!mNSMessageResultNode["MessageId"].isNull()) - jobResultListObject.job.mNSMessageResult.messageId = mNSMessageResultNode["MessageId"].asString(); - if(!mNSMessageResultNode["ErrorMessage"].isNull()) - jobResultListObject.job.mNSMessageResult.errorMessage = mNSMessageResultNode["ErrorMessage"].asString(); - if(!mNSMessageResultNode["ErrorCode"].isNull()) - jobResultListObject.job.mNSMessageResult.errorCode = mNSMessageResultNode["ErrorCode"].asString(); - jobResultList_.push_back(jobResultListObject); - } - -} - -std::vector SubmitEditingJobsResult::getJobResultList()const -{ - return jobResultList_; -} - diff --git a/mts/src/model/SubmitFacerecogJobRequest.cc b/mts/src/model/SubmitFacerecogJobRequest.cc deleted file mode 100644 index a1d515bc7..000000000 --- a/mts/src/model/SubmitFacerecogJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitFacerecogJobRequest; - -SubmitFacerecogJobRequest::SubmitFacerecogJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitFacerecogJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitFacerecogJobRequest::~SubmitFacerecogJobRequest() {} - -long SubmitFacerecogJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitFacerecogJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitFacerecogJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitFacerecogJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitFacerecogJobRequest::getUserData() const { - return userData_; -} - -void SubmitFacerecogJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitFacerecogJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitFacerecogJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitFacerecogJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitFacerecogJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitFacerecogJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitFacerecogJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitFacerecogJobRequest::getFacerecogConfig() const { - return facerecogConfig_; -} - -void SubmitFacerecogJobRequest::setFacerecogConfig(const std::string &facerecogConfig) { - facerecogConfig_ = facerecogConfig; - setParameter(std::string("FacerecogConfig"), facerecogConfig); -} - -std::string SubmitFacerecogJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitFacerecogJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitFacerecogJobRequest::getInput() const { - return input_; -} - -void SubmitFacerecogJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitFpCompareJobRequest.cc b/mts/src/model/SubmitFpCompareJobRequest.cc deleted file mode 100644 index f49edc1bc..000000000 --- a/mts/src/model/SubmitFpCompareJobRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Mts::Model::SubmitFpCompareJobRequest; - -SubmitFpCompareJobRequest::SubmitFpCompareJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitFpCompareJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitFpCompareJobRequest::~SubmitFpCompareJobRequest() {} - -long SubmitFpCompareJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitFpCompareJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitFpCompareJobRequest::getFpDBId() const { - return fpDBId_; -} - -void SubmitFpCompareJobRequest::setFpDBId(const std::string &fpDBId) { - fpDBId_ = fpDBId; - setParameter(std::string("FpDBId"), fpDBId); -} - -std::string SubmitFpCompareJobRequest::getMasterMedia() const { - return masterMedia_; -} - -void SubmitFpCompareJobRequest::setMasterMedia(const std::string &masterMedia) { - masterMedia_ = masterMedia; - setParameter(std::string("MasterMedia"), masterMedia); -} - -std::string SubmitFpCompareJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitFpCompareJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitFpCompareJobRequest::getUserData() const { - return userData_; -} - -void SubmitFpCompareJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitFpCompareJobRequest::getQueryMedia() const { - return queryMedia_; -} - -void SubmitFpCompareJobRequest::setQueryMedia(const std::string &queryMedia) { - queryMedia_ = queryMedia; - setParameter(std::string("QueryMedia"), queryMedia); -} - -std::string SubmitFpCompareJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitFpCompareJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitFpCompareJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitFpCompareJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitFpCompareJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitFpCompareJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitFpCompareJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitFpCompareJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitFpCompareJobRequest::getMatchedFrameStorage() const { - return matchedFrameStorage_; -} - -void SubmitFpCompareJobRequest::setMatchedFrameStorage(const std::string &matchedFrameStorage) { - matchedFrameStorage_ = matchedFrameStorage; - setParameter(std::string("MatchedFrameStorage"), matchedFrameStorage); -} - diff --git a/mts/src/model/SubmitFpFileDeleteJobRequest.cc b/mts/src/model/SubmitFpFileDeleteJobRequest.cc index 596838ac9..3a808bfc4 100644 --- a/mts/src/model/SubmitFpFileDeleteJobRequest.cc +++ b/mts/src/model/SubmitFpFileDeleteJobRequest.cc @@ -61,6 +61,15 @@ void SubmitFpFileDeleteJobRequest::setUserData(const std::string &userData) { setParameter(std::string("UserData"), userData); } +std::string SubmitFpFileDeleteJobRequest::getPrimaryKeys() const { + return primaryKeys_; +} + +void SubmitFpFileDeleteJobRequest::setPrimaryKeys(const std::string &primaryKeys) { + primaryKeys_ = primaryKeys; + setParameter(std::string("PrimaryKeys"), primaryKeys); +} + std::string SubmitFpFileDeleteJobRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/mts/src/model/SubmitImageCopyrightRequest.cc b/mts/src/model/SubmitImageCopyrightRequest.cc new file mode 100644 index 000000000..33643c6a7 --- /dev/null +++ b/mts/src/model/SubmitImageCopyrightRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Mts::Model::SubmitImageCopyrightRequest; + +SubmitImageCopyrightRequest::SubmitImageCopyrightRequest() + : RpcServiceRequest("mts", "2014-06-18", "SubmitImageCopyright") { + setMethod(HttpRequest::Method::Post); +} + +SubmitImageCopyrightRequest::~SubmitImageCopyrightRequest() {} + +long SubmitImageCopyrightRequest::getLevel() const { + return level_; +} + +void SubmitImageCopyrightRequest::setLevel(long level) { + level_ = level; + setParameter(std::string("Level"), std::to_string(level)); +} + +std::string SubmitImageCopyrightRequest::getMessage() const { + return message_; +} + +void SubmitImageCopyrightRequest::setMessage(const std::string &message) { + message_ = message; + setParameter(std::string("Message"), message); +} + +std::string SubmitImageCopyrightRequest::getParams() const { + return params_; +} + +void SubmitImageCopyrightRequest::setParams(const std::string ¶ms) { + params_ = params; + setParameter(std::string("Params"), params); +} + +std::string SubmitImageCopyrightRequest::getUrl() const { + return url_; +} + +void SubmitImageCopyrightRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + +std::string SubmitImageCopyrightRequest::getOutput() const { + return output_; +} + +void SubmitImageCopyrightRequest::setOutput(const std::string &output) { + output_ = output; + setParameter(std::string("Output"), output); +} + +std::string SubmitImageCopyrightRequest::getInput() const { + return input_; +} + +void SubmitImageCopyrightRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); +} + diff --git a/mts/src/model/SubmitImageCopyrightResult.cc b/mts/src/model/SubmitImageCopyrightResult.cc new file mode 100644 index 000000000..47949e899 --- /dev/null +++ b/mts/src/model/SubmitImageCopyrightResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +SubmitImageCopyrightResult::SubmitImageCopyrightResult() : + ServiceResult() +{} + +SubmitImageCopyrightResult::SubmitImageCopyrightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitImageCopyrightResult::~SubmitImageCopyrightResult() +{} + +void SubmitImageCopyrightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string SubmitImageCopyrightResult::getMessage()const +{ + return message_; +} + +SubmitImageCopyrightResult::Data SubmitImageCopyrightResult::getData()const +{ + return data_; +} + +long SubmitImageCopyrightResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/SubmitImageQualityJobRequest.cc b/mts/src/model/SubmitImageQualityJobRequest.cc deleted file mode 100644 index 0a30a9392..000000000 --- a/mts/src/model/SubmitImageQualityJobRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::SubmitImageQualityJobRequest; - -SubmitImageQualityJobRequest::SubmitImageQualityJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitImageQualityJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitImageQualityJobRequest::~SubmitImageQualityJobRequest() {} - -long SubmitImageQualityJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitImageQualityJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitImageQualityJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitImageQualityJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitImageQualityJobRequest::getUserData() const { - return userData_; -} - -void SubmitImageQualityJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitImageQualityJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitImageQualityJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitImageQualityJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitImageQualityJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitImageQualityJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitImageQualityJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitImageQualityJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitImageQualityJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitImageQualityJobRequest::getInput() const { - return input_; -} - -void SubmitImageQualityJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitImageQualityJobResult.cc b/mts/src/model/SubmitImageQualityJobResult.cc deleted file mode 100644 index a8b97d1a2..000000000 --- a/mts/src/model/SubmitImageQualityJobResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitImageQualityJobResult::SubmitImageQualityJobResult() : - ServiceResult() -{} - -SubmitImageQualityJobResult::SubmitImageQualityJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitImageQualityJobResult::~SubmitImageQualityJobResult() -{} - -void SubmitImageQualityJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto imageQualityJobNode = value["ImageQualityJob"]; - if(!imageQualityJobNode["CreationTime"].isNull()) - imageQualityJob_.creationTime = imageQualityJobNode["CreationTime"].asString(); - if(!imageQualityJobNode["State"].isNull()) - imageQualityJob_.state = imageQualityJobNode["State"].asString(); - if(!imageQualityJobNode["JobId"].isNull()) - imageQualityJob_.jobId = imageQualityJobNode["JobId"].asString(); - if(!imageQualityJobNode["UserData"].isNull()) - imageQualityJob_.userData = imageQualityJobNode["UserData"].asString(); - if(!imageQualityJobNode["PipelineId"].isNull()) - imageQualityJob_.pipelineId = imageQualityJobNode["PipelineId"].asString(); - auto resultNode = imageQualityJobNode["Result"]; - if(!resultNode["Code"].isNull()) - imageQualityJob_.result.code = resultNode["Code"].asString(); - if(!resultNode["Message"].isNull()) - imageQualityJob_.result.message = resultNode["Message"].asString(); - if(!resultNode["Score"].isNull()) - imageQualityJob_.result.score = resultNode["Score"].asString(); - auto inputNode = imageQualityJobNode["Input"]; - if(!inputNode["Url"].isNull()) - imageQualityJob_.input.url = inputNode["Url"].asString(); - if(!inputNode["Object"].isNull()) - imageQualityJob_.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - imageQualityJob_.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - imageQualityJob_.input.bucket = inputNode["Bucket"].asString(); - -} - -SubmitImageQualityJobResult::ImageQualityJob SubmitImageQualityJobResult::getImageQualityJob()const -{ - return imageQualityJob_; -} - diff --git a/mts/src/model/SubmitImageSearchJobRequest.cc b/mts/src/model/SubmitImageSearchJobRequest.cc deleted file mode 100644 index 6d8b510e9..000000000 --- a/mts/src/model/SubmitImageSearchJobRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Mts::Model::SubmitImageSearchJobRequest; - -SubmitImageSearchJobRequest::SubmitImageSearchJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitImageSearchJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitImageSearchJobRequest::~SubmitImageSearchJobRequest() {} - -long SubmitImageSearchJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitImageSearchJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitImageSearchJobRequest::getFpDBId() const { - return fpDBId_; -} - -void SubmitImageSearchJobRequest::setFpDBId(const std::string &fpDBId) { - fpDBId_ = fpDBId; - setParameter(std::string("FpDBId"), fpDBId); -} - -std::string SubmitImageSearchJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitImageSearchJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitImageSearchJobRequest::getUserData() const { - return userData_; -} - -void SubmitImageSearchJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitImageSearchJobRequest::getInputVideo() const { - return inputVideo_; -} - -void SubmitImageSearchJobRequest::setInputVideo(const std::string &inputVideo) { - inputVideo_ = inputVideo; - setParameter(std::string("InputVideo"), inputVideo); -} - -std::string SubmitImageSearchJobRequest::getInputImage() const { - return inputImage_; -} - -void SubmitImageSearchJobRequest::setInputImage(const std::string &inputImage) { - inputImage_ = inputImage; - setParameter(std::string("InputImage"), inputImage); -} - -std::string SubmitImageSearchJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitImageSearchJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitImageSearchJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitImageSearchJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitImageSearchJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitImageSearchJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitImageSearchJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitImageSearchJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitImageSearchJobRequest::getConfig() const { - return config_; -} - -void SubmitImageSearchJobRequest::setConfig(const std::string &config) { - config_ = config; - setParameter(std::string("Config"), config); -} - diff --git a/mts/src/model/SubmitImageSearchJobResult.cc b/mts/src/model/SubmitImageSearchJobResult.cc deleted file mode 100644 index 309efde57..000000000 --- a/mts/src/model/SubmitImageSearchJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitImageSearchJobResult::SubmitImageSearchJobResult() : - ServiceResult() -{} - -SubmitImageSearchJobResult::SubmitImageSearchJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitImageSearchJobResult::~SubmitImageSearchJobResult() -{} - -void SubmitImageSearchJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitImageSearchJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitInferenceJobRequest.cc b/mts/src/model/SubmitInferenceJobRequest.cc deleted file mode 100644 index f991818c9..000000000 --- a/mts/src/model/SubmitInferenceJobRequest.cc +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::SubmitInferenceJobRequest; - -SubmitInferenceJobRequest::SubmitInferenceJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitInferenceJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitInferenceJobRequest::~SubmitInferenceJobRequest() {} - -std::string SubmitInferenceJobRequest::getInput() const { - return input_; -} - -void SubmitInferenceJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - -std::string SubmitInferenceJobRequest::getModelType() const { - return modelType_; -} - -void SubmitInferenceJobRequest::setModelType(const std::string &modelType) { - modelType_ = modelType; - setParameter(std::string("ModelType"), modelType); -} - -std::string SubmitInferenceJobRequest::getServerName() const { - return serverName_; -} - -void SubmitInferenceJobRequest::setServerName(const std::string &serverName) { - serverName_ = serverName; - setParameter(std::string("ServerName"), serverName); -} - diff --git a/mts/src/model/SubmitInnerJobRequest.cc b/mts/src/model/SubmitInnerJobRequest.cc deleted file mode 100644 index d7c787ac1..000000000 --- a/mts/src/model/SubmitInnerJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitInnerJobRequest; - -SubmitInnerJobRequest::SubmitInnerJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitInnerJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitInnerJobRequest::~SubmitInnerJobRequest() {} - -long SubmitInnerJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitInnerJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitInnerJobRequest::getVideo() const { - return video_; -} - -void SubmitInnerJobRequest::setVideo(const std::string &video) { - video_ = video; - setParameter(std::string("Video"), video); -} - -std::string SubmitInnerJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitInnerJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long SubmitInnerJobRequest::getUid() const { - return uid_; -} - -void SubmitInnerJobRequest::setUid(long uid) { - uid_ = uid; - setParameter(std::string("Uid"), std::to_string(uid)); -} - -std::string SubmitInnerJobRequest::getImages() const { - return images_; -} - -void SubmitInnerJobRequest::setImages(const std::string &images) { - images_ = images; - setParameter(std::string("Images"), images); -} - -std::string SubmitInnerJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitInnerJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -long SubmitInnerJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitInnerJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitInnerJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitInnerJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitInnerJobRequest::getConfig() const { - return config_; -} - -void SubmitInnerJobRequest::setConfig(const std::string &config) { - config_ = config; - setParameter(std::string("Config"), config); -} - diff --git a/mts/src/model/SubmitMCJobRequest.cc b/mts/src/model/SubmitMCJobRequest.cc deleted file mode 100644 index fc56834e5..000000000 --- a/mts/src/model/SubmitMCJobRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Mts::Model::SubmitMCJobRequest; - -SubmitMCJobRequest::SubmitMCJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitMCJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitMCJobRequest::~SubmitMCJobRequest() {} - -long SubmitMCJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitMCJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitMCJobRequest::getVideo() const { - return video_; -} - -void SubmitMCJobRequest::setVideo(const std::string &video) { - video_ = video; - setParameter(std::string("Video"), video); -} - -std::string SubmitMCJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitMCJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitMCJobRequest::getUserData() const { - return userData_; -} - -void SubmitMCJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitMCJobRequest::getImages() const { - return images_; -} - -void SubmitMCJobRequest::setImages(const std::string &images) { - images_ = images; - setParameter(std::string("Images"), images); -} - -std::string SubmitMCJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitMCJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitMCJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitMCJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitMCJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitMCJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitMCJobRequest::getCensorConfig() const { - return censorConfig_; -} - -void SubmitMCJobRequest::setCensorConfig(const std::string &censorConfig) { - censorConfig_ = censorConfig; - setParameter(std::string("CensorConfig"), censorConfig); -} - -std::string SubmitMCJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitMCJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitMCJobRequest::getTexts() const { - return texts_; -} - -void SubmitMCJobRequest::setTexts(const std::string &texts) { - texts_ = texts; - setParameter(std::string("Texts"), texts); -} - diff --git a/mts/src/model/SubmitMcuJobRequest.cc b/mts/src/model/SubmitMcuJobRequest.cc deleted file mode 100644 index bfa2b4dbf..000000000 --- a/mts/src/model/SubmitMcuJobRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::SubmitMcuJobRequest; - -SubmitMcuJobRequest::SubmitMcuJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitMcuJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitMcuJobRequest::~SubmitMcuJobRequest() {} - -std::string SubmitMcuJobRequest::get_Template() const { - return _template_; -} - -void SubmitMcuJobRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); -} - -long SubmitMcuJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitMcuJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitMcuJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitMcuJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitMcuJobRequest::getUserData() const { - return userData_; -} - -void SubmitMcuJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitMcuJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitMcuJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitMcuJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitMcuJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitMcuJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitMcuJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitMcuJobRequest::getTemplateId() const { - return templateId_; -} - -void SubmitMcuJobRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); -} - -std::string SubmitMcuJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitMcuJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitMcuJobRequest::getInput() const { - return input_; -} - -void SubmitMcuJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitMcuJobResult.cc b/mts/src/model/SubmitMcuJobResult.cc deleted file mode 100644 index 21a65f626..000000000 --- a/mts/src/model/SubmitMcuJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitMcuJobResult::SubmitMcuJobResult() : - ServiceResult() -{} - -SubmitMcuJobResult::SubmitMcuJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitMcuJobResult::~SubmitMcuJobResult() -{} - -void SubmitMcuJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitMcuJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitMediaCensorJobRequest.cc b/mts/src/model/SubmitMediaCensorJobRequest.cc index 8669a177e..88bec212f 100644 --- a/mts/src/model/SubmitMediaCensorJobRequest.cc +++ b/mts/src/model/SubmitMediaCensorJobRequest.cc @@ -25,6 +25,15 @@ SubmitMediaCensorJobRequest::SubmitMediaCensorJobRequest() SubmitMediaCensorJobRequest::~SubmitMediaCensorJobRequest() {} +std::string SubmitMediaCensorJobRequest::getExternalUrl() const { + return externalUrl_; +} + +void SubmitMediaCensorJobRequest::setExternalUrl(const std::string &externalUrl) { + externalUrl_ = externalUrl; + setParameter(std::string("ExternalUrl"), externalUrl); +} + long SubmitMediaCensorJobRequest::getResourceOwnerId() const { return resourceOwnerId_; } diff --git a/mts/src/model/SubmitMediaDetailJobRequest.cc b/mts/src/model/SubmitMediaDetailJobRequest.cc deleted file mode 100644 index addf61dfc..000000000 --- a/mts/src/model/SubmitMediaDetailJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitMediaDetailJobRequest; - -SubmitMediaDetailJobRequest::SubmitMediaDetailJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitMediaDetailJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitMediaDetailJobRequest::~SubmitMediaDetailJobRequest() {} - -long SubmitMediaDetailJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitMediaDetailJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitMediaDetailJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitMediaDetailJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitMediaDetailJobRequest::getUserData() const { - return userData_; -} - -void SubmitMediaDetailJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitMediaDetailJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitMediaDetailJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitMediaDetailJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitMediaDetailJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitMediaDetailJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitMediaDetailJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitMediaDetailJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitMediaDetailJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitMediaDetailJobRequest::getInput() const { - return input_; -} - -void SubmitMediaDetailJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - -std::string SubmitMediaDetailJobRequest::getMediaDetailConfig() const { - return mediaDetailConfig_; -} - -void SubmitMediaDetailJobRequest::setMediaDetailConfig(const std::string &mediaDetailConfig) { - mediaDetailConfig_ = mediaDetailConfig; - setParameter(std::string("MediaDetailConfig"), mediaDetailConfig); -} - diff --git a/mts/src/model/SubmitMediaDetailJobResult.cc b/mts/src/model/SubmitMediaDetailJobResult.cc deleted file mode 100644 index e55d752d8..000000000 --- a/mts/src/model/SubmitMediaDetailJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitMediaDetailJobResult::SubmitMediaDetailJobResult() : - ServiceResult() -{} - -SubmitMediaDetailJobResult::SubmitMediaDetailJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitMediaDetailJobResult::~SubmitMediaDetailJobResult() -{} - -void SubmitMediaDetailJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitMediaDetailJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitMediaFpDeleteJobRequest.cc b/mts/src/model/SubmitMediaFpDeleteJobRequest.cc deleted file mode 100644 index 1f72018a4..000000000 --- a/mts/src/model/SubmitMediaFpDeleteJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitMediaFpDeleteJobRequest; - -SubmitMediaFpDeleteJobRequest::SubmitMediaFpDeleteJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitMediaFpDeleteJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitMediaFpDeleteJobRequest::~SubmitMediaFpDeleteJobRequest() {} - -long SubmitMediaFpDeleteJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitMediaFpDeleteJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitMediaFpDeleteJobRequest::getFpDBId() const { - return fpDBId_; -} - -void SubmitMediaFpDeleteJobRequest::setFpDBId(const std::string &fpDBId) { - fpDBId_ = fpDBId; - setParameter(std::string("FpDBId"), fpDBId); -} - -std::string SubmitMediaFpDeleteJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitMediaFpDeleteJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitMediaFpDeleteJobRequest::getUserData() const { - return userData_; -} - -void SubmitMediaFpDeleteJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitMediaFpDeleteJobRequest::getPrimaryKey() const { - return primaryKey_; -} - -void SubmitMediaFpDeleteJobRequest::setPrimaryKey(const std::string &primaryKey) { - primaryKey_ = primaryKey; - setParameter(std::string("PrimaryKey"), primaryKey); -} - -std::string SubmitMediaFpDeleteJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitMediaFpDeleteJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitMediaFpDeleteJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitMediaFpDeleteJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitMediaFpDeleteJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitMediaFpDeleteJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitMediaFpDeleteJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitMediaFpDeleteJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - diff --git a/mts/src/model/SubmitMediaFpDeleteJobResult.cc b/mts/src/model/SubmitMediaFpDeleteJobResult.cc deleted file mode 100644 index 038955f9d..000000000 --- a/mts/src/model/SubmitMediaFpDeleteJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitMediaFpDeleteJobResult::SubmitMediaFpDeleteJobResult() : - ServiceResult() -{} - -SubmitMediaFpDeleteJobResult::SubmitMediaFpDeleteJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitMediaFpDeleteJobResult::~SubmitMediaFpDeleteJobResult() -{} - -void SubmitMediaFpDeleteJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitMediaFpDeleteJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitPornJobRequest.cc b/mts/src/model/SubmitPornJobRequest.cc deleted file mode 100644 index 8edc77202..000000000 --- a/mts/src/model/SubmitPornJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitPornJobRequest; - -SubmitPornJobRequest::SubmitPornJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitPornJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitPornJobRequest::~SubmitPornJobRequest() {} - -long SubmitPornJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitPornJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitPornJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitPornJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitPornJobRequest::getUserData() const { - return userData_; -} - -void SubmitPornJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitPornJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitPornJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitPornJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitPornJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitPornJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitPornJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitPornJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitPornJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitPornJobRequest::getInput() const { - return input_; -} - -void SubmitPornJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - -std::string SubmitPornJobRequest::getPornConfig() const { - return pornConfig_; -} - -void SubmitPornJobRequest::setPornConfig(const std::string &pornConfig) { - pornConfig_ = pornConfig; - setParameter(std::string("PornConfig"), pornConfig); -} - diff --git a/mts/src/model/SubmitPornJobResult.cc b/mts/src/model/SubmitPornJobResult.cc deleted file mode 100644 index 849386e8a..000000000 --- a/mts/src/model/SubmitPornJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitPornJobResult::SubmitPornJobResult() : - ServiceResult() -{} - -SubmitPornJobResult::SubmitPornJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitPornJobResult::~SubmitPornJobResult() -{} - -void SubmitPornJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitPornJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitSmarttagJobRequest.cc b/mts/src/model/SubmitSmarttagJobRequest.cc index 50f8c51a5..48e3007ec 100644 --- a/mts/src/model/SubmitSmarttagJobRequest.cc +++ b/mts/src/model/SubmitSmarttagJobRequest.cc @@ -124,6 +124,15 @@ void SubmitSmarttagJobRequest::setTemplateId(const std::string &templateId) { setParameter(std::string("TemplateId"), templateId); } +std::string SubmitSmarttagJobRequest::getPriority() const { + return priority_; +} + +void SubmitSmarttagJobRequest::setPriority(const std::string &priority) { + priority_ = priority; + setParameter(std::string("Priority"), priority); +} + std::string SubmitSmarttagJobRequest::getPipelineId() const { return pipelineId_; } diff --git a/mts/src/model/SubmitSnapshotJobResult.cc b/mts/src/model/SubmitSnapshotJobResult.cc index 96c6a968d..4046490db 100644 --- a/mts/src/model/SubmitSnapshotJobResult.cc +++ b/mts/src/model/SubmitSnapshotJobResult.cc @@ -108,6 +108,9 @@ void SubmitSnapshotJobResult::parse(const std::string &payload) snapshotJob_.snapshotConfig.tileOutputFile.location = tileOutputFileNode["Location"].asString(); if(!tileOutputFileNode["Bucket"].isNull()) snapshotJob_.snapshotConfig.tileOutputFile.bucket = tileOutputFileNode["Bucket"].asString(); + auto allTimeArray = snapshotConfigNode["TimeArray"]["TimePointList"]; + for (auto value : allTimeArray) + snapshotJob_.snapshotConfig.timeArray.push_back(value.asString()); auto mNSMessageResultNode = snapshotJobNode["MNSMessageResult"]; if(!mNSMessageResultNode["MessageId"].isNull()) snapshotJob_.mNSMessageResult.messageId = mNSMessageResultNode["MessageId"].asString(); diff --git a/mts/src/model/SubmitSubtitleJobRequest.cc b/mts/src/model/SubmitSubtitleJobRequest.cc deleted file mode 100644 index dde358494..000000000 --- a/mts/src/model/SubmitSubtitleJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitSubtitleJobRequest; - -SubmitSubtitleJobRequest::SubmitSubtitleJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitSubtitleJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitSubtitleJobRequest::~SubmitSubtitleJobRequest() {} - -long SubmitSubtitleJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitSubtitleJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitSubtitleJobRequest::getOutputConfig() const { - return outputConfig_; -} - -void SubmitSubtitleJobRequest::setOutputConfig(const std::string &outputConfig) { - outputConfig_ = outputConfig; - setParameter(std::string("OutputConfig"), outputConfig); -} - -std::string SubmitSubtitleJobRequest::getInputConfig() const { - return inputConfig_; -} - -void SubmitSubtitleJobRequest::setInputConfig(const std::string &inputConfig) { - inputConfig_ = inputConfig; - setParameter(std::string("InputConfig"), inputConfig); -} - -std::string SubmitSubtitleJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitSubtitleJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitSubtitleJobRequest::getUserData() const { - return userData_; -} - -void SubmitSubtitleJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitSubtitleJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitSubtitleJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitSubtitleJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitSubtitleJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitSubtitleJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitSubtitleJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitSubtitleJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitSubtitleJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - diff --git a/mts/src/model/SubmitSubtitleJobResult.cc b/mts/src/model/SubmitSubtitleJobResult.cc deleted file mode 100644 index d27676080..000000000 --- a/mts/src/model/SubmitSubtitleJobResult.cc +++ /dev/null @@ -1,60 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitSubtitleJobResult::SubmitSubtitleJobResult() : - ServiceResult() -{} - -SubmitSubtitleJobResult::SubmitSubtitleJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitSubtitleJobResult::~SubmitSubtitleJobResult() -{} - -void SubmitSubtitleJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto subtitleJobNode = value["SubtitleJob"]; - if(!subtitleJobNode["OutputConfig"].isNull()) - subtitleJob_.outputConfig = subtitleJobNode["OutputConfig"].asString(); - if(!subtitleJobNode["State"].isNull()) - subtitleJob_.state = subtitleJobNode["State"].asString(); - if(!subtitleJobNode["JobId"].isNull()) - subtitleJob_.jobId = subtitleJobNode["JobId"].asString(); - if(!subtitleJobNode["UserData"].isNull()) - subtitleJob_.userData = subtitleJobNode["UserData"].asString(); - if(!subtitleJobNode["InputConfig"].isNull()) - subtitleJob_.inputConfig = subtitleJobNode["InputConfig"].asString(); - -} - -SubmitSubtitleJobResult::SubtitleJob SubmitSubtitleJobResult::getSubtitleJob()const -{ - return subtitleJob_; -} - diff --git a/mts/src/model/SubmitTagJobRequest.cc b/mts/src/model/SubmitTagJobRequest.cc deleted file mode 100644 index 05e28050d..000000000 --- a/mts/src/model/SubmitTagJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitTagJobRequest; - -SubmitTagJobRequest::SubmitTagJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitTagJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitTagJobRequest::~SubmitTagJobRequest() {} - -long SubmitTagJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitTagJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitTagJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitTagJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitTagJobRequest::getUserData() const { - return userData_; -} - -void SubmitTagJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitTagJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitTagJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitTagJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitTagJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string SubmitTagJobRequest::getTagConfig() const { - return tagConfig_; -} - -void SubmitTagJobRequest::setTagConfig(const std::string &tagConfig) { - tagConfig_ = tagConfig; - setParameter(std::string("TagConfig"), tagConfig); -} - -long SubmitTagJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitTagJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitTagJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitTagJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitTagJobRequest::getInput() const { - return input_; -} - -void SubmitTagJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitTagJobResult.cc b/mts/src/model/SubmitTagJobResult.cc deleted file mode 100644 index b68308cfb..000000000 --- a/mts/src/model/SubmitTagJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitTagJobResult::SubmitTagJobResult() : - ServiceResult() -{} - -SubmitTagJobResult::SubmitTagJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitTagJobResult::~SubmitTagJobResult() -{} - -void SubmitTagJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitTagJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitTerrorismJobRequest.cc b/mts/src/model/SubmitTerrorismJobRequest.cc deleted file mode 100644 index d29582a49..000000000 --- a/mts/src/model/SubmitTerrorismJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitTerrorismJobRequest; - -SubmitTerrorismJobRequest::SubmitTerrorismJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitTerrorismJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitTerrorismJobRequest::~SubmitTerrorismJobRequest() {} - -long SubmitTerrorismJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitTerrorismJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitTerrorismJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitTerrorismJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitTerrorismJobRequest::getTerrorismConfig() const { - return terrorismConfig_; -} - -void SubmitTerrorismJobRequest::setTerrorismConfig(const std::string &terrorismConfig) { - terrorismConfig_ = terrorismConfig; - setParameter(std::string("TerrorismConfig"), terrorismConfig); -} - -std::string SubmitTerrorismJobRequest::getUserData() const { - return userData_; -} - -void SubmitTerrorismJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitTerrorismJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitTerrorismJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitTerrorismJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitTerrorismJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitTerrorismJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitTerrorismJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitTerrorismJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitTerrorismJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitTerrorismJobRequest::getInput() const { - return input_; -} - -void SubmitTerrorismJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitTerrorismJobResult.cc b/mts/src/model/SubmitTerrorismJobResult.cc deleted file mode 100644 index 2419f19ae..000000000 --- a/mts/src/model/SubmitTerrorismJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitTerrorismJobResult::SubmitTerrorismJobResult() : - ServiceResult() -{} - -SubmitTerrorismJobResult::SubmitTerrorismJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitTerrorismJobResult::~SubmitTerrorismJobResult() -{} - -void SubmitTerrorismJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitTerrorismJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitTraceAbJobRequest.cc b/mts/src/model/SubmitTraceAbJobRequest.cc new file mode 100644 index 000000000..ad77a3bae --- /dev/null +++ b/mts/src/model/SubmitTraceAbJobRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::SubmitTraceAbJobRequest; + +SubmitTraceAbJobRequest::SubmitTraceAbJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "SubmitTraceAbJob") { + setMethod(HttpRequest::Method::Post); +} + +SubmitTraceAbJobRequest::~SubmitTraceAbJobRequest() {} + +std::string SubmitTraceAbJobRequest::getStartTime() const { + return startTime_; +} + +void SubmitTraceAbJobRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string SubmitTraceAbJobRequest::getOutput() const { + return output_; +} + +void SubmitTraceAbJobRequest::setOutput(const std::string &output) { + output_ = output; + setParameter(std::string("Output"), output); +} + +std::string SubmitTraceAbJobRequest::getUserData() const { + return userData_; +} + +void SubmitTraceAbJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + +std::string SubmitTraceAbJobRequest::getCipherBase64ed() const { + return cipherBase64ed_; +} + +void SubmitTraceAbJobRequest::setCipherBase64ed(const std::string &cipherBase64ed) { + cipherBase64ed_ = cipherBase64ed; + setParameter(std::string("CipherBase64ed"), cipherBase64ed); +} + +long SubmitTraceAbJobRequest::getLevel() const { + return level_; +} + +void SubmitTraceAbJobRequest::setLevel(long level) { + level_ = level; + setParameter(std::string("Level"), std::to_string(level)); +} + +std::string SubmitTraceAbJobRequest::getUrl() const { + return url_; +} + +void SubmitTraceAbJobRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + +std::string SubmitTraceAbJobRequest::getInput() const { + return input_; +} + +void SubmitTraceAbJobRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); +} + +std::string SubmitTraceAbJobRequest::getTotalTime() const { + return totalTime_; +} + +void SubmitTraceAbJobRequest::setTotalTime(const std::string &totalTime) { + totalTime_ = totalTime; + setParameter(std::string("TotalTime"), totalTime); +} + +std::string SubmitTraceAbJobRequest::getCallBack() const { + return callBack_; +} + +void SubmitTraceAbJobRequest::setCallBack(const std::string &callBack) { + callBack_ = callBack; + setParameter(std::string("CallBack"), callBack); +} + diff --git a/mts/src/model/SubmitTraceAbJobResult.cc b/mts/src/model/SubmitTraceAbJobResult.cc new file mode 100644 index 000000000..51984eafd --- /dev/null +++ b/mts/src/model/SubmitTraceAbJobResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Mts; +using namespace AlibabaCloud::Mts::Model; + +SubmitTraceAbJobResult::SubmitTraceAbJobResult() : + ServiceResult() +{} + +SubmitTraceAbJobResult::SubmitTraceAbJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitTraceAbJobResult::~SubmitTraceAbJobResult() +{} + +void SubmitTraceAbJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); + if(!dataNode["MediaId"].isNull()) + data_.mediaId = dataNode["MediaId"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); + +} + +std::string SubmitTraceAbJobResult::getMessage()const +{ + return message_; +} + +SubmitTraceAbJobResult::Data SubmitTraceAbJobResult::getData()const +{ + return data_; +} + +long SubmitTraceAbJobResult::getStatusCode()const +{ + return statusCode_; +} + diff --git a/mts/src/model/SubmitTraceExtractJobRequest.cc b/mts/src/model/SubmitTraceExtractJobRequest.cc new file mode 100644 index 000000000..c882ad4fc --- /dev/null +++ b/mts/src/model/SubmitTraceExtractJobRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::SubmitTraceExtractJobRequest; + +SubmitTraceExtractJobRequest::SubmitTraceExtractJobRequest() + : RpcServiceRequest("mts", "2014-06-18", "SubmitTraceExtractJob") { + setMethod(HttpRequest::Method::Post); +} + +SubmitTraceExtractJobRequest::~SubmitTraceExtractJobRequest() {} + +std::string SubmitTraceExtractJobRequest::getParams() const { + return params_; +} + +void SubmitTraceExtractJobRequest::setParams(const std::string ¶ms) { + params_ = params; + setParameter(std::string("Params"), params); +} + +std::string SubmitTraceExtractJobRequest::getUrl() const { + return url_; +} + +void SubmitTraceExtractJobRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + +std::string SubmitTraceExtractJobRequest::getInput() const { + return input_; +} + +void SubmitTraceExtractJobRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); +} + +std::string SubmitTraceExtractJobRequest::getUserData() const { + return userData_; +} + +void SubmitTraceExtractJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + +std::string SubmitTraceExtractJobRequest::getCallBack() const { + return callBack_; +} + +void SubmitTraceExtractJobRequest::setCallBack(const std::string &callBack) { + callBack_ = callBack; + setParameter(std::string("CallBack"), callBack); +} + diff --git a/mts/src/model/SubmitVideoQualityJobResult.cc b/mts/src/model/SubmitTraceExtractJobResult.cc similarity index 58% rename from mts/src/model/SubmitVideoQualityJobResult.cc rename to mts/src/model/SubmitTraceExtractJobResult.cc index f25045f07..7604dd34b 100644 --- a/mts/src/model/SubmitVideoQualityJobResult.cc +++ b/mts/src/model/SubmitTraceExtractJobResult.cc @@ -14,52 +14,53 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -SubmitVideoQualityJobResult::SubmitVideoQualityJobResult() : +SubmitTraceExtractJobResult::SubmitTraceExtractJobResult() : ServiceResult() {} -SubmitVideoQualityJobResult::SubmitVideoQualityJobResult(const std::string &payload) : +SubmitTraceExtractJobResult::SubmitTraceExtractJobResult(const std::string &payload) : ServiceResult() { parse(payload); } -SubmitVideoQualityJobResult::~SubmitVideoQualityJobResult() +SubmitTraceExtractJobResult::~SubmitTraceExtractJobResult() {} -void SubmitVideoQualityJobResult::parse(const std::string &payload) +void SubmitTraceExtractJobResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stol(value["StatusCode"].asString()); } -std::string SubmitVideoQualityJobResult::getMessage()const +std::string SubmitTraceExtractJobResult::getMessage()const { return message_; } -std::string SubmitVideoQualityJobResult::getCode()const +SubmitTraceExtractJobResult::Data SubmitTraceExtractJobResult::getData()const { - return code_; + return data_; } -std::string SubmitVideoQualityJobResult::getJobId()const +long SubmitTraceExtractJobResult::getStatusCode()const { - return jobId_; + return statusCode_; } diff --git a/mts/src/model/SubmitTraceM3u8JobRequest.cc b/mts/src/model/SubmitTraceM3u8JobRequest.cc new file mode 100644 index 000000000..a39bbefc0 --- /dev/null +++ b/mts/src/model/SubmitTraceM3u8JobRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Mts::Model::SubmitTraceM3u8JobRequest; + +SubmitTraceM3u8JobRequest::SubmitTraceM3u8JobRequest() + : RpcServiceRequest("mts", "2014-06-18", "SubmitTraceM3u8Job") { + setMethod(HttpRequest::Method::Post); +} + +SubmitTraceM3u8JobRequest::~SubmitTraceM3u8JobRequest() {} + +std::string SubmitTraceM3u8JobRequest::getMediaId() const { + return mediaId_; +} + +void SubmitTraceM3u8JobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); +} + +std::string SubmitTraceM3u8JobRequest::getParams() const { + return params_; +} + +void SubmitTraceM3u8JobRequest::setParams(const std::string ¶ms) { + params_ = params; + setParameter(std::string("Params"), params); +} + +std::string SubmitTraceM3u8JobRequest::getOutput() const { + return output_; +} + +void SubmitTraceM3u8JobRequest::setOutput(const std::string &output) { + output_ = output; + setParameter(std::string("Output"), output); +} + +std::string SubmitTraceM3u8JobRequest::getTrace() const { + return trace_; +} + +void SubmitTraceM3u8JobRequest::setTrace(const std::string &trace) { + trace_ = trace; + setParameter(std::string("Trace"), trace); +} + +std::string SubmitTraceM3u8JobRequest::getKeyUri() const { + return keyUri_; +} + +void SubmitTraceM3u8JobRequest::setKeyUri(const std::string &keyUri) { + keyUri_ = keyUri; + setParameter(std::string("KeyUri"), keyUri); +} + diff --git a/mts/src/model/CreateInferenceServerResult.cc b/mts/src/model/SubmitTraceM3u8JobResult.cc similarity index 64% rename from mts/src/model/CreateInferenceServerResult.cc rename to mts/src/model/SubmitTraceM3u8JobResult.cc index eb02ba1f2..226bfe0fb 100644 --- a/mts/src/model/CreateInferenceServerResult.cc +++ b/mts/src/model/SubmitTraceM3u8JobResult.cc @@ -14,45 +14,46 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Mts; using namespace AlibabaCloud::Mts::Model; -CreateInferenceServerResult::CreateInferenceServerResult() : +SubmitTraceM3u8JobResult::SubmitTraceM3u8JobResult() : ServiceResult() {} -CreateInferenceServerResult::CreateInferenceServerResult(const std::string &payload) : +SubmitTraceM3u8JobResult::SubmitTraceM3u8JobResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateInferenceServerResult::~CreateInferenceServerResult() +SubmitTraceM3u8JobResult::~SubmitTraceM3u8JobResult() {} -void CreateInferenceServerResult::parse(const std::string &payload) +void SubmitTraceM3u8JobResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); } -std::string CreateInferenceServerResult::getMessage()const +std::string SubmitTraceM3u8JobResult::getMessage()const { return message_; } -std::string CreateInferenceServerResult::getCode()const +SubmitTraceM3u8JobResult::Data SubmitTraceM3u8JobResult::getData()const { - return code_; + return data_; } diff --git a/mts/src/model/SubmitURLUploadJobRequest.cc b/mts/src/model/SubmitURLUploadJobRequest.cc deleted file mode 100644 index 1ebcea747..000000000 --- a/mts/src/model/SubmitURLUploadJobRequest.cc +++ /dev/null @@ -1,80 +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 - -using AlibabaCloud::Mts::Model::SubmitURLUploadJobRequest; - -SubmitURLUploadJobRequest::SubmitURLUploadJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitURLUploadJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitURLUploadJobRequest::~SubmitURLUploadJobRequest() {} - -SubmitURLUploadJobRequest::TargetStorage SubmitURLUploadJobRequest::getTargetStorage() const { - return targetStorage_; -} - -void SubmitURLUploadJobRequest::setTargetStorage(const SubmitURLUploadJobRequest::TargetStorage &targetStorage) { - targetStorage_ = targetStorage; - setParameter(std::string("TargetStorage") + ".Bucket", targetStorage.bucket); - setParameter(std::string("TargetStorage") + ".BucketOwnerId", targetStorage.bucketOwnerId); - setParameter(std::string("TargetStorage") + ".S3Provider", targetStorage.s3Provider); - setParameter(std::string("TargetStorage") + ".S3Endpoint", targetStorage.s3Endpoint); - setParameter(std::string("TargetStorage") + ".ObjectKey", targetStorage.objectKey); - setParameter(std::string("TargetStorage") + ".S3AccessKey", targetStorage.s3AccessKey); - setParameter(std::string("TargetStorage") + ".S3SecretKey", targetStorage.s3SecretKey); - setParameter(std::string("TargetStorage") + ".S3SessionToken", targetStorage.s3SessionToken); - setParameter(std::string("TargetStorage") + ".ObjectRoleName", targetStorage.objectRoleName); -} - -std::string SubmitURLUploadJobRequest::getSourceFileURL() const { - return sourceFileURL_; -} - -void SubmitURLUploadJobRequest::setSourceFileURL(const std::string &sourceFileURL) { - sourceFileURL_ = sourceFileURL; - setParameter(std::string("SourceFileURL"), sourceFileURL); -} - -std::string SubmitURLUploadJobRequest::getNotify() const { - return notify_; -} - -void SubmitURLUploadJobRequest::setNotify(const std::string ¬ify) { - notify_ = notify; - setParameter(std::string("Notify"), notify); -} - -std::string SubmitURLUploadJobRequest::getUserData() const { - return userData_; -} - -void SubmitURLUploadJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitURLUploadJobRequest::getRegion() const { - return region_; -} - -void SubmitURLUploadJobRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); -} - diff --git a/mts/src/model/SubmitURLUploadJobResult.cc b/mts/src/model/SubmitURLUploadJobResult.cc deleted file mode 100644 index 9a488278f..000000000 --- a/mts/src/model/SubmitURLUploadJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitURLUploadJobResult::SubmitURLUploadJobResult() : - ServiceResult() -{} - -SubmitURLUploadJobResult::SubmitURLUploadJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitURLUploadJobResult::~SubmitURLUploadJobResult() -{} - -void SubmitURLUploadJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitURLUploadJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitVideoGifJobRequest.cc b/mts/src/model/SubmitVideoGifJobRequest.cc deleted file mode 100644 index 8db84a418..000000000 --- a/mts/src/model/SubmitVideoGifJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitVideoGifJobRequest; - -SubmitVideoGifJobRequest::SubmitVideoGifJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitVideoGifJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitVideoGifJobRequest::~SubmitVideoGifJobRequest() {} - -long SubmitVideoGifJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitVideoGifJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitVideoGifJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitVideoGifJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitVideoGifJobRequest::getUserData() const { - return userData_; -} - -void SubmitVideoGifJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitVideoGifJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitVideoGifJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitVideoGifJobRequest::getVideoGifConfig() const { - return videoGifConfig_; -} - -void SubmitVideoGifJobRequest::setVideoGifConfig(const std::string &videoGifConfig) { - videoGifConfig_ = videoGifConfig; - setParameter(std::string("VideoGifConfig"), videoGifConfig); -} - -std::string SubmitVideoGifJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitVideoGifJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitVideoGifJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitVideoGifJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitVideoGifJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitVideoGifJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitVideoGifJobRequest::getInput() const { - return input_; -} - -void SubmitVideoGifJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitVideoPoseJobRequest.cc b/mts/src/model/SubmitVideoPoseJobRequest.cc deleted file mode 100644 index 30379d004..000000000 --- a/mts/src/model/SubmitVideoPoseJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitVideoPoseJobRequest; - -SubmitVideoPoseJobRequest::SubmitVideoPoseJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitVideoPoseJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitVideoPoseJobRequest::~SubmitVideoPoseJobRequest() {} - -long SubmitVideoPoseJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitVideoPoseJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitVideoPoseJobRequest::getOutputConfig() const { - return outputConfig_; -} - -void SubmitVideoPoseJobRequest::setOutputConfig(const std::string &outputConfig) { - outputConfig_ = outputConfig; - setParameter(std::string("OutputConfig"), outputConfig); -} - -std::string SubmitVideoPoseJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitVideoPoseJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitVideoPoseJobRequest::getUserData() const { - return userData_; -} - -void SubmitVideoPoseJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitVideoPoseJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitVideoPoseJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitVideoPoseJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitVideoPoseJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitVideoPoseJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitVideoPoseJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitVideoPoseJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitVideoPoseJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitVideoPoseJobRequest::getInput() const { - return input_; -} - -void SubmitVideoPoseJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitVideoPoseJobResult.cc b/mts/src/model/SubmitVideoPoseJobResult.cc deleted file mode 100644 index d2caa1fe4..000000000 --- a/mts/src/model/SubmitVideoPoseJobResult.cc +++ /dev/null @@ -1,249 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitVideoPoseJobResult::SubmitVideoPoseJobResult() : - ServiceResult() -{} - -SubmitVideoPoseJobResult::SubmitVideoPoseJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitVideoPoseJobResult::~SubmitVideoPoseJobResult() -{} - -void SubmitVideoPoseJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto videoPoseJobNode = value["VideoPoseJob"]; - if(!videoPoseJobNode["State"].isNull()) - videoPoseJob_.state = videoPoseJobNode["State"].asString(); - if(!videoPoseJobNode["JobId"].isNull()) - videoPoseJob_.jobId = videoPoseJobNode["JobId"].asString(); - if(!videoPoseJobNode["UserData"].isNull()) - videoPoseJob_.userData = videoPoseJobNode["UserData"].asString(); - if(!videoPoseJobNode["PipelineId"].isNull()) - videoPoseJob_.pipelineId = videoPoseJobNode["PipelineId"].asString(); - auto outputConfigNode = videoPoseJobNode["OutputConfig"]; - auto dataFileNode = outputConfigNode["DataFile"]; - if(!dataFileNode["RoleArn"].isNull()) - videoPoseJob_.outputConfig.dataFile.roleArn = dataFileNode["RoleArn"].asString(); - if(!dataFileNode["Object"].isNull()) - videoPoseJob_.outputConfig.dataFile.object = dataFileNode["Object"].asString(); - if(!dataFileNode["Location"].isNull()) - videoPoseJob_.outputConfig.dataFile.location = dataFileNode["Location"].asString(); - if(!dataFileNode["Bucket"].isNull()) - videoPoseJob_.outputConfig.dataFile.bucket = dataFileNode["Bucket"].asString(); - auto videoFileNode = outputConfigNode["VideoFile"]; - if(!videoFileNode["RoleArn"].isNull()) - videoPoseJob_.outputConfig.videoFile.roleArn = videoFileNode["RoleArn"].asString(); - if(!videoFileNode["Object"].isNull()) - videoPoseJob_.outputConfig.videoFile.object = videoFileNode["Object"].asString(); - if(!videoFileNode["Location"].isNull()) - videoPoseJob_.outputConfig.videoFile.location = videoFileNode["Location"].asString(); - if(!videoFileNode["Bucket"].isNull()) - videoPoseJob_.outputConfig.videoFile.bucket = videoFileNode["Bucket"].asString(); - auto mNSMessageResultNode = videoPoseJobNode["MNSMessageResult"]; - if(!mNSMessageResultNode["MessageId"].isNull()) - videoPoseJob_.mNSMessageResult.messageId = mNSMessageResultNode["MessageId"].asString(); - if(!mNSMessageResultNode["ErrorMessage"].isNull()) - videoPoseJob_.mNSMessageResult.errorMessage = mNSMessageResultNode["ErrorMessage"].asString(); - if(!mNSMessageResultNode["ErrorCode"].isNull()) - videoPoseJob_.mNSMessageResult.errorCode = mNSMessageResultNode["ErrorCode"].asString(); - auto inputNode = videoPoseJobNode["Input"]; - if(!inputNode["RoleArn"].isNull()) - videoPoseJob_.input.roleArn = inputNode["RoleArn"].asString(); - if(!inputNode["Object"].isNull()) - videoPoseJob_.input.object = inputNode["Object"].asString(); - if(!inputNode["Location"].isNull()) - videoPoseJob_.input.location = inputNode["Location"].asString(); - if(!inputNode["Bucket"].isNull()) - videoPoseJob_.input.bucket = inputNode["Bucket"].asString(); - auto propertiesNode = videoPoseJobNode["Properties"]; - if(!propertiesNode["Width"].isNull()) - videoPoseJob_.properties.width = propertiesNode["Width"].asString(); - if(!propertiesNode["Height"].isNull()) - videoPoseJob_.properties.height = propertiesNode["Height"].asString(); - if(!propertiesNode["Duration"].isNull()) - videoPoseJob_.properties.duration = propertiesNode["Duration"].asString(); - if(!propertiesNode["Fps"].isNull()) - videoPoseJob_.properties.fps = propertiesNode["Fps"].asString(); - if(!propertiesNode["Bitrate"].isNull()) - videoPoseJob_.properties.bitrate = propertiesNode["Bitrate"].asString(); - if(!propertiesNode["FileFormat"].isNull()) - videoPoseJob_.properties.fileFormat = propertiesNode["FileFormat"].asString(); - if(!propertiesNode["FileSize"].isNull()) - videoPoseJob_.properties.fileSize = propertiesNode["FileSize"].asString(); - auto streamsNode = propertiesNode["Streams"]; - auto allVideoStreamListNode = streamsNode["VideoStreamList"]["VideoStream"]; - for (auto streamsNodeVideoStreamListVideoStream : allVideoStreamListNode) - { - VideoPoseJob::Properties::Streams::VideoStream videoStreamObject; - if(!streamsNodeVideoStreamListVideoStream["Sar"].isNull()) - videoStreamObject.sar = streamsNodeVideoStreamListVideoStream["Sar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Height"].isNull()) - videoStreamObject.height = streamsNodeVideoStreamListVideoStream["Height"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTagString"].isNull()) - videoStreamObject.codecTagString = streamsNodeVideoStreamListVideoStream["CodecTagString"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Width"].isNull()) - videoStreamObject.width = streamsNodeVideoStreamListVideoStream["Width"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Index"].isNull()) - videoStreamObject.index = streamsNodeVideoStreamListVideoStream["Index"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Timebase"].isNull()) - videoStreamObject.timebase = streamsNodeVideoStreamListVideoStream["Timebase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["AvgFPS"].isNull()) - videoStreamObject.avgFPS = streamsNodeVideoStreamListVideoStream["AvgFPS"].asString(); - if(!streamsNodeVideoStreamListVideoStream["PixFmt"].isNull()) - videoStreamObject.pixFmt = streamsNodeVideoStreamListVideoStream["PixFmt"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Lang"].isNull()) - videoStreamObject.lang = streamsNodeVideoStreamListVideoStream["Lang"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecLongName"].isNull()) - videoStreamObject.codecLongName = streamsNodeVideoStreamListVideoStream["CodecLongName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["NumFrames"].isNull()) - videoStreamObject.numFrames = streamsNodeVideoStreamListVideoStream["NumFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Rotate"].isNull()) - videoStreamObject.rotate = streamsNodeVideoStreamListVideoStream["Rotate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Bitrate"].isNull()) - videoStreamObject.bitrate = streamsNodeVideoStreamListVideoStream["Bitrate"].asString(); - if(!streamsNodeVideoStreamListVideoStream["HasBFrames"].isNull()) - videoStreamObject.hasBFrames = streamsNodeVideoStreamListVideoStream["HasBFrames"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Profile"].isNull()) - videoStreamObject.profile = streamsNodeVideoStreamListVideoStream["Profile"].asString(); - if(!streamsNodeVideoStreamListVideoStream["StartTime"].isNull()) - videoStreamObject.startTime = streamsNodeVideoStreamListVideoStream["StartTime"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Dar"].isNull()) - videoStreamObject.dar = streamsNodeVideoStreamListVideoStream["Dar"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecName"].isNull()) - videoStreamObject.codecName = streamsNodeVideoStreamListVideoStream["CodecName"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Duration"].isNull()) - videoStreamObject.duration = streamsNodeVideoStreamListVideoStream["Duration"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Fps"].isNull()) - videoStreamObject.fps = streamsNodeVideoStreamListVideoStream["Fps"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTag"].isNull()) - videoStreamObject.codecTag = streamsNodeVideoStreamListVideoStream["CodecTag"].asString(); - if(!streamsNodeVideoStreamListVideoStream["CodecTimeBase"].isNull()) - videoStreamObject.codecTimeBase = streamsNodeVideoStreamListVideoStream["CodecTimeBase"].asString(); - if(!streamsNodeVideoStreamListVideoStream["Level"].isNull()) - videoStreamObject.level = streamsNodeVideoStreamListVideoStream["Level"].asString(); - auto networkCostNode = value["NetworkCost"]; - if(!networkCostNode["PreloadTime"].isNull()) - videoStreamObject.networkCost.preloadTime = networkCostNode["PreloadTime"].asString(); - if(!networkCostNode["AvgBitrate"].isNull()) - videoStreamObject.networkCost.avgBitrate = networkCostNode["AvgBitrate"].asString(); - if(!networkCostNode["CostBandwidth"].isNull()) - videoStreamObject.networkCost.costBandwidth = networkCostNode["CostBandwidth"].asString(); - videoPoseJob_.properties.streams.videoStreamList.push_back(videoStreamObject); - } - auto allAudioStreamListNode = streamsNode["AudioStreamList"]["AudioStream"]; - for (auto streamsNodeAudioStreamListAudioStream : allAudioStreamListNode) - { - VideoPoseJob::Properties::Streams::AudioStream audioStreamObject; - if(!streamsNodeAudioStreamListAudioStream["Timebase"].isNull()) - audioStreamObject.timebase = streamsNodeAudioStreamListAudioStream["Timebase"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Index"].isNull()) - audioStreamObject.index = streamsNodeAudioStreamListAudioStream["Index"].asString(); - if(!streamsNodeAudioStreamListAudioStream["SampleFmt"].isNull()) - audioStreamObject.sampleFmt = streamsNodeAudioStreamListAudioStream["SampleFmt"].asString(); - if(!streamsNodeAudioStreamListAudioStream["ChannelLayout"].isNull()) - audioStreamObject.channelLayout = streamsNodeAudioStreamListAudioStream["ChannelLayout"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Lang"].isNull()) - audioStreamObject.lang = streamsNodeAudioStreamListAudioStream["Lang"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Samplerate"].isNull()) - audioStreamObject.samplerate = streamsNodeAudioStreamListAudioStream["Samplerate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecLongName"].isNull()) - audioStreamObject.codecLongName = streamsNodeAudioStreamListAudioStream["CodecLongName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Channels"].isNull()) - audioStreamObject.channels = streamsNodeAudioStreamListAudioStream["Channels"].asString(); - if(!streamsNodeAudioStreamListAudioStream["NumFrames"].isNull()) - audioStreamObject.numFrames = streamsNodeAudioStreamListAudioStream["NumFrames"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Bitrate"].isNull()) - audioStreamObject.bitrate = streamsNodeAudioStreamListAudioStream["Bitrate"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTagString"].isNull()) - audioStreamObject.codecTagString = streamsNodeAudioStreamListAudioStream["CodecTagString"].asString(); - if(!streamsNodeAudioStreamListAudioStream["StartTime"].isNull()) - audioStreamObject.startTime = streamsNodeAudioStreamListAudioStream["StartTime"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecName"].isNull()) - audioStreamObject.codecName = streamsNodeAudioStreamListAudioStream["CodecName"].asString(); - if(!streamsNodeAudioStreamListAudioStream["Duration"].isNull()) - audioStreamObject.duration = streamsNodeAudioStreamListAudioStream["Duration"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTag"].isNull()) - audioStreamObject.codecTag = streamsNodeAudioStreamListAudioStream["CodecTag"].asString(); - if(!streamsNodeAudioStreamListAudioStream["CodecTimeBase"].isNull()) - audioStreamObject.codecTimeBase = streamsNodeAudioStreamListAudioStream["CodecTimeBase"].asString(); - videoPoseJob_.properties.streams.audioStreamList.push_back(audioStreamObject); - } - auto allSubtitleStreamListNode = streamsNode["SubtitleStreamList"]["SubtitleStream"]; - for (auto streamsNodeSubtitleStreamListSubtitleStream : allSubtitleStreamListNode) - { - VideoPoseJob::Properties::Streams::SubtitleStream subtitleStreamObject; - if(!streamsNodeSubtitleStreamListSubtitleStream["Timebase"].isNull()) - subtitleStreamObject.timebase = streamsNodeSubtitleStreamListSubtitleStream["Timebase"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Index"].isNull()) - subtitleStreamObject.index = streamsNodeSubtitleStreamListSubtitleStream["Index"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["StartTime"].isNull()) - subtitleStreamObject.startTime = streamsNodeSubtitleStreamListSubtitleStream["StartTime"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecName"].isNull()) - subtitleStreamObject.codecName = streamsNodeSubtitleStreamListSubtitleStream["CodecName"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Lang"].isNull()) - subtitleStreamObject.lang = streamsNodeSubtitleStreamListSubtitleStream["Lang"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecLongName"].isNull()) - subtitleStreamObject.codecLongName = streamsNodeSubtitleStreamListSubtitleStream["CodecLongName"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["Duration"].isNull()) - subtitleStreamObject.duration = streamsNodeSubtitleStreamListSubtitleStream["Duration"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecTag"].isNull()) - subtitleStreamObject.codecTag = streamsNodeSubtitleStreamListSubtitleStream["CodecTag"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecTimeBase"].isNull()) - subtitleStreamObject.codecTimeBase = streamsNodeSubtitleStreamListSubtitleStream["CodecTimeBase"].asString(); - if(!streamsNodeSubtitleStreamListSubtitleStream["CodecTagString"].isNull()) - subtitleStreamObject.codecTagString = streamsNodeSubtitleStreamListSubtitleStream["CodecTagString"].asString(); - videoPoseJob_.properties.streams.subtitleStreamList.push_back(subtitleStreamObject); - } - auto formatNode = propertiesNode["Format"]; - if(!formatNode["StartTime"].isNull()) - videoPoseJob_.properties.format.startTime = formatNode["StartTime"].asString(); - if(!formatNode["NumPrograms"].isNull()) - videoPoseJob_.properties.format.numPrograms = formatNode["NumPrograms"].asString(); - if(!formatNode["Size"].isNull()) - videoPoseJob_.properties.format.size = formatNode["Size"].asString(); - if(!formatNode["NumStreams"].isNull()) - videoPoseJob_.properties.format.numStreams = formatNode["NumStreams"].asString(); - if(!formatNode["FormatLongName"].isNull()) - videoPoseJob_.properties.format.formatLongName = formatNode["FormatLongName"].asString(); - if(!formatNode["Duration"].isNull()) - videoPoseJob_.properties.format.duration = formatNode["Duration"].asString(); - if(!formatNode["Bitrate"].isNull()) - videoPoseJob_.properties.format.bitrate = formatNode["Bitrate"].asString(); - if(!formatNode["FormatName"].isNull()) - videoPoseJob_.properties.format.formatName = formatNode["FormatName"].asString(); - -} - -SubmitVideoPoseJobResult::VideoPoseJob SubmitVideoPoseJobResult::getVideoPoseJob()const -{ - return videoPoseJob_; -} - diff --git a/mts/src/model/SubmitVideoQualityJobRequest.cc b/mts/src/model/SubmitVideoQualityJobRequest.cc deleted file mode 100644 index 9641873a8..000000000 --- a/mts/src/model/SubmitVideoQualityJobRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::SubmitVideoQualityJobRequest; - -SubmitVideoQualityJobRequest::SubmitVideoQualityJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitVideoQualityJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitVideoQualityJobRequest::~SubmitVideoQualityJobRequest() {} - -std::string SubmitVideoQualityJobRequest::getJobParams() const { - return jobParams_; -} - -void SubmitVideoQualityJobRequest::setJobParams(const std::string &jobParams) { - jobParams_ = jobParams; - setParameter(std::string("JobParams"), jobParams); -} - -long SubmitVideoQualityJobRequest::getUserId() const { - return userId_; -} - -void SubmitVideoQualityJobRequest::setUserId(long userId) { - userId_ = userId; - setParameter(std::string("UserId"), std::to_string(userId)); -} - -std::string SubmitVideoQualityJobRequest::getOutput() const { - return output_; -} - -void SubmitVideoQualityJobRequest::setOutput(const std::string &output) { - output_ = output; - setParameter(std::string("Output"), output); -} - -std::string SubmitVideoQualityJobRequest::getUserData() const { - return userData_; -} - -void SubmitVideoQualityJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitVideoQualityJobRequest::getNotifyUrl() const { - return notifyUrl_; -} - -void SubmitVideoQualityJobRequest::setNotifyUrl(const std::string ¬ifyUrl) { - notifyUrl_ = notifyUrl; - setParameter(std::string("NotifyUrl"), notifyUrl); -} - -std::string SubmitVideoQualityJobRequest::getSourceType() const { - return sourceType_; -} - -void SubmitVideoQualityJobRequest::setSourceType(const std::string &sourceType) { - sourceType_ = sourceType; - setParameter(std::string("SourceType"), sourceType); -} - -std::string SubmitVideoQualityJobRequest::getModelId() const { - return modelId_; -} - -void SubmitVideoQualityJobRequest::setModelId(const std::string &modelId) { - modelId_ = modelId; - setParameter(std::string("ModelId"), modelId); -} - -std::string SubmitVideoQualityJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitVideoQualityJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitVideoQualityJobRequest::getInput() const { - return input_; -} - -void SubmitVideoQualityJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - -std::string SubmitVideoQualityJobRequest::getScheduleParams() const { - return scheduleParams_; -} - -void SubmitVideoQualityJobRequest::setScheduleParams(const std::string &scheduleParams) { - scheduleParams_ = scheduleParams; - setParameter(std::string("ScheduleParams"), scheduleParams); -} - diff --git a/mts/src/model/SubmitVideoSplitJobRequest.cc b/mts/src/model/SubmitVideoSplitJobRequest.cc deleted file mode 100644 index 918e49814..000000000 --- a/mts/src/model/SubmitVideoSplitJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitVideoSplitJobRequest; - -SubmitVideoSplitJobRequest::SubmitVideoSplitJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitVideoSplitJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitVideoSplitJobRequest::~SubmitVideoSplitJobRequest() {} - -std::string SubmitVideoSplitJobRequest::getVideoSplitConfig() const { - return videoSplitConfig_; -} - -void SubmitVideoSplitJobRequest::setVideoSplitConfig(const std::string &videoSplitConfig) { - videoSplitConfig_ = videoSplitConfig; - setParameter(std::string("VideoSplitConfig"), videoSplitConfig); -} - -long SubmitVideoSplitJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitVideoSplitJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitVideoSplitJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitVideoSplitJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitVideoSplitJobRequest::getUserData() const { - return userData_; -} - -void SubmitVideoSplitJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitVideoSplitJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitVideoSplitJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitVideoSplitJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitVideoSplitJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitVideoSplitJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitVideoSplitJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitVideoSplitJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitVideoSplitJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitVideoSplitJobRequest::getInput() const { - return input_; -} - -void SubmitVideoSplitJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitVideoSplitJobResult.cc b/mts/src/model/SubmitVideoSplitJobResult.cc deleted file mode 100644 index 78345bba0..000000000 --- a/mts/src/model/SubmitVideoSplitJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitVideoSplitJobResult::SubmitVideoSplitJobResult() : - ServiceResult() -{} - -SubmitVideoSplitJobResult::SubmitVideoSplitJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitVideoSplitJobResult::~SubmitVideoSplitJobResult() -{} - -void SubmitVideoSplitJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitVideoSplitJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/SubmitVideoSummaryJobRequest.cc b/mts/src/model/SubmitVideoSummaryJobRequest.cc deleted file mode 100644 index 29d9d217c..000000000 --- a/mts/src/model/SubmitVideoSummaryJobRequest.cc +++ /dev/null @@ -1,108 +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 - -using AlibabaCloud::Mts::Model::SubmitVideoSummaryJobRequest; - -SubmitVideoSummaryJobRequest::SubmitVideoSummaryJobRequest() - : RpcServiceRequest("mts", "2014-06-18", "SubmitVideoSummaryJob") { - setMethod(HttpRequest::Method::Post); -} - -SubmitVideoSummaryJobRequest::~SubmitVideoSummaryJobRequest() {} - -long SubmitVideoSummaryJobRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void SubmitVideoSummaryJobRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string SubmitVideoSummaryJobRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void SubmitVideoSummaryJobRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string SubmitVideoSummaryJobRequest::getUserData() const { - return userData_; -} - -void SubmitVideoSummaryJobRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); -} - -std::string SubmitVideoSummaryJobRequest::getVideoSummaryConfig() const { - return videoSummaryConfig_; -} - -void SubmitVideoSummaryJobRequest::setVideoSummaryConfig(const std::string &videoSummaryConfig) { - videoSummaryConfig_ = videoSummaryConfig; - setParameter(std::string("VideoSummaryConfig"), videoSummaryConfig); -} - -std::string SubmitVideoSummaryJobRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void SubmitVideoSummaryJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string SubmitVideoSummaryJobRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void SubmitVideoSummaryJobRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long SubmitVideoSummaryJobRequest::getOwnerId() const { - return ownerId_; -} - -void SubmitVideoSummaryJobRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string SubmitVideoSummaryJobRequest::getPipelineId() const { - return pipelineId_; -} - -void SubmitVideoSummaryJobRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string SubmitVideoSummaryJobRequest::getInput() const { - return input_; -} - -void SubmitVideoSummaryJobRequest::setInput(const std::string &input) { - input_ = input; - setParameter(std::string("Input"), input); -} - diff --git a/mts/src/model/SubmitVideoSummaryJobResult.cc b/mts/src/model/SubmitVideoSummaryJobResult.cc deleted file mode 100644 index 323a88702..000000000 --- a/mts/src/model/SubmitVideoSummaryJobResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -SubmitVideoSummaryJobResult::SubmitVideoSummaryJobResult() : - ServiceResult() -{} - -SubmitVideoSummaryJobResult::SubmitVideoSummaryJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitVideoSummaryJobResult::~SubmitVideoSummaryJobResult() -{} - -void SubmitVideoSummaryJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["JobId"].isNull()) - jobId_ = value["JobId"].asString(); - -} - -std::string SubmitVideoSummaryJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/mts/src/model/UnbindInputBucketRequest.cc b/mts/src/model/UnbindInputBucketRequest.cc index eb5785240..2813d96f6 100644 --- a/mts/src/model/UnbindInputBucketRequest.cc +++ b/mts/src/model/UnbindInputBucketRequest.cc @@ -34,6 +34,15 @@ void UnbindInputBucketRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string UnbindInputBucketRequest::getDepositorCredentials() const { + return depositorCredentials_; +} + +void UnbindInputBucketRequest::setDepositorCredentials(const std::string &depositorCredentials) { + depositorCredentials_ = depositorCredentials; + setParameter(std::string("DepositorCredentials"), depositorCredentials); +} + std::string UnbindInputBucketRequest::getAccessKeyId() const { return accessKeyId_; } diff --git a/mts/src/model/UpdateAsrPipelineRequest.cc b/mts/src/model/UpdateAsrPipelineRequest.cc deleted file mode 100644 index 637d0ad25..000000000 --- a/mts/src/model/UpdateAsrPipelineRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::UpdateAsrPipelineRequest; - -UpdateAsrPipelineRequest::UpdateAsrPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateAsrPipeline") { - setMethod(HttpRequest::Method::Post); -} - -UpdateAsrPipelineRequest::~UpdateAsrPipelineRequest() {} - -long UpdateAsrPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateAsrPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateAsrPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateAsrPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateAsrPipelineRequest::getState() const { - return state_; -} - -void UpdateAsrPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string UpdateAsrPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateAsrPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateAsrPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateAsrPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string UpdateAsrPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void UpdateAsrPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long UpdateAsrPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateAsrPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int UpdateAsrPipelineRequest::getPriority() const { - return priority_; -} - -void UpdateAsrPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string UpdateAsrPipelineRequest::getPipelineId() const { - return pipelineId_; -} - -void UpdateAsrPipelineRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string UpdateAsrPipelineRequest::getName() const { - return name_; -} - -void UpdateAsrPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/UpdateAsrPipelineResult.cc b/mts/src/model/UpdateAsrPipelineResult.cc deleted file mode 100644 index e7c796a83..000000000 --- a/mts/src/model/UpdateAsrPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdateAsrPipelineResult::UpdateAsrPipelineResult() : - ServiceResult() -{} - -UpdateAsrPipelineResult::UpdateAsrPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateAsrPipelineResult::~UpdateAsrPipelineResult() -{} - -void UpdateAsrPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["QueueName"].isNull()) - pipeline_.notifyConfig.queueName = notifyConfigNode["QueueName"].asString(); - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - -} - -UpdateAsrPipelineResult::Pipeline UpdateAsrPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/UpdateCategoryNameRequest.cc b/mts/src/model/UpdateCategoryNameRequest.cc deleted file mode 100644 index 91af21375..000000000 --- a/mts/src/model/UpdateCategoryNameRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::UpdateCategoryNameRequest; - -UpdateCategoryNameRequest::UpdateCategoryNameRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateCategoryName") { - setMethod(HttpRequest::Method::Post); -} - -UpdateCategoryNameRequest::~UpdateCategoryNameRequest() {} - -long UpdateCategoryNameRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateCategoryNameRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateCategoryNameRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateCategoryNameRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateCategoryNameRequest::getCateId() const { - return cateId_; -} - -void UpdateCategoryNameRequest::setCateId(const std::string &cateId) { - cateId_ = cateId; - setParameter(std::string("CateId"), cateId); -} - -std::string UpdateCategoryNameRequest::getCateName() const { - return cateName_; -} - -void UpdateCategoryNameRequest::setCateName(const std::string &cateName) { - cateName_ = cateName; - setParameter(std::string("CateName"), cateName); -} - -std::string UpdateCategoryNameRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateCategoryNameRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateCategoryNameRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateCategoryNameRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long UpdateCategoryNameRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateCategoryNameRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/mts/src/model/UpdateCensorPipelineRequest.cc b/mts/src/model/UpdateCensorPipelineRequest.cc deleted file mode 100644 index 7809c9306..000000000 --- a/mts/src/model/UpdateCensorPipelineRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::UpdateCensorPipelineRequest; - -UpdateCensorPipelineRequest::UpdateCensorPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateCensorPipeline") { - setMethod(HttpRequest::Method::Post); -} - -UpdateCensorPipelineRequest::~UpdateCensorPipelineRequest() {} - -long UpdateCensorPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateCensorPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateCensorPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateCensorPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateCensorPipelineRequest::getState() const { - return state_; -} - -void UpdateCensorPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string UpdateCensorPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateCensorPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateCensorPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateCensorPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string UpdateCensorPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void UpdateCensorPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long UpdateCensorPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateCensorPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int UpdateCensorPipelineRequest::getPriority() const { - return priority_; -} - -void UpdateCensorPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string UpdateCensorPipelineRequest::getPipelineId() const { - return pipelineId_; -} - -void UpdateCensorPipelineRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string UpdateCensorPipelineRequest::getName() const { - return name_; -} - -void UpdateCensorPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/UpdateCensorPipelineResult.cc b/mts/src/model/UpdateCensorPipelineResult.cc deleted file mode 100644 index b5e7f96ca..000000000 --- a/mts/src/model/UpdateCensorPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdateCensorPipelineResult::UpdateCensorPipelineResult() : - ServiceResult() -{} - -UpdateCensorPipelineResult::UpdateCensorPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateCensorPipelineResult::~UpdateCensorPipelineResult() -{} - -void UpdateCensorPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -UpdateCensorPipelineResult::Pipeline UpdateCensorPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/UpdateCoverPipelineRequest.cc b/mts/src/model/UpdateCoverPipelineRequest.cc deleted file mode 100644 index 7a003421f..000000000 --- a/mts/src/model/UpdateCoverPipelineRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Mts::Model::UpdateCoverPipelineRequest; - -UpdateCoverPipelineRequest::UpdateCoverPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateCoverPipeline") { - setMethod(HttpRequest::Method::Post); -} - -UpdateCoverPipelineRequest::~UpdateCoverPipelineRequest() {} - -long UpdateCoverPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateCoverPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateCoverPipelineRequest::getRole() const { - return role_; -} - -void UpdateCoverPipelineRequest::setRole(const std::string &role) { - role_ = role; - setParameter(std::string("Role"), role); -} - -std::string UpdateCoverPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateCoverPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateCoverPipelineRequest::getState() const { - return state_; -} - -void UpdateCoverPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string UpdateCoverPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateCoverPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateCoverPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateCoverPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string UpdateCoverPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void UpdateCoverPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long UpdateCoverPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateCoverPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int UpdateCoverPipelineRequest::getPriority() const { - return priority_; -} - -void UpdateCoverPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string UpdateCoverPipelineRequest::getPipelineId() const { - return pipelineId_; -} - -void UpdateCoverPipelineRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string UpdateCoverPipelineRequest::getName() const { - return name_; -} - -void UpdateCoverPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/UpdateCoverPipelineResult.cc b/mts/src/model/UpdateCoverPipelineResult.cc deleted file mode 100644 index 0f8f5a9aa..000000000 --- a/mts/src/model/UpdateCoverPipelineResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdateCoverPipelineResult::UpdateCoverPipelineResult() : - ServiceResult() -{} - -UpdateCoverPipelineResult::UpdateCoverPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateCoverPipelineResult::~UpdateCoverPipelineResult() -{} - -void UpdateCoverPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Role"].isNull()) - pipeline_.role = pipelineNode["Role"].asString(); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -UpdateCoverPipelineResult::Pipeline UpdateCoverPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/UpdateMCTemplateRequest.cc b/mts/src/model/UpdateMCTemplateRequest.cc deleted file mode 100644 index 4346709cd..000000000 --- a/mts/src/model/UpdateMCTemplateRequest.cc +++ /dev/null @@ -1,180 +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 - -using AlibabaCloud::Mts::Model::UpdateMCTemplateRequest; - -UpdateMCTemplateRequest::UpdateMCTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateMCTemplate") { - setMethod(HttpRequest::Method::Post); -} - -UpdateMCTemplateRequest::~UpdateMCTemplateRequest() {} - -std::string UpdateMCTemplateRequest::getPolitics() const { - return politics_; -} - -void UpdateMCTemplateRequest::setPolitics(const std::string &politics) { - politics_ = politics; - setParameter(std::string("Politics"), politics); -} - -long UpdateMCTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateMCTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateMCTemplateRequest::getAbuse() const { - return abuse_; -} - -void UpdateMCTemplateRequest::setAbuse(const std::string &abuse) { - abuse_ = abuse; - setParameter(std::string("Abuse"), abuse); -} - -std::string UpdateMCTemplateRequest::getQrcode() const { - return qrcode_; -} - -void UpdateMCTemplateRequest::setQrcode(const std::string &qrcode) { - qrcode_ = qrcode; - setParameter(std::string("Qrcode"), qrcode); -} - -std::string UpdateMCTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateMCTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateMCTemplateRequest::getPorn() const { - return porn_; -} - -void UpdateMCTemplateRequest::setPorn(const std::string &porn) { - porn_ = porn; - setParameter(std::string("Porn"), porn); -} - -std::string UpdateMCTemplateRequest::getTerrorism() const { - return terrorism_; -} - -void UpdateMCTemplateRequest::setTerrorism(const std::string &terrorism) { - terrorism_ = terrorism; - setParameter(std::string("Terrorism"), terrorism); -} - -std::string UpdateMCTemplateRequest::getLogo() const { - return logo_; -} - -void UpdateMCTemplateRequest::setLogo(const std::string &logo) { - logo_ = logo; - setParameter(std::string("Logo"), logo); -} - -std::string UpdateMCTemplateRequest::getLive() const { - return live_; -} - -void UpdateMCTemplateRequest::setLive(const std::string &live) { - live_ = live; - setParameter(std::string("Live"), live); -} - -std::string UpdateMCTemplateRequest::getContraband() const { - return contraband_; -} - -void UpdateMCTemplateRequest::setContraband(const std::string &contraband) { - contraband_ = contraband; - setParameter(std::string("Contraband"), contraband); -} - -std::string UpdateMCTemplateRequest::getAd() const { - return ad_; -} - -void UpdateMCTemplateRequest::setAd(const std::string &ad) { - ad_ = ad; - setParameter(std::string("Ad"), ad); -} - -std::string UpdateMCTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateMCTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateMCTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateMCTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long UpdateMCTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateMCTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UpdateMCTemplateRequest::getTemplateId() const { - return templateId_; -} - -void UpdateMCTemplateRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); -} - -std::string UpdateMCTemplateRequest::getName() const { - return name_; -} - -void UpdateMCTemplateRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - -std::string UpdateMCTemplateRequest::getSpam() const { - return spam_; -} - -void UpdateMCTemplateRequest::setSpam(const std::string &spam) { - spam_ = spam; - setParameter(std::string("spam"), spam); -} - diff --git a/mts/src/model/UpdateMCTemplateResult.cc b/mts/src/model/UpdateMCTemplateResult.cc deleted file mode 100644 index d0e901d3e..000000000 --- a/mts/src/model/UpdateMCTemplateResult.cc +++ /dev/null @@ -1,76 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdateMCTemplateResult::UpdateMCTemplateResult() : - ServiceResult() -{} - -UpdateMCTemplateResult::UpdateMCTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateMCTemplateResult::~UpdateMCTemplateResult() -{} - -void UpdateMCTemplateResult::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["Logo"].isNull()) - _template_.logo = _templateNode["Logo"].asString(); - if(!_templateNode["Abuse"].isNull()) - _template_.abuse = _templateNode["Abuse"].asString(); - if(!_templateNode["State"].isNull()) - _template_.state = _templateNode["State"].asString(); - if(!_templateNode["Terrorism"].isNull()) - _template_.terrorism = _templateNode["Terrorism"].asString(); - if(!_templateNode["Politics"].isNull()) - _template_.politics = _templateNode["Politics"].asString(); - if(!_templateNode["Qrcode"].isNull()) - _template_.qrcode = _templateNode["Qrcode"].asString(); - if(!_templateNode["Live"].isNull()) - _template_.live = _templateNode["Live"].asString(); - if(!_templateNode["Spam"].isNull()) - _template_.spam = _templateNode["Spam"].asString(); - if(!_templateNode["Contraband"].isNull()) - _template_.contraband = _templateNode["Contraband"].asString(); - if(!_templateNode["Ad"].isNull()) - _template_.ad = _templateNode["Ad"].asString(); - if(!_templateNode["Porn"].isNull()) - _template_.porn = _templateNode["Porn"].asString(); - if(!_templateNode["Name"].isNull()) - _template_.name = _templateNode["Name"].asString(); - if(!_templateNode["TemplateId"].isNull()) - _template_.templateId = _templateNode["TemplateId"].asString(); - -} - -UpdateMCTemplateResult::_Template UpdateMCTemplateResult::get_Template()const -{ - return _template_; -} - diff --git a/mts/src/model/UpdateMcuTemplateRequest.cc b/mts/src/model/UpdateMcuTemplateRequest.cc deleted file mode 100644 index 37f6118c2..000000000 --- a/mts/src/model/UpdateMcuTemplateRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Mts::Model::UpdateMcuTemplateRequest; - -UpdateMcuTemplateRequest::UpdateMcuTemplateRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateMcuTemplate") { - setMethod(HttpRequest::Method::Post); -} - -UpdateMcuTemplateRequest::~UpdateMcuTemplateRequest() {} - -std::string UpdateMcuTemplateRequest::get_Template() const { - return _template_; -} - -void UpdateMcuTemplateRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); -} - -long UpdateMcuTemplateRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateMcuTemplateRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateMcuTemplateRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateMcuTemplateRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateMcuTemplateRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateMcuTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateMcuTemplateRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateMcuTemplateRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long UpdateMcuTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateMcuTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UpdateMcuTemplateRequest::getTemplateId() const { - return templateId_; -} - -void UpdateMcuTemplateRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); -} - diff --git a/mts/src/model/UpdateMcuTemplateResult.cc b/mts/src/model/UpdateMcuTemplateResult.cc deleted file mode 100644 index 11c80903c..000000000 --- a/mts/src/model/UpdateMcuTemplateResult.cc +++ /dev/null @@ -1,51 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdateMcuTemplateResult::UpdateMcuTemplateResult() : - ServiceResult() -{} - -UpdateMcuTemplateResult::UpdateMcuTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateMcuTemplateResult::~UpdateMcuTemplateResult() -{} - -void UpdateMcuTemplateResult::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 UpdateMcuTemplateResult::getTemplateId()const -{ - return templateId_; -} - diff --git a/mts/src/model/UpdateMediaWorkflowRequest.cc b/mts/src/model/UpdateMediaWorkflowRequest.cc index 69f4dc6fe..f58fe04c1 100644 --- a/mts/src/model/UpdateMediaWorkflowRequest.cc +++ b/mts/src/model/UpdateMediaWorkflowRequest.cc @@ -88,3 +88,21 @@ void UpdateMediaWorkflowRequest::setOwnerId(long ownerId) { setParameter(std::string("OwnerId"), std::to_string(ownerId)); } +std::string UpdateMediaWorkflowRequest::getTriggerMode() const { + return triggerMode_; +} + +void UpdateMediaWorkflowRequest::setTriggerMode(const std::string &triggerMode) { + triggerMode_ = triggerMode; + setParameter(std::string("TriggerMode"), triggerMode); +} + +std::string UpdateMediaWorkflowRequest::getName() const { + return name_; +} + +void UpdateMediaWorkflowRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/mts/src/model/UpdatePipelineRequest.cc b/mts/src/model/UpdatePipelineRequest.cc index ad292d44c..142e6baea 100644 --- a/mts/src/model/UpdatePipelineRequest.cc +++ b/mts/src/model/UpdatePipelineRequest.cc @@ -61,6 +61,15 @@ void UpdatePipelineRequest::setState(const std::string &state) { setParameter(std::string("State"), state); } +std::string UpdatePipelineRequest::getExtendConfig() const { + return extendConfig_; +} + +void UpdatePipelineRequest::setExtendConfig(const std::string &extendConfig) { + extendConfig_ = extendConfig; + setParameter(std::string("ExtendConfig"), extendConfig); +} + std::string UpdatePipelineRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/mts/src/model/UpdatePipelineResult.cc b/mts/src/model/UpdatePipelineResult.cc index 13c974e3f..ab5dde3cc 100644 --- a/mts/src/model/UpdatePipelineResult.cc +++ b/mts/src/model/UpdatePipelineResult.cc @@ -61,6 +61,13 @@ void UpdatePipelineResult::parse(const std::string &payload) pipeline_.notifyConfig.mqTag = notifyConfigNode["MqTag"].asString(); if(!notifyConfigNode["Topic"].isNull()) pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); + auto extendConfigNode = pipelineNode["ExtendConfig"]; + if(!extendConfigNode["IsBoostNew"].isNull()) + pipeline_.extendConfig.isBoostNew = extendConfigNode["IsBoostNew"].asString() == "true"; + if(!extendConfigNode["MaxMultiSpeed"].isNull()) + pipeline_.extendConfig.maxMultiSpeed = std::stoi(extendConfigNode["MaxMultiSpeed"].asString()); + if(!extendConfigNode["MultiSpeedDowngradePolicy"].isNull()) + pipeline_.extendConfig.multiSpeedDowngradePolicy = extendConfigNode["MultiSpeedDowngradePolicy"].asString(); } diff --git a/mts/src/model/UpdatePornPipelineRequest.cc b/mts/src/model/UpdatePornPipelineRequest.cc deleted file mode 100644 index 7482c5e9a..000000000 --- a/mts/src/model/UpdatePornPipelineRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::UpdatePornPipelineRequest; - -UpdatePornPipelineRequest::UpdatePornPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdatePornPipeline") { - setMethod(HttpRequest::Method::Post); -} - -UpdatePornPipelineRequest::~UpdatePornPipelineRequest() {} - -long UpdatePornPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdatePornPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdatePornPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdatePornPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdatePornPipelineRequest::getState() const { - return state_; -} - -void UpdatePornPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string UpdatePornPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdatePornPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdatePornPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdatePornPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string UpdatePornPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void UpdatePornPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long UpdatePornPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void UpdatePornPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int UpdatePornPipelineRequest::getPriority() const { - return priority_; -} - -void UpdatePornPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string UpdatePornPipelineRequest::getPipelineId() const { - return pipelineId_; -} - -void UpdatePornPipelineRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string UpdatePornPipelineRequest::getName() const { - return name_; -} - -void UpdatePornPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/UpdatePornPipelineResult.cc b/mts/src/model/UpdatePornPipelineResult.cc deleted file mode 100644 index 6614859ee..000000000 --- a/mts/src/model/UpdatePornPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdatePornPipelineResult::UpdatePornPipelineResult() : - ServiceResult() -{} - -UpdatePornPipelineResult::UpdatePornPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdatePornPipelineResult::~UpdatePornPipelineResult() -{} - -void UpdatePornPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -UpdatePornPipelineResult::Pipeline UpdatePornPipelineResult::getPipeline()const -{ - return pipeline_; -} - diff --git a/mts/src/model/UpdateSmarttagTemplateRequest.cc b/mts/src/model/UpdateSmarttagTemplateRequest.cc index 79c8300c2..1c34cc003 100644 --- a/mts/src/model/UpdateSmarttagTemplateRequest.cc +++ b/mts/src/model/UpdateSmarttagTemplateRequest.cc @@ -34,6 +34,15 @@ void UpdateSmarttagTemplateRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string UpdateSmarttagTemplateRequest::getKnowledgeConfig() const { + return knowledgeConfig_; +} + +void UpdateSmarttagTemplateRequest::setKnowledgeConfig(const std::string &knowledgeConfig) { + knowledgeConfig_ = knowledgeConfig; + setParameter(std::string("KnowledgeConfig"), knowledgeConfig); +} + std::string UpdateSmarttagTemplateRequest::getIndustry() const { return industry_; } @@ -43,6 +52,15 @@ void UpdateSmarttagTemplateRequest::setIndustry(const std::string &industry) { setParameter(std::string("Industry"), industry); } +std::string UpdateSmarttagTemplateRequest::getLabelVersion() const { + return labelVersion_; +} + +void UpdateSmarttagTemplateRequest::setLabelVersion(const std::string &labelVersion) { + labelVersion_ = labelVersion; + setParameter(std::string("LabelVersion"), labelVersion); +} + std::string UpdateSmarttagTemplateRequest::getAccessKeyId() const { return accessKeyId_; } @@ -61,6 +79,15 @@ void UpdateSmarttagTemplateRequest::setScene(const std::string &scene) { setParameter(std::string("Scene"), scene); } +std::string UpdateSmarttagTemplateRequest::getFaceCustomParamsConfig() const { + return faceCustomParamsConfig_; +} + +void UpdateSmarttagTemplateRequest::setFaceCustomParamsConfig(const std::string &faceCustomParamsConfig) { + faceCustomParamsConfig_ = faceCustomParamsConfig; + setParameter(std::string("FaceCustomParamsConfig"), faceCustomParamsConfig); +} + std::string UpdateSmarttagTemplateRequest::getTemplateName() const { return templateName_; } @@ -88,6 +115,24 @@ void UpdateSmarttagTemplateRequest::setFaceCategoryIds(const std::string &faceCa setParameter(std::string("FaceCategoryIds"), faceCategoryIds); } +std::string UpdateSmarttagTemplateRequest::getKeywordConfig() const { + return keywordConfig_; +} + +void UpdateSmarttagTemplateRequest::setKeywordConfig(const std::string &keywordConfig) { + keywordConfig_ = keywordConfig; + setParameter(std::string("KeywordConfig"), keywordConfig); +} + +std::string UpdateSmarttagTemplateRequest::getLandmarkGroupIds() const { + return landmarkGroupIds_; +} + +void UpdateSmarttagTemplateRequest::setLandmarkGroupIds(const std::string &landmarkGroupIds) { + landmarkGroupIds_ = landmarkGroupIds; + setParameter(std::string("LandmarkGroupIds"), landmarkGroupIds); +} + std::string UpdateSmarttagTemplateRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -106,6 +151,15 @@ void UpdateSmarttagTemplateRequest::setOwnerAccount(const std::string &ownerAcco setParameter(std::string("OwnerAccount"), ownerAccount); } +std::string UpdateSmarttagTemplateRequest::getObjectGroupIds() const { + return objectGroupIds_; +} + +void UpdateSmarttagTemplateRequest::setObjectGroupIds(const std::string &objectGroupIds) { + objectGroupIds_ = objectGroupIds; + setParameter(std::string("ObjectGroupIds"), objectGroupIds); +} + long UpdateSmarttagTemplateRequest::getOwnerId() const { return ownerId_; } @@ -133,3 +187,12 @@ void UpdateSmarttagTemplateRequest::setAnalyseTypes(const std::string &analyseTy setParameter(std::string("AnalyseTypes"), analyseTypes); } +std::string UpdateSmarttagTemplateRequest::getLabelType() const { + return labelType_; +} + +void UpdateSmarttagTemplateRequest::setLabelType(const std::string &labelType) { + labelType_ = labelType; + setParameter(std::string("LabelType"), labelType); +} + diff --git a/mts/src/model/UpdateTemplateResult.cc b/mts/src/model/UpdateTemplateResult.cc index 39cb4e457..550d5183f 100644 --- a/mts/src/model/UpdateTemplateResult.cc +++ b/mts/src/model/UpdateTemplateResult.cc @@ -89,11 +89,20 @@ void UpdateTemplateResult::parse(const std::string &payload) _template_.video.scanMode = videoNode["ScanMode"].asString(); if(!videoNode["ResoPriority"].isNull()) _template_.video.resoPriority = videoNode["ResoPriority"].asString(); + if(!videoNode["Hdr2sdr"].isNull()) + _template_.video.hdr2sdr = videoNode["Hdr2sdr"].asString(); auto bitrateBndNode = videoNode["BitrateBnd"]; if(!bitrateBndNode["Max"].isNull()) _template_.video.bitrateBnd.max = bitrateBndNode["Max"].asString(); if(!bitrateBndNode["Min"].isNull()) _template_.video.bitrateBnd.min = bitrateBndNode["Min"].asString(); + auto narrowBandNode = videoNode["NarrowBand"]; + if(!narrowBandNode["Version"].isNull()) + _template_.video.narrowBand.version = narrowBandNode["Version"].asString(); + if(!narrowBandNode["Abrmax"].isNull()) + _template_.video.narrowBand.abrmax = std::stof(narrowBandNode["Abrmax"].asString()); + if(!narrowBandNode["MaxAbrRatio"].isNull()) + _template_.video.narrowBand.maxAbrRatio = std::stof(narrowBandNode["MaxAbrRatio"].asString()); auto transConfigNode = _templateNode["TransConfig"]; if(!transConfigNode["IsCheckAudioBitrate"].isNull()) _template_.transConfig.isCheckAudioBitrate = transConfigNode["IsCheckAudioBitrate"].asString(); @@ -142,6 +151,19 @@ void UpdateTemplateResult::parse(const std::string &payload) _template_.audio.channels = audioNode["Channels"].asString(); if(!audioNode["Bitrate"].isNull()) _template_.audio.bitrate = audioNode["Bitrate"].asString(); + auto volumeNode = audioNode["Volume"]; + if(!volumeNode["Method"].isNull()) + _template_.audio.volume.method = volumeNode["Method"].asString(); + if(!volumeNode["TruePeak"].isNull()) + _template_.audio.volume.truePeak = volumeNode["TruePeak"].asString(); + if(!volumeNode["IntegratedLoudnessTarget"].isNull()) + _template_.audio.volume.integratedLoudnessTarget = volumeNode["IntegratedLoudnessTarget"].asString(); + if(!volumeNode["Level"].isNull()) + _template_.audio.volume.level = volumeNode["Level"].asString(); + if(!volumeNode["LoudnessRangeTarget"].isNull()) + _template_.audio.volume.loudnessRangeTarget = volumeNode["LoudnessRangeTarget"].asString(); + if(!volumeNode["PeakLevel"].isNull()) + _template_.audio.volume.peakLevel = volumeNode["PeakLevel"].asString(); auto containerNode = _templateNode["Container"]; if(!containerNode["Format"].isNull()) _template_.container.format = containerNode["Format"].asString(); diff --git a/mts/src/model/UpdateTerrorismPipelineRequest.cc b/mts/src/model/UpdateTerrorismPipelineRequest.cc deleted file mode 100644 index 68ee7b26d..000000000 --- a/mts/src/model/UpdateTerrorismPipelineRequest.cc +++ /dev/null @@ -1,117 +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 - -using AlibabaCloud::Mts::Model::UpdateTerrorismPipelineRequest; - -UpdateTerrorismPipelineRequest::UpdateTerrorismPipelineRequest() - : RpcServiceRequest("mts", "2014-06-18", "UpdateTerrorismPipeline") { - setMethod(HttpRequest::Method::Post); -} - -UpdateTerrorismPipelineRequest::~UpdateTerrorismPipelineRequest() {} - -long UpdateTerrorismPipelineRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateTerrorismPipelineRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateTerrorismPipelineRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateTerrorismPipelineRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string UpdateTerrorismPipelineRequest::getState() const { - return state_; -} - -void UpdateTerrorismPipelineRequest::setState(const std::string &state) { - state_ = state; - setParameter(std::string("State"), state); -} - -std::string UpdateTerrorismPipelineRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateTerrorismPipelineRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateTerrorismPipelineRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void UpdateTerrorismPipelineRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -std::string UpdateTerrorismPipelineRequest::getNotifyConfig() const { - return notifyConfig_; -} - -void UpdateTerrorismPipelineRequest::setNotifyConfig(const std::string ¬ifyConfig) { - notifyConfig_ = notifyConfig; - setParameter(std::string("NotifyConfig"), notifyConfig); -} - -long UpdateTerrorismPipelineRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateTerrorismPipelineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int UpdateTerrorismPipelineRequest::getPriority() const { - return priority_; -} - -void UpdateTerrorismPipelineRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); -} - -std::string UpdateTerrorismPipelineRequest::getPipelineId() const { - return pipelineId_; -} - -void UpdateTerrorismPipelineRequest::setPipelineId(const std::string &pipelineId) { - pipelineId_ = pipelineId; - setParameter(std::string("PipelineId"), pipelineId); -} - -std::string UpdateTerrorismPipelineRequest::getName() const { - return name_; -} - -void UpdateTerrorismPipelineRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - diff --git a/mts/src/model/UpdateTerrorismPipelineResult.cc b/mts/src/model/UpdateTerrorismPipelineResult.cc deleted file mode 100644 index d4952d204..000000000 --- a/mts/src/model/UpdateTerrorismPipelineResult.cc +++ /dev/null @@ -1,63 +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 -#include - -using namespace AlibabaCloud::Mts; -using namespace AlibabaCloud::Mts::Model; - -UpdateTerrorismPipelineResult::UpdateTerrorismPipelineResult() : - ServiceResult() -{} - -UpdateTerrorismPipelineResult::UpdateTerrorismPipelineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateTerrorismPipelineResult::~UpdateTerrorismPipelineResult() -{} - -void UpdateTerrorismPipelineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto pipelineNode = value["Pipeline"]; - if(!pipelineNode["State"].isNull()) - pipeline_.state = pipelineNode["State"].asString(); - if(!pipelineNode["Priority"].isNull()) - pipeline_.priority = std::stoi(pipelineNode["Priority"].asString()); - if(!pipelineNode["Name"].isNull()) - pipeline_.name = pipelineNode["Name"].asString(); - if(!pipelineNode["Id"].isNull()) - pipeline_.id = pipelineNode["Id"].asString(); - auto notifyConfigNode = pipelineNode["NotifyConfig"]; - if(!notifyConfigNode["Topic"].isNull()) - pipeline_.notifyConfig.topic = notifyConfigNode["Topic"].asString(); - if(!notifyConfigNode["Queue"].isNull()) - pipeline_.notifyConfig.queue = notifyConfigNode["Queue"].asString(); - -} - -UpdateTerrorismPipelineResult::Pipeline UpdateTerrorismPipelineResult::getPipeline()const -{ - return pipeline_; -} -