Set API DescribeVodDomainSrcBpsData to public.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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<Error, Model::CreateAuditResult> CreateAuditOutcome;
|
||||
typedef std::future<CreateAuditOutcome> CreateAuditOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::CreateAuditRequest&, const CreateAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuditAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDetectionTemplateResult> CreateDetectionTemplateOutcome;
|
||||
typedef std::future<CreateDetectionTemplateOutcome> CreateDetectionTemplateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::CreateDetectionTemplateRequest&, const CreateDetectionTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDetectionTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUploadAttachedMediaResult> CreateUploadAttachedMediaOutcome;
|
||||
typedef std::future<CreateUploadAttachedMediaOutcome> CreateUploadAttachedMediaOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::CreateUploadAttachedMediaRequest&, const CreateUploadAttachedMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUploadAttachedMediaAsyncHandler;
|
||||
@@ -437,9 +410,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCategoryResult> DeleteCategoryOutcome;
|
||||
typedef std::future<DeleteCategoryOutcome> DeleteCategoryOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::DeleteCategoryRequest&, const DeleteCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDetectionTemplateResult> DeleteDetectionTemplateOutcome;
|
||||
typedef std::future<DeleteDetectionTemplateOutcome> DeleteDetectionTemplateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::DeleteDetectionTemplateRequest&, const DeleteDetectionTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDetectionTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDynamicImageResult> DeleteDynamicImageOutcome;
|
||||
typedef std::future<DeleteDynamicImageOutcome> DeleteDynamicImageOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::DeleteDynamicImageRequest&, const DeleteDynamicImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDynamicImageAsyncHandler;
|
||||
@@ -518,6 +488,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeVodDomainRealtimeLogDeliveryResult> DescribeVodDomainRealtimeLogDeliveryOutcome;
|
||||
typedef std::future<DescribeVodDomainRealtimeLogDeliveryOutcome> DescribeVodDomainRealtimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::DescribeVodDomainRealtimeLogDeliveryRequest&, const DescribeVodDomainRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodDomainRealtimeLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVodDomainSrcBpsDataResult> DescribeVodDomainSrcBpsDataOutcome;
|
||||
typedef std::future<DescribeVodDomainSrcBpsDataOutcome> DescribeVodDomainSrcBpsDataOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::DescribeVodDomainSrcBpsDataRequest&, const DescribeVodDomainSrcBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodDomainSrcBpsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVodDomainTrafficDataResult> DescribeVodDomainTrafficDataOutcome;
|
||||
typedef std::future<DescribeVodDomainTrafficDataOutcome> DescribeVodDomainTrafficDataOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::DescribeVodDomainTrafficDataRequest&, const DescribeVodDomainTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodDomainTrafficDataAsyncHandler;
|
||||
@@ -557,9 +530,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::EnableVodRealtimeLogDeliveryResult> EnableVodRealtimeLogDeliveryOutcome;
|
||||
typedef std::future<EnableVodRealtimeLogDeliveryOutcome> EnableVodRealtimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::EnableVodRealtimeLogDeliveryRequest&, const EnableVodRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableVodRealtimeLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAICaptionExtractionJobsResult> GetAICaptionExtractionJobsOutcome;
|
||||
typedef std::future<GetAICaptionExtractionJobsOutcome> GetAICaptionExtractionJobsOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetAICaptionExtractionJobsRequest&, const GetAICaptionExtractionJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAICaptionExtractionJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAIImageJobsResult> GetAIImageJobsOutcome;
|
||||
typedef std::future<GetAIImageJobsOutcome> GetAIImageJobsOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetAIImageJobsRequest&, const GetAIImageJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAIImageJobsAsyncHandler;
|
||||
@@ -587,15 +557,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDefaultAITemplateResult> GetDefaultAITemplateOutcome;
|
||||
typedef std::future<GetDefaultAITemplateOutcome> GetDefaultAITemplateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetDefaultAITemplateRequest&, const GetDefaultAITemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDefaultAITemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDetectionJobResult> GetDetectionJobOutcome;
|
||||
typedef std::future<GetDetectionJobOutcome> GetDetectionJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetDetectionJobRequest&, const GetDetectionJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectionJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDetectionResultResult> GetDetectionResultOutcome;
|
||||
typedef std::future<GetDetectionResultOutcome> GetDetectionResultOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetDetectionResultRequest&, const GetDetectionResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectionResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDetectionTemplateResult> GetDetectionTemplateOutcome;
|
||||
typedef std::future<GetDetectionTemplateOutcome> GetDetectionTemplateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetDetectionTemplateRequest&, const GetDetectionTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectionTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetEditingProjectResult> GetEditingProjectOutcome;
|
||||
typedef std::future<GetEditingProjectOutcome> GetEditingProjectOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::GetEditingProjectRequest&, const GetEditingProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEditingProjectAsyncHandler;
|
||||
@@ -680,18 +641,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListAuditSecurityIpResult> ListAuditSecurityIpOutcome;
|
||||
typedef std::future<ListAuditSecurityIpOutcome> ListAuditSecurityIpOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::ListAuditSecurityIpRequest&, const ListAuditSecurityIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAuditSecurityIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDetectionJobResult> ListDetectionJobOutcome;
|
||||
typedef std::future<ListDetectionJobOutcome> ListDetectionJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::ListDetectionJobRequest&, const ListDetectionJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDetectionJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDetectionTemplateResult> ListDetectionTemplateOutcome;
|
||||
typedef std::future<ListDetectionTemplateOutcome> ListDetectionTemplateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::ListDetectionTemplateRequest&, const ListDetectionTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDetectionTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDynamicImageResult> ListDynamicImageOutcome;
|
||||
typedef std::future<ListDynamicImageOutcome> ListDynamicImageOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::ListDynamicImageRequest&, const ListDynamicImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDynamicImageAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListLetterSendJobResult> ListLetterSendJobOutcome;
|
||||
typedef std::future<ListLetterSendJobOutcome> ListLetterSendJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::ListLetterSendJobRequest&, const ListLetterSendJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLetterSendJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListLiveRecordVideoResult> ListLiveRecordVideoOutcome;
|
||||
typedef std::future<ListLiveRecordVideoOutcome> ListLiveRecordVideoOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::ListLiveRecordVideoRequest&, const ListLiveRecordVideoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLiveRecordVideoAsyncHandler;
|
||||
@@ -767,9 +719,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetVodDomainCertificateResult> SetVodDomainCertificateOutcome;
|
||||
typedef std::future<SetVodDomainCertificateOutcome> SetVodDomainCertificateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::SetVodDomainCertificateRequest&, const SetVodDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVodDomainCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitAICaptionExtractionJobResult> SubmitAICaptionExtractionJobOutcome;
|
||||
typedef std::future<SubmitAICaptionExtractionJobOutcome> SubmitAICaptionExtractionJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::SubmitAICaptionExtractionJobRequest&, const SubmitAICaptionExtractionJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAICaptionExtractionJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitAIImageAuditJobResult> SubmitAIImageAuditJobOutcome;
|
||||
typedef std::future<SubmitAIImageAuditJobOutcome> SubmitAIImageAuditJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::SubmitAIImageAuditJobRequest&, const SubmitAIImageAuditJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIImageAuditJobAsyncHandler;
|
||||
@@ -782,9 +731,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SubmitAIMediaAuditJobResult> SubmitAIMediaAuditJobOutcome;
|
||||
typedef std::future<SubmitAIMediaAuditJobOutcome> SubmitAIMediaAuditJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::SubmitAIMediaAuditJobRequest&, const SubmitAIMediaAuditJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIMediaAuditJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitDetectionJobResult> SubmitDetectionJobOutcome;
|
||||
typedef std::future<SubmitDetectionJobOutcome> SubmitDetectionJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::SubmitDetectionJobRequest&, const SubmitDetectionJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitDetectionJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitDynamicImageJobResult> SubmitDynamicImageJobOutcome;
|
||||
typedef std::future<SubmitDynamicImageJobOutcome> SubmitDynamicImageJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::SubmitDynamicImageJobRequest&, const SubmitDynamicImageJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitDynamicImageJobAsyncHandler;
|
||||
@@ -824,12 +770,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateCategoryResult> UpdateCategoryOutcome;
|
||||
typedef std::future<UpdateCategoryOutcome> UpdateCategoryOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::UpdateCategoryRequest&, const UpdateCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDetectionJobResult> UpdateDetectionJobOutcome;
|
||||
typedef std::future<UpdateDetectionJobOutcome> UpdateDetectionJobOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::UpdateDetectionJobRequest&, const UpdateDetectionJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDetectionJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDetectionTemplateResult> UpdateDetectionTemplateOutcome;
|
||||
typedef std::future<UpdateDetectionTemplateOutcome> UpdateDetectionTemplateOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::UpdateDetectionTemplateRequest&, const UpdateDetectionTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDetectionTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateEditingProjectResult> UpdateEditingProjectOutcome;
|
||||
typedef std::future<UpdateEditingProjectOutcome> UpdateEditingProjectOutcomeCallable;
|
||||
typedef std::function<void(const VodClient*, const Model::UpdateEditingProjectRequest&, const UpdateEditingProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateEditingProjectOutcomeCallable updateEditingProjectCallable(const Model::UpdateEditingProjectRequest& request) const;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
@@ -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<DataModule> 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<DataModule> srcBpsDataPerInterval_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONJOBRESULT_H_
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINSRCBPSDATARESULT_H_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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<AICaptionExtractionJob> getAICaptionExtractionJobList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AICaptionExtractionJob> aICaptionExtractionJobList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_GETAICAPTIONEXTRACTIONJOBSRESULT_H_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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<DetectionResult> getDetectionResultList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DetectionResult> detectionResultList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_GETDETECTIONRESULTRESULT_H_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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<DetectionJob> getDetectionJobList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DetectionJob> detectionJobList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_LISTDETECTIONJOBRESULT_H_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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<DetectionTemplate> getDetectionTemplateList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DetectionTemplate> detectionTemplateList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_LISTDETECTIONTEMPLATERESULT_H_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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<LetterJob> getLetterJobList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LetterJob> letterJobList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOD_MODEL_LISTLETTERSENDJOBRESULT_H_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/vod/VodExport.h>
|
||||
|
||||
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_
|
||||
@@ -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<const AsyncCallerContext>& 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<std::packaged_task<CreateDetectionTemplateOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteDetectionTemplateOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeVodDomainSrcBpsDataOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetAICaptionExtractionJobsOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetDetectionJobOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetDetectionResultOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetDetectionTemplateOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListDetectionJobOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListDetectionTemplateOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListLetterSendJobOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<SubmitAICaptionExtractionJobOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<SubmitDetectionJobOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<UpdateDetectionJobOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<UpdateDetectionTemplateOutcome()>>(
|
||||
[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();
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/CreateDetectionTemplateRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/CreateDetectionTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/DeleteDetectionTemplateRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/DeleteDetectionTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
84
vod/src/model/DescribeVodDomainSrcBpsDataRequest.cc
Normal file
84
vod/src/model/DescribeVodDomainSrcBpsDataRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainSrcBpsDataRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
89
vod/src/model/DescribeVodDomainSrcBpsDataResult.cc
Normal file
89
vod/src/model/DescribeVodDomainSrcBpsDataResult.cc
Normal file
@@ -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 <alibabacloud/vod/model/DescribeVodDomainSrcBpsDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DataModule> 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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetAICaptionExtractionJobsRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAICaptionExtractionJobsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::AICaptionExtractionJob> GetAICaptionExtractionJobsResult::getAICaptionExtractionJobList()const
|
||||
{
|
||||
return aICaptionExtractionJobList_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetDetectionJobRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetDetectionJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetDetectionResultRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetDetectionResultResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DetectionResult> GetDetectionResultResult::getDetectionResultList()const
|
||||
{
|
||||
return detectionResultList_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetDetectionTemplateRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/GetDetectionTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/ListDetectionJobRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/ListDetectionJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DetectionJob> ListDetectionJobResult::getDetectionJobList()const
|
||||
{
|
||||
return detectionJobList_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/ListDetectionTemplateRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/ListDetectionTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DetectionTemplate> ListDetectionTemplateResult::getDetectionTemplateList()const
|
||||
{
|
||||
return detectionTemplateList_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/ListLetterSendJobRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/ListLetterSendJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::LetterJob> ListLetterSendJobResult::getLetterJobList()const
|
||||
{
|
||||
return letterJobList_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/SubmitAICaptionExtractionJobRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/SubmitAICaptionExtractionJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/SubmitDetectionJobRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/SubmitDetectionJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/UpdateDetectionJobRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/UpdateDetectionJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/UpdateDetectionTemplateRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/vod/model/UpdateDetectionTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user