diff --git a/CHANGELOG b/CHANGELOG index 74cd2c923..7bc96816d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-11-24 Version: 1.36.944 +- Set API DescribeVodDomainSrcBpsData to public. + 2021-11-23 Version: 1.36.943 - Delete some abandoned interface in SDK. - Add AutoLiveStream series interfaces. diff --git a/VERSION b/VERSION index d8eca4981..604d81704 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.943 \ No newline at end of file +1.36.944 \ No newline at end of file diff --git a/vod/CMakeLists.txt b/vod/CMakeLists.txt index b8e163457..35f3dba3a 100644 --- a/vod/CMakeLists.txt +++ b/vod/CMakeLists.txt @@ -49,8 +49,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/CreateAppInfoResult.h include/alibabacloud/vod/model/CreateAuditRequest.h include/alibabacloud/vod/model/CreateAuditResult.h - include/alibabacloud/vod/model/CreateDetectionTemplateRequest.h - include/alibabacloud/vod/model/CreateDetectionTemplateResult.h include/alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h include/alibabacloud/vod/model/CreateUploadAttachedMediaResult.h include/alibabacloud/vod/model/CreateUploadImageRequest.h @@ -69,8 +67,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/DeleteAttachedMediaResult.h include/alibabacloud/vod/model/DeleteCategoryRequest.h include/alibabacloud/vod/model/DeleteCategoryResult.h - include/alibabacloud/vod/model/DeleteDetectionTemplateRequest.h - include/alibabacloud/vod/model/DeleteDetectionTemplateResult.h include/alibabacloud/vod/model/DeleteDynamicImageRequest.h include/alibabacloud/vod/model/DeleteDynamicImageResult.h include/alibabacloud/vod/model/DeleteEditingProjectRequest.h @@ -123,6 +119,8 @@ set(vod_public_header_model include/alibabacloud/vod/model/DescribeVodDomainLogResult.h include/alibabacloud/vod/model/DescribeVodDomainRealtimeLogDeliveryRequest.h include/alibabacloud/vod/model/DescribeVodDomainRealtimeLogDeliveryResult.h + include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataRequest.h + include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataResult.h include/alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h include/alibabacloud/vod/model/DescribeVodDomainTrafficDataResult.h include/alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h @@ -149,8 +147,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/DisableVodRealtimeLogDeliveryResult.h include/alibabacloud/vod/model/EnableVodRealtimeLogDeliveryRequest.h include/alibabacloud/vod/model/EnableVodRealtimeLogDeliveryResult.h - include/alibabacloud/vod/model/GetAICaptionExtractionJobsRequest.h - include/alibabacloud/vod/model/GetAICaptionExtractionJobsResult.h include/alibabacloud/vod/model/GetAIImageJobsRequest.h include/alibabacloud/vod/model/GetAIImageJobsResult.h include/alibabacloud/vod/model/GetAIMediaAuditJobRequest.h @@ -169,12 +165,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/GetCategoriesResult.h include/alibabacloud/vod/model/GetDefaultAITemplateRequest.h include/alibabacloud/vod/model/GetDefaultAITemplateResult.h - include/alibabacloud/vod/model/GetDetectionJobRequest.h - include/alibabacloud/vod/model/GetDetectionJobResult.h - include/alibabacloud/vod/model/GetDetectionResultRequest.h - include/alibabacloud/vod/model/GetDetectionResultResult.h - include/alibabacloud/vod/model/GetDetectionTemplateRequest.h - include/alibabacloud/vod/model/GetDetectionTemplateResult.h include/alibabacloud/vod/model/GetEditingProjectRequest.h include/alibabacloud/vod/model/GetEditingProjectResult.h include/alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h @@ -231,14 +221,8 @@ set(vod_public_header_model include/alibabacloud/vod/model/ListAppPoliciesForIdentityResult.h include/alibabacloud/vod/model/ListAuditSecurityIpRequest.h include/alibabacloud/vod/model/ListAuditSecurityIpResult.h - include/alibabacloud/vod/model/ListDetectionJobRequest.h - include/alibabacloud/vod/model/ListDetectionJobResult.h - include/alibabacloud/vod/model/ListDetectionTemplateRequest.h - include/alibabacloud/vod/model/ListDetectionTemplateResult.h include/alibabacloud/vod/model/ListDynamicImageRequest.h include/alibabacloud/vod/model/ListDynamicImageResult.h - include/alibabacloud/vod/model/ListLetterSendJobRequest.h - include/alibabacloud/vod/model/ListLetterSendJobResult.h include/alibabacloud/vod/model/ListLiveRecordVideoRequest.h include/alibabacloud/vod/model/ListLiveRecordVideoResult.h include/alibabacloud/vod/model/ListMediaDNADeleteJobRequest.h @@ -289,8 +273,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/SetMessageCallbackResult.h include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h include/alibabacloud/vod/model/SetVodDomainCertificateResult.h - include/alibabacloud/vod/model/SubmitAICaptionExtractionJobRequest.h - include/alibabacloud/vod/model/SubmitAICaptionExtractionJobResult.h include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h include/alibabacloud/vod/model/SubmitAIImageAuditJobResult.h include/alibabacloud/vod/model/SubmitAIImageJobRequest.h @@ -299,8 +281,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/SubmitAIJobResult.h include/alibabacloud/vod/model/SubmitAIMediaAuditJobRequest.h include/alibabacloud/vod/model/SubmitAIMediaAuditJobResult.h - include/alibabacloud/vod/model/SubmitDetectionJobRequest.h - include/alibabacloud/vod/model/SubmitDetectionJobResult.h include/alibabacloud/vod/model/SubmitDynamicImageJobRequest.h include/alibabacloud/vod/model/SubmitDynamicImageJobResult.h include/alibabacloud/vod/model/SubmitLiveEditingRequest.h @@ -327,10 +307,6 @@ set(vod_public_header_model include/alibabacloud/vod/model/UpdateAttachedMediaInfosResult.h include/alibabacloud/vod/model/UpdateCategoryRequest.h include/alibabacloud/vod/model/UpdateCategoryResult.h - include/alibabacloud/vod/model/UpdateDetectionJobRequest.h - include/alibabacloud/vod/model/UpdateDetectionJobResult.h - include/alibabacloud/vod/model/UpdateDetectionTemplateRequest.h - include/alibabacloud/vod/model/UpdateDetectionTemplateResult.h include/alibabacloud/vod/model/UpdateEditingProjectRequest.h include/alibabacloud/vod/model/UpdateEditingProjectResult.h include/alibabacloud/vod/model/UpdateImageInfosRequest.h @@ -386,8 +362,6 @@ set(vod_src src/model/CreateAppInfoResult.cc src/model/CreateAuditRequest.cc src/model/CreateAuditResult.cc - src/model/CreateDetectionTemplateRequest.cc - src/model/CreateDetectionTemplateResult.cc src/model/CreateUploadAttachedMediaRequest.cc src/model/CreateUploadAttachedMediaResult.cc src/model/CreateUploadImageRequest.cc @@ -406,8 +380,6 @@ set(vod_src src/model/DeleteAttachedMediaResult.cc src/model/DeleteCategoryRequest.cc src/model/DeleteCategoryResult.cc - src/model/DeleteDetectionTemplateRequest.cc - src/model/DeleteDetectionTemplateResult.cc src/model/DeleteDynamicImageRequest.cc src/model/DeleteDynamicImageResult.cc src/model/DeleteEditingProjectRequest.cc @@ -460,6 +432,8 @@ set(vod_src src/model/DescribeVodDomainLogResult.cc src/model/DescribeVodDomainRealtimeLogDeliveryRequest.cc src/model/DescribeVodDomainRealtimeLogDeliveryResult.cc + src/model/DescribeVodDomainSrcBpsDataRequest.cc + src/model/DescribeVodDomainSrcBpsDataResult.cc src/model/DescribeVodDomainTrafficDataRequest.cc src/model/DescribeVodDomainTrafficDataResult.cc src/model/DescribeVodDomainUsageDataRequest.cc @@ -486,8 +460,6 @@ set(vod_src src/model/DisableVodRealtimeLogDeliveryResult.cc src/model/EnableVodRealtimeLogDeliveryRequest.cc src/model/EnableVodRealtimeLogDeliveryResult.cc - src/model/GetAICaptionExtractionJobsRequest.cc - src/model/GetAICaptionExtractionJobsResult.cc src/model/GetAIImageJobsRequest.cc src/model/GetAIImageJobsResult.cc src/model/GetAIMediaAuditJobRequest.cc @@ -506,12 +478,6 @@ set(vod_src src/model/GetCategoriesResult.cc src/model/GetDefaultAITemplateRequest.cc src/model/GetDefaultAITemplateResult.cc - src/model/GetDetectionJobRequest.cc - src/model/GetDetectionJobResult.cc - src/model/GetDetectionResultRequest.cc - src/model/GetDetectionResultResult.cc - src/model/GetDetectionTemplateRequest.cc - src/model/GetDetectionTemplateResult.cc src/model/GetEditingProjectRequest.cc src/model/GetEditingProjectResult.cc src/model/GetEditingProjectMaterialsRequest.cc @@ -568,14 +534,8 @@ set(vod_src src/model/ListAppPoliciesForIdentityResult.cc src/model/ListAuditSecurityIpRequest.cc src/model/ListAuditSecurityIpResult.cc - src/model/ListDetectionJobRequest.cc - src/model/ListDetectionJobResult.cc - src/model/ListDetectionTemplateRequest.cc - src/model/ListDetectionTemplateResult.cc src/model/ListDynamicImageRequest.cc src/model/ListDynamicImageResult.cc - src/model/ListLetterSendJobRequest.cc - src/model/ListLetterSendJobResult.cc src/model/ListLiveRecordVideoRequest.cc src/model/ListLiveRecordVideoResult.cc src/model/ListMediaDNADeleteJobRequest.cc @@ -626,8 +586,6 @@ set(vod_src src/model/SetMessageCallbackResult.cc src/model/SetVodDomainCertificateRequest.cc src/model/SetVodDomainCertificateResult.cc - src/model/SubmitAICaptionExtractionJobRequest.cc - src/model/SubmitAICaptionExtractionJobResult.cc src/model/SubmitAIImageAuditJobRequest.cc src/model/SubmitAIImageAuditJobResult.cc src/model/SubmitAIImageJobRequest.cc @@ -636,8 +594,6 @@ set(vod_src src/model/SubmitAIJobResult.cc src/model/SubmitAIMediaAuditJobRequest.cc src/model/SubmitAIMediaAuditJobResult.cc - src/model/SubmitDetectionJobRequest.cc - src/model/SubmitDetectionJobResult.cc src/model/SubmitDynamicImageJobRequest.cc src/model/SubmitDynamicImageJobResult.cc src/model/SubmitLiveEditingRequest.cc @@ -664,10 +620,6 @@ set(vod_src src/model/UpdateAttachedMediaInfosResult.cc src/model/UpdateCategoryRequest.cc src/model/UpdateCategoryResult.cc - src/model/UpdateDetectionJobRequest.cc - src/model/UpdateDetectionJobResult.cc - src/model/UpdateDetectionTemplateRequest.cc - src/model/UpdateDetectionTemplateResult.cc src/model/UpdateEditingProjectRequest.cc src/model/UpdateEditingProjectResult.cc src/model/UpdateImageInfosRequest.cc diff --git a/vod/include/alibabacloud/vod/VodClient.h b/vod/include/alibabacloud/vod/VodClient.h index 61950875c..a051476cd 100644 --- a/vod/include/alibabacloud/vod/VodClient.h +++ b/vod/include/alibabacloud/vod/VodClient.h @@ -50,8 +50,6 @@ #include "model/CreateAppInfoResult.h" #include "model/CreateAuditRequest.h" #include "model/CreateAuditResult.h" -#include "model/CreateDetectionTemplateRequest.h" -#include "model/CreateDetectionTemplateResult.h" #include "model/CreateUploadAttachedMediaRequest.h" #include "model/CreateUploadAttachedMediaResult.h" #include "model/CreateUploadImageRequest.h" @@ -70,8 +68,6 @@ #include "model/DeleteAttachedMediaResult.h" #include "model/DeleteCategoryRequest.h" #include "model/DeleteCategoryResult.h" -#include "model/DeleteDetectionTemplateRequest.h" -#include "model/DeleteDetectionTemplateResult.h" #include "model/DeleteDynamicImageRequest.h" #include "model/DeleteDynamicImageResult.h" #include "model/DeleteEditingProjectRequest.h" @@ -124,6 +120,8 @@ #include "model/DescribeVodDomainLogResult.h" #include "model/DescribeVodDomainRealtimeLogDeliveryRequest.h" #include "model/DescribeVodDomainRealtimeLogDeliveryResult.h" +#include "model/DescribeVodDomainSrcBpsDataRequest.h" +#include "model/DescribeVodDomainSrcBpsDataResult.h" #include "model/DescribeVodDomainTrafficDataRequest.h" #include "model/DescribeVodDomainTrafficDataResult.h" #include "model/DescribeVodDomainUsageDataRequest.h" @@ -150,8 +148,6 @@ #include "model/DisableVodRealtimeLogDeliveryResult.h" #include "model/EnableVodRealtimeLogDeliveryRequest.h" #include "model/EnableVodRealtimeLogDeliveryResult.h" -#include "model/GetAICaptionExtractionJobsRequest.h" -#include "model/GetAICaptionExtractionJobsResult.h" #include "model/GetAIImageJobsRequest.h" #include "model/GetAIImageJobsResult.h" #include "model/GetAIMediaAuditJobRequest.h" @@ -170,12 +166,6 @@ #include "model/GetCategoriesResult.h" #include "model/GetDefaultAITemplateRequest.h" #include "model/GetDefaultAITemplateResult.h" -#include "model/GetDetectionJobRequest.h" -#include "model/GetDetectionJobResult.h" -#include "model/GetDetectionResultRequest.h" -#include "model/GetDetectionResultResult.h" -#include "model/GetDetectionTemplateRequest.h" -#include "model/GetDetectionTemplateResult.h" #include "model/GetEditingProjectRequest.h" #include "model/GetEditingProjectResult.h" #include "model/GetEditingProjectMaterialsRequest.h" @@ -232,14 +222,8 @@ #include "model/ListAppPoliciesForIdentityResult.h" #include "model/ListAuditSecurityIpRequest.h" #include "model/ListAuditSecurityIpResult.h" -#include "model/ListDetectionJobRequest.h" -#include "model/ListDetectionJobResult.h" -#include "model/ListDetectionTemplateRequest.h" -#include "model/ListDetectionTemplateResult.h" #include "model/ListDynamicImageRequest.h" #include "model/ListDynamicImageResult.h" -#include "model/ListLetterSendJobRequest.h" -#include "model/ListLetterSendJobResult.h" #include "model/ListLiveRecordVideoRequest.h" #include "model/ListLiveRecordVideoResult.h" #include "model/ListMediaDNADeleteJobRequest.h" @@ -290,8 +274,6 @@ #include "model/SetMessageCallbackResult.h" #include "model/SetVodDomainCertificateRequest.h" #include "model/SetVodDomainCertificateResult.h" -#include "model/SubmitAICaptionExtractionJobRequest.h" -#include "model/SubmitAICaptionExtractionJobResult.h" #include "model/SubmitAIImageAuditJobRequest.h" #include "model/SubmitAIImageAuditJobResult.h" #include "model/SubmitAIImageJobRequest.h" @@ -300,8 +282,6 @@ #include "model/SubmitAIJobResult.h" #include "model/SubmitAIMediaAuditJobRequest.h" #include "model/SubmitAIMediaAuditJobResult.h" -#include "model/SubmitDetectionJobRequest.h" -#include "model/SubmitDetectionJobResult.h" #include "model/SubmitDynamicImageJobRequest.h" #include "model/SubmitDynamicImageJobResult.h" #include "model/SubmitLiveEditingRequest.h" @@ -328,10 +308,6 @@ #include "model/UpdateAttachedMediaInfosResult.h" #include "model/UpdateCategoryRequest.h" #include "model/UpdateCategoryResult.h" -#include "model/UpdateDetectionJobRequest.h" -#include "model/UpdateDetectionJobResult.h" -#include "model/UpdateDetectionTemplateRequest.h" -#include "model/UpdateDetectionTemplateResult.h" #include "model/UpdateEditingProjectRequest.h" #include "model/UpdateEditingProjectResult.h" #include "model/UpdateImageInfosRequest.h" @@ -407,9 +383,6 @@ namespace AlibabaCloud typedef Outcome CreateAuditOutcome; typedef std::future CreateAuditOutcomeCallable; typedef std::function&)> CreateAuditAsyncHandler; - typedef Outcome CreateDetectionTemplateOutcome; - typedef std::future CreateDetectionTemplateOutcomeCallable; - typedef std::function&)> CreateDetectionTemplateAsyncHandler; typedef Outcome CreateUploadAttachedMediaOutcome; typedef std::future CreateUploadAttachedMediaOutcomeCallable; typedef std::function&)> CreateUploadAttachedMediaAsyncHandler; @@ -437,9 +410,6 @@ namespace AlibabaCloud typedef Outcome DeleteCategoryOutcome; typedef std::future DeleteCategoryOutcomeCallable; typedef std::function&)> DeleteCategoryAsyncHandler; - typedef Outcome DeleteDetectionTemplateOutcome; - typedef std::future DeleteDetectionTemplateOutcomeCallable; - typedef std::function&)> DeleteDetectionTemplateAsyncHandler; typedef Outcome DeleteDynamicImageOutcome; typedef std::future DeleteDynamicImageOutcomeCallable; typedef std::function&)> DeleteDynamicImageAsyncHandler; @@ -518,6 +488,9 @@ namespace AlibabaCloud typedef Outcome DescribeVodDomainRealtimeLogDeliveryOutcome; typedef std::future DescribeVodDomainRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> DescribeVodDomainRealtimeLogDeliveryAsyncHandler; + typedef Outcome DescribeVodDomainSrcBpsDataOutcome; + typedef std::future DescribeVodDomainSrcBpsDataOutcomeCallable; + typedef std::function&)> DescribeVodDomainSrcBpsDataAsyncHandler; typedef Outcome DescribeVodDomainTrafficDataOutcome; typedef std::future DescribeVodDomainTrafficDataOutcomeCallable; typedef std::function&)> DescribeVodDomainTrafficDataAsyncHandler; @@ -557,9 +530,6 @@ namespace AlibabaCloud typedef Outcome EnableVodRealtimeLogDeliveryOutcome; typedef std::future EnableVodRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> EnableVodRealtimeLogDeliveryAsyncHandler; - typedef Outcome GetAICaptionExtractionJobsOutcome; - typedef std::future GetAICaptionExtractionJobsOutcomeCallable; - typedef std::function&)> GetAICaptionExtractionJobsAsyncHandler; typedef Outcome GetAIImageJobsOutcome; typedef std::future GetAIImageJobsOutcomeCallable; typedef std::function&)> GetAIImageJobsAsyncHandler; @@ -587,15 +557,6 @@ namespace AlibabaCloud typedef Outcome GetDefaultAITemplateOutcome; typedef std::future GetDefaultAITemplateOutcomeCallable; typedef std::function&)> GetDefaultAITemplateAsyncHandler; - typedef Outcome GetDetectionJobOutcome; - typedef std::future GetDetectionJobOutcomeCallable; - typedef std::function&)> GetDetectionJobAsyncHandler; - typedef Outcome GetDetectionResultOutcome; - typedef std::future GetDetectionResultOutcomeCallable; - typedef std::function&)> GetDetectionResultAsyncHandler; - typedef Outcome GetDetectionTemplateOutcome; - typedef std::future GetDetectionTemplateOutcomeCallable; - typedef std::function&)> GetDetectionTemplateAsyncHandler; typedef Outcome GetEditingProjectOutcome; typedef std::future GetEditingProjectOutcomeCallable; typedef std::function&)> GetEditingProjectAsyncHandler; @@ -680,18 +641,9 @@ namespace AlibabaCloud typedef Outcome ListAuditSecurityIpOutcome; typedef std::future ListAuditSecurityIpOutcomeCallable; typedef std::function&)> ListAuditSecurityIpAsyncHandler; - typedef Outcome ListDetectionJobOutcome; - typedef std::future ListDetectionJobOutcomeCallable; - typedef std::function&)> ListDetectionJobAsyncHandler; - typedef Outcome ListDetectionTemplateOutcome; - typedef std::future ListDetectionTemplateOutcomeCallable; - typedef std::function&)> ListDetectionTemplateAsyncHandler; typedef Outcome ListDynamicImageOutcome; typedef std::future ListDynamicImageOutcomeCallable; typedef std::function&)> ListDynamicImageAsyncHandler; - typedef Outcome ListLetterSendJobOutcome; - typedef std::future ListLetterSendJobOutcomeCallable; - typedef std::function&)> ListLetterSendJobAsyncHandler; typedef Outcome ListLiveRecordVideoOutcome; typedef std::future ListLiveRecordVideoOutcomeCallable; typedef std::function&)> ListLiveRecordVideoAsyncHandler; @@ -767,9 +719,6 @@ namespace AlibabaCloud typedef Outcome SetVodDomainCertificateOutcome; typedef std::future SetVodDomainCertificateOutcomeCallable; typedef std::function&)> SetVodDomainCertificateAsyncHandler; - typedef Outcome SubmitAICaptionExtractionJobOutcome; - typedef std::future SubmitAICaptionExtractionJobOutcomeCallable; - typedef std::function&)> SubmitAICaptionExtractionJobAsyncHandler; typedef Outcome SubmitAIImageAuditJobOutcome; typedef std::future SubmitAIImageAuditJobOutcomeCallable; typedef std::function&)> SubmitAIImageAuditJobAsyncHandler; @@ -782,9 +731,6 @@ namespace AlibabaCloud typedef Outcome SubmitAIMediaAuditJobOutcome; typedef std::future SubmitAIMediaAuditJobOutcomeCallable; typedef std::function&)> SubmitAIMediaAuditJobAsyncHandler; - typedef Outcome SubmitDetectionJobOutcome; - typedef std::future SubmitDetectionJobOutcomeCallable; - typedef std::function&)> SubmitDetectionJobAsyncHandler; typedef Outcome SubmitDynamicImageJobOutcome; typedef std::future SubmitDynamicImageJobOutcomeCallable; typedef std::function&)> SubmitDynamicImageJobAsyncHandler; @@ -824,12 +770,6 @@ namespace AlibabaCloud typedef Outcome UpdateCategoryOutcome; typedef std::future UpdateCategoryOutcomeCallable; typedef std::function&)> UpdateCategoryAsyncHandler; - typedef Outcome UpdateDetectionJobOutcome; - typedef std::future UpdateDetectionJobOutcomeCallable; - typedef std::function&)> UpdateDetectionJobAsyncHandler; - typedef Outcome UpdateDetectionTemplateOutcome; - typedef std::future UpdateDetectionTemplateOutcomeCallable; - typedef std::function&)> UpdateDetectionTemplateAsyncHandler; typedef Outcome UpdateEditingProjectOutcome; typedef std::future UpdateEditingProjectOutcomeCallable; typedef std::function&)> UpdateEditingProjectAsyncHandler; @@ -913,9 +853,6 @@ namespace AlibabaCloud CreateAuditOutcome createAudit(const Model::CreateAuditRequest &request)const; void createAuditAsync(const Model::CreateAuditRequest& request, const CreateAuditAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAuditOutcomeCallable createAuditCallable(const Model::CreateAuditRequest& request) const; - CreateDetectionTemplateOutcome createDetectionTemplate(const Model::CreateDetectionTemplateRequest &request)const; - void createDetectionTemplateAsync(const Model::CreateDetectionTemplateRequest& request, const CreateDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDetectionTemplateOutcomeCallable createDetectionTemplateCallable(const Model::CreateDetectionTemplateRequest& request) const; CreateUploadAttachedMediaOutcome createUploadAttachedMedia(const Model::CreateUploadAttachedMediaRequest &request)const; void createUploadAttachedMediaAsync(const Model::CreateUploadAttachedMediaRequest& request, const CreateUploadAttachedMediaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUploadAttachedMediaOutcomeCallable createUploadAttachedMediaCallable(const Model::CreateUploadAttachedMediaRequest& request) const; @@ -943,9 +880,6 @@ namespace AlibabaCloud 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; - DeleteDetectionTemplateOutcome deleteDetectionTemplate(const Model::DeleteDetectionTemplateRequest &request)const; - void deleteDetectionTemplateAsync(const Model::DeleteDetectionTemplateRequest& request, const DeleteDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteDetectionTemplateOutcomeCallable deleteDetectionTemplateCallable(const Model::DeleteDetectionTemplateRequest& request) const; DeleteDynamicImageOutcome deleteDynamicImage(const Model::DeleteDynamicImageRequest &request)const; void deleteDynamicImageAsync(const Model::DeleteDynamicImageRequest& request, const DeleteDynamicImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDynamicImageOutcomeCallable deleteDynamicImageCallable(const Model::DeleteDynamicImageRequest& request) const; @@ -1024,6 +958,9 @@ namespace AlibabaCloud DescribeVodDomainRealtimeLogDeliveryOutcome describeVodDomainRealtimeLogDelivery(const Model::DescribeVodDomainRealtimeLogDeliveryRequest &request)const; void describeVodDomainRealtimeLogDeliveryAsync(const Model::DescribeVodDomainRealtimeLogDeliveryRequest& request, const DescribeVodDomainRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeVodDomainRealtimeLogDeliveryOutcomeCallable describeVodDomainRealtimeLogDeliveryCallable(const Model::DescribeVodDomainRealtimeLogDeliveryRequest& request) const; + DescribeVodDomainSrcBpsDataOutcome describeVodDomainSrcBpsData(const Model::DescribeVodDomainSrcBpsDataRequest &request)const; + void describeVodDomainSrcBpsDataAsync(const Model::DescribeVodDomainSrcBpsDataRequest& request, const DescribeVodDomainSrcBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVodDomainSrcBpsDataOutcomeCallable describeVodDomainSrcBpsDataCallable(const Model::DescribeVodDomainSrcBpsDataRequest& request) const; DescribeVodDomainTrafficDataOutcome describeVodDomainTrafficData(const Model::DescribeVodDomainTrafficDataRequest &request)const; void describeVodDomainTrafficDataAsync(const Model::DescribeVodDomainTrafficDataRequest& request, const DescribeVodDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeVodDomainTrafficDataOutcomeCallable describeVodDomainTrafficDataCallable(const Model::DescribeVodDomainTrafficDataRequest& request) const; @@ -1063,9 +1000,6 @@ namespace AlibabaCloud EnableVodRealtimeLogDeliveryOutcome enableVodRealtimeLogDelivery(const Model::EnableVodRealtimeLogDeliveryRequest &request)const; void enableVodRealtimeLogDeliveryAsync(const Model::EnableVodRealtimeLogDeliveryRequest& request, const EnableVodRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableVodRealtimeLogDeliveryOutcomeCallable enableVodRealtimeLogDeliveryCallable(const Model::EnableVodRealtimeLogDeliveryRequest& request) const; - GetAICaptionExtractionJobsOutcome getAICaptionExtractionJobs(const Model::GetAICaptionExtractionJobsRequest &request)const; - void getAICaptionExtractionJobsAsync(const Model::GetAICaptionExtractionJobsRequest& request, const GetAICaptionExtractionJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetAICaptionExtractionJobsOutcomeCallable getAICaptionExtractionJobsCallable(const Model::GetAICaptionExtractionJobsRequest& request) const; GetAIImageJobsOutcome getAIImageJobs(const Model::GetAIImageJobsRequest &request)const; void getAIImageJobsAsync(const Model::GetAIImageJobsRequest& request, const GetAIImageJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetAIImageJobsOutcomeCallable getAIImageJobsCallable(const Model::GetAIImageJobsRequest& request) const; @@ -1093,15 +1027,6 @@ namespace AlibabaCloud GetDefaultAITemplateOutcome getDefaultAITemplate(const Model::GetDefaultAITemplateRequest &request)const; void getDefaultAITemplateAsync(const Model::GetDefaultAITemplateRequest& request, const GetDefaultAITemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetDefaultAITemplateOutcomeCallable getDefaultAITemplateCallable(const Model::GetDefaultAITemplateRequest& request) const; - GetDetectionJobOutcome getDetectionJob(const Model::GetDetectionJobRequest &request)const; - void getDetectionJobAsync(const Model::GetDetectionJobRequest& request, const GetDetectionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDetectionJobOutcomeCallable getDetectionJobCallable(const Model::GetDetectionJobRequest& request) const; - GetDetectionResultOutcome getDetectionResult(const Model::GetDetectionResultRequest &request)const; - void getDetectionResultAsync(const Model::GetDetectionResultRequest& request, const GetDetectionResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDetectionResultOutcomeCallable getDetectionResultCallable(const Model::GetDetectionResultRequest& request) const; - GetDetectionTemplateOutcome getDetectionTemplate(const Model::GetDetectionTemplateRequest &request)const; - void getDetectionTemplateAsync(const Model::GetDetectionTemplateRequest& request, const GetDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDetectionTemplateOutcomeCallable getDetectionTemplateCallable(const Model::GetDetectionTemplateRequest& request) const; GetEditingProjectOutcome getEditingProject(const Model::GetEditingProjectRequest &request)const; void getEditingProjectAsync(const Model::GetEditingProjectRequest& request, const GetEditingProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetEditingProjectOutcomeCallable getEditingProjectCallable(const Model::GetEditingProjectRequest& request) const; @@ -1186,18 +1111,9 @@ namespace AlibabaCloud ListAuditSecurityIpOutcome listAuditSecurityIp(const Model::ListAuditSecurityIpRequest &request)const; void listAuditSecurityIpAsync(const Model::ListAuditSecurityIpRequest& request, const ListAuditSecurityIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListAuditSecurityIpOutcomeCallable listAuditSecurityIpCallable(const Model::ListAuditSecurityIpRequest& request) const; - ListDetectionJobOutcome listDetectionJob(const Model::ListDetectionJobRequest &request)const; - void listDetectionJobAsync(const Model::ListDetectionJobRequest& request, const ListDetectionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDetectionJobOutcomeCallable listDetectionJobCallable(const Model::ListDetectionJobRequest& request) const; - ListDetectionTemplateOutcome listDetectionTemplate(const Model::ListDetectionTemplateRequest &request)const; - void listDetectionTemplateAsync(const Model::ListDetectionTemplateRequest& request, const ListDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDetectionTemplateOutcomeCallable listDetectionTemplateCallable(const Model::ListDetectionTemplateRequest& request) const; ListDynamicImageOutcome listDynamicImage(const Model::ListDynamicImageRequest &request)const; void listDynamicImageAsync(const Model::ListDynamicImageRequest& request, const ListDynamicImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDynamicImageOutcomeCallable listDynamicImageCallable(const Model::ListDynamicImageRequest& request) const; - ListLetterSendJobOutcome listLetterSendJob(const Model::ListLetterSendJobRequest &request)const; - void listLetterSendJobAsync(const Model::ListLetterSendJobRequest& request, const ListLetterSendJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListLetterSendJobOutcomeCallable listLetterSendJobCallable(const Model::ListLetterSendJobRequest& request) const; ListLiveRecordVideoOutcome listLiveRecordVideo(const Model::ListLiveRecordVideoRequest &request)const; void listLiveRecordVideoAsync(const Model::ListLiveRecordVideoRequest& request, const ListLiveRecordVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListLiveRecordVideoOutcomeCallable listLiveRecordVideoCallable(const Model::ListLiveRecordVideoRequest& request) const; @@ -1273,9 +1189,6 @@ namespace AlibabaCloud SetVodDomainCertificateOutcome setVodDomainCertificate(const Model::SetVodDomainCertificateRequest &request)const; void setVodDomainCertificateAsync(const Model::SetVodDomainCertificateRequest& request, const SetVodDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetVodDomainCertificateOutcomeCallable setVodDomainCertificateCallable(const Model::SetVodDomainCertificateRequest& request) const; - SubmitAICaptionExtractionJobOutcome submitAICaptionExtractionJob(const Model::SubmitAICaptionExtractionJobRequest &request)const; - void submitAICaptionExtractionJobAsync(const Model::SubmitAICaptionExtractionJobRequest& request, const SubmitAICaptionExtractionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitAICaptionExtractionJobOutcomeCallable submitAICaptionExtractionJobCallable(const Model::SubmitAICaptionExtractionJobRequest& request) const; SubmitAIImageAuditJobOutcome submitAIImageAuditJob(const Model::SubmitAIImageAuditJobRequest &request)const; void submitAIImageAuditJobAsync(const Model::SubmitAIImageAuditJobRequest& request, const SubmitAIImageAuditJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitAIImageAuditJobOutcomeCallable submitAIImageAuditJobCallable(const Model::SubmitAIImageAuditJobRequest& request) const; @@ -1288,9 +1201,6 @@ namespace AlibabaCloud SubmitAIMediaAuditJobOutcome submitAIMediaAuditJob(const Model::SubmitAIMediaAuditJobRequest &request)const; void submitAIMediaAuditJobAsync(const Model::SubmitAIMediaAuditJobRequest& request, const SubmitAIMediaAuditJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitAIMediaAuditJobOutcomeCallable submitAIMediaAuditJobCallable(const Model::SubmitAIMediaAuditJobRequest& request) const; - SubmitDetectionJobOutcome submitDetectionJob(const Model::SubmitDetectionJobRequest &request)const; - void submitDetectionJobAsync(const Model::SubmitDetectionJobRequest& request, const SubmitDetectionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SubmitDetectionJobOutcomeCallable submitDetectionJobCallable(const Model::SubmitDetectionJobRequest& request) const; SubmitDynamicImageJobOutcome submitDynamicImageJob(const Model::SubmitDynamicImageJobRequest &request)const; void submitDynamicImageJobAsync(const Model::SubmitDynamicImageJobRequest& request, const SubmitDynamicImageJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitDynamicImageJobOutcomeCallable submitDynamicImageJobCallable(const Model::SubmitDynamicImageJobRequest& request) const; @@ -1330,12 +1240,6 @@ namespace AlibabaCloud UpdateCategoryOutcome updateCategory(const Model::UpdateCategoryRequest &request)const; void updateCategoryAsync(const Model::UpdateCategoryRequest& request, const UpdateCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateCategoryOutcomeCallable updateCategoryCallable(const Model::UpdateCategoryRequest& request) const; - UpdateDetectionJobOutcome updateDetectionJob(const Model::UpdateDetectionJobRequest &request)const; - void updateDetectionJobAsync(const Model::UpdateDetectionJobRequest& request, const UpdateDetectionJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateDetectionJobOutcomeCallable updateDetectionJobCallable(const Model::UpdateDetectionJobRequest& request) const; - UpdateDetectionTemplateOutcome updateDetectionTemplate(const Model::UpdateDetectionTemplateRequest &request)const; - void updateDetectionTemplateAsync(const Model::UpdateDetectionTemplateRequest& request, const UpdateDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateDetectionTemplateOutcomeCallable updateDetectionTemplateCallable(const Model::UpdateDetectionTemplateRequest& request) const; UpdateEditingProjectOutcome updateEditingProject(const Model::UpdateEditingProjectRequest &request)const; void updateEditingProjectAsync(const Model::UpdateEditingProjectRequest& request, const UpdateEditingProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateEditingProjectOutcomeCallable updateEditingProjectCallable(const Model::UpdateEditingProjectRequest& request) const; diff --git a/vod/include/alibabacloud/vod/model/CreateDetectionTemplateRequest.h b/vod/include/alibabacloud/vod/model/CreateDetectionTemplateRequest.h deleted file mode 100644 index 96ce5f9e3..000000000 --- a/vod/include/alibabacloud/vod/model/CreateDetectionTemplateRequest.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_VOD_MODEL_CREATEDETECTIONTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEDETECTIONTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateDetectionTemplateRequest : public RpcServiceRequest - { - - public: - CreateDetectionTemplateRequest(); - ~CreateDetectionTemplateRequest(); - - std::string getPeriod()const; - void setPeriod(const std::string& period); - bool getAutoEvidenceSuspect()const; - void setAutoEvidenceSuspect(bool autoEvidenceSuspect); - std::string getLetterSendTime()const; - void setLetterSendTime(const std::string& letterSendTime); - bool getAutoLetterSuspect()const; - void setAutoLetterSuspect(bool autoLetterSuspect); - std::string getPlatform()const; - void setPlatform(const std::string& platform); - bool getAutoLetter()const; - void setAutoLetter(bool autoLetter); - std::string getTemplateName()const; - void setTemplateName(const std::string& templateName); - bool getAutoEvidence()const; - void setAutoEvidence(bool autoEvidence); - std::string getLetterTemplateId()const; - void setLetterTemplateId(const std::string& letterTemplateId); - - private: - std::string period_; - bool autoEvidenceSuspect_; - std::string letterSendTime_; - bool autoLetterSuspect_; - std::string platform_; - bool autoLetter_; - std::string templateName_; - bool autoEvidence_; - std::string letterTemplateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEDETECTIONTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/CreateDetectionTemplateResult.h b/vod/include/alibabacloud/vod/model/CreateDetectionTemplateResult.h deleted file mode 100644 index 9865a8a65..000000000 --- a/vod/include/alibabacloud/vod/model/CreateDetectionTemplateResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CREATEDETECTIONTEMPLATERESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEDETECTIONTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateDetectionTemplateResult : public ServiceResult - { - public: - struct DetectionTemplate - { - std::string modifyTime; - std::string platform; - long userId; - std::string createTime; - std::string templateName; - std::string period; - std::string templateId; - }; - - - CreateDetectionTemplateResult(); - explicit CreateDetectionTemplateResult(const std::string &payload); - ~CreateDetectionTemplateResult(); - DetectionTemplate getDetectionTemplate()const; - - protected: - void parse(const std::string &payload); - private: - DetectionTemplate detectionTemplate_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEDETECTIONTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/DeleteDetectionTemplateRequest.h b/vod/include/alibabacloud/vod/model/DeleteDetectionTemplateRequest.h deleted file mode 100644 index e08c1b91a..000000000 --- a/vod/include/alibabacloud/vod/model/DeleteDetectionTemplateRequest.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_VOD_MODEL_DELETEDETECTIONTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEDETECTIONTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteDetectionTemplateRequest : public RpcServiceRequest - { - - public: - DeleteDetectionTemplateRequest(); - ~DeleteDetectionTemplateRequest(); - - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEDETECTIONTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/DeleteDetectionTemplateResult.h b/vod/include/alibabacloud/vod/model/DeleteDetectionTemplateResult.h deleted file mode 100644 index 74281301e..000000000 --- a/vod/include/alibabacloud/vod/model/DeleteDetectionTemplateResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEDETECTIONTEMPLATERESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEDETECTIONTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteDetectionTemplateResult : public ServiceResult - { - public: - - - DeleteDetectionTemplateResult(); - explicit DeleteDetectionTemplateResult(const std::string &payload); - ~DeleteDetectionTemplateResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEDETECTIONTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataRequest.h new file mode 100644 index 000000000..cbcb3302d --- /dev/null +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataRequest.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_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vod + { + namespace Model + { + class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainSrcBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeVodDomainSrcBpsDataRequest(); + ~DescribeVodDomainSrcBpsDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetDetectionJobResult.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataResult.h similarity index 50% rename from vod/include/alibabacloud/vod/model/GetDetectionJobResult.h rename to vod/include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataResult.h index d81b96c36..8424ecd47 100644 --- a/vod/include/alibabacloud/vod/model/GetDetectionJobResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainSrcBpsDataResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_VOD_MODEL_GETDETECTIONJOBRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDETECTIONJOBRESULT_H_ +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATARESULT_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATARESULT_H_ #include #include @@ -29,38 +29,37 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_VOD_EXPORT GetDetectionJobResult : public ServiceResult + class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainSrcBpsDataResult : public ServiceResult { public: - struct DetectionJob + struct DataModule { - std::string modifyTime; - std::string videoId; - std::string endTime; - std::string createTime; - std::string whitelistUrls; - std::string beginTime; - std::string copyrightStatus; - std::string copyrightBeginTime; - std::string copyrightFile; - std::string copyrightEndTime; - std::string jobId; - std::string templateId; + std::string httpsValue; + std::string value; + std::string timeStamp; }; - GetDetectionJobResult(); - explicit GetDetectionJobResult(const std::string &payload); - ~GetDetectionJobResult(); - DetectionJob getDetectionJob()const; + DescribeVodDomainSrcBpsDataResult(); + explicit DescribeVodDomainSrcBpsDataResult(const std::string &payload); + ~DescribeVodDomainSrcBpsDataResult(); + std::vector getSrcBpsDataPerInterval()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; protected: void parse(const std::string &payload); private: - DetectionJob detectionJob_; + std::vector srcBpsDataPerInterval_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; }; } } } -#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONJOBRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATARESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsRequest.h b/vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsRequest.h deleted file mode 100644 index 795f2f321..000000000 --- a/vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsRequest.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_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAICaptionExtractionJobsRequest : public RpcServiceRequest - { - - public: - GetAICaptionExtractionJobsRequest(); - ~GetAICaptionExtractionJobsRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getJobIds()const; - void setJobIds(const std::string& jobIds); - - private: - std::string accessKeyId_; - std::string jobIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsResult.h b/vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsResult.h deleted file mode 100644 index 157b93979..000000000 --- a/vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsResult.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_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAICaptionExtractionJobsResult : public ServiceResult - { - public: - struct AICaptionExtractionJob - { - std::string status; - std::string videoId; - std::string message; - std::string userData; - std::string creationTime; - std::string templateConfig; - std::string code; - std::string jobId; - std::string aICaptionExtractionResult; - }; - - - GetAICaptionExtractionJobsResult(); - explicit GetAICaptionExtractionJobsResult(const std::string &payload); - ~GetAICaptionExtractionJobsResult(); - std::vector getAICaptionExtractionJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector aICaptionExtractionJobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetDetectionJobRequest.h b/vod/include/alibabacloud/vod/model/GetDetectionJobRequest.h deleted file mode 100644 index c9437fba4..000000000 --- a/vod/include/alibabacloud/vod/model/GetDetectionJobRequest.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_VOD_MODEL_GETDETECTIONJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDETECTIONJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetDetectionJobRequest : public RpcServiceRequest - { - - public: - GetDetectionJobRequest(); - ~GetDetectionJobRequest(); - - std::string getJobId()const; - void setJobId(const std::string& jobId); - - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONJOBREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetDetectionResultRequest.h b/vod/include/alibabacloud/vod/model/GetDetectionResultRequest.h deleted file mode 100644 index dd76de13e..000000000 --- a/vod/include/alibabacloud/vod/model/GetDetectionResultRequest.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_VOD_MODEL_GETDETECTIONRESULTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDETECTIONRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetDetectionResultRequest : public RpcServiceRequest - { - - public: - GetDetectionResultRequest(); - ~GetDetectionResultRequest(); - - long getCountByPage()const; - void setCountByPage(long countByPage); - bool getDesensitization()const; - void setDesensitization(bool desensitization); - std::string getJobId()const; - void setJobId(const std::string& jobId); - long getPage()const; - void setPage(long page); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long countByPage_; - bool desensitization_; - std::string jobId_; - long page_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONRESULTREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetDetectionResultResult.h b/vod/include/alibabacloud/vod/model/GetDetectionResultResult.h deleted file mode 100644 index 7b457eb91..000000000 --- a/vod/include/alibabacloud/vod/model/GetDetectionResultResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETDETECTIONRESULTRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDETECTIONRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetDetectionResultResult : public ServiceResult - { - public: - struct DetectionResult - { - std::string status; - std::string modifyTime; - std::string collectionTitle; - std::string platform; - std::string contentType; - std::string createTime; - std::string collectionUrl; - std::string uploader; - }; - - - GetDetectionResultResult(); - explicit GetDetectionResultResult(const std::string &payload); - ~GetDetectionResultResult(); - std::vector getDetectionResultList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector detectionResultList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONRESULTRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetDetectionTemplateRequest.h b/vod/include/alibabacloud/vod/model/GetDetectionTemplateRequest.h deleted file mode 100644 index bde32852a..000000000 --- a/vod/include/alibabacloud/vod/model/GetDetectionTemplateRequest.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_VOD_MODEL_GETDETECTIONTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDETECTIONTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetDetectionTemplateRequest : public RpcServiceRequest - { - - public: - GetDetectionTemplateRequest(); - ~GetDetectionTemplateRequest(); - - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetDetectionTemplateResult.h b/vod/include/alibabacloud/vod/model/GetDetectionTemplateResult.h deleted file mode 100644 index 9fe30683d..000000000 --- a/vod/include/alibabacloud/vod/model/GetDetectionTemplateResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETDETECTIONTEMPLATERESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDETECTIONTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetDetectionTemplateResult : public ServiceResult - { - public: - struct DetectionTemplate - { - std::string modifyTime; - std::string platform; - long userId; - std::string createTime; - std::string templateName; - std::string period; - std::string templateId; - }; - - - GetDetectionTemplateResult(); - explicit GetDetectionTemplateResult(const std::string &payload); - ~GetDetectionTemplateResult(); - DetectionTemplate getDetectionTemplate()const; - - protected: - void parse(const std::string &payload); - private: - DetectionTemplate detectionTemplate_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/ListDetectionJobRequest.h b/vod/include/alibabacloud/vod/model/ListDetectionJobRequest.h deleted file mode 100644 index 492b2e082..000000000 --- a/vod/include/alibabacloud/vod/model/ListDetectionJobRequest.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_VOD_MODEL_LISTDETECTIONJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTDETECTIONJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListDetectionJobRequest : public RpcServiceRequest - { - - public: - ListDetectionJobRequest(); - ~ListDetectionJobRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - - private: - std::string videoId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTDETECTIONJOBREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/ListDetectionJobResult.h b/vod/include/alibabacloud/vod/model/ListDetectionJobResult.h deleted file mode 100644 index a73ac52c1..000000000 --- a/vod/include/alibabacloud/vod/model/ListDetectionJobResult.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_VOD_MODEL_LISTDETECTIONJOBRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTDETECTIONJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListDetectionJobResult : public ServiceResult - { - public: - struct DetectionJob - { - std::string modifyTime; - std::string videoId; - std::string endTime; - std::string createTime; - std::string whitelistUrls; - std::string beginTime; - std::string copyrightStatus; - std::string copyrightBeginTime; - std::string copyrightFile; - std::string copyrightEndTime; - std::string jobId; - std::string templateId; - }; - - - ListDetectionJobResult(); - explicit ListDetectionJobResult(const std::string &payload); - ~ListDetectionJobResult(); - std::vector getDetectionJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector detectionJobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTDETECTIONJOBRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/ListDetectionTemplateRequest.h b/vod/include/alibabacloud/vod/model/ListDetectionTemplateRequest.h deleted file mode 100644 index bf4693c84..000000000 --- a/vod/include/alibabacloud/vod/model/ListDetectionTemplateRequest.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_VOD_MODEL_LISTDETECTIONTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTDETECTIONTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListDetectionTemplateRequest : public RpcServiceRequest - { - - public: - ListDetectionTemplateRequest(); - ~ListDetectionTemplateRequest(); - - std::string getPeriod()const; - void setPeriod(const std::string& period); - std::string getTemplateName()const; - void setTemplateName(const std::string& templateName); - std::string getLetterTemplateId()const; - void setLetterTemplateId(const std::string& letterTemplateId); - - private: - std::string period_; - std::string templateName_; - std::string letterTemplateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTDETECTIONTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/ListDetectionTemplateResult.h b/vod/include/alibabacloud/vod/model/ListDetectionTemplateResult.h deleted file mode 100644 index ac75a1ceb..000000000 --- a/vod/include/alibabacloud/vod/model/ListDetectionTemplateResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTDETECTIONTEMPLATERESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTDETECTIONTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListDetectionTemplateResult : public ServiceResult - { - public: - struct DetectionTemplate - { - std::string modifyTime; - std::string platform; - long userId; - std::string createTime; - std::string templateName; - std::string period; - std::string templateId; - }; - - - ListDetectionTemplateResult(); - explicit ListDetectionTemplateResult(const std::string &payload); - ~ListDetectionTemplateResult(); - std::vector getDetectionTemplateList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector detectionTemplateList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTDETECTIONTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/ListLetterSendJobRequest.h b/vod/include/alibabacloud/vod/model/ListLetterSendJobRequest.h deleted file mode 100644 index 2b48b6c3a..000000000 --- a/vod/include/alibabacloud/vod/model/ListLetterSendJobRequest.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_VOD_MODEL_LISTLETTERSENDJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTLETTERSENDJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListLetterSendJobRequest : public RpcServiceRequest - { - - public: - ListLetterSendJobRequest(); - ~ListLetterSendJobRequest(); - - std::string getToAddress()const; - void setToAddress(const std::string& toAddress); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getDetectionId()const; - void setDetectionId(const std::string& detectionId); - - private: - std::string toAddress_; - std::string templateId_; - std::string detectionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTLETTERSENDJOBREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/ListLetterSendJobResult.h b/vod/include/alibabacloud/vod/model/ListLetterSendJobResult.h deleted file mode 100644 index 0673630bc..000000000 --- a/vod/include/alibabacloud/vod/model/ListLetterSendJobResult.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_VOD_MODEL_LISTLETTERSENDJOBRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTLETTERSENDJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListLetterSendJobResult : public ServiceResult - { - public: - struct LetterJob - { - std::string sendTime; - std::string modifyTime; - long userId; - std::string createTime; - std::string detectionId; - std::string bccAddress; - std::string ccAddress; - std::string title; - std::string body; - std::string toAddress; - std::string jobId; - std::string templateId; - }; - - - ListLetterSendJobResult(); - explicit ListLetterSendJobResult(const std::string &payload); - ~ListLetterSendJobResult(); - std::vector getLetterJobList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector letterJobList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTLETTERSENDJOBRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/SubmitAICaptionExtractionJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitAICaptionExtractionJobRequest.h deleted file mode 100644 index 57ce54cef..000000000 --- a/vod/include/alibabacloud/vod/model/SubmitAICaptionExtractionJobRequest.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_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitAICaptionExtractionJobRequest : public RpcServiceRequest - { - - public: - SubmitAICaptionExtractionJobRequest(); - ~SubmitAICaptionExtractionJobRequest(); - - std::string getJobConfig()const; - void setJobConfig(const std::string& jobConfig); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAIPipelineId()const; - void setAIPipelineId(const std::string& aIPipelineId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - - private: - std::string jobConfig_; - std::string videoId_; - std::string aIPipelineId_; - std::string accessKeyId_; - std::string userData_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/SubmitAICaptionExtractionJobResult.h b/vod/include/alibabacloud/vod/model/SubmitAICaptionExtractionJobResult.h deleted file mode 100644 index cefe9f6cf..000000000 --- a/vod/include/alibabacloud/vod/model/SubmitAICaptionExtractionJobResult.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_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitAICaptionExtractionJobResult : public ServiceResult - { - public: - - - SubmitAICaptionExtractionJobResult(); - explicit SubmitAICaptionExtractionJobResult(const std::string &payload); - ~SubmitAICaptionExtractionJobResult(); - std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/SubmitDetectionJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitDetectionJobRequest.h deleted file mode 100644 index f1ac7e744..000000000 --- a/vod/include/alibabacloud/vod/model/SubmitDetectionJobRequest.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_VOD_MODEL_SUBMITDETECTIONJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITDETECTIONJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitDetectionJobRequest : public RpcServiceRequest - { - - public: - SubmitDetectionJobRequest(); - ~SubmitDetectionJobRequest(); - - std::string getWhiteListUrls()const; - void setWhiteListUrls(const std::string& whiteListUrls); - std::string getCopyrightEndTime()const; - void setCopyrightEndTime(const std::string& copyrightEndTime); - std::string getCopyrightStatus()const; - void setCopyrightStatus(const std::string& copyrightStatus); - std::string getCopyrightBeginTime()const; - void setCopyrightBeginTime(const std::string& copyrightBeginTime); - int getDuration()const; - void setDuration(int duration); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getBeginTime()const; - void setBeginTime(const std::string& beginTime); - bool getShortVideo()const; - void setShortVideo(bool shortVideo); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getCopyrightFile()const; - void setCopyrightFile(const std::string& copyrightFile); - - private: - std::string whiteListUrls_; - std::string copyrightEndTime_; - std::string copyrightStatus_; - std::string copyrightBeginTime_; - int duration_; - std::string endTime_; - std::string videoId_; - std::string beginTime_; - bool shortVideo_; - std::string templateId_; - std::string copyrightFile_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITDETECTIONJOBREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/SubmitDetectionJobResult.h b/vod/include/alibabacloud/vod/model/SubmitDetectionJobResult.h deleted file mode 100644 index b8e246f8f..000000000 --- a/vod/include/alibabacloud/vod/model/SubmitDetectionJobResult.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_VOD_MODEL_SUBMITDETECTIONJOBRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITDETECTIONJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitDetectionJobResult : public ServiceResult - { - public: - struct DetectionJob - { - std::string modifyTime; - std::string videoId; - std::string endTime; - std::string createTime; - std::string whitelistUrls; - std::string beginTime; - std::string copyrightStatus; - std::string copyrightBeginTime; - std::string copyrightFile; - std::string copyrightEndTime; - std::string jobId; - std::string templateId; - }; - - - SubmitDetectionJobResult(); - explicit SubmitDetectionJobResult(const std::string &payload); - ~SubmitDetectionJobResult(); - DetectionJob getDetectionJob()const; - - protected: - void parse(const std::string &payload); - private: - DetectionJob detectionJob_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITDETECTIONJOBRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/UpdateDetectionJobRequest.h b/vod/include/alibabacloud/vod/model/UpdateDetectionJobRequest.h deleted file mode 100644 index 84f9a0391..000000000 --- a/vod/include/alibabacloud/vod/model/UpdateDetectionJobRequest.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_VOD_MODEL_UPDATEDETECTIONJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateDetectionJobRequest : public RpcServiceRequest - { - - public: - UpdateDetectionJobRequest(); - ~UpdateDetectionJobRequest(); - - std::string getWhiteListUrls()const; - void setWhiteListUrls(const std::string& whiteListUrls); - std::string getCopyrightEndTime()const; - void setCopyrightEndTime(const std::string& copyrightEndTime); - std::string getCopyrightStatus()const; - void setCopyrightStatus(const std::string& copyrightStatus); - std::string getCopyrightBeginTime()const; - void setCopyrightBeginTime(const std::string& copyrightBeginTime); - int getDuration()const; - void setDuration(int duration); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getBeginTime()const; - void setBeginTime(const std::string& beginTime); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getCopyrightFile()const; - void setCopyrightFile(const std::string& copyrightFile); - - private: - std::string whiteListUrls_; - std::string copyrightEndTime_; - std::string copyrightStatus_; - std::string copyrightBeginTime_; - int duration_; - std::string jobId_; - std::string endTime_; - std::string beginTime_; - std::string templateId_; - std::string copyrightFile_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONJOBREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/UpdateDetectionJobResult.h b/vod/include/alibabacloud/vod/model/UpdateDetectionJobResult.h deleted file mode 100644 index 0a8942933..000000000 --- a/vod/include/alibabacloud/vod/model/UpdateDetectionJobResult.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_VOD_MODEL_UPDATEDETECTIONJOBRESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateDetectionJobResult : public ServiceResult - { - public: - struct DetectionJob - { - std::string modifyTime; - std::string videoId; - std::string endTime; - std::string createTime; - std::string whitelistUrls; - std::string beginTime; - std::string copyrightStatus; - std::string copyrightBeginTime; - std::string copyrightFile; - std::string copyrightEndTime; - std::string jobId; - std::string templateId; - }; - - - UpdateDetectionJobResult(); - explicit UpdateDetectionJobResult(const std::string &payload); - ~UpdateDetectionJobResult(); - DetectionJob getDetectionJob()const; - - protected: - void parse(const std::string &payload); - private: - DetectionJob detectionJob_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONJOBRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/UpdateDetectionTemplateRequest.h b/vod/include/alibabacloud/vod/model/UpdateDetectionTemplateRequest.h deleted file mode 100644 index 51509361c..000000000 --- a/vod/include/alibabacloud/vod/model/UpdateDetectionTemplateRequest.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_VOD_MODEL_UPDATEDETECTIONTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateDetectionTemplateRequest : public RpcServiceRequest - { - - public: - UpdateDetectionTemplateRequest(); - ~UpdateDetectionTemplateRequest(); - - std::string getLetterSendTime()const; - void setLetterSendTime(const std::string& letterSendTime); - bool getAutoLetterSuspect()const; - void setAutoLetterSuspect(bool autoLetterSuspect); - std::string getPlatform()const; - void setPlatform(const std::string& platform); - bool getAutoLetter()const; - void setAutoLetter(bool autoLetter); - std::string getTemplateName()const; - void setTemplateName(const std::string& templateName); - bool getAutoEvidence()const; - void setAutoEvidence(bool autoEvidence); - std::string getLetterTemplateId()const; - void setLetterTemplateId(const std::string& letterTemplateId); - std::string getPeriod()const; - void setPeriod(const std::string& period); - bool getAutoEvidenceSuspect()const; - void setAutoEvidenceSuspect(bool autoEvidenceSuspect); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - std::string letterSendTime_; - bool autoLetterSuspect_; - std::string platform_; - bool autoLetter_; - std::string templateName_; - bool autoEvidence_; - std::string letterTemplateId_; - std::string period_; - bool autoEvidenceSuspect_; - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/UpdateDetectionTemplateResult.h b/vod/include/alibabacloud/vod/model/UpdateDetectionTemplateResult.h deleted file mode 100644 index 892a41a1d..000000000 --- a/vod/include/alibabacloud/vod/model/UpdateDetectionTemplateResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONTEMPLATERESULT_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONTEMPLATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateDetectionTemplateResult : public ServiceResult - { - public: - struct DetectionTemplate - { - std::string modifyTime; - std::string platform; - long userId; - std::string createTime; - std::string templateName; - std::string period; - std::string templateId; - }; - - - UpdateDetectionTemplateResult(); - explicit UpdateDetectionTemplateResult(const std::string &payload); - ~UpdateDetectionTemplateResult(); - DetectionTemplate getDetectionTemplate()const; - - protected: - void parse(const std::string &payload); - private: - DetectionTemplate detectionTemplate_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEDETECTIONTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vod/src/VodClient.cc b/vod/src/VodClient.cc index f568e4df2..dc58cd26a 100644 --- a/vod/src/VodClient.cc +++ b/vod/src/VodClient.cc @@ -555,42 +555,6 @@ VodClient::CreateAuditOutcomeCallable VodClient::createAuditCallable(const Creat return task->get_future(); } -VodClient::CreateDetectionTemplateOutcome VodClient::createDetectionTemplate(const CreateDetectionTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDetectionTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDetectionTemplateOutcome(CreateDetectionTemplateResult(outcome.result())); - else - return CreateDetectionTemplateOutcome(outcome.error()); -} - -void VodClient::createDetectionTemplateAsync(const CreateDetectionTemplateRequest& request, const CreateDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDetectionTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::CreateDetectionTemplateOutcomeCallable VodClient::createDetectionTemplateCallable(const CreateDetectionTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDetectionTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::CreateUploadAttachedMediaOutcome VodClient::createUploadAttachedMedia(const CreateUploadAttachedMediaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -915,42 +879,6 @@ VodClient::DeleteCategoryOutcomeCallable VodClient::deleteCategoryCallable(const return task->get_future(); } -VodClient::DeleteDetectionTemplateOutcome VodClient::deleteDetectionTemplate(const DeleteDetectionTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDetectionTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDetectionTemplateOutcome(DeleteDetectionTemplateResult(outcome.result())); - else - return DeleteDetectionTemplateOutcome(outcome.error()); -} - -void VodClient::deleteDetectionTemplateAsync(const DeleteDetectionTemplateRequest& request, const DeleteDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDetectionTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::DeleteDetectionTemplateOutcomeCallable VodClient::deleteDetectionTemplateCallable(const DeleteDetectionTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDetectionTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::DeleteDynamicImageOutcome VodClient::deleteDynamicImage(const DeleteDynamicImageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1887,6 +1815,42 @@ VodClient::DescribeVodDomainRealtimeLogDeliveryOutcomeCallable VodClient::descri return task->get_future(); } +VodClient::DescribeVodDomainSrcBpsDataOutcome VodClient::describeVodDomainSrcBpsData(const DescribeVodDomainSrcBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVodDomainSrcBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVodDomainSrcBpsDataOutcome(DescribeVodDomainSrcBpsDataResult(outcome.result())); + else + return DescribeVodDomainSrcBpsDataOutcome(outcome.error()); +} + +void VodClient::describeVodDomainSrcBpsDataAsync(const DescribeVodDomainSrcBpsDataRequest& request, const DescribeVodDomainSrcBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVodDomainSrcBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VodClient::DescribeVodDomainSrcBpsDataOutcomeCallable VodClient::describeVodDomainSrcBpsDataCallable(const DescribeVodDomainSrcBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVodDomainSrcBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + VodClient::DescribeVodDomainTrafficDataOutcome VodClient::describeVodDomainTrafficData(const DescribeVodDomainTrafficDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2355,42 +2319,6 @@ VodClient::EnableVodRealtimeLogDeliveryOutcomeCallable VodClient::enableVodRealt return task->get_future(); } -VodClient::GetAICaptionExtractionJobsOutcome VodClient::getAICaptionExtractionJobs(const GetAICaptionExtractionJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetAICaptionExtractionJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetAICaptionExtractionJobsOutcome(GetAICaptionExtractionJobsResult(outcome.result())); - else - return GetAICaptionExtractionJobsOutcome(outcome.error()); -} - -void VodClient::getAICaptionExtractionJobsAsync(const GetAICaptionExtractionJobsRequest& request, const GetAICaptionExtractionJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getAICaptionExtractionJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::GetAICaptionExtractionJobsOutcomeCallable VodClient::getAICaptionExtractionJobsCallable(const GetAICaptionExtractionJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getAICaptionExtractionJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::GetAIImageJobsOutcome VodClient::getAIImageJobs(const GetAIImageJobsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2715,114 +2643,6 @@ VodClient::GetDefaultAITemplateOutcomeCallable VodClient::getDefaultAITemplateCa return task->get_future(); } -VodClient::GetDetectionJobOutcome VodClient::getDetectionJob(const GetDetectionJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDetectionJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDetectionJobOutcome(GetDetectionJobResult(outcome.result())); - else - return GetDetectionJobOutcome(outcome.error()); -} - -void VodClient::getDetectionJobAsync(const GetDetectionJobRequest& request, const GetDetectionJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDetectionJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::GetDetectionJobOutcomeCallable VodClient::getDetectionJobCallable(const GetDetectionJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDetectionJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VodClient::GetDetectionResultOutcome VodClient::getDetectionResult(const GetDetectionResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDetectionResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDetectionResultOutcome(GetDetectionResultResult(outcome.result())); - else - return GetDetectionResultOutcome(outcome.error()); -} - -void VodClient::getDetectionResultAsync(const GetDetectionResultRequest& request, const GetDetectionResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDetectionResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::GetDetectionResultOutcomeCallable VodClient::getDetectionResultCallable(const GetDetectionResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDetectionResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VodClient::GetDetectionTemplateOutcome VodClient::getDetectionTemplate(const GetDetectionTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDetectionTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDetectionTemplateOutcome(GetDetectionTemplateResult(outcome.result())); - else - return GetDetectionTemplateOutcome(outcome.error()); -} - -void VodClient::getDetectionTemplateAsync(const GetDetectionTemplateRequest& request, const GetDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDetectionTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::GetDetectionTemplateOutcomeCallable VodClient::getDetectionTemplateCallable(const GetDetectionTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDetectionTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::GetEditingProjectOutcome VodClient::getEditingProject(const GetEditingProjectRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3831,78 +3651,6 @@ VodClient::ListAuditSecurityIpOutcomeCallable VodClient::listAuditSecurityIpCall return task->get_future(); } -VodClient::ListDetectionJobOutcome VodClient::listDetectionJob(const ListDetectionJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDetectionJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDetectionJobOutcome(ListDetectionJobResult(outcome.result())); - else - return ListDetectionJobOutcome(outcome.error()); -} - -void VodClient::listDetectionJobAsync(const ListDetectionJobRequest& request, const ListDetectionJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDetectionJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::ListDetectionJobOutcomeCallable VodClient::listDetectionJobCallable(const ListDetectionJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDetectionJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VodClient::ListDetectionTemplateOutcome VodClient::listDetectionTemplate(const ListDetectionTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDetectionTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDetectionTemplateOutcome(ListDetectionTemplateResult(outcome.result())); - else - return ListDetectionTemplateOutcome(outcome.error()); -} - -void VodClient::listDetectionTemplateAsync(const ListDetectionTemplateRequest& request, const ListDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDetectionTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::ListDetectionTemplateOutcomeCallable VodClient::listDetectionTemplateCallable(const ListDetectionTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDetectionTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::ListDynamicImageOutcome VodClient::listDynamicImage(const ListDynamicImageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3939,42 +3687,6 @@ VodClient::ListDynamicImageOutcomeCallable VodClient::listDynamicImageCallable(c return task->get_future(); } -VodClient::ListLetterSendJobOutcome VodClient::listLetterSendJob(const ListLetterSendJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListLetterSendJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListLetterSendJobOutcome(ListLetterSendJobResult(outcome.result())); - else - return ListLetterSendJobOutcome(outcome.error()); -} - -void VodClient::listLetterSendJobAsync(const ListLetterSendJobRequest& request, const ListLetterSendJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listLetterSendJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::ListLetterSendJobOutcomeCallable VodClient::listLetterSendJobCallable(const ListLetterSendJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listLetterSendJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::ListLiveRecordVideoOutcome VodClient::listLiveRecordVideo(const ListLiveRecordVideoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4875,42 +4587,6 @@ VodClient::SetVodDomainCertificateOutcomeCallable VodClient::setVodDomainCertifi return task->get_future(); } -VodClient::SubmitAICaptionExtractionJobOutcome VodClient::submitAICaptionExtractionJob(const SubmitAICaptionExtractionJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitAICaptionExtractionJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitAICaptionExtractionJobOutcome(SubmitAICaptionExtractionJobResult(outcome.result())); - else - return SubmitAICaptionExtractionJobOutcome(outcome.error()); -} - -void VodClient::submitAICaptionExtractionJobAsync(const SubmitAICaptionExtractionJobRequest& request, const SubmitAICaptionExtractionJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitAICaptionExtractionJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::SubmitAICaptionExtractionJobOutcomeCallable VodClient::submitAICaptionExtractionJobCallable(const SubmitAICaptionExtractionJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitAICaptionExtractionJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::SubmitAIImageAuditJobOutcome VodClient::submitAIImageAuditJob(const SubmitAIImageAuditJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5055,42 +4731,6 @@ VodClient::SubmitAIMediaAuditJobOutcomeCallable VodClient::submitAIMediaAuditJob return task->get_future(); } -VodClient::SubmitDetectionJobOutcome VodClient::submitDetectionJob(const SubmitDetectionJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SubmitDetectionJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SubmitDetectionJobOutcome(SubmitDetectionJobResult(outcome.result())); - else - return SubmitDetectionJobOutcome(outcome.error()); -} - -void VodClient::submitDetectionJobAsync(const SubmitDetectionJobRequest& request, const SubmitDetectionJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, submitDetectionJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::SubmitDetectionJobOutcomeCallable VodClient::submitDetectionJobCallable(const SubmitDetectionJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->submitDetectionJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::SubmitDynamicImageJobOutcome VodClient::submitDynamicImageJob(const SubmitDynamicImageJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5559,78 +5199,6 @@ VodClient::UpdateCategoryOutcomeCallable VodClient::updateCategoryCallable(const return task->get_future(); } -VodClient::UpdateDetectionJobOutcome VodClient::updateDetectionJob(const UpdateDetectionJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateDetectionJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateDetectionJobOutcome(UpdateDetectionJobResult(outcome.result())); - else - return UpdateDetectionJobOutcome(outcome.error()); -} - -void VodClient::updateDetectionJobAsync(const UpdateDetectionJobRequest& request, const UpdateDetectionJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateDetectionJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::UpdateDetectionJobOutcomeCallable VodClient::updateDetectionJobCallable(const UpdateDetectionJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateDetectionJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VodClient::UpdateDetectionTemplateOutcome VodClient::updateDetectionTemplate(const UpdateDetectionTemplateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateDetectionTemplateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateDetectionTemplateOutcome(UpdateDetectionTemplateResult(outcome.result())); - else - return UpdateDetectionTemplateOutcome(outcome.error()); -} - -void VodClient::updateDetectionTemplateAsync(const UpdateDetectionTemplateRequest& request, const UpdateDetectionTemplateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateDetectionTemplate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VodClient::UpdateDetectionTemplateOutcomeCallable VodClient::updateDetectionTemplateCallable(const UpdateDetectionTemplateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateDetectionTemplate(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VodClient::UpdateEditingProjectOutcome VodClient::updateEditingProject(const UpdateEditingProjectRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/vod/src/model/CreateDetectionTemplateRequest.cc b/vod/src/model/CreateDetectionTemplateRequest.cc deleted file mode 100644 index 8a6894c84..000000000 --- a/vod/src/model/CreateDetectionTemplateRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::CreateDetectionTemplateRequest; - -CreateDetectionTemplateRequest::CreateDetectionTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "CreateDetectionTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDetectionTemplateRequest::~CreateDetectionTemplateRequest() -{} - -std::string CreateDetectionTemplateRequest::getPeriod()const -{ - return period_; -} - -void CreateDetectionTemplateRequest::setPeriod(const std::string& period) -{ - period_ = period; - setParameter("Period", period); -} - -bool CreateDetectionTemplateRequest::getAutoEvidenceSuspect()const -{ - return autoEvidenceSuspect_; -} - -void CreateDetectionTemplateRequest::setAutoEvidenceSuspect(bool autoEvidenceSuspect) -{ - autoEvidenceSuspect_ = autoEvidenceSuspect; - setParameter("AutoEvidenceSuspect", autoEvidenceSuspect ? "true" : "false"); -} - -std::string CreateDetectionTemplateRequest::getLetterSendTime()const -{ - return letterSendTime_; -} - -void CreateDetectionTemplateRequest::setLetterSendTime(const std::string& letterSendTime) -{ - letterSendTime_ = letterSendTime; - setParameter("LetterSendTime", letterSendTime); -} - -bool CreateDetectionTemplateRequest::getAutoLetterSuspect()const -{ - return autoLetterSuspect_; -} - -void CreateDetectionTemplateRequest::setAutoLetterSuspect(bool autoLetterSuspect) -{ - autoLetterSuspect_ = autoLetterSuspect; - setParameter("AutoLetterSuspect", autoLetterSuspect ? "true" : "false"); -} - -std::string CreateDetectionTemplateRequest::getPlatform()const -{ - return platform_; -} - -void CreateDetectionTemplateRequest::setPlatform(const std::string& platform) -{ - platform_ = platform; - setParameter("Platform", platform); -} - -bool CreateDetectionTemplateRequest::getAutoLetter()const -{ - return autoLetter_; -} - -void CreateDetectionTemplateRequest::setAutoLetter(bool autoLetter) -{ - autoLetter_ = autoLetter; - setParameter("AutoLetter", autoLetter ? "true" : "false"); -} - -std::string CreateDetectionTemplateRequest::getTemplateName()const -{ - return templateName_; -} - -void CreateDetectionTemplateRequest::setTemplateName(const std::string& templateName) -{ - templateName_ = templateName; - setParameter("TemplateName", templateName); -} - -bool CreateDetectionTemplateRequest::getAutoEvidence()const -{ - return autoEvidence_; -} - -void CreateDetectionTemplateRequest::setAutoEvidence(bool autoEvidence) -{ - autoEvidence_ = autoEvidence; - setParameter("AutoEvidence", autoEvidence ? "true" : "false"); -} - -std::string CreateDetectionTemplateRequest::getLetterTemplateId()const -{ - return letterTemplateId_; -} - -void CreateDetectionTemplateRequest::setLetterTemplateId(const std::string& letterTemplateId) -{ - letterTemplateId_ = letterTemplateId; - setParameter("LetterTemplateId", letterTemplateId); -} - diff --git a/vod/src/model/CreateDetectionTemplateResult.cc b/vod/src/model/CreateDetectionTemplateResult.cc deleted file mode 100644 index a68c66034..000000000 --- a/vod/src/model/CreateDetectionTemplateResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -CreateDetectionTemplateResult::CreateDetectionTemplateResult() : - ServiceResult() -{} - -CreateDetectionTemplateResult::CreateDetectionTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDetectionTemplateResult::~CreateDetectionTemplateResult() -{} - -void CreateDetectionTemplateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto detectionTemplateNode = value["DetectionTemplate"]; - if(!detectionTemplateNode["CreateTime"].isNull()) - detectionTemplate_.createTime = detectionTemplateNode["CreateTime"].asString(); - if(!detectionTemplateNode["UserId"].isNull()) - detectionTemplate_.userId = std::stol(detectionTemplateNode["UserId"].asString()); - if(!detectionTemplateNode["TemplateName"].isNull()) - detectionTemplate_.templateName = detectionTemplateNode["TemplateName"].asString(); - if(!detectionTemplateNode["Period"].isNull()) - detectionTemplate_.period = detectionTemplateNode["Period"].asString(); - if(!detectionTemplateNode["Platform"].isNull()) - detectionTemplate_.platform = detectionTemplateNode["Platform"].asString(); - if(!detectionTemplateNode["TemplateId"].isNull()) - detectionTemplate_.templateId = detectionTemplateNode["TemplateId"].asString(); - if(!detectionTemplateNode["ModifyTime"].isNull()) - detectionTemplate_.modifyTime = detectionTemplateNode["ModifyTime"].asString(); - -} - -CreateDetectionTemplateResult::DetectionTemplate CreateDetectionTemplateResult::getDetectionTemplate()const -{ - return detectionTemplate_; -} - diff --git a/vod/src/model/DeleteDetectionTemplateRequest.cc b/vod/src/model/DeleteDetectionTemplateRequest.cc deleted file mode 100644 index a3bf498f9..000000000 --- a/vod/src/model/DeleteDetectionTemplateRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::DeleteDetectionTemplateRequest; - -DeleteDetectionTemplateRequest::DeleteDetectionTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "DeleteDetectionTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDetectionTemplateRequest::~DeleteDetectionTemplateRequest() -{} - -std::string DeleteDetectionTemplateRequest::getTemplateId()const -{ - return templateId_; -} - -void DeleteDetectionTemplateRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); -} - diff --git a/vod/src/model/DeleteDetectionTemplateResult.cc b/vod/src/model/DeleteDetectionTemplateResult.cc deleted file mode 100644 index 62e1427cc..000000000 --- a/vod/src/model/DeleteDetectionTemplateResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod; -using namespace AlibabaCloud::Vod::Model; - -DeleteDetectionTemplateResult::DeleteDetectionTemplateResult() : - ServiceResult() -{} - -DeleteDetectionTemplateResult::DeleteDetectionTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDetectionTemplateResult::~DeleteDetectionTemplateResult() -{} - -void DeleteDetectionTemplateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/vod/src/model/DescribeVodDomainSrcBpsDataRequest.cc b/vod/src/model/DescribeVodDomainSrcBpsDataRequest.cc new file mode 100644 index 000000000..68aa813ca --- /dev/null +++ b/vod/src/model/DescribeVodDomainSrcBpsDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vod::Model::DescribeVodDomainSrcBpsDataRequest; + +DescribeVodDomainSrcBpsDataRequest::DescribeVodDomainSrcBpsDataRequest() : + RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainSrcBpsData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVodDomainSrcBpsDataRequest::~DescribeVodDomainSrcBpsDataRequest() +{} + +std::string DescribeVodDomainSrcBpsDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVodDomainSrcBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVodDomainSrcBpsDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVodDomainSrcBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVodDomainSrcBpsDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVodDomainSrcBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVodDomainSrcBpsDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVodDomainSrcBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVodDomainSrcBpsDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeVodDomainSrcBpsDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/vod/src/model/DescribeVodDomainSrcBpsDataResult.cc b/vod/src/model/DescribeVodDomainSrcBpsDataResult.cc new file mode 100644 index 000000000..f41897a3f --- /dev/null +++ b/vod/src/model/DescribeVodDomainSrcBpsDataResult.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::Vod; +using namespace AlibabaCloud::Vod::Model; + +DescribeVodDomainSrcBpsDataResult::DescribeVodDomainSrcBpsDataResult() : + ServiceResult() +{} + +DescribeVodDomainSrcBpsDataResult::DescribeVodDomainSrcBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVodDomainSrcBpsDataResult::~DescribeVodDomainSrcBpsDataResult() +{} + +void DescribeVodDomainSrcBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSrcBpsDataPerIntervalNode = value["SrcBpsDataPerInterval"]["DataModule"]; + for (auto valueSrcBpsDataPerIntervalDataModule : allSrcBpsDataPerIntervalNode) + { + DataModule srcBpsDataPerIntervalObject; + if(!valueSrcBpsDataPerIntervalDataModule["Value"].isNull()) + srcBpsDataPerIntervalObject.value = valueSrcBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueSrcBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + srcBpsDataPerIntervalObject.timeStamp = valueSrcBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueSrcBpsDataPerIntervalDataModule["HttpsValue"].isNull()) + srcBpsDataPerIntervalObject.httpsValue = valueSrcBpsDataPerIntervalDataModule["HttpsValue"].asString(); + srcBpsDataPerInterval_.push_back(srcBpsDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeVodDomainSrcBpsDataResult::getSrcBpsDataPerInterval()const +{ + return srcBpsDataPerInterval_; +} + +std::string DescribeVodDomainSrcBpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeVodDomainSrcBpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVodDomainSrcBpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeVodDomainSrcBpsDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/vod/src/model/GetAICaptionExtractionJobsRequest.cc b/vod/src/model/GetAICaptionExtractionJobsRequest.cc deleted file mode 100644 index bf2d7c81a..000000000 --- a/vod/src/model/GetAICaptionExtractionJobsRequest.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 - -using AlibabaCloud::Vod::Model::GetAICaptionExtractionJobsRequest; - -GetAICaptionExtractionJobsRequest::GetAICaptionExtractionJobsRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetAICaptionExtractionJobs") -{ - setMethod(HttpRequest::Method::Post); -} - -GetAICaptionExtractionJobsRequest::~GetAICaptionExtractionJobsRequest() -{} - -std::string GetAICaptionExtractionJobsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetAICaptionExtractionJobsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetAICaptionExtractionJobsRequest::getJobIds()const -{ - return jobIds_; -} - -void GetAICaptionExtractionJobsRequest::setJobIds(const std::string& jobIds) -{ - jobIds_ = jobIds; - setParameter("JobIds", jobIds); -} - diff --git a/vod/src/model/GetAICaptionExtractionJobsResult.cc b/vod/src/model/GetAICaptionExtractionJobsResult.cc deleted file mode 100644 index df841ec94..000000000 --- a/vod/src/model/GetAICaptionExtractionJobsResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -GetAICaptionExtractionJobsResult::GetAICaptionExtractionJobsResult() : - ServiceResult() -{} - -GetAICaptionExtractionJobsResult::GetAICaptionExtractionJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetAICaptionExtractionJobsResult::~GetAICaptionExtractionJobsResult() -{} - -void GetAICaptionExtractionJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAICaptionExtractionJobListNode = value["AICaptionExtractionJobList"]["AICaptionExtractionJob"]; - for (auto valueAICaptionExtractionJobListAICaptionExtractionJob : allAICaptionExtractionJobListNode) - { - AICaptionExtractionJob aICaptionExtractionJobListObject; - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["CreationTime"].isNull()) - aICaptionExtractionJobListObject.creationTime = valueAICaptionExtractionJobListAICaptionExtractionJob["CreationTime"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["JobId"].isNull()) - aICaptionExtractionJobListObject.jobId = valueAICaptionExtractionJobListAICaptionExtractionJob["JobId"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["VideoId"].isNull()) - aICaptionExtractionJobListObject.videoId = valueAICaptionExtractionJobListAICaptionExtractionJob["VideoId"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["AICaptionExtractionResult"].isNull()) - aICaptionExtractionJobListObject.aICaptionExtractionResult = valueAICaptionExtractionJobListAICaptionExtractionJob["AICaptionExtractionResult"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["UserData"].isNull()) - aICaptionExtractionJobListObject.userData = valueAICaptionExtractionJobListAICaptionExtractionJob["UserData"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["Code"].isNull()) - aICaptionExtractionJobListObject.code = valueAICaptionExtractionJobListAICaptionExtractionJob["Code"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["Message"].isNull()) - aICaptionExtractionJobListObject.message = valueAICaptionExtractionJobListAICaptionExtractionJob["Message"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["Status"].isNull()) - aICaptionExtractionJobListObject.status = valueAICaptionExtractionJobListAICaptionExtractionJob["Status"].asString(); - if(!valueAICaptionExtractionJobListAICaptionExtractionJob["TemplateConfig"].isNull()) - aICaptionExtractionJobListObject.templateConfig = valueAICaptionExtractionJobListAICaptionExtractionJob["TemplateConfig"].asString(); - aICaptionExtractionJobList_.push_back(aICaptionExtractionJobListObject); - } - -} - -std::vector GetAICaptionExtractionJobsResult::getAICaptionExtractionJobList()const -{ - return aICaptionExtractionJobList_; -} - diff --git a/vod/src/model/GetDetectionJobRequest.cc b/vod/src/model/GetDetectionJobRequest.cc deleted file mode 100644 index 7d957d574..000000000 --- a/vod/src/model/GetDetectionJobRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::GetDetectionJobRequest; - -GetDetectionJobRequest::GetDetectionJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetDetectionJob") -{ - setMethod(HttpRequest::Method::Get); -} - -GetDetectionJobRequest::~GetDetectionJobRequest() -{} - -std::string GetDetectionJobRequest::getJobId()const -{ - return jobId_; -} - -void GetDetectionJobRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); -} - diff --git a/vod/src/model/GetDetectionJobResult.cc b/vod/src/model/GetDetectionJobResult.cc deleted file mode 100644 index 06f8ed3ce..000000000 --- a/vod/src/model/GetDetectionJobResult.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::Vod; -using namespace AlibabaCloud::Vod::Model; - -GetDetectionJobResult::GetDetectionJobResult() : - ServiceResult() -{} - -GetDetectionJobResult::GetDetectionJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDetectionJobResult::~GetDetectionJobResult() -{} - -void GetDetectionJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto detectionJobNode = value["DetectionJob"]; - if(!detectionJobNode["JobId"].isNull()) - detectionJob_.jobId = detectionJobNode["JobId"].asString(); - if(!detectionJobNode["CreateTime"].isNull()) - detectionJob_.createTime = detectionJobNode["CreateTime"].asString(); - if(!detectionJobNode["ModifyTime"].isNull()) - detectionJob_.modifyTime = detectionJobNode["ModifyTime"].asString(); - if(!detectionJobNode["BeginTime"].isNull()) - detectionJob_.beginTime = detectionJobNode["BeginTime"].asString(); - if(!detectionJobNode["EndTime"].isNull()) - detectionJob_.endTime = detectionJobNode["EndTime"].asString(); - if(!detectionJobNode["VideoId"].isNull()) - detectionJob_.videoId = detectionJobNode["VideoId"].asString(); - if(!detectionJobNode["CopyrightStatus"].isNull()) - detectionJob_.copyrightStatus = detectionJobNode["CopyrightStatus"].asString(); - if(!detectionJobNode["CopyrightBeginTime"].isNull()) - detectionJob_.copyrightBeginTime = detectionJobNode["CopyrightBeginTime"].asString(); - if(!detectionJobNode["CopyrightEndTime"].isNull()) - detectionJob_.copyrightEndTime = detectionJobNode["CopyrightEndTime"].asString(); - if(!detectionJobNode["CopyrightFile"].isNull()) - detectionJob_.copyrightFile = detectionJobNode["CopyrightFile"].asString(); - if(!detectionJobNode["WhitelistUrls"].isNull()) - detectionJob_.whitelistUrls = detectionJobNode["WhitelistUrls"].asString(); - if(!detectionJobNode["TemplateId"].isNull()) - detectionJob_.templateId = detectionJobNode["TemplateId"].asString(); - -} - -GetDetectionJobResult::DetectionJob GetDetectionJobResult::getDetectionJob()const -{ - return detectionJob_; -} - diff --git a/vod/src/model/GetDetectionResultRequest.cc b/vod/src/model/GetDetectionResultRequest.cc deleted file mode 100644 index 9afe02d7d..000000000 --- a/vod/src/model/GetDetectionResultRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Vod::Model::GetDetectionResultRequest; - -GetDetectionResultRequest::GetDetectionResultRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetDetectionResult") -{ - setMethod(HttpRequest::Method::Get); -} - -GetDetectionResultRequest::~GetDetectionResultRequest() -{} - -long GetDetectionResultRequest::getCountByPage()const -{ - return countByPage_; -} - -void GetDetectionResultRequest::setCountByPage(long countByPage) -{ - countByPage_ = countByPage; - setParameter("CountByPage", std::to_string(countByPage)); -} - -bool GetDetectionResultRequest::getDesensitization()const -{ - return desensitization_; -} - -void GetDetectionResultRequest::setDesensitization(bool desensitization) -{ - desensitization_ = desensitization; - setParameter("Desensitization", desensitization ? "true" : "false"); -} - -std::string GetDetectionResultRequest::getJobId()const -{ - return jobId_; -} - -void GetDetectionResultRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); -} - -long GetDetectionResultRequest::getPage()const -{ - return page_; -} - -void GetDetectionResultRequest::setPage(long page) -{ - page_ = page; - setParameter("Page", std::to_string(page)); -} - -std::string GetDetectionResultRequest::getStatus()const -{ - return status_; -} - -void GetDetectionResultRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/vod/src/model/GetDetectionResultResult.cc b/vod/src/model/GetDetectionResultResult.cc deleted file mode 100644 index ad5805354..000000000 --- a/vod/src/model/GetDetectionResultResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -GetDetectionResultResult::GetDetectionResultResult() : - ServiceResult() -{} - -GetDetectionResultResult::GetDetectionResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDetectionResultResult::~GetDetectionResultResult() -{} - -void GetDetectionResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDetectionResultListNode = value["DetectionResultList"]["DetectionResult"]; - for (auto valueDetectionResultListDetectionResult : allDetectionResultListNode) - { - DetectionResult detectionResultListObject; - if(!valueDetectionResultListDetectionResult["Status"].isNull()) - detectionResultListObject.status = valueDetectionResultListDetectionResult["Status"].asString(); - if(!valueDetectionResultListDetectionResult["Platform"].isNull()) - detectionResultListObject.platform = valueDetectionResultListDetectionResult["Platform"].asString(); - if(!valueDetectionResultListDetectionResult["ContentType"].isNull()) - detectionResultListObject.contentType = valueDetectionResultListDetectionResult["ContentType"].asString(); - if(!valueDetectionResultListDetectionResult["CollectionTitle"].isNull()) - detectionResultListObject.collectionTitle = valueDetectionResultListDetectionResult["CollectionTitle"].asString(); - if(!valueDetectionResultListDetectionResult["CollectionUrl"].isNull()) - detectionResultListObject.collectionUrl = valueDetectionResultListDetectionResult["CollectionUrl"].asString(); - if(!valueDetectionResultListDetectionResult["CreateTime"].isNull()) - detectionResultListObject.createTime = valueDetectionResultListDetectionResult["CreateTime"].asString(); - if(!valueDetectionResultListDetectionResult["Uploader"].isNull()) - detectionResultListObject.uploader = valueDetectionResultListDetectionResult["Uploader"].asString(); - if(!valueDetectionResultListDetectionResult["ModifyTime"].isNull()) - detectionResultListObject.modifyTime = valueDetectionResultListDetectionResult["ModifyTime"].asString(); - detectionResultList_.push_back(detectionResultListObject); - } - -} - -std::vector GetDetectionResultResult::getDetectionResultList()const -{ - return detectionResultList_; -} - diff --git a/vod/src/model/GetDetectionTemplateRequest.cc b/vod/src/model/GetDetectionTemplateRequest.cc deleted file mode 100644 index 393bef2ae..000000000 --- a/vod/src/model/GetDetectionTemplateRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::GetDetectionTemplateRequest; - -GetDetectionTemplateRequest::GetDetectionTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetDetectionTemplate") -{ - setMethod(HttpRequest::Method::Get); -} - -GetDetectionTemplateRequest::~GetDetectionTemplateRequest() -{} - -std::string GetDetectionTemplateRequest::getTemplateId()const -{ - return templateId_; -} - -void GetDetectionTemplateRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); -} - diff --git a/vod/src/model/GetDetectionTemplateResult.cc b/vod/src/model/GetDetectionTemplateResult.cc deleted file mode 100644 index 5d8ed92b5..000000000 --- a/vod/src/model/GetDetectionTemplateResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -GetDetectionTemplateResult::GetDetectionTemplateResult() : - ServiceResult() -{} - -GetDetectionTemplateResult::GetDetectionTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDetectionTemplateResult::~GetDetectionTemplateResult() -{} - -void GetDetectionTemplateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto detectionTemplateNode = value["DetectionTemplate"]; - if(!detectionTemplateNode["CreateTime"].isNull()) - detectionTemplate_.createTime = detectionTemplateNode["CreateTime"].asString(); - if(!detectionTemplateNode["UserId"].isNull()) - detectionTemplate_.userId = std::stol(detectionTemplateNode["UserId"].asString()); - if(!detectionTemplateNode["TemplateName"].isNull()) - detectionTemplate_.templateName = detectionTemplateNode["TemplateName"].asString(); - if(!detectionTemplateNode["Period"].isNull()) - detectionTemplate_.period = detectionTemplateNode["Period"].asString(); - if(!detectionTemplateNode["Platform"].isNull()) - detectionTemplate_.platform = detectionTemplateNode["Platform"].asString(); - if(!detectionTemplateNode["TemplateId"].isNull()) - detectionTemplate_.templateId = detectionTemplateNode["TemplateId"].asString(); - if(!detectionTemplateNode["ModifyTime"].isNull()) - detectionTemplate_.modifyTime = detectionTemplateNode["ModifyTime"].asString(); - -} - -GetDetectionTemplateResult::DetectionTemplate GetDetectionTemplateResult::getDetectionTemplate()const -{ - return detectionTemplate_; -} - diff --git a/vod/src/model/ListDetectionJobRequest.cc b/vod/src/model/ListDetectionJobRequest.cc deleted file mode 100644 index 1533dd066..000000000 --- a/vod/src/model/ListDetectionJobRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::ListDetectionJobRequest; - -ListDetectionJobRequest::ListDetectionJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListDetectionJob") -{ - setMethod(HttpRequest::Method::Get); -} - -ListDetectionJobRequest::~ListDetectionJobRequest() -{} - -std::string ListDetectionJobRequest::getVideoId()const -{ - return videoId_; -} - -void ListDetectionJobRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); -} - diff --git a/vod/src/model/ListDetectionJobResult.cc b/vod/src/model/ListDetectionJobResult.cc deleted file mode 100644 index 155a80f6f..000000000 --- a/vod/src/model/ListDetectionJobResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -ListDetectionJobResult::ListDetectionJobResult() : - ServiceResult() -{} - -ListDetectionJobResult::ListDetectionJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDetectionJobResult::~ListDetectionJobResult() -{} - -void ListDetectionJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDetectionJobListNode = value["DetectionJobList"]["DetectionJob"]; - for (auto valueDetectionJobListDetectionJob : allDetectionJobListNode) - { - DetectionJob detectionJobListObject; - if(!valueDetectionJobListDetectionJob["JobId"].isNull()) - detectionJobListObject.jobId = valueDetectionJobListDetectionJob["JobId"].asString(); - if(!valueDetectionJobListDetectionJob["CreateTime"].isNull()) - detectionJobListObject.createTime = valueDetectionJobListDetectionJob["CreateTime"].asString(); - if(!valueDetectionJobListDetectionJob["ModifyTime"].isNull()) - detectionJobListObject.modifyTime = valueDetectionJobListDetectionJob["ModifyTime"].asString(); - if(!valueDetectionJobListDetectionJob["BeginTime"].isNull()) - detectionJobListObject.beginTime = valueDetectionJobListDetectionJob["BeginTime"].asString(); - if(!valueDetectionJobListDetectionJob["EndTime"].isNull()) - detectionJobListObject.endTime = valueDetectionJobListDetectionJob["EndTime"].asString(); - if(!valueDetectionJobListDetectionJob["VideoId"].isNull()) - detectionJobListObject.videoId = valueDetectionJobListDetectionJob["VideoId"].asString(); - if(!valueDetectionJobListDetectionJob["CopyrightStatus"].isNull()) - detectionJobListObject.copyrightStatus = valueDetectionJobListDetectionJob["CopyrightStatus"].asString(); - if(!valueDetectionJobListDetectionJob["CopyrightBeginTime"].isNull()) - detectionJobListObject.copyrightBeginTime = valueDetectionJobListDetectionJob["CopyrightBeginTime"].asString(); - if(!valueDetectionJobListDetectionJob["CopyrightEndTime"].isNull()) - detectionJobListObject.copyrightEndTime = valueDetectionJobListDetectionJob["CopyrightEndTime"].asString(); - if(!valueDetectionJobListDetectionJob["CopyrightFile"].isNull()) - detectionJobListObject.copyrightFile = valueDetectionJobListDetectionJob["CopyrightFile"].asString(); - if(!valueDetectionJobListDetectionJob["WhitelistUrls"].isNull()) - detectionJobListObject.whitelistUrls = valueDetectionJobListDetectionJob["WhitelistUrls"].asString(); - if(!valueDetectionJobListDetectionJob["TemplateId"].isNull()) - detectionJobListObject.templateId = valueDetectionJobListDetectionJob["TemplateId"].asString(); - detectionJobList_.push_back(detectionJobListObject); - } - -} - -std::vector ListDetectionJobResult::getDetectionJobList()const -{ - return detectionJobList_; -} - diff --git a/vod/src/model/ListDetectionTemplateRequest.cc b/vod/src/model/ListDetectionTemplateRequest.cc deleted file mode 100644 index adf1f01d0..000000000 --- a/vod/src/model/ListDetectionTemplateRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Vod::Model::ListDetectionTemplateRequest; - -ListDetectionTemplateRequest::ListDetectionTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListDetectionTemplate") -{ - setMethod(HttpRequest::Method::Get); -} - -ListDetectionTemplateRequest::~ListDetectionTemplateRequest() -{} - -std::string ListDetectionTemplateRequest::getPeriod()const -{ - return period_; -} - -void ListDetectionTemplateRequest::setPeriod(const std::string& period) -{ - period_ = period; - setParameter("Period", period); -} - -std::string ListDetectionTemplateRequest::getTemplateName()const -{ - return templateName_; -} - -void ListDetectionTemplateRequest::setTemplateName(const std::string& templateName) -{ - templateName_ = templateName; - setParameter("TemplateName", templateName); -} - -std::string ListDetectionTemplateRequest::getLetterTemplateId()const -{ - return letterTemplateId_; -} - -void ListDetectionTemplateRequest::setLetterTemplateId(const std::string& letterTemplateId) -{ - letterTemplateId_ = letterTemplateId; - setParameter("LetterTemplateId", letterTemplateId); -} - diff --git a/vod/src/model/ListDetectionTemplateResult.cc b/vod/src/model/ListDetectionTemplateResult.cc deleted file mode 100644 index 711edca05..000000000 --- a/vod/src/model/ListDetectionTemplateResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -ListDetectionTemplateResult::ListDetectionTemplateResult() : - ServiceResult() -{} - -ListDetectionTemplateResult::ListDetectionTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDetectionTemplateResult::~ListDetectionTemplateResult() -{} - -void ListDetectionTemplateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDetectionTemplateListNode = value["DetectionTemplateList"]["DetectionTemplate"]; - for (auto valueDetectionTemplateListDetectionTemplate : allDetectionTemplateListNode) - { - DetectionTemplate detectionTemplateListObject; - if(!valueDetectionTemplateListDetectionTemplate["CreateTime"].isNull()) - detectionTemplateListObject.createTime = valueDetectionTemplateListDetectionTemplate["CreateTime"].asString(); - if(!valueDetectionTemplateListDetectionTemplate["UserId"].isNull()) - detectionTemplateListObject.userId = std::stol(valueDetectionTemplateListDetectionTemplate["UserId"].asString()); - if(!valueDetectionTemplateListDetectionTemplate["TemplateName"].isNull()) - detectionTemplateListObject.templateName = valueDetectionTemplateListDetectionTemplate["TemplateName"].asString(); - if(!valueDetectionTemplateListDetectionTemplate["Period"].isNull()) - detectionTemplateListObject.period = valueDetectionTemplateListDetectionTemplate["Period"].asString(); - if(!valueDetectionTemplateListDetectionTemplate["Platform"].isNull()) - detectionTemplateListObject.platform = valueDetectionTemplateListDetectionTemplate["Platform"].asString(); - if(!valueDetectionTemplateListDetectionTemplate["TemplateId"].isNull()) - detectionTemplateListObject.templateId = valueDetectionTemplateListDetectionTemplate["TemplateId"].asString(); - if(!valueDetectionTemplateListDetectionTemplate["ModifyTime"].isNull()) - detectionTemplateListObject.modifyTime = valueDetectionTemplateListDetectionTemplate["ModifyTime"].asString(); - detectionTemplateList_.push_back(detectionTemplateListObject); - } - -} - -std::vector ListDetectionTemplateResult::getDetectionTemplateList()const -{ - return detectionTemplateList_; -} - diff --git a/vod/src/model/ListLetterSendJobRequest.cc b/vod/src/model/ListLetterSendJobRequest.cc deleted file mode 100644 index f8ecb47a4..000000000 --- a/vod/src/model/ListLetterSendJobRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Vod::Model::ListLetterSendJobRequest; - -ListLetterSendJobRequest::ListLetterSendJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListLetterSendJob") -{ - setMethod(HttpRequest::Method::Get); -} - -ListLetterSendJobRequest::~ListLetterSendJobRequest() -{} - -std::string ListLetterSendJobRequest::getToAddress()const -{ - return toAddress_; -} - -void ListLetterSendJobRequest::setToAddress(const std::string& toAddress) -{ - toAddress_ = toAddress; - setParameter("ToAddress", toAddress); -} - -std::string ListLetterSendJobRequest::getTemplateId()const -{ - return templateId_; -} - -void ListLetterSendJobRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); -} - -std::string ListLetterSendJobRequest::getDetectionId()const -{ - return detectionId_; -} - -void ListLetterSendJobRequest::setDetectionId(const std::string& detectionId) -{ - detectionId_ = detectionId; - setParameter("DetectionId", detectionId); -} - diff --git a/vod/src/model/ListLetterSendJobResult.cc b/vod/src/model/ListLetterSendJobResult.cc deleted file mode 100644 index 24c5ba2ca..000000000 --- a/vod/src/model/ListLetterSendJobResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -ListLetterSendJobResult::ListLetterSendJobResult() : - ServiceResult() -{} - -ListLetterSendJobResult::ListLetterSendJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListLetterSendJobResult::~ListLetterSendJobResult() -{} - -void ListLetterSendJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLetterJobListNode = value["LetterJobList"]["LetterJob"]; - for (auto valueLetterJobListLetterJob : allLetterJobListNode) - { - LetterJob letterJobListObject; - if(!valueLetterJobListLetterJob["CcAddress"].isNull()) - letterJobListObject.ccAddress = valueLetterJobListLetterJob["CcAddress"].asString(); - if(!valueLetterJobListLetterJob["CreateTime"].isNull()) - letterJobListObject.createTime = valueLetterJobListLetterJob["CreateTime"].asString(); - if(!valueLetterJobListLetterJob["UserId"].isNull()) - letterJobListObject.userId = std::stol(valueLetterJobListLetterJob["UserId"].asString()); - if(!valueLetterJobListLetterJob["SendTime"].isNull()) - letterJobListObject.sendTime = valueLetterJobListLetterJob["SendTime"].asString(); - if(!valueLetterJobListLetterJob["ToAddress"].isNull()) - letterJobListObject.toAddress = valueLetterJobListLetterJob["ToAddress"].asString(); - if(!valueLetterJobListLetterJob["Body"].isNull()) - letterJobListObject.body = valueLetterJobListLetterJob["Body"].asString(); - if(!valueLetterJobListLetterJob["DetectionId"].isNull()) - letterJobListObject.detectionId = valueLetterJobListLetterJob["DetectionId"].asString(); - if(!valueLetterJobListLetterJob["BccAddress"].isNull()) - letterJobListObject.bccAddress = valueLetterJobListLetterJob["BccAddress"].asString(); - if(!valueLetterJobListLetterJob["JobId"].isNull()) - letterJobListObject.jobId = valueLetterJobListLetterJob["JobId"].asString(); - if(!valueLetterJobListLetterJob["Title"].isNull()) - letterJobListObject.title = valueLetterJobListLetterJob["Title"].asString(); - if(!valueLetterJobListLetterJob["TemplateId"].isNull()) - letterJobListObject.templateId = valueLetterJobListLetterJob["TemplateId"].asString(); - if(!valueLetterJobListLetterJob["ModifyTime"].isNull()) - letterJobListObject.modifyTime = valueLetterJobListLetterJob["ModifyTime"].asString(); - letterJobList_.push_back(letterJobListObject); - } - -} - -std::vector ListLetterSendJobResult::getLetterJobList()const -{ - return letterJobList_; -} - diff --git a/vod/src/model/SubmitAICaptionExtractionJobRequest.cc b/vod/src/model/SubmitAICaptionExtractionJobRequest.cc deleted file mode 100644 index 3953eb2e2..000000000 --- a/vod/src/model/SubmitAICaptionExtractionJobRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Vod::Model::SubmitAICaptionExtractionJobRequest; - -SubmitAICaptionExtractionJobRequest::SubmitAICaptionExtractionJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitAICaptionExtractionJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitAICaptionExtractionJobRequest::~SubmitAICaptionExtractionJobRequest() -{} - -std::string SubmitAICaptionExtractionJobRequest::getJobConfig()const -{ - return jobConfig_; -} - -void SubmitAICaptionExtractionJobRequest::setJobConfig(const std::string& jobConfig) -{ - jobConfig_ = jobConfig; - setParameter("JobConfig", jobConfig); -} - -std::string SubmitAICaptionExtractionJobRequest::getVideoId()const -{ - return videoId_; -} - -void SubmitAICaptionExtractionJobRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); -} - -std::string SubmitAICaptionExtractionJobRequest::getAIPipelineId()const -{ - return aIPipelineId_; -} - -void SubmitAICaptionExtractionJobRequest::setAIPipelineId(const std::string& aIPipelineId) -{ - aIPipelineId_ = aIPipelineId; - setParameter("AIPipelineId", aIPipelineId); -} - -std::string SubmitAICaptionExtractionJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SubmitAICaptionExtractionJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string SubmitAICaptionExtractionJobRequest::getUserData()const -{ - return userData_; -} - -void SubmitAICaptionExtractionJobRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); -} - diff --git a/vod/src/model/SubmitAICaptionExtractionJobResult.cc b/vod/src/model/SubmitAICaptionExtractionJobResult.cc deleted file mode 100644 index ba1f68d59..000000000 --- a/vod/src/model/SubmitAICaptionExtractionJobResult.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::Vod; -using namespace AlibabaCloud::Vod::Model; - -SubmitAICaptionExtractionJobResult::SubmitAICaptionExtractionJobResult() : - ServiceResult() -{} - -SubmitAICaptionExtractionJobResult::SubmitAICaptionExtractionJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitAICaptionExtractionJobResult::~SubmitAICaptionExtractionJobResult() -{} - -void SubmitAICaptionExtractionJobResult::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 SubmitAICaptionExtractionJobResult::getJobId()const -{ - return jobId_; -} - diff --git a/vod/src/model/SubmitDetectionJobRequest.cc b/vod/src/model/SubmitDetectionJobRequest.cc deleted file mode 100644 index e46a0b635..000000000 --- a/vod/src/model/SubmitDetectionJobRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::SubmitDetectionJobRequest; - -SubmitDetectionJobRequest::SubmitDetectionJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitDetectionJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitDetectionJobRequest::~SubmitDetectionJobRequest() -{} - -std::string SubmitDetectionJobRequest::getWhiteListUrls()const -{ - return whiteListUrls_; -} - -void SubmitDetectionJobRequest::setWhiteListUrls(const std::string& whiteListUrls) -{ - whiteListUrls_ = whiteListUrls; - setParameter("WhiteListUrls", whiteListUrls); -} - -std::string SubmitDetectionJobRequest::getCopyrightEndTime()const -{ - return copyrightEndTime_; -} - -void SubmitDetectionJobRequest::setCopyrightEndTime(const std::string& copyrightEndTime) -{ - copyrightEndTime_ = copyrightEndTime; - setParameter("CopyrightEndTime", copyrightEndTime); -} - -std::string SubmitDetectionJobRequest::getCopyrightStatus()const -{ - return copyrightStatus_; -} - -void SubmitDetectionJobRequest::setCopyrightStatus(const std::string& copyrightStatus) -{ - copyrightStatus_ = copyrightStatus; - setParameter("CopyrightStatus", copyrightStatus); -} - -std::string SubmitDetectionJobRequest::getCopyrightBeginTime()const -{ - return copyrightBeginTime_; -} - -void SubmitDetectionJobRequest::setCopyrightBeginTime(const std::string& copyrightBeginTime) -{ - copyrightBeginTime_ = copyrightBeginTime; - setParameter("CopyrightBeginTime", copyrightBeginTime); -} - -int SubmitDetectionJobRequest::getDuration()const -{ - return duration_; -} - -void SubmitDetectionJobRequest::setDuration(int duration) -{ - duration_ = duration; - setParameter("Duration", std::to_string(duration)); -} - -std::string SubmitDetectionJobRequest::getEndTime()const -{ - return endTime_; -} - -void SubmitDetectionJobRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -std::string SubmitDetectionJobRequest::getVideoId()const -{ - return videoId_; -} - -void SubmitDetectionJobRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); -} - -std::string SubmitDetectionJobRequest::getBeginTime()const -{ - return beginTime_; -} - -void SubmitDetectionJobRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setParameter("BeginTime", beginTime); -} - -bool SubmitDetectionJobRequest::getShortVideo()const -{ - return shortVideo_; -} - -void SubmitDetectionJobRequest::setShortVideo(bool shortVideo) -{ - shortVideo_ = shortVideo; - setParameter("ShortVideo", shortVideo ? "true" : "false"); -} - -std::string SubmitDetectionJobRequest::getTemplateId()const -{ - return templateId_; -} - -void SubmitDetectionJobRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); -} - -std::string SubmitDetectionJobRequest::getCopyrightFile()const -{ - return copyrightFile_; -} - -void SubmitDetectionJobRequest::setCopyrightFile(const std::string& copyrightFile) -{ - copyrightFile_ = copyrightFile; - setParameter("CopyrightFile", copyrightFile); -} - diff --git a/vod/src/model/SubmitDetectionJobResult.cc b/vod/src/model/SubmitDetectionJobResult.cc deleted file mode 100644 index 649b978bf..000000000 --- a/vod/src/model/SubmitDetectionJobResult.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::Vod; -using namespace AlibabaCloud::Vod::Model; - -SubmitDetectionJobResult::SubmitDetectionJobResult() : - ServiceResult() -{} - -SubmitDetectionJobResult::SubmitDetectionJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SubmitDetectionJobResult::~SubmitDetectionJobResult() -{} - -void SubmitDetectionJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto detectionJobNode = value["DetectionJob"]; - if(!detectionJobNode["JobId"].isNull()) - detectionJob_.jobId = detectionJobNode["JobId"].asString(); - if(!detectionJobNode["CreateTime"].isNull()) - detectionJob_.createTime = detectionJobNode["CreateTime"].asString(); - if(!detectionJobNode["ModifyTime"].isNull()) - detectionJob_.modifyTime = detectionJobNode["ModifyTime"].asString(); - if(!detectionJobNode["BeginTime"].isNull()) - detectionJob_.beginTime = detectionJobNode["BeginTime"].asString(); - if(!detectionJobNode["EndTime"].isNull()) - detectionJob_.endTime = detectionJobNode["EndTime"].asString(); - if(!detectionJobNode["VideoId"].isNull()) - detectionJob_.videoId = detectionJobNode["VideoId"].asString(); - if(!detectionJobNode["CopyrightStatus"].isNull()) - detectionJob_.copyrightStatus = detectionJobNode["CopyrightStatus"].asString(); - if(!detectionJobNode["CopyrightBeginTime"].isNull()) - detectionJob_.copyrightBeginTime = detectionJobNode["CopyrightBeginTime"].asString(); - if(!detectionJobNode["CopyrightEndTime"].isNull()) - detectionJob_.copyrightEndTime = detectionJobNode["CopyrightEndTime"].asString(); - if(!detectionJobNode["CopyrightFile"].isNull()) - detectionJob_.copyrightFile = detectionJobNode["CopyrightFile"].asString(); - if(!detectionJobNode["WhitelistUrls"].isNull()) - detectionJob_.whitelistUrls = detectionJobNode["WhitelistUrls"].asString(); - if(!detectionJobNode["TemplateId"].isNull()) - detectionJob_.templateId = detectionJobNode["TemplateId"].asString(); - -} - -SubmitDetectionJobResult::DetectionJob SubmitDetectionJobResult::getDetectionJob()const -{ - return detectionJob_; -} - diff --git a/vod/src/model/UpdateDetectionJobRequest.cc b/vod/src/model/UpdateDetectionJobRequest.cc deleted file mode 100644 index 2eeefa5e3..000000000 --- a/vod/src/model/UpdateDetectionJobRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::UpdateDetectionJobRequest; - -UpdateDetectionJobRequest::UpdateDetectionJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateDetectionJob") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDetectionJobRequest::~UpdateDetectionJobRequest() -{} - -std::string UpdateDetectionJobRequest::getWhiteListUrls()const -{ - return whiteListUrls_; -} - -void UpdateDetectionJobRequest::setWhiteListUrls(const std::string& whiteListUrls) -{ - whiteListUrls_ = whiteListUrls; - setParameter("WhiteListUrls", whiteListUrls); -} - -std::string UpdateDetectionJobRequest::getCopyrightEndTime()const -{ - return copyrightEndTime_; -} - -void UpdateDetectionJobRequest::setCopyrightEndTime(const std::string& copyrightEndTime) -{ - copyrightEndTime_ = copyrightEndTime; - setParameter("CopyrightEndTime", copyrightEndTime); -} - -std::string UpdateDetectionJobRequest::getCopyrightStatus()const -{ - return copyrightStatus_; -} - -void UpdateDetectionJobRequest::setCopyrightStatus(const std::string& copyrightStatus) -{ - copyrightStatus_ = copyrightStatus; - setParameter("CopyrightStatus", copyrightStatus); -} - -std::string UpdateDetectionJobRequest::getCopyrightBeginTime()const -{ - return copyrightBeginTime_; -} - -void UpdateDetectionJobRequest::setCopyrightBeginTime(const std::string& copyrightBeginTime) -{ - copyrightBeginTime_ = copyrightBeginTime; - setParameter("CopyrightBeginTime", copyrightBeginTime); -} - -int UpdateDetectionJobRequest::getDuration()const -{ - return duration_; -} - -void UpdateDetectionJobRequest::setDuration(int duration) -{ - duration_ = duration; - setParameter("Duration", std::to_string(duration)); -} - -std::string UpdateDetectionJobRequest::getJobId()const -{ - return jobId_; -} - -void UpdateDetectionJobRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); -} - -std::string UpdateDetectionJobRequest::getEndTime()const -{ - return endTime_; -} - -void UpdateDetectionJobRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -std::string UpdateDetectionJobRequest::getBeginTime()const -{ - return beginTime_; -} - -void UpdateDetectionJobRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setParameter("BeginTime", beginTime); -} - -std::string UpdateDetectionJobRequest::getTemplateId()const -{ - return templateId_; -} - -void UpdateDetectionJobRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); -} - -std::string UpdateDetectionJobRequest::getCopyrightFile()const -{ - return copyrightFile_; -} - -void UpdateDetectionJobRequest::setCopyrightFile(const std::string& copyrightFile) -{ - copyrightFile_ = copyrightFile; - setParameter("CopyrightFile", copyrightFile); -} - diff --git a/vod/src/model/UpdateDetectionJobResult.cc b/vod/src/model/UpdateDetectionJobResult.cc deleted file mode 100644 index bb7ec3f99..000000000 --- a/vod/src/model/UpdateDetectionJobResult.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::Vod; -using namespace AlibabaCloud::Vod::Model; - -UpdateDetectionJobResult::UpdateDetectionJobResult() : - ServiceResult() -{} - -UpdateDetectionJobResult::UpdateDetectionJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDetectionJobResult::~UpdateDetectionJobResult() -{} - -void UpdateDetectionJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto detectionJobNode = value["DetectionJob"]; - if(!detectionJobNode["JobId"].isNull()) - detectionJob_.jobId = detectionJobNode["JobId"].asString(); - if(!detectionJobNode["CreateTime"].isNull()) - detectionJob_.createTime = detectionJobNode["CreateTime"].asString(); - if(!detectionJobNode["ModifyTime"].isNull()) - detectionJob_.modifyTime = detectionJobNode["ModifyTime"].asString(); - if(!detectionJobNode["BeginTime"].isNull()) - detectionJob_.beginTime = detectionJobNode["BeginTime"].asString(); - if(!detectionJobNode["EndTime"].isNull()) - detectionJob_.endTime = detectionJobNode["EndTime"].asString(); - if(!detectionJobNode["VideoId"].isNull()) - detectionJob_.videoId = detectionJobNode["VideoId"].asString(); - if(!detectionJobNode["CopyrightStatus"].isNull()) - detectionJob_.copyrightStatus = detectionJobNode["CopyrightStatus"].asString(); - if(!detectionJobNode["CopyrightBeginTime"].isNull()) - detectionJob_.copyrightBeginTime = detectionJobNode["CopyrightBeginTime"].asString(); - if(!detectionJobNode["CopyrightEndTime"].isNull()) - detectionJob_.copyrightEndTime = detectionJobNode["CopyrightEndTime"].asString(); - if(!detectionJobNode["CopyrightFile"].isNull()) - detectionJob_.copyrightFile = detectionJobNode["CopyrightFile"].asString(); - if(!detectionJobNode["WhitelistUrls"].isNull()) - detectionJob_.whitelistUrls = detectionJobNode["WhitelistUrls"].asString(); - if(!detectionJobNode["TemplateId"].isNull()) - detectionJob_.templateId = detectionJobNode["TemplateId"].asString(); - -} - -UpdateDetectionJobResult::DetectionJob UpdateDetectionJobResult::getDetectionJob()const -{ - return detectionJob_; -} - diff --git a/vod/src/model/UpdateDetectionTemplateRequest.cc b/vod/src/model/UpdateDetectionTemplateRequest.cc deleted file mode 100644 index 388da688c..000000000 --- a/vod/src/model/UpdateDetectionTemplateRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::Vod::Model::UpdateDetectionTemplateRequest; - -UpdateDetectionTemplateRequest::UpdateDetectionTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateDetectionTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDetectionTemplateRequest::~UpdateDetectionTemplateRequest() -{} - -std::string UpdateDetectionTemplateRequest::getLetterSendTime()const -{ - return letterSendTime_; -} - -void UpdateDetectionTemplateRequest::setLetterSendTime(const std::string& letterSendTime) -{ - letterSendTime_ = letterSendTime; - setParameter("LetterSendTime", letterSendTime); -} - -bool UpdateDetectionTemplateRequest::getAutoLetterSuspect()const -{ - return autoLetterSuspect_; -} - -void UpdateDetectionTemplateRequest::setAutoLetterSuspect(bool autoLetterSuspect) -{ - autoLetterSuspect_ = autoLetterSuspect; - setParameter("AutoLetterSuspect", autoLetterSuspect ? "true" : "false"); -} - -std::string UpdateDetectionTemplateRequest::getPlatform()const -{ - return platform_; -} - -void UpdateDetectionTemplateRequest::setPlatform(const std::string& platform) -{ - platform_ = platform; - setParameter("Platform", platform); -} - -bool UpdateDetectionTemplateRequest::getAutoLetter()const -{ - return autoLetter_; -} - -void UpdateDetectionTemplateRequest::setAutoLetter(bool autoLetter) -{ - autoLetter_ = autoLetter; - setParameter("AutoLetter", autoLetter ? "true" : "false"); -} - -std::string UpdateDetectionTemplateRequest::getTemplateName()const -{ - return templateName_; -} - -void UpdateDetectionTemplateRequest::setTemplateName(const std::string& templateName) -{ - templateName_ = templateName; - setParameter("TemplateName", templateName); -} - -bool UpdateDetectionTemplateRequest::getAutoEvidence()const -{ - return autoEvidence_; -} - -void UpdateDetectionTemplateRequest::setAutoEvidence(bool autoEvidence) -{ - autoEvidence_ = autoEvidence; - setParameter("AutoEvidence", autoEvidence ? "true" : "false"); -} - -std::string UpdateDetectionTemplateRequest::getLetterTemplateId()const -{ - return letterTemplateId_; -} - -void UpdateDetectionTemplateRequest::setLetterTemplateId(const std::string& letterTemplateId) -{ - letterTemplateId_ = letterTemplateId; - setParameter("LetterTemplateId", letterTemplateId); -} - -std::string UpdateDetectionTemplateRequest::getPeriod()const -{ - return period_; -} - -void UpdateDetectionTemplateRequest::setPeriod(const std::string& period) -{ - period_ = period; - setParameter("Period", period); -} - -bool UpdateDetectionTemplateRequest::getAutoEvidenceSuspect()const -{ - return autoEvidenceSuspect_; -} - -void UpdateDetectionTemplateRequest::setAutoEvidenceSuspect(bool autoEvidenceSuspect) -{ - autoEvidenceSuspect_ = autoEvidenceSuspect; - setParameter("AutoEvidenceSuspect", autoEvidenceSuspect ? "true" : "false"); -} - -std::string UpdateDetectionTemplateRequest::getTemplateId()const -{ - return templateId_; -} - -void UpdateDetectionTemplateRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); -} - diff --git a/vod/src/model/UpdateDetectionTemplateResult.cc b/vod/src/model/UpdateDetectionTemplateResult.cc deleted file mode 100644 index 0091f03d0..000000000 --- a/vod/src/model/UpdateDetectionTemplateResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Vod; -using namespace AlibabaCloud::Vod::Model; - -UpdateDetectionTemplateResult::UpdateDetectionTemplateResult() : - ServiceResult() -{} - -UpdateDetectionTemplateResult::UpdateDetectionTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDetectionTemplateResult::~UpdateDetectionTemplateResult() -{} - -void UpdateDetectionTemplateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto detectionTemplateNode = value["DetectionTemplate"]; - if(!detectionTemplateNode["CreateTime"].isNull()) - detectionTemplate_.createTime = detectionTemplateNode["CreateTime"].asString(); - if(!detectionTemplateNode["UserId"].isNull()) - detectionTemplate_.userId = std::stol(detectionTemplateNode["UserId"].asString()); - if(!detectionTemplateNode["TemplateName"].isNull()) - detectionTemplate_.templateName = detectionTemplateNode["TemplateName"].asString(); - if(!detectionTemplateNode["Period"].isNull()) - detectionTemplate_.period = detectionTemplateNode["Period"].asString(); - if(!detectionTemplateNode["Platform"].isNull()) - detectionTemplate_.platform = detectionTemplateNode["Platform"].asString(); - if(!detectionTemplateNode["TemplateId"].isNull()) - detectionTemplate_.templateId = detectionTemplateNode["TemplateId"].asString(); - if(!detectionTemplateNode["ModifyTime"].isNull()) - detectionTemplate_.modifyTime = detectionTemplateNode["ModifyTime"].asString(); - -} - -UpdateDetectionTemplateResult::DetectionTemplate UpdateDetectionTemplateResult::getDetectionTemplate()const -{ - return detectionTemplate_; -} -