From 9daef8bca3308b31edda8caf228a941b37fd3c35 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 4 Jun 2021 02:21:50 +0000 Subject: [PATCH] Delete live API. --- CHANGELOG | 3 + VERSION | 2 +- cdn/CMakeLists.txt | 40 -- cdn/include/alibabacloud/cdn/CdnClient.h | 80 ---- .../cdn/model/AddLiveAppRecordConfigRequest.h | 66 ---- .../cdn/model/AddLiveAppRecordConfigResult.h | 49 --- .../model/BatchDeleteCdnDomainConfigRequest.h | 60 --- .../model/BatchDeleteCdnDomainConfigResult.h | 49 --- .../cdn/model/DeleteHttpHeaderConfigRequest.h | 57 --- .../cdn/model/DeleteHttpHeaderConfigResult.h | 49 --- .../model/DescribeDomainSlowRatioRequest.h | 63 --- .../cdn/model/DescribeDomainSlowRatioResult.h | 74 ---- .../DescribeL2VipsByDynamicDomainRequest.h | 51 --- .../DescribeL2VipsByDynamicDomainResult.h | 53 --- .../model/DescribeLiveRecordConfigRequest.h | 54 --- .../model/DescribeLiveRecordConfigResult.h | 60 --- .../model/DescribeLiveSnapshotConfigRequest.h | 69 ---- .../model/DescribeLiveSnapshotConfigResult.h | 72 ---- .../DescribeLiveStreamTranscodeInfoRequest.h | 54 --- .../DescribeLiveStreamTranscodeInfoResult.h | 60 --- ...DescribeLiveStreamsControlHistoryRequest.h | 63 --- .../DescribeLiveStreamsControlHistoryResult.h | 58 --- .../DescribeUserCustomLogConfigRequest.h | 48 --- .../model/DescribeUserCustomLogConfigResult.h | 51 --- cdn/src/CdnClient.cc | 360 ------------------ .../model/AddLiveAppRecordConfigRequest.cc | 106 ------ cdn/src/model/AddLiveAppRecordConfigResult.cc | 44 --- .../BatchDeleteCdnDomainConfigRequest.cc | 84 ---- .../model/BatchDeleteCdnDomainConfigResult.cc | 44 --- .../model/DeleteHttpHeaderConfigRequest.cc | 73 ---- cdn/src/model/DeleteHttpHeaderConfigResult.cc | 44 --- .../model/DescribeDomainSlowRatioRequest.cc | 95 ----- .../model/DescribeDomainSlowRatioResult.cc | 113 ------ .../DescribeL2VipsByDynamicDomainRequest.cc | 51 --- .../DescribeL2VipsByDynamicDomainResult.cc | 59 --- .../model/DescribeLiveRecordConfigRequest.cc | 62 --- .../model/DescribeLiveRecordConfigResult.cc | 67 ---- .../DescribeLiveSnapshotConfigRequest.cc | 117 ------ .../model/DescribeLiveSnapshotConfigResult.cc | 106 ------ .../DescribeLiveStreamTranscodeInfoRequest.cc | 62 --- .../DescribeLiveStreamTranscodeInfoResult.cc | 67 ---- ...escribeLiveStreamsControlHistoryRequest.cc | 95 ----- ...DescribeLiveStreamsControlHistoryResult.cc | 63 --- .../DescribeUserCustomLogConfigRequest.cc | 40 -- .../DescribeUserCustomLogConfigResult.cc | 52 --- 45 files changed, 4 insertions(+), 3085 deletions(-) delete mode 100644 cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h delete mode 100644 cdn/src/model/AddLiveAppRecordConfigRequest.cc delete mode 100644 cdn/src/model/AddLiveAppRecordConfigResult.cc delete mode 100644 cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc delete mode 100644 cdn/src/model/BatchDeleteCdnDomainConfigResult.cc delete mode 100644 cdn/src/model/DeleteHttpHeaderConfigRequest.cc delete mode 100644 cdn/src/model/DeleteHttpHeaderConfigResult.cc delete mode 100644 cdn/src/model/DescribeDomainSlowRatioRequest.cc delete mode 100644 cdn/src/model/DescribeDomainSlowRatioResult.cc delete mode 100644 cdn/src/model/DescribeL2VipsByDynamicDomainRequest.cc delete mode 100644 cdn/src/model/DescribeL2VipsByDynamicDomainResult.cc delete mode 100644 cdn/src/model/DescribeLiveRecordConfigRequest.cc delete mode 100644 cdn/src/model/DescribeLiveRecordConfigResult.cc delete mode 100644 cdn/src/model/DescribeLiveSnapshotConfigRequest.cc delete mode 100644 cdn/src/model/DescribeLiveSnapshotConfigResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamTranscodeInfoRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamTranscodeInfoResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsControlHistoryRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsControlHistoryResult.cc delete mode 100644 cdn/src/model/DescribeUserCustomLogConfigRequest.cc delete mode 100644 cdn/src/model/DescribeUserCustomLogConfigResult.cc diff --git a/CHANGELOG b/CHANGELOG index ea3d4c6ee..b93535159 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-06-04 Version: 1.36.765 +- Delete live API. + 2021-06-03 Version: 1.36.764 - Add name. diff --git a/VERSION b/VERSION index b969e2262..167fa0759 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.764 \ No newline at end of file +1.36.765 \ No newline at end of file diff --git a/cdn/CMakeLists.txt b/cdn/CMakeLists.txt index 45ae01e41..c322be4a5 100644 --- a/cdn/CMakeLists.txt +++ b/cdn/CMakeLists.txt @@ -25,12 +25,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/AddCdnDomainResult.h include/alibabacloud/cdn/model/AddFCTriggerRequest.h include/alibabacloud/cdn/model/AddFCTriggerResult.h - include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h - include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h - include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h - include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h @@ -67,8 +63,6 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h include/alibabacloud/cdn/model/DeleteFCTriggerResult.h - include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h - include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h @@ -203,8 +197,6 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h - include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h - include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h @@ -245,14 +237,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeIpInfoResult.h include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h - include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h - include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h - include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h - include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h - include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h - include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h @@ -265,12 +251,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListRequest.h include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h @@ -297,8 +279,6 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h include/alibabacloud/cdn/model/DescribeUserConfigsResult.h - include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h - include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h include/alibabacloud/cdn/model/DescribeUserCustomerLabelsRequest.h include/alibabacloud/cdn/model/DescribeUserCustomerLabelsResult.h include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h @@ -420,12 +400,8 @@ set(cdn_src src/model/AddCdnDomainResult.cc src/model/AddFCTriggerRequest.cc src/model/AddFCTriggerResult.cc - src/model/AddLiveAppRecordConfigRequest.cc - src/model/AddLiveAppRecordConfigResult.cc src/model/BatchAddCdnDomainRequest.cc src/model/BatchAddCdnDomainResult.cc - src/model/BatchDeleteCdnDomainConfigRequest.cc - src/model/BatchDeleteCdnDomainConfigResult.cc src/model/BatchSetCdnDomainConfigRequest.cc src/model/BatchSetCdnDomainConfigResult.cc src/model/BatchSetCdnDomainServerCertificateRequest.cc @@ -462,8 +438,6 @@ set(cdn_src src/model/DeleteCdnSubTaskResult.cc src/model/DeleteFCTriggerRequest.cc src/model/DeleteFCTriggerResult.cc - src/model/DeleteHttpHeaderConfigRequest.cc - src/model/DeleteHttpHeaderConfigResult.cc src/model/DeleteRealtimeLogDeliveryRequest.cc src/model/DeleteRealtimeLogDeliveryResult.cc src/model/DeleteSpecificConfigRequest.cc @@ -598,8 +572,6 @@ set(cdn_src src/model/DescribeDomainRegionDataResult.cc src/model/DescribeDomainReqHitRateDataRequest.cc src/model/DescribeDomainReqHitRateDataResult.cc - src/model/DescribeDomainSlowRatioRequest.cc - src/model/DescribeDomainSlowRatioResult.cc src/model/DescribeDomainSrcBpsDataRequest.cc src/model/DescribeDomainSrcBpsDataResult.cc src/model/DescribeDomainSrcFlowDataRequest.cc @@ -640,14 +612,8 @@ set(cdn_src src/model/DescribeIpInfoResult.cc src/model/DescribeL2VipsByDomainRequest.cc src/model/DescribeL2VipsByDomainResult.cc - src/model/DescribeL2VipsByDynamicDomainRequest.cc - src/model/DescribeL2VipsByDynamicDomainResult.cc src/model/DescribeLivePullStreamConfigRequest.cc src/model/DescribeLivePullStreamConfigResult.cc - src/model/DescribeLiveRecordConfigRequest.cc - src/model/DescribeLiveRecordConfigResult.cc - src/model/DescribeLiveSnapshotConfigRequest.cc - src/model/DescribeLiveSnapshotConfigResult.cc src/model/DescribeLiveStreamBitRateDataRequest.cc src/model/DescribeLiveStreamBitRateDataResult.cc src/model/DescribeLiveStreamOnlineUserNumRequest.cc @@ -660,12 +626,8 @@ set(cdn_src src/model/DescribeLiveStreamRecordIndexFilesResult.cc src/model/DescribeLiveStreamSnapshotInfoRequest.cc src/model/DescribeLiveStreamSnapshotInfoResult.cc - src/model/DescribeLiveStreamTranscodeInfoRequest.cc - src/model/DescribeLiveStreamTranscodeInfoResult.cc src/model/DescribeLiveStreamsBlockListRequest.cc src/model/DescribeLiveStreamsBlockListResult.cc - src/model/DescribeLiveStreamsControlHistoryRequest.cc - src/model/DescribeLiveStreamsControlHistoryResult.cc src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc src/model/DescribeLiveStreamsOnlineListRequest.cc @@ -692,8 +654,6 @@ set(cdn_src src/model/DescribeUserCertificateExpireCountResult.cc src/model/DescribeUserConfigsRequest.cc src/model/DescribeUserConfigsResult.cc - src/model/DescribeUserCustomLogConfigRequest.cc - src/model/DescribeUserCustomLogConfigResult.cc src/model/DescribeUserCustomerLabelsRequest.cc src/model/DescribeUserCustomerLabelsResult.cc src/model/DescribeUserDomainsRequest.cc diff --git a/cdn/include/alibabacloud/cdn/CdnClient.h b/cdn/include/alibabacloud/cdn/CdnClient.h index a2946e1a9..d3d42ca6c 100644 --- a/cdn/include/alibabacloud/cdn/CdnClient.h +++ b/cdn/include/alibabacloud/cdn/CdnClient.h @@ -26,12 +26,8 @@ #include "model/AddCdnDomainResult.h" #include "model/AddFCTriggerRequest.h" #include "model/AddFCTriggerResult.h" -#include "model/AddLiveAppRecordConfigRequest.h" -#include "model/AddLiveAppRecordConfigResult.h" #include "model/BatchAddCdnDomainRequest.h" #include "model/BatchAddCdnDomainResult.h" -#include "model/BatchDeleteCdnDomainConfigRequest.h" -#include "model/BatchDeleteCdnDomainConfigResult.h" #include "model/BatchSetCdnDomainConfigRequest.h" #include "model/BatchSetCdnDomainConfigResult.h" #include "model/BatchSetCdnDomainServerCertificateRequest.h" @@ -68,8 +64,6 @@ #include "model/DeleteCdnSubTaskResult.h" #include "model/DeleteFCTriggerRequest.h" #include "model/DeleteFCTriggerResult.h" -#include "model/DeleteHttpHeaderConfigRequest.h" -#include "model/DeleteHttpHeaderConfigResult.h" #include "model/DeleteRealtimeLogDeliveryRequest.h" #include "model/DeleteRealtimeLogDeliveryResult.h" #include "model/DeleteSpecificConfigRequest.h" @@ -204,8 +198,6 @@ #include "model/DescribeDomainRegionDataResult.h" #include "model/DescribeDomainReqHitRateDataRequest.h" #include "model/DescribeDomainReqHitRateDataResult.h" -#include "model/DescribeDomainSlowRatioRequest.h" -#include "model/DescribeDomainSlowRatioResult.h" #include "model/DescribeDomainSrcBpsDataRequest.h" #include "model/DescribeDomainSrcBpsDataResult.h" #include "model/DescribeDomainSrcFlowDataRequest.h" @@ -246,14 +238,8 @@ #include "model/DescribeIpInfoResult.h" #include "model/DescribeL2VipsByDomainRequest.h" #include "model/DescribeL2VipsByDomainResult.h" -#include "model/DescribeL2VipsByDynamicDomainRequest.h" -#include "model/DescribeL2VipsByDynamicDomainResult.h" #include "model/DescribeLivePullStreamConfigRequest.h" #include "model/DescribeLivePullStreamConfigResult.h" -#include "model/DescribeLiveRecordConfigRequest.h" -#include "model/DescribeLiveRecordConfigResult.h" -#include "model/DescribeLiveSnapshotConfigRequest.h" -#include "model/DescribeLiveSnapshotConfigResult.h" #include "model/DescribeLiveStreamBitRateDataRequest.h" #include "model/DescribeLiveStreamBitRateDataResult.h" #include "model/DescribeLiveStreamOnlineUserNumRequest.h" @@ -266,12 +252,8 @@ #include "model/DescribeLiveStreamRecordIndexFilesResult.h" #include "model/DescribeLiveStreamSnapshotInfoRequest.h" #include "model/DescribeLiveStreamSnapshotInfoResult.h" -#include "model/DescribeLiveStreamTranscodeInfoRequest.h" -#include "model/DescribeLiveStreamTranscodeInfoResult.h" #include "model/DescribeLiveStreamsBlockListRequest.h" #include "model/DescribeLiveStreamsBlockListResult.h" -#include "model/DescribeLiveStreamsControlHistoryRequest.h" -#include "model/DescribeLiveStreamsControlHistoryResult.h" #include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h" #include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h" #include "model/DescribeLiveStreamsOnlineListRequest.h" @@ -298,8 +280,6 @@ #include "model/DescribeUserCertificateExpireCountResult.h" #include "model/DescribeUserConfigsRequest.h" #include "model/DescribeUserConfigsResult.h" -#include "model/DescribeUserCustomLogConfigRequest.h" -#include "model/DescribeUserCustomLogConfigResult.h" #include "model/DescribeUserCustomerLabelsRequest.h" #include "model/DescribeUserCustomerLabelsResult.h" #include "model/DescribeUserDomainsRequest.h" @@ -429,15 +409,9 @@ namespace AlibabaCloud typedef Outcome AddFCTriggerOutcome; typedef std::future AddFCTriggerOutcomeCallable; typedef std::function&)> AddFCTriggerAsyncHandler; - typedef Outcome AddLiveAppRecordConfigOutcome; - typedef std::future AddLiveAppRecordConfigOutcomeCallable; - typedef std::function&)> AddLiveAppRecordConfigAsyncHandler; typedef Outcome BatchAddCdnDomainOutcome; typedef std::future BatchAddCdnDomainOutcomeCallable; typedef std::function&)> BatchAddCdnDomainAsyncHandler; - typedef Outcome BatchDeleteCdnDomainConfigOutcome; - typedef std::future BatchDeleteCdnDomainConfigOutcomeCallable; - typedef std::function&)> BatchDeleteCdnDomainConfigAsyncHandler; typedef Outcome BatchSetCdnDomainConfigOutcome; typedef std::future BatchSetCdnDomainConfigOutcomeCallable; typedef std::function&)> BatchSetCdnDomainConfigAsyncHandler; @@ -492,9 +466,6 @@ namespace AlibabaCloud typedef Outcome DeleteFCTriggerOutcome; typedef std::future DeleteFCTriggerOutcomeCallable; typedef std::function&)> DeleteFCTriggerAsyncHandler; - typedef Outcome DeleteHttpHeaderConfigOutcome; - typedef std::future DeleteHttpHeaderConfigOutcomeCallable; - typedef std::function&)> DeleteHttpHeaderConfigAsyncHandler; typedef Outcome DeleteRealtimeLogDeliveryOutcome; typedef std::future DeleteRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> DeleteRealtimeLogDeliveryAsyncHandler; @@ -696,9 +667,6 @@ namespace AlibabaCloud typedef Outcome DescribeDomainReqHitRateDataOutcome; typedef std::future DescribeDomainReqHitRateDataOutcomeCallable; typedef std::function&)> DescribeDomainReqHitRateDataAsyncHandler; - typedef Outcome DescribeDomainSlowRatioOutcome; - typedef std::future DescribeDomainSlowRatioOutcomeCallable; - typedef std::function&)> DescribeDomainSlowRatioAsyncHandler; typedef Outcome DescribeDomainSrcBpsDataOutcome; typedef std::future DescribeDomainSrcBpsDataOutcomeCallable; typedef std::function&)> DescribeDomainSrcBpsDataAsyncHandler; @@ -759,18 +727,9 @@ namespace AlibabaCloud typedef Outcome DescribeL2VipsByDomainOutcome; typedef std::future DescribeL2VipsByDomainOutcomeCallable; typedef std::function&)> DescribeL2VipsByDomainAsyncHandler; - typedef Outcome DescribeL2VipsByDynamicDomainOutcome; - typedef std::future DescribeL2VipsByDynamicDomainOutcomeCallable; - typedef std::function&)> DescribeL2VipsByDynamicDomainAsyncHandler; typedef Outcome DescribeLivePullStreamConfigOutcome; typedef std::future DescribeLivePullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLivePullStreamConfigAsyncHandler; - typedef Outcome DescribeLiveRecordConfigOutcome; - typedef std::future DescribeLiveRecordConfigOutcomeCallable; - typedef std::function&)> DescribeLiveRecordConfigAsyncHandler; - typedef Outcome DescribeLiveSnapshotConfigOutcome; - typedef std::future DescribeLiveSnapshotConfigOutcomeCallable; - typedef std::function&)> DescribeLiveSnapshotConfigAsyncHandler; typedef Outcome DescribeLiveStreamBitRateDataOutcome; typedef std::future DescribeLiveStreamBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamBitRateDataAsyncHandler; @@ -789,15 +748,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveStreamSnapshotInfoOutcome; typedef std::future DescribeLiveStreamSnapshotInfoOutcomeCallable; typedef std::function&)> DescribeLiveStreamSnapshotInfoAsyncHandler; - typedef Outcome DescribeLiveStreamTranscodeInfoOutcome; - typedef std::future DescribeLiveStreamTranscodeInfoOutcomeCallable; - typedef std::function&)> DescribeLiveStreamTranscodeInfoAsyncHandler; typedef Outcome DescribeLiveStreamsBlockListOutcome; typedef std::future DescribeLiveStreamsBlockListOutcomeCallable; typedef std::function&)> DescribeLiveStreamsBlockListAsyncHandler; - typedef Outcome DescribeLiveStreamsControlHistoryOutcome; - typedef std::future DescribeLiveStreamsControlHistoryOutcomeCallable; - typedef std::function&)> DescribeLiveStreamsControlHistoryAsyncHandler; typedef Outcome DescribeLiveStreamsFrameRateAndBitRateDataOutcome; typedef std::future DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler; @@ -837,9 +790,6 @@ namespace AlibabaCloud typedef Outcome DescribeUserConfigsOutcome; typedef std::future DescribeUserConfigsOutcomeCallable; typedef std::function&)> DescribeUserConfigsAsyncHandler; - typedef Outcome DescribeUserCustomLogConfigOutcome; - typedef std::future DescribeUserCustomLogConfigOutcomeCallable; - typedef std::function&)> DescribeUserCustomLogConfigAsyncHandler; typedef Outcome DescribeUserCustomerLabelsOutcome; typedef std::future DescribeUserCustomerLabelsOutcomeCallable; typedef std::function&)> DescribeUserCustomerLabelsAsyncHandler; @@ -1022,15 +972,9 @@ namespace AlibabaCloud AddFCTriggerOutcome addFCTrigger(const Model::AddFCTriggerRequest &request)const; void addFCTriggerAsync(const Model::AddFCTriggerRequest& request, const AddFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddFCTriggerOutcomeCallable addFCTriggerCallable(const Model::AddFCTriggerRequest& request) const; - AddLiveAppRecordConfigOutcome addLiveAppRecordConfig(const Model::AddLiveAppRecordConfigRequest &request)const; - void addLiveAppRecordConfigAsync(const Model::AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddLiveAppRecordConfigOutcomeCallable addLiveAppRecordConfigCallable(const Model::AddLiveAppRecordConfigRequest& request) const; BatchAddCdnDomainOutcome batchAddCdnDomain(const Model::BatchAddCdnDomainRequest &request)const; void batchAddCdnDomainAsync(const Model::BatchAddCdnDomainRequest& request, const BatchAddCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchAddCdnDomainOutcomeCallable batchAddCdnDomainCallable(const Model::BatchAddCdnDomainRequest& request) const; - BatchDeleteCdnDomainConfigOutcome batchDeleteCdnDomainConfig(const Model::BatchDeleteCdnDomainConfigRequest &request)const; - void batchDeleteCdnDomainConfigAsync(const Model::BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - BatchDeleteCdnDomainConfigOutcomeCallable batchDeleteCdnDomainConfigCallable(const Model::BatchDeleteCdnDomainConfigRequest& request) const; BatchSetCdnDomainConfigOutcome batchSetCdnDomainConfig(const Model::BatchSetCdnDomainConfigRequest &request)const; void batchSetCdnDomainConfigAsync(const Model::BatchSetCdnDomainConfigRequest& request, const BatchSetCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchSetCdnDomainConfigOutcomeCallable batchSetCdnDomainConfigCallable(const Model::BatchSetCdnDomainConfigRequest& request) const; @@ -1085,9 +1029,6 @@ namespace AlibabaCloud DeleteFCTriggerOutcome deleteFCTrigger(const Model::DeleteFCTriggerRequest &request)const; void deleteFCTriggerAsync(const Model::DeleteFCTriggerRequest& request, const DeleteFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFCTriggerOutcomeCallable deleteFCTriggerCallable(const Model::DeleteFCTriggerRequest& request) const; - DeleteHttpHeaderConfigOutcome deleteHttpHeaderConfig(const Model::DeleteHttpHeaderConfigRequest &request)const; - void deleteHttpHeaderConfigAsync(const Model::DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteHttpHeaderConfigOutcomeCallable deleteHttpHeaderConfigCallable(const Model::DeleteHttpHeaderConfigRequest& request) const; DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const; void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const; @@ -1289,9 +1230,6 @@ namespace AlibabaCloud DescribeDomainReqHitRateDataOutcome describeDomainReqHitRateData(const Model::DescribeDomainReqHitRateDataRequest &request)const; void describeDomainReqHitRateDataAsync(const Model::DescribeDomainReqHitRateDataRequest& request, const DescribeDomainReqHitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainReqHitRateDataOutcomeCallable describeDomainReqHitRateDataCallable(const Model::DescribeDomainReqHitRateDataRequest& request) const; - DescribeDomainSlowRatioOutcome describeDomainSlowRatio(const Model::DescribeDomainSlowRatioRequest &request)const; - void describeDomainSlowRatioAsync(const Model::DescribeDomainSlowRatioRequest& request, const DescribeDomainSlowRatioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDomainSlowRatioOutcomeCallable describeDomainSlowRatioCallable(const Model::DescribeDomainSlowRatioRequest& request) const; DescribeDomainSrcBpsDataOutcome describeDomainSrcBpsData(const Model::DescribeDomainSrcBpsDataRequest &request)const; void describeDomainSrcBpsDataAsync(const Model::DescribeDomainSrcBpsDataRequest& request, const DescribeDomainSrcBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainSrcBpsDataOutcomeCallable describeDomainSrcBpsDataCallable(const Model::DescribeDomainSrcBpsDataRequest& request) const; @@ -1352,18 +1290,9 @@ namespace AlibabaCloud DescribeL2VipsByDomainOutcome describeL2VipsByDomain(const Model::DescribeL2VipsByDomainRequest &request)const; void describeL2VipsByDomainAsync(const Model::DescribeL2VipsByDomainRequest& request, const DescribeL2VipsByDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeL2VipsByDomainOutcomeCallable describeL2VipsByDomainCallable(const Model::DescribeL2VipsByDomainRequest& request) const; - DescribeL2VipsByDynamicDomainOutcome describeL2VipsByDynamicDomain(const Model::DescribeL2VipsByDynamicDomainRequest &request)const; - void describeL2VipsByDynamicDomainAsync(const Model::DescribeL2VipsByDynamicDomainRequest& request, const DescribeL2VipsByDynamicDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeL2VipsByDynamicDomainOutcomeCallable describeL2VipsByDynamicDomainCallable(const Model::DescribeL2VipsByDynamicDomainRequest& request) const; DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const; void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const; - DescribeLiveRecordConfigOutcome describeLiveRecordConfig(const Model::DescribeLiveRecordConfigRequest &request)const; - void describeLiveRecordConfigAsync(const Model::DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveRecordConfigOutcomeCallable describeLiveRecordConfigCallable(const Model::DescribeLiveRecordConfigRequest& request) const; - DescribeLiveSnapshotConfigOutcome describeLiveSnapshotConfig(const Model::DescribeLiveSnapshotConfigRequest &request)const; - void describeLiveSnapshotConfigAsync(const Model::DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveSnapshotConfigOutcomeCallable describeLiveSnapshotConfigCallable(const Model::DescribeLiveSnapshotConfigRequest& request) const; DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const; void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const; @@ -1382,15 +1311,9 @@ namespace AlibabaCloud DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const; void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamSnapshotInfoOutcomeCallable describeLiveStreamSnapshotInfoCallable(const Model::DescribeLiveStreamSnapshotInfoRequest& request) const; - DescribeLiveStreamTranscodeInfoOutcome describeLiveStreamTranscodeInfo(const Model::DescribeLiveStreamTranscodeInfoRequest &request)const; - void describeLiveStreamTranscodeInfoAsync(const Model::DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamTranscodeInfoOutcomeCallable describeLiveStreamTranscodeInfoCallable(const Model::DescribeLiveStreamTranscodeInfoRequest& request) const; DescribeLiveStreamsBlockListOutcome describeLiveStreamsBlockList(const Model::DescribeLiveStreamsBlockListRequest &request)const; void describeLiveStreamsBlockListAsync(const Model::DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsBlockListOutcomeCallable describeLiveStreamsBlockListCallable(const Model::DescribeLiveStreamsBlockListRequest& request) const; - DescribeLiveStreamsControlHistoryOutcome describeLiveStreamsControlHistory(const Model::DescribeLiveStreamsControlHistoryRequest &request)const; - void describeLiveStreamsControlHistoryAsync(const Model::DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamsControlHistoryOutcomeCallable describeLiveStreamsControlHistoryCallable(const Model::DescribeLiveStreamsControlHistoryRequest& request) const; DescribeLiveStreamsFrameRateAndBitRateDataOutcome describeLiveStreamsFrameRateAndBitRateData(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest &request)const; void describeLiveStreamsFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable describeLiveStreamsFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request) const; @@ -1430,9 +1353,6 @@ namespace AlibabaCloud DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const; void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const; - DescribeUserCustomLogConfigOutcome describeUserCustomLogConfig(const Model::DescribeUserCustomLogConfigRequest &request)const; - void describeUserCustomLogConfigAsync(const Model::DescribeUserCustomLogConfigRequest& request, const DescribeUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeUserCustomLogConfigOutcomeCallable describeUserCustomLogConfigCallable(const Model::DescribeUserCustomLogConfigRequest& request) const; DescribeUserCustomerLabelsOutcome describeUserCustomerLabels(const Model::DescribeUserCustomerLabelsRequest &request)const; void describeUserCustomerLabelsAsync(const Model::DescribeUserCustomerLabelsRequest& request, const DescribeUserCustomerLabelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserCustomerLabelsOutcomeCallable describeUserCustomerLabelsCallable(const Model::DescribeUserCustomerLabelsRequest& request) const; diff --git a/cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h b/cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h deleted file mode 100644 index 6667a3b6a..000000000 --- a/cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT AddLiveAppRecordConfigRequest : public RpcServiceRequest - { - - public: - AddLiveAppRecordConfigRequest(); - ~AddLiveAppRecordConfigRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOssObjectPrefix()const; - void setOssObjectPrefix(const std::string& ossObjectPrefix); - - private: - std::string ossEndpoint_; - std::string appName_; - std::string securityToken_; - std::string ossBucket_; - std::string domainName_; - long ownerId_; - std::string ossObjectPrefix_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h b/cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h deleted file mode 100644 index fc7db6739..000000000 --- a/cdn/include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT AddLiveAppRecordConfigResult : public ServiceResult - { - public: - - - AddLiveAppRecordConfigResult(); - explicit AddLiveAppRecordConfigResult(const std::string &payload); - ~AddLiveAppRecordConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h deleted file mode 100644 index 7ecc7ddeb..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest - { - - public: - BatchDeleteCdnDomainConfigRequest(); - ~BatchDeleteCdnDomainConfigRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functionNames_; - std::string domainNames_; - std::string ownerAccount_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h deleted file mode 100644 index 95ed602cf..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigResult : public ServiceResult - { - public: - - - BatchDeleteCdnDomainConfigResult(); - explicit BatchDeleteCdnDomainConfigResult(const std::string &payload); - ~BatchDeleteCdnDomainConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h deleted file mode 100644 index e83588968..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteHttpHeaderConfigRequest : public RpcServiceRequest - { - - public: - DeleteHttpHeaderConfigRequest(); - ~DeleteHttpHeaderConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getConfigID()const; - void setConfigID(const std::string& configID); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - std::string configID_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h deleted file mode 100644 index babb24813..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteHttpHeaderConfigResult : public ServiceResult - { - public: - - - DeleteHttpHeaderConfigResult(); - explicit DeleteHttpHeaderConfigResult(const std::string &payload); - ~DeleteHttpHeaderConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h deleted file mode 100644 index 597510e43..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIOREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainSlowRatioRequest : public RpcServiceRequest - { - - public: - DescribeDomainSlowRatioRequest(); - ~DescribeDomainSlowRatioRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - 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); - - private: - std::string startTime_; - int pageNumber_; - int pageSize_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIOREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h deleted file mode 100644 index 6d46797da..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIORESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainSlowRatioResult : public ServiceResult - { - public: - struct SlowRatioData - { - int slowUsers; - std::string ispNameEn; - std::string ispNameZh; - std::string time; - std::string regionNameEn; - int totalUsers; - float slowRatio; - std::string regionNameZh; - }; - - - DescribeDomainSlowRatioResult(); - explicit DescribeDomainSlowRatioResult(const std::string &payload); - ~DescribeDomainSlowRatioResult(); - int getTotalCount()const; - std::string getEndTime()const; - int getPageSize()const; - int getPageNumber()const; - int getDataInterval()const; - std::string getStartTime()const; - std::vector getSlowRatioDataPerInterval()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::string endTime_; - int pageSize_; - int pageNumber_; - int dataInterval_; - std::string startTime_; - std::vector slowRatioDataPerInterval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIORESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h deleted file mode 100644 index e4fe42a84..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeL2VipsByDynamicDomainRequest : public RpcServiceRequest - { - - public: - DescribeL2VipsByDynamicDomainRequest(); - ~DescribeL2VipsByDynamicDomainRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h deleted file mode 100644 index 72b1aab55..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeL2VipsByDynamicDomainResult : public ServiceResult - { - public: - - - DescribeL2VipsByDynamicDomainResult(); - explicit DescribeL2VipsByDynamicDomainResult(const std::string &payload); - ~DescribeL2VipsByDynamicDomainResult(); - std::string getDomainName()const; - std::vector getVips()const; - - protected: - void parse(const std::string &payload); - private: - std::string domainName_; - std::vector vips_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h deleted file mode 100644 index 302373503..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveRecordConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveRecordConfigRequest(); - ~DescribeLiveRecordConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h deleted file mode 100644 index 9d0daa367..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveRecordConfigResult : public ServiceResult - { - public: - struct LiveAppRecord - { - std::string ossEndpoint; - std::string domainName; - std::string createTime; - std::string ossBucket; - std::string ossObjectPrefix; - std::string appName; - }; - - - DescribeLiveRecordConfigResult(); - explicit DescribeLiveRecordConfigResult(const std::string &payload); - ~DescribeLiveRecordConfigResult(); - std::vector getLiveAppRecordList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector liveAppRecordList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h deleted file mode 100644 index 856820fc9..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveSnapshotConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveSnapshotConfigRequest(); - ~DescribeLiveSnapshotConfigRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOrder()const; - void setOrder(const std::string& order); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNum_; - std::string appName_; - std::string securityToken_; - int pageSize_; - std::string streamName_; - std::string order_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h deleted file mode 100644 index 32b6deff1..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveSnapshotConfigResult : public ServiceResult - { - public: - struct LiveStreamSnapshotConfig - { - std::string overwriteOssObject; - std::string sequenceOssObject; - int timeInterval; - std::string ossEndpoint; - std::string domainName; - std::string createTime; - std::string ossBucket; - std::string appName; - }; - - - DescribeLiveSnapshotConfigResult(); - explicit DescribeLiveSnapshotConfigResult(const std::string &payload); - ~DescribeLiveSnapshotConfigResult(); - std::string getOrder()const; - int getTotalNum()const; - int getPageNum()const; - int getPageSize()const; - int getTotalPage()const; - std::vector getLiveStreamSnapshotConfigList()const; - - protected: - void parse(const std::string &payload); - private: - std::string order_; - int totalNum_; - int pageNum_; - int pageSize_; - int totalPage_; - std::vector liveStreamSnapshotConfigList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h deleted file mode 100644 index 9879ae31b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamTranscodeInfoRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamTranscodeInfoRequest(); - ~DescribeLiveStreamTranscodeInfoRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomainTranscodeName()const; - void setDomainTranscodeName(const std::string& domainTranscodeName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - long ownerId_; - std::string domainTranscodeName_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h deleted file mode 100644 index f115aa107..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamTranscodeInfoResult : public ServiceResult - { - public: - struct DomainTranscodeInfo - { - std::string transcodeTemplate; - std::string transcodeRecord; - std::string transcodeId; - std::string transcodeSnapshot; - std::string transcodeApp; - std::string transcodeName; - }; - - - DescribeLiveStreamTranscodeInfoResult(); - explicit DescribeLiveStreamTranscodeInfoResult(const std::string &payload); - ~DescribeLiveStreamTranscodeInfoResult(); - std::vector getDomainTranscodeList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector domainTranscodeList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h deleted file mode 100644 index afc35d517..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsControlHistoryRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsControlHistoryRequest(); - ~DescribeLiveStreamsControlHistoryRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - 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); - - private: - std::string startTime_; - std::string appName_; - std::string securityToken_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h deleted file mode 100644 index 398bd968b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsControlHistoryResult : public ServiceResult - { - public: - struct LiveStreamControlInfo - { - std::string action; - std::string streamName; - std::string clientIP; - std::string timeStamp; - }; - - - DescribeLiveStreamsControlHistoryResult(); - explicit DescribeLiveStreamsControlHistoryResult(const std::string &payload); - ~DescribeLiveStreamsControlHistoryResult(); - std::vector getControlInfo()const; - - protected: - void parse(const std::string &payload); - private: - std::vector controlInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h deleted file mode 100644 index 44f58af96..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeUserCustomLogConfigRequest : public RpcServiceRequest - { - - public: - DescribeUserCustomLogConfigRequest(); - ~DescribeUserCustomLogConfigRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h deleted file mode 100644 index c9ca97768..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeUserCustomLogConfigResult : public ServiceResult - { - public: - - - DescribeUserCustomLogConfigResult(); - explicit DescribeUserCustomLogConfigResult(const std::string &payload); - ~DescribeUserCustomLogConfigResult(); - std::vector getConfigIds()const; - - protected: - void parse(const std::string &payload); - private: - std::vector configIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/src/CdnClient.cc b/cdn/src/CdnClient.cc index 65c608aa9..3d40ba40d 100644 --- a/cdn/src/CdnClient.cc +++ b/cdn/src/CdnClient.cc @@ -123,42 +123,6 @@ CdnClient::AddFCTriggerOutcomeCallable CdnClient::addFCTriggerCallable(const Add return task->get_future(); } -CdnClient::AddLiveAppRecordConfigOutcome CdnClient::addLiveAppRecordConfig(const AddLiveAppRecordConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddLiveAppRecordConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddLiveAppRecordConfigOutcome(AddLiveAppRecordConfigResult(outcome.result())); - else - return AddLiveAppRecordConfigOutcome(outcome.error()); -} - -void CdnClient::addLiveAppRecordConfigAsync(const AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addLiveAppRecordConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::AddLiveAppRecordConfigOutcomeCallable CdnClient::addLiveAppRecordConfigCallable(const AddLiveAppRecordConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addLiveAppRecordConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::BatchAddCdnDomainOutcome CdnClient::batchAddCdnDomain(const BatchAddCdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,42 +159,6 @@ CdnClient::BatchAddCdnDomainOutcomeCallable CdnClient::batchAddCdnDomainCallable return task->get_future(); } -CdnClient::BatchDeleteCdnDomainConfigOutcome CdnClient::batchDeleteCdnDomainConfig(const BatchDeleteCdnDomainConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BatchDeleteCdnDomainConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BatchDeleteCdnDomainConfigOutcome(BatchDeleteCdnDomainConfigResult(outcome.result())); - else - return BatchDeleteCdnDomainConfigOutcome(outcome.error()); -} - -void CdnClient::batchDeleteCdnDomainConfigAsync(const BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, batchDeleteCdnDomainConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::BatchDeleteCdnDomainConfigOutcomeCallable CdnClient::batchDeleteCdnDomainConfigCallable(const BatchDeleteCdnDomainConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->batchDeleteCdnDomainConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::BatchSetCdnDomainConfigOutcome CdnClient::batchSetCdnDomainConfig(const BatchSetCdnDomainConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,42 +807,6 @@ CdnClient::DeleteFCTriggerOutcomeCallable CdnClient::deleteFCTriggerCallable(con return task->get_future(); } -CdnClient::DeleteHttpHeaderConfigOutcome CdnClient::deleteHttpHeaderConfig(const DeleteHttpHeaderConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteHttpHeaderConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteHttpHeaderConfigOutcome(DeleteHttpHeaderConfigResult(outcome.result())); - else - return DeleteHttpHeaderConfigOutcome(outcome.error()); -} - -void CdnClient::deleteHttpHeaderConfigAsync(const DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteHttpHeaderConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DeleteHttpHeaderConfigOutcomeCallable CdnClient::deleteHttpHeaderConfigCallable(const DeleteHttpHeaderConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteHttpHeaderConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3327,42 +3219,6 @@ CdnClient::DescribeDomainReqHitRateDataOutcomeCallable CdnClient::describeDomain return task->get_future(); } -CdnClient::DescribeDomainSlowRatioOutcome CdnClient::describeDomainSlowRatio(const DescribeDomainSlowRatioRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDomainSlowRatioOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDomainSlowRatioOutcome(DescribeDomainSlowRatioResult(outcome.result())); - else - return DescribeDomainSlowRatioOutcome(outcome.error()); -} - -void CdnClient::describeDomainSlowRatioAsync(const DescribeDomainSlowRatioRequest& request, const DescribeDomainSlowRatioAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDomainSlowRatio(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeDomainSlowRatioOutcomeCallable CdnClient::describeDomainSlowRatioCallable(const DescribeDomainSlowRatioRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDomainSlowRatio(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DescribeDomainSrcBpsDataOutcome CdnClient::describeDomainSrcBpsData(const DescribeDomainSrcBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4083,42 +3939,6 @@ CdnClient::DescribeL2VipsByDomainOutcomeCallable CdnClient::describeL2VipsByDoma return task->get_future(); } -CdnClient::DescribeL2VipsByDynamicDomainOutcome CdnClient::describeL2VipsByDynamicDomain(const DescribeL2VipsByDynamicDomainRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeL2VipsByDynamicDomainOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeL2VipsByDynamicDomainOutcome(DescribeL2VipsByDynamicDomainResult(outcome.result())); - else - return DescribeL2VipsByDynamicDomainOutcome(outcome.error()); -} - -void CdnClient::describeL2VipsByDynamicDomainAsync(const DescribeL2VipsByDynamicDomainRequest& request, const DescribeL2VipsByDynamicDomainAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeL2VipsByDynamicDomain(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeL2VipsByDynamicDomainOutcomeCallable CdnClient::describeL2VipsByDynamicDomainCallable(const DescribeL2VipsByDynamicDomainRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeL2VipsByDynamicDomain(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DescribeLivePullStreamConfigOutcome CdnClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,78 +3975,6 @@ CdnClient::DescribeLivePullStreamConfigOutcomeCallable CdnClient::describeLivePu return task->get_future(); } -CdnClient::DescribeLiveRecordConfigOutcome CdnClient::describeLiveRecordConfig(const DescribeLiveRecordConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveRecordConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveRecordConfigOutcome(DescribeLiveRecordConfigResult(outcome.result())); - else - return DescribeLiveRecordConfigOutcome(outcome.error()); -} - -void CdnClient::describeLiveRecordConfigAsync(const DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveRecordConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveRecordConfigOutcomeCallable CdnClient::describeLiveRecordConfigCallable(const DescribeLiveRecordConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveRecordConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveSnapshotConfigOutcome CdnClient::describeLiveSnapshotConfig(const DescribeLiveSnapshotConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveSnapshotConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveSnapshotConfigOutcome(DescribeLiveSnapshotConfigResult(outcome.result())); - else - return DescribeLiveSnapshotConfigOutcome(outcome.error()); -} - -void CdnClient::describeLiveSnapshotConfigAsync(const DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveSnapshotConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveSnapshotConfigOutcomeCallable CdnClient::describeLiveSnapshotConfigCallable(const DescribeLiveSnapshotConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveSnapshotConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DescribeLiveStreamBitRateDataOutcome CdnClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4443,42 +4191,6 @@ CdnClient::DescribeLiveStreamSnapshotInfoOutcomeCallable CdnClient::describeLive return task->get_future(); } -CdnClient::DescribeLiveStreamTranscodeInfoOutcome CdnClient::describeLiveStreamTranscodeInfo(const DescribeLiveStreamTranscodeInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamTranscodeInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamTranscodeInfoOutcome(DescribeLiveStreamTranscodeInfoResult(outcome.result())); - else - return DescribeLiveStreamTranscodeInfoOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamTranscodeInfoAsync(const DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamTranscodeInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamTranscodeInfoOutcomeCallable CdnClient::describeLiveStreamTranscodeInfoCallable(const DescribeLiveStreamTranscodeInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamTranscodeInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DescribeLiveStreamsBlockListOutcome CdnClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,42 +4227,6 @@ CdnClient::DescribeLiveStreamsBlockListOutcomeCallable CdnClient::describeLiveSt return task->get_future(); } -CdnClient::DescribeLiveStreamsControlHistoryOutcome CdnClient::describeLiveStreamsControlHistory(const DescribeLiveStreamsControlHistoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamsControlHistoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamsControlHistoryOutcome(DescribeLiveStreamsControlHistoryResult(outcome.result())); - else - return DescribeLiveStreamsControlHistoryOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamsControlHistoryAsync(const DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamsControlHistory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamsControlHistoryOutcomeCallable CdnClient::describeLiveStreamsControlHistoryCallable(const DescribeLiveStreamsControlHistoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamsControlHistory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcome CdnClient::describeLiveStreamsFrameRateAndBitRateData(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5019,42 +4695,6 @@ CdnClient::DescribeUserConfigsOutcomeCallable CdnClient::describeUserConfigsCall return task->get_future(); } -CdnClient::DescribeUserCustomLogConfigOutcome CdnClient::describeUserCustomLogConfig(const DescribeUserCustomLogConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeUserCustomLogConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeUserCustomLogConfigOutcome(DescribeUserCustomLogConfigResult(outcome.result())); - else - return DescribeUserCustomLogConfigOutcome(outcome.error()); -} - -void CdnClient::describeUserCustomLogConfigAsync(const DescribeUserCustomLogConfigRequest& request, const DescribeUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeUserCustomLogConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeUserCustomLogConfigOutcomeCallable CdnClient::describeUserCustomLogConfigCallable(const DescribeUserCustomLogConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeUserCustomLogConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DescribeUserCustomerLabelsOutcome CdnClient::describeUserCustomerLabels(const DescribeUserCustomerLabelsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/cdn/src/model/AddLiveAppRecordConfigRequest.cc b/cdn/src/model/AddLiveAppRecordConfigRequest.cc deleted file mode 100644 index c4a1b9ade..000000000 --- a/cdn/src/model/AddLiveAppRecordConfigRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::AddLiveAppRecordConfigRequest; - -AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "AddLiveAppRecordConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() -{} - -std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; -} - -void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); -} - -std::string AddLiveAppRecordConfigRequest::getAppName()const -{ - return appName_; -} - -void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string AddLiveAppRecordConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string AddLiveAppRecordConfigRequest::getOssBucket()const -{ - return ossBucket_; -} - -void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); -} - -std::string AddLiveAppRecordConfigRequest::getDomainName()const -{ - return domainName_; -} - -void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long AddLiveAppRecordConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string AddLiveAppRecordConfigRequest::getOssObjectPrefix()const -{ - return ossObjectPrefix_; -} - -void AddLiveAppRecordConfigRequest::setOssObjectPrefix(const std::string& ossObjectPrefix) -{ - ossObjectPrefix_ = ossObjectPrefix; - setParameter("OssObjectPrefix", ossObjectPrefix); -} - diff --git a/cdn/src/model/AddLiveAppRecordConfigResult.cc b/cdn/src/model/AddLiveAppRecordConfigResult.cc deleted file mode 100644 index 88c5d012d..000000000 --- a/cdn/src/model/AddLiveAppRecordConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -AddLiveAppRecordConfigResult::AddLiveAppRecordConfigResult() : - ServiceResult() -{} - -AddLiveAppRecordConfigResult::AddLiveAppRecordConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddLiveAppRecordConfigResult::~AddLiveAppRecordConfigResult() -{} - -void AddLiveAppRecordConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc b/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc deleted file mode 100644 index 64930c11c..000000000 --- a/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest; - -BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "BatchDeleteCdnDomainConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchDeleteCdnDomainConfigRequest::~BatchDeleteCdnDomainConfigRequest() -{} - -std::string BatchDeleteCdnDomainConfigRequest::getFunctionNames()const -{ - return functionNames_; -} - -void BatchDeleteCdnDomainConfigRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); -} - -std::string BatchDeleteCdnDomainConfigRequest::getDomainNames()const -{ - return domainNames_; -} - -void BatchDeleteCdnDomainConfigRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); -} - -std::string BatchDeleteCdnDomainConfigRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void BatchDeleteCdnDomainConfigRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long BatchDeleteCdnDomainConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchDeleteCdnDomainConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string BatchDeleteCdnDomainConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchDeleteCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc b/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc deleted file mode 100644 index bb5c6f91a..000000000 --- a/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult() : - ServiceResult() -{} - -BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BatchDeleteCdnDomainConfigResult::~BatchDeleteCdnDomainConfigResult() -{} - -void BatchDeleteCdnDomainConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/DeleteHttpHeaderConfigRequest.cc b/cdn/src/model/DeleteHttpHeaderConfigRequest.cc deleted file mode 100644 index 8f7cde1eb..000000000 --- a/cdn/src/model/DeleteHttpHeaderConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteHttpHeaderConfigRequest; - -DeleteHttpHeaderConfigRequest::DeleteHttpHeaderConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DeleteHttpHeaderConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteHttpHeaderConfigRequest::~DeleteHttpHeaderConfigRequest() -{} - -std::string DeleteHttpHeaderConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteHttpHeaderConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteHttpHeaderConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteHttpHeaderConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteHttpHeaderConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteHttpHeaderConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteHttpHeaderConfigRequest::getConfigID()const -{ - return configID_; -} - -void DeleteHttpHeaderConfigRequest::setConfigID(const std::string& configID) -{ - configID_ = configID; - setParameter("ConfigID", configID); -} - diff --git a/cdn/src/model/DeleteHttpHeaderConfigResult.cc b/cdn/src/model/DeleteHttpHeaderConfigResult.cc deleted file mode 100644 index a2a726ed3..000000000 --- a/cdn/src/model/DeleteHttpHeaderConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DeleteHttpHeaderConfigResult::DeleteHttpHeaderConfigResult() : - ServiceResult() -{} - -DeleteHttpHeaderConfigResult::DeleteHttpHeaderConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteHttpHeaderConfigResult::~DeleteHttpHeaderConfigResult() -{} - -void DeleteHttpHeaderConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/DescribeDomainSlowRatioRequest.cc b/cdn/src/model/DescribeDomainSlowRatioRequest.cc deleted file mode 100644 index f07c21ce3..000000000 --- a/cdn/src/model/DescribeDomainSlowRatioRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeDomainSlowRatioRequest; - -DescribeDomainSlowRatioRequest::DescribeDomainSlowRatioRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainSlowRatio") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDomainSlowRatioRequest::~DescribeDomainSlowRatioRequest() -{} - -std::string DescribeDomainSlowRatioRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainSlowRatioRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -int DescribeDomainSlowRatioRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeDomainSlowRatioRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -int DescribeDomainSlowRatioRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeDomainSlowRatioRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeDomainSlowRatioRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainSlowRatioRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainSlowRatioRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainSlowRatioRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainSlowRatioRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainSlowRatioRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainSlowRatioResult.cc b/cdn/src/model/DescribeDomainSlowRatioResult.cc deleted file mode 100644 index 624e47962..000000000 --- a/cdn/src/model/DescribeDomainSlowRatioResult.cc +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeDomainSlowRatioResult::DescribeDomainSlowRatioResult() : - ServiceResult() -{} - -DescribeDomainSlowRatioResult::DescribeDomainSlowRatioResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDomainSlowRatioResult::~DescribeDomainSlowRatioResult() -{} - -void DescribeDomainSlowRatioResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSlowRatioDataPerIntervalNode = value["SlowRatioDataPerInterval"]["SlowRatioData"]; - for (auto valueSlowRatioDataPerIntervalSlowRatioData : allSlowRatioDataPerIntervalNode) - { - SlowRatioData slowRatioDataPerIntervalObject; - if(!valueSlowRatioDataPerIntervalSlowRatioData["TotalUsers"].isNull()) - slowRatioDataPerIntervalObject.totalUsers = std::stoi(valueSlowRatioDataPerIntervalSlowRatioData["TotalUsers"].asString()); - if(!valueSlowRatioDataPerIntervalSlowRatioData["SlowUsers"].isNull()) - slowRatioDataPerIntervalObject.slowUsers = std::stoi(valueSlowRatioDataPerIntervalSlowRatioData["SlowUsers"].asString()); - if(!valueSlowRatioDataPerIntervalSlowRatioData["SlowRatio"].isNull()) - slowRatioDataPerIntervalObject.slowRatio = std::stof(valueSlowRatioDataPerIntervalSlowRatioData["SlowRatio"].asString()); - if(!valueSlowRatioDataPerIntervalSlowRatioData["RegionNameZh"].isNull()) - slowRatioDataPerIntervalObject.regionNameZh = valueSlowRatioDataPerIntervalSlowRatioData["RegionNameZh"].asString(); - if(!valueSlowRatioDataPerIntervalSlowRatioData["RegionNameEn"].isNull()) - slowRatioDataPerIntervalObject.regionNameEn = valueSlowRatioDataPerIntervalSlowRatioData["RegionNameEn"].asString(); - if(!valueSlowRatioDataPerIntervalSlowRatioData["IspNameZh"].isNull()) - slowRatioDataPerIntervalObject.ispNameZh = valueSlowRatioDataPerIntervalSlowRatioData["IspNameZh"].asString(); - if(!valueSlowRatioDataPerIntervalSlowRatioData["IspNameEn"].isNull()) - slowRatioDataPerIntervalObject.ispNameEn = valueSlowRatioDataPerIntervalSlowRatioData["IspNameEn"].asString(); - if(!valueSlowRatioDataPerIntervalSlowRatioData["Time"].isNull()) - slowRatioDataPerIntervalObject.time = valueSlowRatioDataPerIntervalSlowRatioData["Time"].asString(); - slowRatioDataPerInterval_.push_back(slowRatioDataPerIntervalObject); - } - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = std::stoi(value["DataInterval"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - -} - -int DescribeDomainSlowRatioResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeDomainSlowRatioResult::getEndTime()const -{ - return endTime_; -} - -int DescribeDomainSlowRatioResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeDomainSlowRatioResult::getPageNumber()const -{ - return pageNumber_; -} - -int DescribeDomainSlowRatioResult::getDataInterval()const -{ - return dataInterval_; -} - -std::string DescribeDomainSlowRatioResult::getStartTime()const -{ - return startTime_; -} - -std::vector DescribeDomainSlowRatioResult::getSlowRatioDataPerInterval()const -{ - return slowRatioDataPerInterval_; -} - diff --git a/cdn/src/model/DescribeL2VipsByDynamicDomainRequest.cc b/cdn/src/model/DescribeL2VipsByDynamicDomainRequest.cc deleted file mode 100644 index 8594de7c0..000000000 --- a/cdn/src/model/DescribeL2VipsByDynamicDomainRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeL2VipsByDynamicDomainRequest; - -DescribeL2VipsByDynamicDomainRequest::DescribeL2VipsByDynamicDomainRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeL2VipsByDynamicDomain") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeL2VipsByDynamicDomainRequest::~DescribeL2VipsByDynamicDomainRequest() -{} - -std::string DescribeL2VipsByDynamicDomainRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeL2VipsByDynamicDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeL2VipsByDynamicDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeL2VipsByDynamicDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeL2VipsByDynamicDomainResult.cc b/cdn/src/model/DescribeL2VipsByDynamicDomainResult.cc deleted file mode 100644 index 6402afaac..000000000 --- a/cdn/src/model/DescribeL2VipsByDynamicDomainResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeL2VipsByDynamicDomainResult::DescribeL2VipsByDynamicDomainResult() : - ServiceResult() -{} - -DescribeL2VipsByDynamicDomainResult::DescribeL2VipsByDynamicDomainResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeL2VipsByDynamicDomainResult::~DescribeL2VipsByDynamicDomainResult() -{} - -void DescribeL2VipsByDynamicDomainResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allVips = value["Vips"]["Vip"]; - for (const auto &item : allVips) - vips_.push_back(item.asString()); - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - -} - -std::string DescribeL2VipsByDynamicDomainResult::getDomainName()const -{ - return domainName_; -} - -std::vector DescribeL2VipsByDynamicDomainResult::getVips()const -{ - return vips_; -} - diff --git a/cdn/src/model/DescribeLiveRecordConfigRequest.cc b/cdn/src/model/DescribeLiveRecordConfigRequest.cc deleted file mode 100644 index c4631cddb..000000000 --- a/cdn/src/model/DescribeLiveRecordConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveRecordConfigRequest; - -DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveRecordConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest() -{} - -std::string DescribeLiveRecordConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeLiveRecordConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveRecordConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeLiveRecordConfigResult.cc b/cdn/src/model/DescribeLiveRecordConfigResult.cc deleted file mode 100644 index 42d89abb0..000000000 --- a/cdn/src/model/DescribeLiveRecordConfigResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult() : - ServiceResult() -{} - -DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveRecordConfigResult::~DescribeLiveRecordConfigResult() -{} - -void DescribeLiveRecordConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLiveAppRecordListNode = value["LiveAppRecordList"]["LiveAppRecord"]; - for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode) - { - LiveAppRecord liveAppRecordListObject; - if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) - liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull()) - liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["OssEndpoint"].isNull()) - liveAppRecordListObject.ossEndpoint = valueLiveAppRecordListLiveAppRecord["OssEndpoint"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["OssBucket"].isNull()) - liveAppRecordListObject.ossBucket = valueLiveAppRecordListLiveAppRecord["OssBucket"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["OssObjectPrefix"].isNull()) - liveAppRecordListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecord["OssObjectPrefix"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["CreateTime"].isNull()) - liveAppRecordListObject.createTime = valueLiveAppRecordListLiveAppRecord["CreateTime"].asString(); - liveAppRecordList_.push_back(liveAppRecordListObject); - } - -} - -std::vector DescribeLiveRecordConfigResult::getLiveAppRecordList()const -{ - return liveAppRecordList_; -} - diff --git a/cdn/src/model/DescribeLiveSnapshotConfigRequest.cc b/cdn/src/model/DescribeLiveSnapshotConfigRequest.cc deleted file mode 100644 index 313438a3d..000000000 --- a/cdn/src/model/DescribeLiveSnapshotConfigRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveSnapshotConfigRequest; - -DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveSnapshotConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest() -{} - -int DescribeLiveSnapshotConfigRequest::getPageNum()const -{ - return pageNum_; -} - -void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -std::string DescribeLiveSnapshotConfigRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -int DescribeLiveSnapshotConfigRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeLiveSnapshotConfigRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveSnapshotConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveSnapshotConfigRequest::getOrder()const -{ - return order_; -} - -void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); -} - -std::string DescribeLiveSnapshotConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeLiveSnapshotConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveSnapshotConfigResult.cc b/cdn/src/model/DescribeLiveSnapshotConfigResult.cc deleted file mode 100644 index 9aa561cf8..000000000 --- a/cdn/src/model/DescribeLiveSnapshotConfigResult.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult() : - ServiceResult() -{} - -DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveSnapshotConfigResult::~DescribeLiveSnapshotConfigResult() -{} - -void DescribeLiveSnapshotConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLiveStreamSnapshotConfigListNode = value["LiveStreamSnapshotConfigList"]["LiveStreamSnapshotConfig"]; - for (auto valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig : allLiveStreamSnapshotConfigListNode) - { - LiveStreamSnapshotConfig liveStreamSnapshotConfigListObject; - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].isNull()) - liveStreamSnapshotConfigListObject.domainName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].isNull()) - liveStreamSnapshotConfigListObject.appName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].isNull()) - liveStreamSnapshotConfigListObject.timeInterval = std::stoi(valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].asString()); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].isNull()) - liveStreamSnapshotConfigListObject.ossEndpoint = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].isNull()) - liveStreamSnapshotConfigListObject.ossBucket = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].isNull()) - liveStreamSnapshotConfigListObject.overwriteOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].isNull()) - liveStreamSnapshotConfigListObject.sequenceOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].isNull()) - liveStreamSnapshotConfigListObject.createTime = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].asString(); - liveStreamSnapshotConfigList_.push_back(liveStreamSnapshotConfigListObject); - } - if(!value["PageNum"].isNull()) - pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["Order"].isNull()) - order_ = value["Order"].asString(); - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - -std::string DescribeLiveSnapshotConfigResult::getOrder()const -{ - return order_; -} - -int DescribeLiveSnapshotConfigResult::getTotalNum()const -{ - return totalNum_; -} - -int DescribeLiveSnapshotConfigResult::getPageNum()const -{ - return pageNum_; -} - -int DescribeLiveSnapshotConfigResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeLiveSnapshotConfigResult::getTotalPage()const -{ - return totalPage_; -} - -std::vector DescribeLiveSnapshotConfigResult::getLiveStreamSnapshotConfigList()const -{ - return liveStreamSnapshotConfigList_; -} - diff --git a/cdn/src/model/DescribeLiveStreamTranscodeInfoRequest.cc b/cdn/src/model/DescribeLiveStreamTranscodeInfoRequest.cc deleted file mode 100644 index f68e39454..000000000 --- a/cdn/src/model/DescribeLiveStreamTranscodeInfoRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamTranscodeInfoRequest; - -DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamTranscodeInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest() -{} - -long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const -{ - return domainTranscodeName_; -} - -void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string& domainTranscodeName) -{ - domainTranscodeName_ = domainTranscodeName; - setParameter("DomainTranscodeName", domainTranscodeName); -} - -std::string DescribeLiveStreamTranscodeInfoRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamTranscodeInfoRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeLiveStreamTranscodeInfoResult.cc b/cdn/src/model/DescribeLiveStreamTranscodeInfoResult.cc deleted file mode 100644 index 0d5cdd1dd..000000000 --- a/cdn/src/model/DescribeLiveStreamTranscodeInfoResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult() : - ServiceResult() -{} - -DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamTranscodeInfoResult::~DescribeLiveStreamTranscodeInfoResult() -{} - -void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDomainTranscodeListNode = value["DomainTranscodeList"]["DomainTranscodeInfo"]; - for (auto valueDomainTranscodeListDomainTranscodeInfo : allDomainTranscodeListNode) - { - DomainTranscodeInfo domainTranscodeListObject; - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].isNull()) - domainTranscodeListObject.transcodeApp = valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeId"].isNull()) - domainTranscodeListObject.transcodeId = valueDomainTranscodeListDomainTranscodeInfo["TranscodeId"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].isNull()) - domainTranscodeListObject.transcodeName = valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeRecord"].isNull()) - domainTranscodeListObject.transcodeRecord = valueDomainTranscodeListDomainTranscodeInfo["TranscodeRecord"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeSnapshot"].isNull()) - domainTranscodeListObject.transcodeSnapshot = valueDomainTranscodeListDomainTranscodeInfo["TranscodeSnapshot"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].isNull()) - domainTranscodeListObject.transcodeTemplate = valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].asString(); - domainTranscodeList_.push_back(domainTranscodeListObject); - } - -} - -std::vector DescribeLiveStreamTranscodeInfoResult::getDomainTranscodeList()const -{ - return domainTranscodeList_; -} - diff --git a/cdn/src/model/DescribeLiveStreamsControlHistoryRequest.cc b/cdn/src/model/DescribeLiveStreamsControlHistoryRequest.cc deleted file mode 100644 index 42dbeca19..000000000 --- a/cdn/src/model/DescribeLiveStreamsControlHistoryRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamsControlHistoryRequest; - -DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsControlHistory") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest() -{} - -std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamsControlHistoryRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamsControlHistoryRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamsControlHistoryResult.cc b/cdn/src/model/DescribeLiveStreamsControlHistoryResult.cc deleted file mode 100644 index b7b9f93e4..000000000 --- a/cdn/src/model/DescribeLiveStreamsControlHistoryResult.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult() : - ServiceResult() -{} - -DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamsControlHistoryResult::~DescribeLiveStreamsControlHistoryResult() -{} - -void DescribeLiveStreamsControlHistoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allControlInfoNode = value["ControlInfo"]["LiveStreamControlInfo"]; - for (auto valueControlInfoLiveStreamControlInfo : allControlInfoNode) - { - LiveStreamControlInfo controlInfoObject; - if(!valueControlInfoLiveStreamControlInfo["StreamName"].isNull()) - controlInfoObject.streamName = valueControlInfoLiveStreamControlInfo["StreamName"].asString(); - if(!valueControlInfoLiveStreamControlInfo["ClientIP"].isNull()) - controlInfoObject.clientIP = valueControlInfoLiveStreamControlInfo["ClientIP"].asString(); - if(!valueControlInfoLiveStreamControlInfo["Action"].isNull()) - controlInfoObject.action = valueControlInfoLiveStreamControlInfo["Action"].asString(); - if(!valueControlInfoLiveStreamControlInfo["TimeStamp"].isNull()) - controlInfoObject.timeStamp = valueControlInfoLiveStreamControlInfo["TimeStamp"].asString(); - controlInfo_.push_back(controlInfoObject); - } - -} - -std::vector DescribeLiveStreamsControlHistoryResult::getControlInfo()const -{ - return controlInfo_; -} - diff --git a/cdn/src/model/DescribeUserCustomLogConfigRequest.cc b/cdn/src/model/DescribeUserCustomLogConfigRequest.cc deleted file mode 100644 index 006310e78..000000000 --- a/cdn/src/model/DescribeUserCustomLogConfigRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeUserCustomLogConfigRequest; - -DescribeUserCustomLogConfigRequest::DescribeUserCustomLogConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeUserCustomLogConfig") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeUserCustomLogConfigRequest::~DescribeUserCustomLogConfigRequest() -{} - -long DescribeUserCustomLogConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeUserCustomLogConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeUserCustomLogConfigResult.cc b/cdn/src/model/DescribeUserCustomLogConfigResult.cc deleted file mode 100644 index 012c48d4d..000000000 --- a/cdn/src/model/DescribeUserCustomLogConfigResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeUserCustomLogConfigResult::DescribeUserCustomLogConfigResult() : - ServiceResult() -{} - -DescribeUserCustomLogConfigResult::DescribeUserCustomLogConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUserCustomLogConfigResult::~DescribeUserCustomLogConfigResult() -{} - -void DescribeUserCustomLogConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allConfigIds = value["ConfigIds"]["ConfigId"]; - for (const auto &item : allConfigIds) - configIds_.push_back(item.asString()); - -} - -std::vector DescribeUserCustomLogConfigResult::getConfigIds()const -{ - return configIds_; -} -