From 01a8086b8f7e6a9000bd61ff1e02c1bac1ab12e8 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 10 May 2021 02:41:10 +0000 Subject: [PATCH] Delete live API. --- CHANGELOG | 3 + VERSION | 2 +- cdn/CMakeLists.txt | 72 +- cdn/include/alibabacloud/cdn/CdnClient.h | 144 ++-- .../cdn/model/AddLiveStreamTranscodeRequest.h | 69 -- ...equest.h => CreateCdnDeliverTaskRequest.h} | 42 +- ...eResult.h => CreateCdnDeliverTaskResult.h} | 14 +- ...figRequest.h => CreateCdnSubTaskRequest.h} | 33 +- ...onfigResult.h => CreateCdnSubTaskResult.h} | 14 +- ...equest.h => DeleteCdnDeliverTaskRequest.h} | 21 +- ...gResult.h => DeleteCdnDeliverTaskResult.h} | 14 +- .../cdn/model/DeleteCdnSubTaskRequest.h | 48 ++ ...onfigResult.h => DeleteCdnSubTaskResult.h} | 14 +- .../cdn/model/DescribeCdnDeliverListRequest.h | 54 ++ .../cdn/model/DescribeCdnDeliverListResult.h | 51 ++ .../cdn/model/DescribeCdnReportListRequest.h | 57 ++ ...Result.h => DescribeCdnReportListResult.h} | 16 +- .../cdn/model/DescribeCdnReportRequest.h | 69 ++ ...nfigResult.h => DescribeCdnReportResult.h} | 16 +- ...gRequest.h => DescribeCdnSubListRequest.h} | 24 +- .../cdn/model/DescribeCdnSubListResult.h | 51 ++ .../model/DescribeEsExceptionDataRequest.h | 57 ++ .../cdn/model/DescribeEsExceptionDataResult.h | 57 ++ .../cdn/model/DescribeEsExecuteDataRequest.h | 57 ++ .../cdn/model/DescribeEsExecuteDataResult.h | 57 ++ .../cdn/model/UpdateCdnDeliverTaskRequest.h | 69 ++ .../cdn/model/UpdateCdnDeliverTaskResult.h | 49 ++ ...figRequest.h => UpdateCdnSubTaskRequest.h} | 33 +- .../cdn/model/UpdateCdnSubTaskResult.h | 49 ++ cdn/src/CdnClient.cc | 648 ++++++++++++------ .../model/AddLiveStreamTranscodeRequest.cc | 117 ---- cdn/src/model/CreateCdnDeliverTaskRequest.cc | 106 +++ ...esult.cc => CreateCdnDeliverTaskResult.cc} | 10 +- cdn/src/model/CreateCdnSubTaskRequest.cc | 95 +++ ...figResult.cc => CreateCdnSubTaskResult.cc} | 10 +- cdn/src/model/DeleteCdnDeliverTaskRequest.cc | 51 ++ ...esult.cc => DeleteCdnDeliverTaskResult.cc} | 10 +- cdn/src/model/DeleteCdnSubTaskRequest.cc | 40 ++ ...figResult.cc => DeleteCdnSubTaskResult.cc} | 10 +- .../model/DescribeCdnDeliverListRequest.cc | 62 ++ cdn/src/model/DescribeCdnDeliverListResult.cc | 51 ++ cdn/src/model/DescribeCdnReportListRequest.cc | 73 ++ cdn/src/model/DescribeCdnReportListResult.cc | 51 ++ cdn/src/model/DescribeCdnReportRequest.cc | 117 ++++ cdn/src/model/DescribeCdnReportResult.cc | 51 ++ cdn/src/model/DescribeCdnSubListRequest.cc | 51 ++ cdn/src/model/DescribeCdnSubListResult.cc | 51 ++ .../model/DescribeEsExceptionDataRequest.cc | 73 ++ .../model/DescribeEsExceptionDataResult.cc | 63 ++ cdn/src/model/DescribeEsExecuteDataRequest.cc | 73 ++ cdn/src/model/DescribeEsExecuteDataResult.cc | 63 ++ .../ModifyPathCacheExpiredConfigRequest.cc | 106 --- .../ModifyPathCacheExpiredConfigResult.cc | 44 -- .../model/ModifyUserCustomLogConfigRequest.cc | 62 -- .../model/ModifyUserCustomLogConfigResult.cc | 44 -- cdn/src/model/SetErrorPageConfigRequest.cc | 84 --- .../model/SetHttpErrorPageConfigRequest.cc | 84 --- cdn/src/model/SetVideoSeekConfigRequest.cc | 73 -- cdn/src/model/UpdateCdnDeliverTaskRequest.cc | 117 ++++ cdn/src/model/UpdateCdnDeliverTaskResult.cc | 44 ++ cdn/src/model/UpdateCdnSubTaskRequest.cc | 95 +++ cdn/src/model/UpdateCdnSubTaskResult.cc | 44 ++ 62 files changed, 2817 insertions(+), 1112 deletions(-) delete mode 100644 cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.h rename cdn/include/alibabacloud/cdn/model/{ModifyPathCacheExpiredConfigRequest.h => CreateCdnDeliverTaskRequest.h} (52%) rename cdn/include/alibabacloud/cdn/model/{AddLiveStreamTranscodeResult.h => CreateCdnDeliverTaskResult.h} (69%) rename cdn/include/alibabacloud/cdn/model/{SetHttpErrorPageConfigRequest.h => CreateCdnSubTaskRequest.h} (57%) rename cdn/include/alibabacloud/cdn/model/{SetErrorPageConfigResult.h => CreateCdnSubTaskResult.h} (70%) rename cdn/include/alibabacloud/cdn/model/{ModifyUserCustomLogConfigRequest.h => DeleteCdnDeliverTaskRequest.h} (61%) rename cdn/include/alibabacloud/cdn/model/{SetHttpErrorPageConfigResult.h => DeleteCdnDeliverTaskResult.h} (69%) create mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h rename cdn/include/alibabacloud/cdn/model/{SetVideoSeekConfigResult.h => DeleteCdnSubTaskResult.h} (70%) create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h rename cdn/include/alibabacloud/cdn/model/{ModifyPathCacheExpiredConfigResult.h => DescribeCdnReportListResult.h} (66%) create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h rename cdn/include/alibabacloud/cdn/model/{ModifyUserCustomLogConfigResult.h => DescribeCdnReportResult.h} (67%) rename cdn/include/alibabacloud/cdn/model/{SetVideoSeekConfigRequest.h => DescribeCdnSubListRequest.h} (58%) create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h create mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h create mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h create mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h rename cdn/include/alibabacloud/cdn/model/{SetErrorPageConfigRequest.h => UpdateCdnSubTaskRequest.h} (57%) create mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h delete mode 100644 cdn/src/model/AddLiveStreamTranscodeRequest.cc create mode 100644 cdn/src/model/CreateCdnDeliverTaskRequest.cc rename cdn/src/model/{AddLiveStreamTranscodeResult.cc => CreateCdnDeliverTaskResult.cc} (72%) create mode 100644 cdn/src/model/CreateCdnSubTaskRequest.cc rename cdn/src/model/{SetVideoSeekConfigResult.cc => CreateCdnSubTaskResult.cc} (74%) create mode 100644 cdn/src/model/DeleteCdnDeliverTaskRequest.cc rename cdn/src/model/{SetHttpErrorPageConfigResult.cc => DeleteCdnDeliverTaskResult.cc} (72%) create mode 100644 cdn/src/model/DeleteCdnSubTaskRequest.cc rename cdn/src/model/{SetErrorPageConfigResult.cc => DeleteCdnSubTaskResult.cc} (74%) create mode 100644 cdn/src/model/DescribeCdnDeliverListRequest.cc create mode 100644 cdn/src/model/DescribeCdnDeliverListResult.cc create mode 100644 cdn/src/model/DescribeCdnReportListRequest.cc create mode 100644 cdn/src/model/DescribeCdnReportListResult.cc create mode 100644 cdn/src/model/DescribeCdnReportRequest.cc create mode 100644 cdn/src/model/DescribeCdnReportResult.cc create mode 100644 cdn/src/model/DescribeCdnSubListRequest.cc create mode 100644 cdn/src/model/DescribeCdnSubListResult.cc create mode 100644 cdn/src/model/DescribeEsExceptionDataRequest.cc create mode 100644 cdn/src/model/DescribeEsExceptionDataResult.cc create mode 100644 cdn/src/model/DescribeEsExecuteDataRequest.cc create mode 100644 cdn/src/model/DescribeEsExecuteDataResult.cc delete mode 100644 cdn/src/model/ModifyPathCacheExpiredConfigRequest.cc delete mode 100644 cdn/src/model/ModifyPathCacheExpiredConfigResult.cc delete mode 100644 cdn/src/model/ModifyUserCustomLogConfigRequest.cc delete mode 100644 cdn/src/model/ModifyUserCustomLogConfigResult.cc delete mode 100644 cdn/src/model/SetErrorPageConfigRequest.cc delete mode 100644 cdn/src/model/SetHttpErrorPageConfigRequest.cc delete mode 100644 cdn/src/model/SetVideoSeekConfigRequest.cc create mode 100644 cdn/src/model/UpdateCdnDeliverTaskRequest.cc create mode 100644 cdn/src/model/UpdateCdnDeliverTaskResult.cc create mode 100644 cdn/src/model/UpdateCdnSubTaskRequest.cc create mode 100644 cdn/src/model/UpdateCdnSubTaskResult.cc diff --git a/CHANGELOG b/CHANGELOG index 8287d4c19..9fdd7c4cf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-05-10 Version: 1.36.720 +- Delete live API. + 2021-05-10 Version: 1.36.719 - Delete Api. diff --git a/VERSION b/VERSION index 28cfaa53b..cd4a9976c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.719 \ No newline at end of file +1.36.720 \ No newline at end of file diff --git a/cdn/CMakeLists.txt b/cdn/CMakeLists.txt index 03f38a713..45ae01e41 100644 --- a/cdn/CMakeLists.txt +++ b/cdn/CMakeLists.txt @@ -27,8 +27,6 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/AddFCTriggerResult.h include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h - include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.h - include/alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h @@ -45,6 +43,10 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h + include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h + include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h + include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h + include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h @@ -57,8 +59,12 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h include/alibabacloud/cdn/model/DeleteCacheExpiredConfigRequest.h include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h + include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h + include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h include/alibabacloud/cdn/model/DeleteCdnDomainResult.h + include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h + include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h include/alibabacloud/cdn/model/DeleteFCTriggerResult.h include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h @@ -79,6 +85,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h + include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h + include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h @@ -95,8 +103,14 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h + include/alibabacloud/cdn/model/DescribeCdnReportRequest.h + include/alibabacloud/cdn/model/DescribeCdnReportResult.h + include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h + include/alibabacloud/cdn/model/DescribeCdnReportListResult.h include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h include/alibabacloud/cdn/model/DescribeCdnServiceResult.h + include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h + include/alibabacloud/cdn/model/DescribeCdnSubListResult.h include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h include/alibabacloud/cdn/model/DescribeCdnTypesResult.h include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h @@ -219,6 +233,10 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeDomainsBySourceResult.h include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h + include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h + include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h + include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h + include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h include/alibabacloud/cdn/model/DescribeFCTriggerResult.h include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h @@ -317,12 +335,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigRequest.h include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h - include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigRequest.h - include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigResult.h include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h - include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h - include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h include/alibabacloud/cdn/model/OpenCdnServiceRequest.h include/alibabacloud/cdn/model/OpenCdnServiceResult.h include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h @@ -347,16 +361,12 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/SetDomainGreenManagerConfigResult.h include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h - include/alibabacloud/cdn/model/SetErrorPageConfigRequest.h - include/alibabacloud/cdn/model/SetErrorPageConfigResult.h include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h include/alibabacloud/cdn/model/SetForwardSchemeConfigResult.h - include/alibabacloud/cdn/model/SetHttpErrorPageConfigRequest.h - include/alibabacloud/cdn/model/SetHttpErrorPageConfigResult.h include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h @@ -385,8 +395,6 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h include/alibabacloud/cdn/model/SetSourceHostConfigResult.h - include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h - include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h include/alibabacloud/cdn/model/StartCdnDomainRequest.h @@ -397,6 +405,10 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/TagResourcesResult.h include/alibabacloud/cdn/model/UntagResourcesRequest.h include/alibabacloud/cdn/model/UntagResourcesResult.h + include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h + include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h + include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h + include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h include/alibabacloud/cdn/model/UpdateFCTriggerResult.h include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h @@ -410,8 +422,6 @@ set(cdn_src src/model/AddFCTriggerResult.cc src/model/AddLiveAppRecordConfigRequest.cc src/model/AddLiveAppRecordConfigResult.cc - src/model/AddLiveStreamTranscodeRequest.cc - src/model/AddLiveStreamTranscodeResult.cc src/model/BatchAddCdnDomainRequest.cc src/model/BatchAddCdnDomainResult.cc src/model/BatchDeleteCdnDomainConfigRequest.cc @@ -428,6 +438,10 @@ set(cdn_src src/model/BatchUpdateCdnDomainResult.cc src/model/CreateCdnCertificateSigningRequestRequest.cc src/model/CreateCdnCertificateSigningRequestResult.cc + src/model/CreateCdnDeliverTaskRequest.cc + src/model/CreateCdnDeliverTaskResult.cc + src/model/CreateCdnSubTaskRequest.cc + src/model/CreateCdnSubTaskResult.cc src/model/CreateIllegalUrlExportTaskRequest.cc src/model/CreateIllegalUrlExportTaskResult.cc src/model/CreateLiveStreamRecordIndexFilesRequest.cc @@ -440,8 +454,12 @@ set(cdn_src src/model/CreateUserUsageDataExportTaskResult.cc src/model/DeleteCacheExpiredConfigRequest.cc src/model/DeleteCacheExpiredConfigResult.cc + src/model/DeleteCdnDeliverTaskRequest.cc + src/model/DeleteCdnDeliverTaskResult.cc src/model/DeleteCdnDomainRequest.cc src/model/DeleteCdnDomainResult.cc + src/model/DeleteCdnSubTaskRequest.cc + src/model/DeleteCdnSubTaskResult.cc src/model/DeleteFCTriggerRequest.cc src/model/DeleteFCTriggerResult.cc src/model/DeleteHttpHeaderConfigRequest.cc @@ -462,6 +480,8 @@ set(cdn_src src/model/DescribeCdnCertificateDetailResult.cc src/model/DescribeCdnCertificateListRequest.cc src/model/DescribeCdnCertificateListResult.cc + src/model/DescribeCdnDeliverListRequest.cc + src/model/DescribeCdnDeliverListResult.cc src/model/DescribeCdnDomainByCertificateRequest.cc src/model/DescribeCdnDomainByCertificateResult.cc src/model/DescribeCdnDomainConfigsRequest.cc @@ -478,8 +498,14 @@ set(cdn_src src/model/DescribeCdnMonitorDataResult.cc src/model/DescribeCdnRegionAndIspRequest.cc src/model/DescribeCdnRegionAndIspResult.cc + src/model/DescribeCdnReportRequest.cc + src/model/DescribeCdnReportResult.cc + src/model/DescribeCdnReportListRequest.cc + src/model/DescribeCdnReportListResult.cc src/model/DescribeCdnServiceRequest.cc src/model/DescribeCdnServiceResult.cc + src/model/DescribeCdnSubListRequest.cc + src/model/DescribeCdnSubListResult.cc src/model/DescribeCdnTypesRequest.cc src/model/DescribeCdnTypesResult.cc src/model/DescribeCdnUserBillHistoryRequest.cc @@ -602,6 +628,10 @@ set(cdn_src src/model/DescribeDomainsBySourceResult.cc src/model/DescribeDomainsUsageByDayRequest.cc src/model/DescribeDomainsUsageByDayResult.cc + src/model/DescribeEsExceptionDataRequest.cc + src/model/DescribeEsExceptionDataResult.cc + src/model/DescribeEsExecuteDataRequest.cc + src/model/DescribeEsExecuteDataResult.cc src/model/DescribeFCTriggerRequest.cc src/model/DescribeFCTriggerResult.cc src/model/DescribeIllegalUrlExportTaskRequest.cc @@ -700,12 +730,8 @@ set(cdn_src src/model/ModifyCdnDomainSchdmByPropertyResult.cc src/model/ModifyDomainCustomLogConfigRequest.cc src/model/ModifyDomainCustomLogConfigResult.cc - src/model/ModifyPathCacheExpiredConfigRequest.cc - src/model/ModifyPathCacheExpiredConfigResult.cc src/model/ModifyRealtimeLogDeliveryRequest.cc src/model/ModifyRealtimeLogDeliveryResult.cc - src/model/ModifyUserCustomLogConfigRequest.cc - src/model/ModifyUserCustomLogConfigResult.cc src/model/OpenCdnServiceRequest.cc src/model/OpenCdnServiceResult.cc src/model/PublishStagingConfigToProductionRequest.cc @@ -730,16 +756,12 @@ set(cdn_src src/model/SetDomainGreenManagerConfigResult.cc src/model/SetDomainServerCertificateRequest.cc src/model/SetDomainServerCertificateResult.cc - src/model/SetErrorPageConfigRequest.cc - src/model/SetErrorPageConfigResult.cc src/model/SetFileCacheExpiredConfigRequest.cc src/model/SetFileCacheExpiredConfigResult.cc src/model/SetForceRedirectConfigRequest.cc src/model/SetForceRedirectConfigResult.cc src/model/SetForwardSchemeConfigRequest.cc src/model/SetForwardSchemeConfigResult.cc - src/model/SetHttpErrorPageConfigRequest.cc - src/model/SetHttpErrorPageConfigResult.cc src/model/SetHttpHeaderConfigRequest.cc src/model/SetHttpHeaderConfigResult.cc src/model/SetHttpsOptionConfigRequest.cc @@ -768,8 +790,6 @@ set(cdn_src src/model/SetReqHeaderConfigResult.cc src/model/SetSourceHostConfigRequest.cc src/model/SetSourceHostConfigResult.cc - src/model/SetVideoSeekConfigRequest.cc - src/model/SetVideoSeekConfigResult.cc src/model/SetWaitingRoomConfigRequest.cc src/model/SetWaitingRoomConfigResult.cc src/model/StartCdnDomainRequest.cc @@ -780,6 +800,10 @@ set(cdn_src src/model/TagResourcesResult.cc src/model/UntagResourcesRequest.cc src/model/UntagResourcesResult.cc + src/model/UpdateCdnDeliverTaskRequest.cc + src/model/UpdateCdnDeliverTaskResult.cc + src/model/UpdateCdnSubTaskRequest.cc + src/model/UpdateCdnSubTaskResult.cc src/model/UpdateFCTriggerRequest.cc src/model/UpdateFCTriggerResult.cc src/model/VerifyDomainOwnerRequest.cc diff --git a/cdn/include/alibabacloud/cdn/CdnClient.h b/cdn/include/alibabacloud/cdn/CdnClient.h index 5f85dbdc4..a2946e1a9 100644 --- a/cdn/include/alibabacloud/cdn/CdnClient.h +++ b/cdn/include/alibabacloud/cdn/CdnClient.h @@ -28,8 +28,6 @@ #include "model/AddFCTriggerResult.h" #include "model/AddLiveAppRecordConfigRequest.h" #include "model/AddLiveAppRecordConfigResult.h" -#include "model/AddLiveStreamTranscodeRequest.h" -#include "model/AddLiveStreamTranscodeResult.h" #include "model/BatchAddCdnDomainRequest.h" #include "model/BatchAddCdnDomainResult.h" #include "model/BatchDeleteCdnDomainConfigRequest.h" @@ -46,6 +44,10 @@ #include "model/BatchUpdateCdnDomainResult.h" #include "model/CreateCdnCertificateSigningRequestRequest.h" #include "model/CreateCdnCertificateSigningRequestResult.h" +#include "model/CreateCdnDeliverTaskRequest.h" +#include "model/CreateCdnDeliverTaskResult.h" +#include "model/CreateCdnSubTaskRequest.h" +#include "model/CreateCdnSubTaskResult.h" #include "model/CreateIllegalUrlExportTaskRequest.h" #include "model/CreateIllegalUrlExportTaskResult.h" #include "model/CreateLiveStreamRecordIndexFilesRequest.h" @@ -58,8 +60,12 @@ #include "model/CreateUserUsageDataExportTaskResult.h" #include "model/DeleteCacheExpiredConfigRequest.h" #include "model/DeleteCacheExpiredConfigResult.h" +#include "model/DeleteCdnDeliverTaskRequest.h" +#include "model/DeleteCdnDeliverTaskResult.h" #include "model/DeleteCdnDomainRequest.h" #include "model/DeleteCdnDomainResult.h" +#include "model/DeleteCdnSubTaskRequest.h" +#include "model/DeleteCdnSubTaskResult.h" #include "model/DeleteFCTriggerRequest.h" #include "model/DeleteFCTriggerResult.h" #include "model/DeleteHttpHeaderConfigRequest.h" @@ -80,6 +86,8 @@ #include "model/DescribeCdnCertificateDetailResult.h" #include "model/DescribeCdnCertificateListRequest.h" #include "model/DescribeCdnCertificateListResult.h" +#include "model/DescribeCdnDeliverListRequest.h" +#include "model/DescribeCdnDeliverListResult.h" #include "model/DescribeCdnDomainByCertificateRequest.h" #include "model/DescribeCdnDomainByCertificateResult.h" #include "model/DescribeCdnDomainConfigsRequest.h" @@ -96,8 +104,14 @@ #include "model/DescribeCdnMonitorDataResult.h" #include "model/DescribeCdnRegionAndIspRequest.h" #include "model/DescribeCdnRegionAndIspResult.h" +#include "model/DescribeCdnReportRequest.h" +#include "model/DescribeCdnReportResult.h" +#include "model/DescribeCdnReportListRequest.h" +#include "model/DescribeCdnReportListResult.h" #include "model/DescribeCdnServiceRequest.h" #include "model/DescribeCdnServiceResult.h" +#include "model/DescribeCdnSubListRequest.h" +#include "model/DescribeCdnSubListResult.h" #include "model/DescribeCdnTypesRequest.h" #include "model/DescribeCdnTypesResult.h" #include "model/DescribeCdnUserBillHistoryRequest.h" @@ -220,6 +234,10 @@ #include "model/DescribeDomainsBySourceResult.h" #include "model/DescribeDomainsUsageByDayRequest.h" #include "model/DescribeDomainsUsageByDayResult.h" +#include "model/DescribeEsExceptionDataRequest.h" +#include "model/DescribeEsExceptionDataResult.h" +#include "model/DescribeEsExecuteDataRequest.h" +#include "model/DescribeEsExecuteDataResult.h" #include "model/DescribeFCTriggerRequest.h" #include "model/DescribeFCTriggerResult.h" #include "model/DescribeIllegalUrlExportTaskRequest.h" @@ -318,12 +336,8 @@ #include "model/ModifyCdnDomainSchdmByPropertyResult.h" #include "model/ModifyDomainCustomLogConfigRequest.h" #include "model/ModifyDomainCustomLogConfigResult.h" -#include "model/ModifyPathCacheExpiredConfigRequest.h" -#include "model/ModifyPathCacheExpiredConfigResult.h" #include "model/ModifyRealtimeLogDeliveryRequest.h" #include "model/ModifyRealtimeLogDeliveryResult.h" -#include "model/ModifyUserCustomLogConfigRequest.h" -#include "model/ModifyUserCustomLogConfigResult.h" #include "model/OpenCdnServiceRequest.h" #include "model/OpenCdnServiceResult.h" #include "model/PublishStagingConfigToProductionRequest.h" @@ -348,16 +362,12 @@ #include "model/SetDomainGreenManagerConfigResult.h" #include "model/SetDomainServerCertificateRequest.h" #include "model/SetDomainServerCertificateResult.h" -#include "model/SetErrorPageConfigRequest.h" -#include "model/SetErrorPageConfigResult.h" #include "model/SetFileCacheExpiredConfigRequest.h" #include "model/SetFileCacheExpiredConfigResult.h" #include "model/SetForceRedirectConfigRequest.h" #include "model/SetForceRedirectConfigResult.h" #include "model/SetForwardSchemeConfigRequest.h" #include "model/SetForwardSchemeConfigResult.h" -#include "model/SetHttpErrorPageConfigRequest.h" -#include "model/SetHttpErrorPageConfigResult.h" #include "model/SetHttpHeaderConfigRequest.h" #include "model/SetHttpHeaderConfigResult.h" #include "model/SetHttpsOptionConfigRequest.h" @@ -386,8 +396,6 @@ #include "model/SetReqHeaderConfigResult.h" #include "model/SetSourceHostConfigRequest.h" #include "model/SetSourceHostConfigResult.h" -#include "model/SetVideoSeekConfigRequest.h" -#include "model/SetVideoSeekConfigResult.h" #include "model/SetWaitingRoomConfigRequest.h" #include "model/SetWaitingRoomConfigResult.h" #include "model/StartCdnDomainRequest.h" @@ -398,6 +406,10 @@ #include "model/TagResourcesResult.h" #include "model/UntagResourcesRequest.h" #include "model/UntagResourcesResult.h" +#include "model/UpdateCdnDeliverTaskRequest.h" +#include "model/UpdateCdnDeliverTaskResult.h" +#include "model/UpdateCdnSubTaskRequest.h" +#include "model/UpdateCdnSubTaskResult.h" #include "model/UpdateFCTriggerRequest.h" #include "model/UpdateFCTriggerResult.h" #include "model/VerifyDomainOwnerRequest.h" @@ -420,9 +432,6 @@ namespace AlibabaCloud typedef Outcome AddLiveAppRecordConfigOutcome; typedef std::future AddLiveAppRecordConfigOutcomeCallable; typedef std::function&)> AddLiveAppRecordConfigAsyncHandler; - typedef Outcome AddLiveStreamTranscodeOutcome; - typedef std::future AddLiveStreamTranscodeOutcomeCallable; - typedef std::function&)> AddLiveStreamTranscodeAsyncHandler; typedef Outcome BatchAddCdnDomainOutcome; typedef std::future BatchAddCdnDomainOutcomeCallable; typedef std::function&)> BatchAddCdnDomainAsyncHandler; @@ -447,6 +456,12 @@ namespace AlibabaCloud typedef Outcome CreateCdnCertificateSigningRequestOutcome; typedef std::future CreateCdnCertificateSigningRequestOutcomeCallable; typedef std::function&)> CreateCdnCertificateSigningRequestAsyncHandler; + typedef Outcome CreateCdnDeliverTaskOutcome; + typedef std::future CreateCdnDeliverTaskOutcomeCallable; + typedef std::function&)> CreateCdnDeliverTaskAsyncHandler; + typedef Outcome CreateCdnSubTaskOutcome; + typedef std::future CreateCdnSubTaskOutcomeCallable; + typedef std::function&)> CreateCdnSubTaskAsyncHandler; typedef Outcome CreateIllegalUrlExportTaskOutcome; typedef std::future CreateIllegalUrlExportTaskOutcomeCallable; typedef std::function&)> CreateIllegalUrlExportTaskAsyncHandler; @@ -465,9 +480,15 @@ namespace AlibabaCloud typedef Outcome DeleteCacheExpiredConfigOutcome; typedef std::future DeleteCacheExpiredConfigOutcomeCallable; typedef std::function&)> DeleteCacheExpiredConfigAsyncHandler; + typedef Outcome DeleteCdnDeliverTaskOutcome; + typedef std::future DeleteCdnDeliverTaskOutcomeCallable; + typedef std::function&)> DeleteCdnDeliverTaskAsyncHandler; typedef Outcome DeleteCdnDomainOutcome; typedef std::future DeleteCdnDomainOutcomeCallable; typedef std::function&)> DeleteCdnDomainAsyncHandler; + typedef Outcome DeleteCdnSubTaskOutcome; + typedef std::future DeleteCdnSubTaskOutcomeCallable; + typedef std::function&)> DeleteCdnSubTaskAsyncHandler; typedef Outcome DeleteFCTriggerOutcome; typedef std::future DeleteFCTriggerOutcomeCallable; typedef std::function&)> DeleteFCTriggerAsyncHandler; @@ -498,6 +519,9 @@ namespace AlibabaCloud typedef Outcome DescribeCdnCertificateListOutcome; typedef std::future DescribeCdnCertificateListOutcomeCallable; typedef std::function&)> DescribeCdnCertificateListAsyncHandler; + typedef Outcome DescribeCdnDeliverListOutcome; + typedef std::future DescribeCdnDeliverListOutcomeCallable; + typedef std::function&)> DescribeCdnDeliverListAsyncHandler; typedef Outcome DescribeCdnDomainByCertificateOutcome; typedef std::future DescribeCdnDomainByCertificateOutcomeCallable; typedef std::function&)> DescribeCdnDomainByCertificateAsyncHandler; @@ -522,9 +546,18 @@ namespace AlibabaCloud typedef Outcome DescribeCdnRegionAndIspOutcome; typedef std::future DescribeCdnRegionAndIspOutcomeCallable; typedef std::function&)> DescribeCdnRegionAndIspAsyncHandler; + typedef Outcome DescribeCdnReportOutcome; + typedef std::future DescribeCdnReportOutcomeCallable; + typedef std::function&)> DescribeCdnReportAsyncHandler; + typedef Outcome DescribeCdnReportListOutcome; + typedef std::future DescribeCdnReportListOutcomeCallable; + typedef std::function&)> DescribeCdnReportListAsyncHandler; typedef Outcome DescribeCdnServiceOutcome; typedef std::future DescribeCdnServiceOutcomeCallable; typedef std::function&)> DescribeCdnServiceAsyncHandler; + typedef Outcome DescribeCdnSubListOutcome; + typedef std::future DescribeCdnSubListOutcomeCallable; + typedef std::function&)> DescribeCdnSubListAsyncHandler; typedef Outcome DescribeCdnTypesOutcome; typedef std::future DescribeCdnTypesOutcomeCallable; typedef std::function&)> DescribeCdnTypesAsyncHandler; @@ -708,6 +741,12 @@ namespace AlibabaCloud typedef Outcome DescribeDomainsUsageByDayOutcome; typedef std::future DescribeDomainsUsageByDayOutcomeCallable; typedef std::function&)> DescribeDomainsUsageByDayAsyncHandler; + typedef Outcome DescribeEsExceptionDataOutcome; + typedef std::future DescribeEsExceptionDataOutcomeCallable; + typedef std::function&)> DescribeEsExceptionDataAsyncHandler; + typedef Outcome DescribeEsExecuteDataOutcome; + typedef std::future DescribeEsExecuteDataOutcomeCallable; + typedef std::function&)> DescribeEsExecuteDataAsyncHandler; typedef Outcome DescribeFCTriggerOutcome; typedef std::future DescribeFCTriggerOutcomeCallable; typedef std::function&)> DescribeFCTriggerAsyncHandler; @@ -855,15 +894,9 @@ namespace AlibabaCloud typedef Outcome ModifyDomainCustomLogConfigOutcome; typedef std::future ModifyDomainCustomLogConfigOutcomeCallable; typedef std::function&)> ModifyDomainCustomLogConfigAsyncHandler; - typedef Outcome ModifyPathCacheExpiredConfigOutcome; - typedef std::future ModifyPathCacheExpiredConfigOutcomeCallable; - typedef std::function&)> ModifyPathCacheExpiredConfigAsyncHandler; typedef Outcome ModifyRealtimeLogDeliveryOutcome; typedef std::future ModifyRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> ModifyRealtimeLogDeliveryAsyncHandler; - typedef Outcome ModifyUserCustomLogConfigOutcome; - typedef std::future ModifyUserCustomLogConfigOutcomeCallable; - typedef std::function&)> ModifyUserCustomLogConfigAsyncHandler; typedef Outcome OpenCdnServiceOutcome; typedef std::future OpenCdnServiceOutcomeCallable; typedef std::function&)> OpenCdnServiceAsyncHandler; @@ -900,9 +933,6 @@ namespace AlibabaCloud typedef Outcome SetDomainServerCertificateOutcome; typedef std::future SetDomainServerCertificateOutcomeCallable; typedef std::function&)> SetDomainServerCertificateAsyncHandler; - typedef Outcome SetErrorPageConfigOutcome; - typedef std::future SetErrorPageConfigOutcomeCallable; - typedef std::function&)> SetErrorPageConfigAsyncHandler; typedef Outcome SetFileCacheExpiredConfigOutcome; typedef std::future SetFileCacheExpiredConfigOutcomeCallable; typedef std::function&)> SetFileCacheExpiredConfigAsyncHandler; @@ -912,9 +942,6 @@ namespace AlibabaCloud typedef Outcome SetForwardSchemeConfigOutcome; typedef std::future SetForwardSchemeConfigOutcomeCallable; typedef std::function&)> SetForwardSchemeConfigAsyncHandler; - typedef Outcome SetHttpErrorPageConfigOutcome; - typedef std::future SetHttpErrorPageConfigOutcomeCallable; - typedef std::function&)> SetHttpErrorPageConfigAsyncHandler; typedef Outcome SetHttpHeaderConfigOutcome; typedef std::future SetHttpHeaderConfigOutcomeCallable; typedef std::function&)> SetHttpHeaderConfigAsyncHandler; @@ -957,9 +984,6 @@ namespace AlibabaCloud typedef Outcome SetSourceHostConfigOutcome; typedef std::future SetSourceHostConfigOutcomeCallable; typedef std::function&)> SetSourceHostConfigAsyncHandler; - typedef Outcome SetVideoSeekConfigOutcome; - typedef std::future SetVideoSeekConfigOutcomeCallable; - typedef std::function&)> SetVideoSeekConfigAsyncHandler; typedef Outcome SetWaitingRoomConfigOutcome; typedef std::future SetWaitingRoomConfigOutcomeCallable; typedef std::function&)> SetWaitingRoomConfigAsyncHandler; @@ -975,6 +999,12 @@ namespace AlibabaCloud typedef Outcome UntagResourcesOutcome; typedef std::future UntagResourcesOutcomeCallable; typedef std::function&)> UntagResourcesAsyncHandler; + typedef Outcome UpdateCdnDeliverTaskOutcome; + typedef std::future UpdateCdnDeliverTaskOutcomeCallable; + typedef std::function&)> UpdateCdnDeliverTaskAsyncHandler; + typedef Outcome UpdateCdnSubTaskOutcome; + typedef std::future UpdateCdnSubTaskOutcomeCallable; + typedef std::function&)> UpdateCdnSubTaskAsyncHandler; typedef Outcome UpdateFCTriggerOutcome; typedef std::future UpdateFCTriggerOutcomeCallable; typedef std::function&)> UpdateFCTriggerAsyncHandler; @@ -995,9 +1025,6 @@ namespace AlibabaCloud 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; - AddLiveStreamTranscodeOutcome addLiveStreamTranscode(const Model::AddLiveStreamTranscodeRequest &request)const; - void addLiveStreamTranscodeAsync(const Model::AddLiveStreamTranscodeRequest& request, const AddLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddLiveStreamTranscodeOutcomeCallable addLiveStreamTranscodeCallable(const Model::AddLiveStreamTranscodeRequest& 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; @@ -1022,6 +1049,12 @@ namespace AlibabaCloud CreateCdnCertificateSigningRequestOutcome createCdnCertificateSigningRequest(const Model::CreateCdnCertificateSigningRequestRequest &request)const; void createCdnCertificateSigningRequestAsync(const Model::CreateCdnCertificateSigningRequestRequest& request, const CreateCdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateCdnCertificateSigningRequestOutcomeCallable createCdnCertificateSigningRequestCallable(const Model::CreateCdnCertificateSigningRequestRequest& request) const; + CreateCdnDeliverTaskOutcome createCdnDeliverTask(const Model::CreateCdnDeliverTaskRequest &request)const; + void createCdnDeliverTaskAsync(const Model::CreateCdnDeliverTaskRequest& request, const CreateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdnDeliverTaskOutcomeCallable createCdnDeliverTaskCallable(const Model::CreateCdnDeliverTaskRequest& request) const; + CreateCdnSubTaskOutcome createCdnSubTask(const Model::CreateCdnSubTaskRequest &request)const; + void createCdnSubTaskAsync(const Model::CreateCdnSubTaskRequest& request, const CreateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdnSubTaskOutcomeCallable createCdnSubTaskCallable(const Model::CreateCdnSubTaskRequest& request) const; CreateIllegalUrlExportTaskOutcome createIllegalUrlExportTask(const Model::CreateIllegalUrlExportTaskRequest &request)const; void createIllegalUrlExportTaskAsync(const Model::CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateIllegalUrlExportTaskOutcomeCallable createIllegalUrlExportTaskCallable(const Model::CreateIllegalUrlExportTaskRequest& request) const; @@ -1040,9 +1073,15 @@ namespace AlibabaCloud DeleteCacheExpiredConfigOutcome deleteCacheExpiredConfig(const Model::DeleteCacheExpiredConfigRequest &request)const; void deleteCacheExpiredConfigAsync(const Model::DeleteCacheExpiredConfigRequest& request, const DeleteCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteCacheExpiredConfigOutcomeCallable deleteCacheExpiredConfigCallable(const Model::DeleteCacheExpiredConfigRequest& request) const; + DeleteCdnDeliverTaskOutcome deleteCdnDeliverTask(const Model::DeleteCdnDeliverTaskRequest &request)const; + void deleteCdnDeliverTaskAsync(const Model::DeleteCdnDeliverTaskRequest& request, const DeleteCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCdnDeliverTaskOutcomeCallable deleteCdnDeliverTaskCallable(const Model::DeleteCdnDeliverTaskRequest& request) const; DeleteCdnDomainOutcome deleteCdnDomain(const Model::DeleteCdnDomainRequest &request)const; void deleteCdnDomainAsync(const Model::DeleteCdnDomainRequest& request, const DeleteCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteCdnDomainOutcomeCallable deleteCdnDomainCallable(const Model::DeleteCdnDomainRequest& request) const; + DeleteCdnSubTaskOutcome deleteCdnSubTask(const Model::DeleteCdnSubTaskRequest &request)const; + void deleteCdnSubTaskAsync(const Model::DeleteCdnSubTaskRequest& request, const DeleteCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCdnSubTaskOutcomeCallable deleteCdnSubTaskCallable(const Model::DeleteCdnSubTaskRequest& request) const; 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; @@ -1073,6 +1112,9 @@ namespace AlibabaCloud DescribeCdnCertificateListOutcome describeCdnCertificateList(const Model::DescribeCdnCertificateListRequest &request)const; void describeCdnCertificateListAsync(const Model::DescribeCdnCertificateListRequest& request, const DescribeCdnCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnCertificateListOutcomeCallable describeCdnCertificateListCallable(const Model::DescribeCdnCertificateListRequest& request) const; + DescribeCdnDeliverListOutcome describeCdnDeliverList(const Model::DescribeCdnDeliverListRequest &request)const; + void describeCdnDeliverListAsync(const Model::DescribeCdnDeliverListRequest& request, const DescribeCdnDeliverListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnDeliverListOutcomeCallable describeCdnDeliverListCallable(const Model::DescribeCdnDeliverListRequest& request) const; DescribeCdnDomainByCertificateOutcome describeCdnDomainByCertificate(const Model::DescribeCdnDomainByCertificateRequest &request)const; void describeCdnDomainByCertificateAsync(const Model::DescribeCdnDomainByCertificateRequest& request, const DescribeCdnDomainByCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnDomainByCertificateOutcomeCallable describeCdnDomainByCertificateCallable(const Model::DescribeCdnDomainByCertificateRequest& request) const; @@ -1097,9 +1139,18 @@ namespace AlibabaCloud DescribeCdnRegionAndIspOutcome describeCdnRegionAndIsp(const Model::DescribeCdnRegionAndIspRequest &request)const; void describeCdnRegionAndIspAsync(const Model::DescribeCdnRegionAndIspRequest& request, const DescribeCdnRegionAndIspAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnRegionAndIspOutcomeCallable describeCdnRegionAndIspCallable(const Model::DescribeCdnRegionAndIspRequest& request) const; + DescribeCdnReportOutcome describeCdnReport(const Model::DescribeCdnReportRequest &request)const; + void describeCdnReportAsync(const Model::DescribeCdnReportRequest& request, const DescribeCdnReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnReportOutcomeCallable describeCdnReportCallable(const Model::DescribeCdnReportRequest& request) const; + DescribeCdnReportListOutcome describeCdnReportList(const Model::DescribeCdnReportListRequest &request)const; + void describeCdnReportListAsync(const Model::DescribeCdnReportListRequest& request, const DescribeCdnReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnReportListOutcomeCallable describeCdnReportListCallable(const Model::DescribeCdnReportListRequest& request) const; DescribeCdnServiceOutcome describeCdnService(const Model::DescribeCdnServiceRequest &request)const; void describeCdnServiceAsync(const Model::DescribeCdnServiceRequest& request, const DescribeCdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnServiceOutcomeCallable describeCdnServiceCallable(const Model::DescribeCdnServiceRequest& request) const; + DescribeCdnSubListOutcome describeCdnSubList(const Model::DescribeCdnSubListRequest &request)const; + void describeCdnSubListAsync(const Model::DescribeCdnSubListRequest& request, const DescribeCdnSubListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnSubListOutcomeCallable describeCdnSubListCallable(const Model::DescribeCdnSubListRequest& request) const; DescribeCdnTypesOutcome describeCdnTypes(const Model::DescribeCdnTypesRequest &request)const; void describeCdnTypesAsync(const Model::DescribeCdnTypesRequest& request, const DescribeCdnTypesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnTypesOutcomeCallable describeCdnTypesCallable(const Model::DescribeCdnTypesRequest& request) const; @@ -1283,6 +1334,12 @@ namespace AlibabaCloud DescribeDomainsUsageByDayOutcome describeDomainsUsageByDay(const Model::DescribeDomainsUsageByDayRequest &request)const; void describeDomainsUsageByDayAsync(const Model::DescribeDomainsUsageByDayRequest& request, const DescribeDomainsUsageByDayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainsUsageByDayOutcomeCallable describeDomainsUsageByDayCallable(const Model::DescribeDomainsUsageByDayRequest& request) const; + DescribeEsExceptionDataOutcome describeEsExceptionData(const Model::DescribeEsExceptionDataRequest &request)const; + void describeEsExceptionDataAsync(const Model::DescribeEsExceptionDataRequest& request, const DescribeEsExceptionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEsExceptionDataOutcomeCallable describeEsExceptionDataCallable(const Model::DescribeEsExceptionDataRequest& request) const; + DescribeEsExecuteDataOutcome describeEsExecuteData(const Model::DescribeEsExecuteDataRequest &request)const; + void describeEsExecuteDataAsync(const Model::DescribeEsExecuteDataRequest& request, const DescribeEsExecuteDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEsExecuteDataOutcomeCallable describeEsExecuteDataCallable(const Model::DescribeEsExecuteDataRequest& request) const; DescribeFCTriggerOutcome describeFCTrigger(const Model::DescribeFCTriggerRequest &request)const; void describeFCTriggerAsync(const Model::DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFCTriggerOutcomeCallable describeFCTriggerCallable(const Model::DescribeFCTriggerRequest& request) const; @@ -1430,15 +1487,9 @@ namespace AlibabaCloud ModifyDomainCustomLogConfigOutcome modifyDomainCustomLogConfig(const Model::ModifyDomainCustomLogConfigRequest &request)const; void modifyDomainCustomLogConfigAsync(const Model::ModifyDomainCustomLogConfigRequest& request, const ModifyDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDomainCustomLogConfigOutcomeCallable modifyDomainCustomLogConfigCallable(const Model::ModifyDomainCustomLogConfigRequest& request) const; - ModifyPathCacheExpiredConfigOutcome modifyPathCacheExpiredConfig(const Model::ModifyPathCacheExpiredConfigRequest &request)const; - void modifyPathCacheExpiredConfigAsync(const Model::ModifyPathCacheExpiredConfigRequest& request, const ModifyPathCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyPathCacheExpiredConfigOutcomeCallable modifyPathCacheExpiredConfigCallable(const Model::ModifyPathCacheExpiredConfigRequest& request) const; ModifyRealtimeLogDeliveryOutcome modifyRealtimeLogDelivery(const Model::ModifyRealtimeLogDeliveryRequest &request)const; void modifyRealtimeLogDeliveryAsync(const Model::ModifyRealtimeLogDeliveryRequest& request, const ModifyRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyRealtimeLogDeliveryOutcomeCallable modifyRealtimeLogDeliveryCallable(const Model::ModifyRealtimeLogDeliveryRequest& request) const; - ModifyUserCustomLogConfigOutcome modifyUserCustomLogConfig(const Model::ModifyUserCustomLogConfigRequest &request)const; - void modifyUserCustomLogConfigAsync(const Model::ModifyUserCustomLogConfigRequest& request, const ModifyUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyUserCustomLogConfigOutcomeCallable modifyUserCustomLogConfigCallable(const Model::ModifyUserCustomLogConfigRequest& request) const; OpenCdnServiceOutcome openCdnService(const Model::OpenCdnServiceRequest &request)const; void openCdnServiceAsync(const Model::OpenCdnServiceRequest& request, const OpenCdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OpenCdnServiceOutcomeCallable openCdnServiceCallable(const Model::OpenCdnServiceRequest& request) const; @@ -1475,9 +1526,6 @@ namespace AlibabaCloud SetDomainServerCertificateOutcome setDomainServerCertificate(const Model::SetDomainServerCertificateRequest &request)const; void setDomainServerCertificateAsync(const Model::SetDomainServerCertificateRequest& request, const SetDomainServerCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDomainServerCertificateOutcomeCallable setDomainServerCertificateCallable(const Model::SetDomainServerCertificateRequest& request) const; - SetErrorPageConfigOutcome setErrorPageConfig(const Model::SetErrorPageConfigRequest &request)const; - void setErrorPageConfigAsync(const Model::SetErrorPageConfigRequest& request, const SetErrorPageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetErrorPageConfigOutcomeCallable setErrorPageConfigCallable(const Model::SetErrorPageConfigRequest& request) const; SetFileCacheExpiredConfigOutcome setFileCacheExpiredConfig(const Model::SetFileCacheExpiredConfigRequest &request)const; void setFileCacheExpiredConfigAsync(const Model::SetFileCacheExpiredConfigRequest& request, const SetFileCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetFileCacheExpiredConfigOutcomeCallable setFileCacheExpiredConfigCallable(const Model::SetFileCacheExpiredConfigRequest& request) const; @@ -1487,9 +1535,6 @@ namespace AlibabaCloud SetForwardSchemeConfigOutcome setForwardSchemeConfig(const Model::SetForwardSchemeConfigRequest &request)const; void setForwardSchemeConfigAsync(const Model::SetForwardSchemeConfigRequest& request, const SetForwardSchemeConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetForwardSchemeConfigOutcomeCallable setForwardSchemeConfigCallable(const Model::SetForwardSchemeConfigRequest& request) const; - SetHttpErrorPageConfigOutcome setHttpErrorPageConfig(const Model::SetHttpErrorPageConfigRequest &request)const; - void setHttpErrorPageConfigAsync(const Model::SetHttpErrorPageConfigRequest& request, const SetHttpErrorPageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetHttpErrorPageConfigOutcomeCallable setHttpErrorPageConfigCallable(const Model::SetHttpErrorPageConfigRequest& request) const; SetHttpHeaderConfigOutcome setHttpHeaderConfig(const Model::SetHttpHeaderConfigRequest &request)const; void setHttpHeaderConfigAsync(const Model::SetHttpHeaderConfigRequest& request, const SetHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetHttpHeaderConfigOutcomeCallable setHttpHeaderConfigCallable(const Model::SetHttpHeaderConfigRequest& request) const; @@ -1532,9 +1577,6 @@ namespace AlibabaCloud SetSourceHostConfigOutcome setSourceHostConfig(const Model::SetSourceHostConfigRequest &request)const; void setSourceHostConfigAsync(const Model::SetSourceHostConfigRequest& request, const SetSourceHostConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetSourceHostConfigOutcomeCallable setSourceHostConfigCallable(const Model::SetSourceHostConfigRequest& request) const; - SetVideoSeekConfigOutcome setVideoSeekConfig(const Model::SetVideoSeekConfigRequest &request)const; - void setVideoSeekConfigAsync(const Model::SetVideoSeekConfigRequest& request, const SetVideoSeekConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetVideoSeekConfigOutcomeCallable setVideoSeekConfigCallable(const Model::SetVideoSeekConfigRequest& request) const; SetWaitingRoomConfigOutcome setWaitingRoomConfig(const Model::SetWaitingRoomConfigRequest &request)const; void setWaitingRoomConfigAsync(const Model::SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetWaitingRoomConfigOutcomeCallable setWaitingRoomConfigCallable(const Model::SetWaitingRoomConfigRequest& request) const; @@ -1550,6 +1592,12 @@ namespace AlibabaCloud UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const; void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const; + UpdateCdnDeliverTaskOutcome updateCdnDeliverTask(const Model::UpdateCdnDeliverTaskRequest &request)const; + void updateCdnDeliverTaskAsync(const Model::UpdateCdnDeliverTaskRequest& request, const UpdateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCdnDeliverTaskOutcomeCallable updateCdnDeliverTaskCallable(const Model::UpdateCdnDeliverTaskRequest& request) const; + UpdateCdnSubTaskOutcome updateCdnSubTask(const Model::UpdateCdnSubTaskRequest &request)const; + void updateCdnSubTaskAsync(const Model::UpdateCdnSubTaskRequest& request, const UpdateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCdnSubTaskOutcomeCallable updateCdnSubTaskCallable(const Model::UpdateCdnSubTaskRequest& request) const; UpdateFCTriggerOutcome updateFCTrigger(const Model::UpdateFCTriggerRequest &request)const; void updateFCTriggerAsync(const Model::UpdateFCTriggerRequest& request, const UpdateFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateFCTriggerOutcomeCallable updateFCTriggerCallable(const Model::UpdateFCTriggerRequest& request) const; diff --git a/cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.h b/cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.h deleted file mode 100644 index 3c3626e8e..000000000 --- a/cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.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_ADDLIVESTREAMTRANSCODEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT AddLiveStreamTranscodeRequest : public RpcServiceRequest - { - - public: - AddLiveStreamTranscodeRequest(); - ~AddLiveStreamTranscodeRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRecord()const; - void setRecord(const std::string& record); - std::string getApp()const; - void setApp(const std::string& app); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - std::string getSnapshot()const; - void setSnapshot(const std::string& snapshot); - - private: - std::string _template_; - std::string securityToken_; - std::string record_; - std::string app_; - std::string ownerAccount_; - long ownerId_; - std::string domain_; - std::string snapshot_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigRequest.h b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h similarity index 52% rename from cdn/include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h index ef1f71a82..48abe7510 100644 --- a/cdn/include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYPATHCACHEEXPIREDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYPATHCACHEEXPIREDCONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT ModifyPathCacheExpiredConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT CreateCdnDeliverTaskRequest : public RpcServiceRequest { public: - ModifyPathCacheExpiredConfigRequest(); - ~ModifyPathCacheExpiredConfigRequest(); + CreateCdnDeliverTaskRequest(); + ~CreateCdnDeliverTaskRequest(); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getReports()const; + void setReports(const std::string& reports); + std::string getDeliver()const; + void setDeliver(const std::string& deliver); std::string getDomainName()const; void setDomainName(const std::string& domainName); - std::string getWeight()const; - void setWeight(const std::string& weight); - std::string getCacheContent()const; - void setCacheContent(const std::string& cacheContent); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getTTL()const; - void setTTL(const std::string& tTL); - std::string getConfigID()const; - void setConfigID(const std::string& configID); + std::string getSchedule()const; + void setSchedule(const std::string& schedule); + std::string getName()const; + void setName(const std::string& name); + std::string getStatus()const; + void setStatus(const std::string& status); private: - std::string securityToken_; + std::string reports_; + std::string deliver_; std::string domainName_; - std::string weight_; - std::string cacheContent_; long ownerId_; - std::string tTL_; - std::string configID_; + std::string schedule_; + std::string name_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYPATHCACHEEXPIREDCONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h similarity index 69% rename from cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h rename to cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h index a9b5eb9b2..abceb4f29 100644 --- a/cdn/include/alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVESTREAMTRANSCODERESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_ADDLIVESTREAMTRANSCODERESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT AddLiveStreamTranscodeResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT CreateCdnDeliverTaskResult : public ServiceResult { public: - AddLiveStreamTranscodeResult(); - explicit AddLiveStreamTranscodeResult(const std::string &payload); - ~AddLiveStreamTranscodeResult(); + CreateCdnDeliverTaskResult(); + explicit CreateCdnDeliverTaskResult(const std::string &payload); + ~CreateCdnDeliverTaskResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVESTREAMTRANSCODERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetHttpErrorPageConfigRequest.h b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h similarity index 57% rename from cdn/include/alibabacloud/cdn/model/SetHttpErrorPageConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h index 9923d9cc6..5c168be3c 100644 --- a/cdn/include/alibabacloud/cdn/model/SetHttpErrorPageConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_SETHTTPERRORPAGECONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETHTTPERRORPAGECONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ #include #include @@ -28,33 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT SetHttpErrorPageConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT CreateCdnSubTaskRequest : public RpcServiceRequest { public: - SetHttpErrorPageConfigRequest(); - ~SetHttpErrorPageConfigRequest(); + CreateCdnSubTaskRequest(); + ~CreateCdnSubTaskRequest(); - std::string getPageUrl()const; - void setPageUrl(const std::string& pageUrl); - std::string getErrorCode()const; - void setErrorCode(const std::string& errorCode); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); std::string getDomainName()const; void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); long getOwnerId()const; void setOwnerId(long ownerId); - long getConfigId()const; - void setConfigId(long configId); + std::string getReportIds()const; + void setReportIds(const std::string& reportIds); + std::string getStatus()const; + void setStatus(const std::string& status); private: - std::string pageUrl_; - std::string errorCode_; + std::string startTime_; std::string domainName_; + std::string endTime_; long ownerId_; - long configId_; + std::string reportIds_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_SETHTTPERRORPAGECONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetErrorPageConfigResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h similarity index 70% rename from cdn/include/alibabacloud/cdn/model/SetErrorPageConfigResult.h rename to cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h index 67e1b3b58..6209b94c6 100644 --- a/cdn/include/alibabacloud/cdn/model/SetErrorPageConfigResult.h +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_SETERRORPAGECONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETERRORPAGECONFIGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT SetErrorPageConfigResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT CreateCdnSubTaskResult : public ServiceResult { public: - SetErrorPageConfigResult(); - explicit SetErrorPageConfigResult(const std::string &payload); - ~SetErrorPageConfigResult(); + CreateCdnSubTaskResult(); + explicit CreateCdnSubTaskResult(const std::string &payload); + ~CreateCdnSubTaskResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CDN_MODEL_SETERRORPAGECONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h similarity index 61% rename from cdn/include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h index 853baceb2..cf25c829f 100644 --- a/cdn/include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYUSERCUSTOMLOGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYUSERCUSTOMLOGCONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ #include #include @@ -28,27 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT ModifyUserCustomLogConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT DeleteCdnDeliverTaskRequest : public RpcServiceRequest { public: - ModifyUserCustomLogConfigRequest(); - ~ModifyUserCustomLogConfigRequest(); + DeleteCdnDeliverTaskRequest(); + ~DeleteCdnDeliverTaskRequest(); + long getDeliverId()const; + void setDeliverId(long deliverId); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - std::string getTag()const; - void setTag(const std::string& tag); private: + long deliverId_; long ownerId_; - std::string configId_; - std::string tag_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYUSERCUSTOMLOGCONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetHttpErrorPageConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h similarity index 69% rename from cdn/include/alibabacloud/cdn/model/SetHttpErrorPageConfigResult.h rename to cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h index 8d520aafa..da6424aad 100644 --- a/cdn/include/alibabacloud/cdn/model/SetHttpErrorPageConfigResult.h +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_SETHTTPERRORPAGECONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETHTTPERRORPAGECONFIGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT SetHttpErrorPageConfigResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DeleteCdnDeliverTaskResult : public ServiceResult { public: - SetHttpErrorPageConfigResult(); - explicit SetHttpErrorPageConfigResult(const std::string &payload); - ~SetHttpErrorPageConfigResult(); + DeleteCdnDeliverTaskResult(); + explicit DeleteCdnDeliverTaskResult(const std::string &payload); + ~DeleteCdnDeliverTaskResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CDN_MODEL_SETHTTPERRORPAGECONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h new file mode 100644 index 000000000..bcf5972c6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DELETECDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteCdnSubTaskRequest : public RpcServiceRequest + { + + public: + DeleteCdnSubTaskRequest(); + ~DeleteCdnSubTaskRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h similarity index 70% rename from cdn/include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h rename to cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h index 6d79c7b9b..7bb36758d 100644 --- a/cdn/include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_SETVIDEOSEEKCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETVIDEOSEEKCONFIGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT SetVideoSeekConfigResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DeleteCdnSubTaskResult : public ServiceResult { public: - SetVideoSeekConfigResult(); - explicit SetVideoSeekConfigResult(const std::string &payload); - ~SetVideoSeekConfigResult(); + DeleteCdnSubTaskResult(); + explicit DeleteCdnSubTaskResult(const std::string &payload); + ~DeleteCdnSubTaskResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CDN_MODEL_SETVIDEOSEEKCONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h new file mode 100644 index 000000000..c2bd202ca --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBECDNDELIVERLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeliverListRequest : public RpcServiceRequest + { + + public: + DescribeCdnDeliverListRequest(); + ~DescribeCdnDeliverListRequest(); + + long getDeliverId()const; + void setDeliverId(long deliverId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long deliverId_; + long ownerId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h new file mode 100644 index 000000000..a987447c7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeliverListResult : public ServiceResult + { + public: + + + DescribeCdnDeliverListResult(); + explicit DescribeCdnDeliverListResult(const std::string &payload); + ~DescribeCdnDeliverListResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h new file mode 100644 index 000000000..013d4ed86 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBECDNREPORTLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportListRequest : public RpcServiceRequest + { + + public: + DescribeCdnReportListRequest(); + ~DescribeCdnReportListRequest(); + + long getReportId()const; + void setReportId(long reportId); + std::string getPermission()const; + void setPermission(const std::string& permission); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long reportId_; + std::string permission_; + long ownerId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h similarity index 66% rename from cdn/include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h index cd6c97a3f..973507d8c 100644 --- a/cdn/include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYPATHCACHEEXPIREDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYPATHCACHEEXPIREDCONFIGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT ModifyPathCacheExpiredConfigResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportListResult : public ServiceResult { public: - ModifyPathCacheExpiredConfigResult(); - explicit ModifyPathCacheExpiredConfigResult(const std::string &payload); - ~ModifyPathCacheExpiredConfigResult(); + DescribeCdnReportListResult(); + explicit DescribeCdnReportListResult(const std::string &payload); + ~DescribeCdnReportListResult(); + std::string getContent()const; protected: void parse(const std::string &payload); private: + std::string content_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYPATHCACHEEXPIREDCONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h new file mode 100644 index 000000000..e921d4ece --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportRequest : public RpcServiceRequest + { + + public: + DescribeCdnReportRequest(); + ~DescribeCdnReportRequest(); + + long getReportId()const; + void setReportId(long reportId); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getArea()const; + void setArea(const std::string& area); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getHttpCode()const; + void setHttpCode(const std::string& httpCode); + std::string getIsOverseas()const; + void setIsOverseas(const std::string& isOverseas); + + private: + long reportId_; + std::string startTime_; + std::string area_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string httpCode_; + std::string isOverseas_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h similarity index 67% rename from cdn/include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h index c090caf35..d9cac47cf 100644 --- a/cdn/include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYUSERCUSTOMLOGCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYUSERCUSTOMLOGCONFIGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT ModifyUserCustomLogConfigResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportResult : public ServiceResult { public: - ModifyUserCustomLogConfigResult(); - explicit ModifyUserCustomLogConfigResult(const std::string &payload); - ~ModifyUserCustomLogConfigResult(); + DescribeCdnReportResult(); + explicit DescribeCdnReportResult(const std::string &payload); + ~DescribeCdnReportResult(); + std::string getContent()const; protected: void parse(const std::string &payload); private: + std::string content_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYUSERCUSTOMLOGCONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h similarity index 58% rename from cdn/include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h index 7a6301b88..d64d5b001 100644 --- a/cdn/include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_SETVIDEOSEEKCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETVIDEOSEEKCONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ #include #include @@ -28,30 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT SetVideoSeekConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT DescribeCdnSubListRequest : public RpcServiceRequest { public: - SetVideoSeekConfigRequest(); - ~SetVideoSeekConfigRequest(); + DescribeCdnSubListRequest(); + ~DescribeCdnSubListRequest(); - 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 getEnable()const; - void setEnable(const std::string& enable); + std::string getStatus()const; + void setStatus(const std::string& status); private: - std::string domainName_; long ownerId_; - std::string securityToken_; - std::string enable_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_SETVIDEOSEEKCONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h new file mode 100644 index 000000000..12d080b74 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnSubListResult : public ServiceResult + { + public: + + + DescribeCdnSubListResult(); + explicit DescribeCdnSubListResult(const std::string &payload); + ~DescribeCdnSubListResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h new file mode 100644 index 000000000..f635a814d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBEESEXCEPTIONDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeEsExceptionDataRequest : public RpcServiceRequest + { + + public: + DescribeEsExceptionDataRequest(); + ~DescribeEsExceptionDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getRuleId()const; + void setRuleId(const std::string& ruleId); + + private: + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string ruleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h new file mode 100644 index 000000000..62c8dfb24 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBEESEXCEPTIONDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeEsExceptionDataResult : public ServiceResult + { + public: + struct Content + { + std::vector points; + std::vector columns; + std::string name; + }; + + + DescribeEsExceptionDataResult(); + explicit DescribeEsExceptionDataResult(const std::string &payload); + ~DescribeEsExceptionDataResult(); + std::vector getContents()const; + + protected: + void parse(const std::string &payload); + private: + std::vector contents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h new file mode 100644 index 000000000..13e8e3226 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBEESEXECUTEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeEsExecuteDataRequest : public RpcServiceRequest + { + + public: + DescribeEsExecuteDataRequest(); + ~DescribeEsExecuteDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getRuleId()const; + void setRuleId(const std::string& ruleId); + + private: + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string ruleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h new file mode 100644 index 000000000..05a5ffea5 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBEESEXECUTEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeEsExecuteDataResult : public ServiceResult + { + public: + struct Content + { + std::vector points; + std::vector columns; + std::string name; + }; + + + DescribeEsExecuteDataResult(); + explicit DescribeEsExecuteDataResult(const std::string &payload); + ~DescribeEsExecuteDataResult(); + std::vector getContents()const; + + protected: + void parse(const std::string &payload); + private: + std::vector contents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h new file mode 100644 index 000000000..08d8ecb1a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UpdateCdnDeliverTaskRequest : public RpcServiceRequest + { + + public: + UpdateCdnDeliverTaskRequest(); + ~UpdateCdnDeliverTaskRequest(); + + std::string getReports()const; + void setReports(const std::string& reports); + std::string getDeliver()const; + void setDeliver(const std::string& deliver); + long getDeliverId()const; + void setDeliverId(long deliverId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSchedule()const; + void setSchedule(const std::string& schedule); + std::string getName()const; + void setName(const std::string& name); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string reports_; + std::string deliver_; + long deliverId_; + std::string domainName_; + long ownerId_; + std::string schedule_; + std::string name_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h new file mode 100644 index 000000000..a9482fae6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_UPDATECDNDELIVERTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UpdateCdnDeliverTaskResult : public ServiceResult + { + public: + + + UpdateCdnDeliverTaskResult(); + explicit UpdateCdnDeliverTaskResult(const std::string &payload); + ~UpdateCdnDeliverTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetErrorPageConfigRequest.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h similarity index 57% rename from cdn/include/alibabacloud/cdn/model/SetErrorPageConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h index 043202af9..3651378d1 100644 --- a/cdn/include/alibabacloud/cdn/model/SetErrorPageConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_SETERRORPAGECONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETERRORPAGECONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ #include #include @@ -28,33 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT SetErrorPageConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT UpdateCdnSubTaskRequest : public RpcServiceRequest { public: - SetErrorPageConfigRequest(); - ~SetErrorPageConfigRequest(); + UpdateCdnSubTaskRequest(); + ~UpdateCdnSubTaskRequest(); - std::string getPageType()const; - void setPageType(const std::string& pageType); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); std::string getDomainName()const; void setDomainName(const std::string& domainName); - std::string getCustomPageUrl()const; - void setCustomPageUrl(const std::string& customPageUrl); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getReportIds()const; + void setReportIds(const std::string& reportIds); + std::string getStatus()const; + void setStatus(const std::string& status); private: - std::string pageType_; - std::string securityToken_; + std::string startTime_; std::string domainName_; - std::string customPageUrl_; + std::string endTime_; long ownerId_; + std::string reportIds_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_SETERRORPAGECONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h new file mode 100644 index 000000000..071c3efa9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_UPDATECDNSUBTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UpdateCdnSubTaskResult : public ServiceResult + { + public: + + + UpdateCdnSubTaskResult(); + explicit UpdateCdnSubTaskResult(const std::string &payload); + ~UpdateCdnSubTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/src/CdnClient.cc b/cdn/src/CdnClient.cc index 474a7c343..65c608aa9 100644 --- a/cdn/src/CdnClient.cc +++ b/cdn/src/CdnClient.cc @@ -159,42 +159,6 @@ CdnClient::AddLiveAppRecordConfigOutcomeCallable CdnClient::addLiveAppRecordConf return task->get_future(); } -CdnClient::AddLiveStreamTranscodeOutcome CdnClient::addLiveStreamTranscode(const AddLiveStreamTranscodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddLiveStreamTranscodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddLiveStreamTranscodeOutcome(AddLiveStreamTranscodeResult(outcome.result())); - else - return AddLiveStreamTranscodeOutcome(outcome.error()); -} - -void CdnClient::addLiveStreamTranscodeAsync(const AddLiveStreamTranscodeRequest& request, const AddLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addLiveStreamTranscode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::AddLiveStreamTranscodeOutcomeCallable CdnClient::addLiveStreamTranscodeCallable(const AddLiveStreamTranscodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addLiveStreamTranscode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::BatchAddCdnDomainOutcome CdnClient::batchAddCdnDomain(const BatchAddCdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +447,78 @@ CdnClient::CreateCdnCertificateSigningRequestOutcomeCallable CdnClient::createCd return task->get_future(); } +CdnClient::CreateCdnDeliverTaskOutcome CdnClient::createCdnDeliverTask(const CreateCdnDeliverTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdnDeliverTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdnDeliverTaskOutcome(CreateCdnDeliverTaskResult(outcome.result())); + else + return CreateCdnDeliverTaskOutcome(outcome.error()); +} + +void CdnClient::createCdnDeliverTaskAsync(const CreateCdnDeliverTaskRequest& request, const CreateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdnDeliverTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateCdnDeliverTaskOutcomeCallable CdnClient::createCdnDeliverTaskCallable(const CreateCdnDeliverTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdnDeliverTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateCdnSubTaskOutcome CdnClient::createCdnSubTask(const CreateCdnSubTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdnSubTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdnSubTaskOutcome(CreateCdnSubTaskResult(outcome.result())); + else + return CreateCdnSubTaskOutcome(outcome.error()); +} + +void CdnClient::createCdnSubTaskAsync(const CreateCdnSubTaskRequest& request, const CreateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdnSubTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateCdnSubTaskOutcomeCallable CdnClient::createCdnSubTaskCallable(const CreateCdnSubTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdnSubTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::CreateIllegalUrlExportTaskOutcome CdnClient::createIllegalUrlExportTask(const CreateIllegalUrlExportTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +735,42 @@ CdnClient::DeleteCacheExpiredConfigOutcomeCallable CdnClient::deleteCacheExpired return task->get_future(); } +CdnClient::DeleteCdnDeliverTaskOutcome CdnClient::deleteCdnDeliverTask(const DeleteCdnDeliverTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCdnDeliverTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCdnDeliverTaskOutcome(DeleteCdnDeliverTaskResult(outcome.result())); + else + return DeleteCdnDeliverTaskOutcome(outcome.error()); +} + +void CdnClient::deleteCdnDeliverTaskAsync(const DeleteCdnDeliverTaskRequest& request, const DeleteCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCdnDeliverTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteCdnDeliverTaskOutcomeCallable CdnClient::deleteCdnDeliverTaskCallable(const DeleteCdnDeliverTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCdnDeliverTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DeleteCdnDomainOutcome CdnClient::deleteCdnDomain(const DeleteCdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +807,42 @@ CdnClient::DeleteCdnDomainOutcomeCallable CdnClient::deleteCdnDomainCallable(con return task->get_future(); } +CdnClient::DeleteCdnSubTaskOutcome CdnClient::deleteCdnSubTask(const DeleteCdnSubTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCdnSubTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCdnSubTaskOutcome(DeleteCdnSubTaskResult(outcome.result())); + else + return DeleteCdnSubTaskOutcome(outcome.error()); +} + +void CdnClient::deleteCdnSubTaskAsync(const DeleteCdnSubTaskRequest& request, const DeleteCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCdnSubTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteCdnSubTaskOutcomeCallable CdnClient::deleteCdnSubTaskCallable(const DeleteCdnSubTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCdnSubTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DeleteFCTriggerOutcome CdnClient::deleteFCTrigger(const DeleteFCTriggerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,6 +1203,42 @@ CdnClient::DescribeCdnCertificateListOutcomeCallable CdnClient::describeCdnCerti return task->get_future(); } +CdnClient::DescribeCdnDeliverListOutcome CdnClient::describeCdnDeliverList(const DescribeCdnDeliverListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnDeliverListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnDeliverListOutcome(DescribeCdnDeliverListResult(outcome.result())); + else + return DescribeCdnDeliverListOutcome(outcome.error()); +} + +void CdnClient::describeCdnDeliverListAsync(const DescribeCdnDeliverListRequest& request, const DescribeCdnDeliverListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnDeliverList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnDeliverListOutcomeCallable CdnClient::describeCdnDeliverListCallable(const DescribeCdnDeliverListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnDeliverList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnDomainByCertificateOutcome CdnClient::describeCdnDomainByCertificate(const DescribeCdnDomainByCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1383,6 +1527,78 @@ CdnClient::DescribeCdnRegionAndIspOutcomeCallable CdnClient::describeCdnRegionAn return task->get_future(); } +CdnClient::DescribeCdnReportOutcome CdnClient::describeCdnReport(const DescribeCdnReportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnReportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnReportOutcome(DescribeCdnReportResult(outcome.result())); + else + return DescribeCdnReportOutcome(outcome.error()); +} + +void CdnClient::describeCdnReportAsync(const DescribeCdnReportRequest& request, const DescribeCdnReportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnReport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnReportOutcomeCallable CdnClient::describeCdnReportCallable(const DescribeCdnReportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnReport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnReportListOutcome CdnClient::describeCdnReportList(const DescribeCdnReportListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnReportListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnReportListOutcome(DescribeCdnReportListResult(outcome.result())); + else + return DescribeCdnReportListOutcome(outcome.error()); +} + +void CdnClient::describeCdnReportListAsync(const DescribeCdnReportListRequest& request, const DescribeCdnReportListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnReportList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnReportListOutcomeCallable CdnClient::describeCdnReportListCallable(const DescribeCdnReportListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnReportList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnServiceOutcome CdnClient::describeCdnService(const DescribeCdnServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1419,6 +1635,42 @@ CdnClient::DescribeCdnServiceOutcomeCallable CdnClient::describeCdnServiceCallab return task->get_future(); } +CdnClient::DescribeCdnSubListOutcome CdnClient::describeCdnSubList(const DescribeCdnSubListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnSubListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnSubListOutcome(DescribeCdnSubListResult(outcome.result())); + else + return DescribeCdnSubListOutcome(outcome.error()); +} + +void CdnClient::describeCdnSubListAsync(const DescribeCdnSubListRequest& request, const DescribeCdnSubListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnSubList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnSubListOutcomeCallable CdnClient::describeCdnSubListCallable(const DescribeCdnSubListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnSubList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnTypesOutcome CdnClient::describeCdnTypes(const DescribeCdnTypesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3615,6 +3867,78 @@ CdnClient::DescribeDomainsUsageByDayOutcomeCallable CdnClient::describeDomainsUs return task->get_future(); } +CdnClient::DescribeEsExceptionDataOutcome CdnClient::describeEsExceptionData(const DescribeEsExceptionDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEsExceptionDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEsExceptionDataOutcome(DescribeEsExceptionDataResult(outcome.result())); + else + return DescribeEsExceptionDataOutcome(outcome.error()); +} + +void CdnClient::describeEsExceptionDataAsync(const DescribeEsExceptionDataRequest& request, const DescribeEsExceptionDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEsExceptionData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeEsExceptionDataOutcomeCallable CdnClient::describeEsExceptionDataCallable(const DescribeEsExceptionDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEsExceptionData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeEsExecuteDataOutcome CdnClient::describeEsExecuteData(const DescribeEsExecuteDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEsExecuteDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEsExecuteDataOutcome(DescribeEsExecuteDataResult(outcome.result())); + else + return DescribeEsExecuteDataOutcome(outcome.error()); +} + +void CdnClient::describeEsExecuteDataAsync(const DescribeEsExecuteDataRequest& request, const DescribeEsExecuteDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEsExecuteData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeEsExecuteDataOutcomeCallable CdnClient::describeEsExecuteDataCallable(const DescribeEsExecuteDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEsExecuteData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeFCTriggerOutcome CdnClient::describeFCTrigger(const DescribeFCTriggerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5379,42 +5703,6 @@ CdnClient::ModifyDomainCustomLogConfigOutcomeCallable CdnClient::modifyDomainCus return task->get_future(); } -CdnClient::ModifyPathCacheExpiredConfigOutcome CdnClient::modifyPathCacheExpiredConfig(const ModifyPathCacheExpiredConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyPathCacheExpiredConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyPathCacheExpiredConfigOutcome(ModifyPathCacheExpiredConfigResult(outcome.result())); - else - return ModifyPathCacheExpiredConfigOutcome(outcome.error()); -} - -void CdnClient::modifyPathCacheExpiredConfigAsync(const ModifyPathCacheExpiredConfigRequest& request, const ModifyPathCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyPathCacheExpiredConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::ModifyPathCacheExpiredConfigOutcomeCallable CdnClient::modifyPathCacheExpiredConfigCallable(const ModifyPathCacheExpiredConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyPathCacheExpiredConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::ModifyRealtimeLogDeliveryOutcome CdnClient::modifyRealtimeLogDelivery(const ModifyRealtimeLogDeliveryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5451,42 +5739,6 @@ CdnClient::ModifyRealtimeLogDeliveryOutcomeCallable CdnClient::modifyRealtimeLog return task->get_future(); } -CdnClient::ModifyUserCustomLogConfigOutcome CdnClient::modifyUserCustomLogConfig(const ModifyUserCustomLogConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyUserCustomLogConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyUserCustomLogConfigOutcome(ModifyUserCustomLogConfigResult(outcome.result())); - else - return ModifyUserCustomLogConfigOutcome(outcome.error()); -} - -void CdnClient::modifyUserCustomLogConfigAsync(const ModifyUserCustomLogConfigRequest& request, const ModifyUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyUserCustomLogConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::ModifyUserCustomLogConfigOutcomeCallable CdnClient::modifyUserCustomLogConfigCallable(const ModifyUserCustomLogConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyUserCustomLogConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::OpenCdnServiceOutcome CdnClient::openCdnService(const OpenCdnServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5919,42 +6171,6 @@ CdnClient::SetDomainServerCertificateOutcomeCallable CdnClient::setDomainServerC return task->get_future(); } -CdnClient::SetErrorPageConfigOutcome CdnClient::setErrorPageConfig(const SetErrorPageConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetErrorPageConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetErrorPageConfigOutcome(SetErrorPageConfigResult(outcome.result())); - else - return SetErrorPageConfigOutcome(outcome.error()); -} - -void CdnClient::setErrorPageConfigAsync(const SetErrorPageConfigRequest& request, const SetErrorPageConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setErrorPageConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetErrorPageConfigOutcomeCallable CdnClient::setErrorPageConfigCallable(const SetErrorPageConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setErrorPageConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::SetFileCacheExpiredConfigOutcome CdnClient::setFileCacheExpiredConfig(const SetFileCacheExpiredConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6063,42 +6279,6 @@ CdnClient::SetForwardSchemeConfigOutcomeCallable CdnClient::setForwardSchemeConf return task->get_future(); } -CdnClient::SetHttpErrorPageConfigOutcome CdnClient::setHttpErrorPageConfig(const SetHttpErrorPageConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetHttpErrorPageConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetHttpErrorPageConfigOutcome(SetHttpErrorPageConfigResult(outcome.result())); - else - return SetHttpErrorPageConfigOutcome(outcome.error()); -} - -void CdnClient::setHttpErrorPageConfigAsync(const SetHttpErrorPageConfigRequest& request, const SetHttpErrorPageConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setHttpErrorPageConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetHttpErrorPageConfigOutcomeCallable CdnClient::setHttpErrorPageConfigCallable(const SetHttpErrorPageConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setHttpErrorPageConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::SetHttpHeaderConfigOutcome CdnClient::setHttpHeaderConfig(const SetHttpHeaderConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6603,42 +6783,6 @@ CdnClient::SetSourceHostConfigOutcomeCallable CdnClient::setSourceHostConfigCall return task->get_future(); } -CdnClient::SetVideoSeekConfigOutcome CdnClient::setVideoSeekConfig(const SetVideoSeekConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetVideoSeekConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetVideoSeekConfigOutcome(SetVideoSeekConfigResult(outcome.result())); - else - return SetVideoSeekConfigOutcome(outcome.error()); -} - -void CdnClient::setVideoSeekConfigAsync(const SetVideoSeekConfigRequest& request, const SetVideoSeekConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setVideoSeekConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetVideoSeekConfigOutcomeCallable CdnClient::setVideoSeekConfigCallable(const SetVideoSeekConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setVideoSeekConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::SetWaitingRoomConfigOutcome CdnClient::setWaitingRoomConfig(const SetWaitingRoomConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6819,6 +6963,78 @@ CdnClient::UntagResourcesOutcomeCallable CdnClient::untagResourcesCallable(const return task->get_future(); } +CdnClient::UpdateCdnDeliverTaskOutcome CdnClient::updateCdnDeliverTask(const UpdateCdnDeliverTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCdnDeliverTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCdnDeliverTaskOutcome(UpdateCdnDeliverTaskResult(outcome.result())); + else + return UpdateCdnDeliverTaskOutcome(outcome.error()); +} + +void CdnClient::updateCdnDeliverTaskAsync(const UpdateCdnDeliverTaskRequest& request, const UpdateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCdnDeliverTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::UpdateCdnDeliverTaskOutcomeCallable CdnClient::updateCdnDeliverTaskCallable(const UpdateCdnDeliverTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCdnDeliverTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::UpdateCdnSubTaskOutcome CdnClient::updateCdnSubTask(const UpdateCdnSubTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCdnSubTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCdnSubTaskOutcome(UpdateCdnSubTaskResult(outcome.result())); + else + return UpdateCdnSubTaskOutcome(outcome.error()); +} + +void CdnClient::updateCdnSubTaskAsync(const UpdateCdnSubTaskRequest& request, const UpdateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCdnSubTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::UpdateCdnSubTaskOutcomeCallable CdnClient::updateCdnSubTaskCallable(const UpdateCdnSubTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCdnSubTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::UpdateFCTriggerOutcome CdnClient::updateFCTrigger(const UpdateFCTriggerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/cdn/src/model/AddLiveStreamTranscodeRequest.cc b/cdn/src/model/AddLiveStreamTranscodeRequest.cc deleted file mode 100644 index fd841a8b6..000000000 --- a/cdn/src/model/AddLiveStreamTranscodeRequest.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::AddLiveStreamTranscodeRequest; - -AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() : - RpcServiceRequest("cdn", "2014-11-11", "AddLiveStreamTranscode") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() -{} - -std::string AddLiveStreamTranscodeRequest::get_Template()const -{ - return _template_; -} - -void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); -} - -std::string AddLiveStreamTranscodeRequest::getSecurityToken()const -{ - return securityToken_; -} - -void AddLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string AddLiveStreamTranscodeRequest::getRecord()const -{ - return record_; -} - -void AddLiveStreamTranscodeRequest::setRecord(const std::string& record) -{ - record_ = record; - setParameter("Record", record); -} - -std::string AddLiveStreamTranscodeRequest::getApp()const -{ - return app_; -} - -void AddLiveStreamTranscodeRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); -} - -std::string AddLiveStreamTranscodeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void AddLiveStreamTranscodeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long AddLiveStreamTranscodeRequest::getOwnerId()const -{ - return ownerId_; -} - -void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string AddLiveStreamTranscodeRequest::getDomain()const -{ - return domain_; -} - -void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - -std::string AddLiveStreamTranscodeRequest::getSnapshot()const -{ - return snapshot_; -} - -void AddLiveStreamTranscodeRequest::setSnapshot(const std::string& snapshot) -{ - snapshot_ = snapshot; - setParameter("Snapshot", snapshot); -} - diff --git a/cdn/src/model/CreateCdnDeliverTaskRequest.cc b/cdn/src/model/CreateCdnDeliverTaskRequest.cc new file mode 100644 index 000000000..a618e172d --- /dev/null +++ b/cdn/src/model/CreateCdnDeliverTaskRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::CreateCdnDeliverTaskRequest; + +CreateCdnDeliverTaskRequest::CreateCdnDeliverTaskRequest() : + RpcServiceRequest("cdn", "2018-05-10", "CreateCdnDeliverTask") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateCdnDeliverTaskRequest::~CreateCdnDeliverTaskRequest() +{} + +std::string CreateCdnDeliverTaskRequest::getReports()const +{ + return reports_; +} + +void CreateCdnDeliverTaskRequest::setReports(const std::string& reports) +{ + reports_ = reports; + setBodyParameter("Reports", reports); +} + +std::string CreateCdnDeliverTaskRequest::getDeliver()const +{ + return deliver_; +} + +void CreateCdnDeliverTaskRequest::setDeliver(const std::string& deliver) +{ + deliver_ = deliver; + setBodyParameter("Deliver", deliver); +} + +std::string CreateCdnDeliverTaskRequest::getDomainName()const +{ + return domainName_; +} + +void CreateCdnDeliverTaskRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +long CreateCdnDeliverTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateCdnDeliverTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateCdnDeliverTaskRequest::getSchedule()const +{ + return schedule_; +} + +void CreateCdnDeliverTaskRequest::setSchedule(const std::string& schedule) +{ + schedule_ = schedule; + setBodyParameter("Schedule", schedule); +} + +std::string CreateCdnDeliverTaskRequest::getName()const +{ + return name_; +} + +void CreateCdnDeliverTaskRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string CreateCdnDeliverTaskRequest::getStatus()const +{ + return status_; +} + +void CreateCdnDeliverTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/cdn/src/model/AddLiveStreamTranscodeResult.cc b/cdn/src/model/CreateCdnDeliverTaskResult.cc similarity index 72% rename from cdn/src/model/AddLiveStreamTranscodeResult.cc rename to cdn/src/model/CreateCdnDeliverTaskResult.cc index fdfe43ae0..013cc08ba 100644 --- a/cdn/src/model/AddLiveStreamTranscodeResult.cc +++ b/cdn/src/model/CreateCdnDeliverTaskResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cdn; using namespace AlibabaCloud::Cdn::Model; -AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult() : +CreateCdnDeliverTaskResult::CreateCdnDeliverTaskResult() : ServiceResult() {} -AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult(const std::string &payload) : +CreateCdnDeliverTaskResult::CreateCdnDeliverTaskResult(const std::string &payload) : ServiceResult() { parse(payload); } -AddLiveStreamTranscodeResult::~AddLiveStreamTranscodeResult() +CreateCdnDeliverTaskResult::~CreateCdnDeliverTaskResult() {} -void AddLiveStreamTranscodeResult::parse(const std::string &payload) +void CreateCdnDeliverTaskResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cdn/src/model/CreateCdnSubTaskRequest.cc b/cdn/src/model/CreateCdnSubTaskRequest.cc new file mode 100644 index 000000000..23465ec7c --- /dev/null +++ b/cdn/src/model/CreateCdnSubTaskRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateCdnSubTaskRequest; + +CreateCdnSubTaskRequest::CreateCdnSubTaskRequest() : + RpcServiceRequest("cdn", "2018-05-10", "CreateCdnSubTask") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateCdnSubTaskRequest::~CreateCdnSubTaskRequest() +{} + +std::string CreateCdnSubTaskRequest::getStartTime()const +{ + return startTime_; +} + +void CreateCdnSubTaskRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setBodyParameter("StartTime", startTime); +} + +std::string CreateCdnSubTaskRequest::getDomainName()const +{ + return domainName_; +} + +void CreateCdnSubTaskRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +std::string CreateCdnSubTaskRequest::getEndTime()const +{ + return endTime_; +} + +void CreateCdnSubTaskRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setBodyParameter("EndTime", endTime); +} + +long CreateCdnSubTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateCdnSubTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateCdnSubTaskRequest::getReportIds()const +{ + return reportIds_; +} + +void CreateCdnSubTaskRequest::setReportIds(const std::string& reportIds) +{ + reportIds_ = reportIds; + setBodyParameter("ReportIds", reportIds); +} + +std::string CreateCdnSubTaskRequest::getStatus()const +{ + return status_; +} + +void CreateCdnSubTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/cdn/src/model/SetVideoSeekConfigResult.cc b/cdn/src/model/CreateCdnSubTaskResult.cc similarity index 74% rename from cdn/src/model/SetVideoSeekConfigResult.cc rename to cdn/src/model/CreateCdnSubTaskResult.cc index 37cb7905d..e10a1850d 100644 --- a/cdn/src/model/SetVideoSeekConfigResult.cc +++ b/cdn/src/model/CreateCdnSubTaskResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cdn; using namespace AlibabaCloud::Cdn::Model; -SetVideoSeekConfigResult::SetVideoSeekConfigResult() : +CreateCdnSubTaskResult::CreateCdnSubTaskResult() : ServiceResult() {} -SetVideoSeekConfigResult::SetVideoSeekConfigResult(const std::string &payload) : +CreateCdnSubTaskResult::CreateCdnSubTaskResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetVideoSeekConfigResult::~SetVideoSeekConfigResult() +CreateCdnSubTaskResult::~CreateCdnSubTaskResult() {} -void SetVideoSeekConfigResult::parse(const std::string &payload) +void CreateCdnSubTaskResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cdn/src/model/DeleteCdnDeliverTaskRequest.cc b/cdn/src/model/DeleteCdnDeliverTaskRequest.cc new file mode 100644 index 000000000..69ccc592b --- /dev/null +++ b/cdn/src/model/DeleteCdnDeliverTaskRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteCdnDeliverTaskRequest; + +DeleteCdnDeliverTaskRequest::DeleteCdnDeliverTaskRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnDeliverTask") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteCdnDeliverTaskRequest::~DeleteCdnDeliverTaskRequest() +{} + +long DeleteCdnDeliverTaskRequest::getDeliverId()const +{ + return deliverId_; +} + +void DeleteCdnDeliverTaskRequest::setDeliverId(long deliverId) +{ + deliverId_ = deliverId; + setParameter("DeliverId", std::to_string(deliverId)); +} + +long DeleteCdnDeliverTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCdnDeliverTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetHttpErrorPageConfigResult.cc b/cdn/src/model/DeleteCdnDeliverTaskResult.cc similarity index 72% rename from cdn/src/model/SetHttpErrorPageConfigResult.cc rename to cdn/src/model/DeleteCdnDeliverTaskResult.cc index a0b133578..7156c3752 100644 --- a/cdn/src/model/SetHttpErrorPageConfigResult.cc +++ b/cdn/src/model/DeleteCdnDeliverTaskResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cdn; using namespace AlibabaCloud::Cdn::Model; -SetHttpErrorPageConfigResult::SetHttpErrorPageConfigResult() : +DeleteCdnDeliverTaskResult::DeleteCdnDeliverTaskResult() : ServiceResult() {} -SetHttpErrorPageConfigResult::SetHttpErrorPageConfigResult(const std::string &payload) : +DeleteCdnDeliverTaskResult::DeleteCdnDeliverTaskResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetHttpErrorPageConfigResult::~SetHttpErrorPageConfigResult() +DeleteCdnDeliverTaskResult::~DeleteCdnDeliverTaskResult() {} -void SetHttpErrorPageConfigResult::parse(const std::string &payload) +void DeleteCdnDeliverTaskResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cdn/src/model/DeleteCdnSubTaskRequest.cc b/cdn/src/model/DeleteCdnSubTaskRequest.cc new file mode 100644 index 000000000..55506cadc --- /dev/null +++ b/cdn/src/model/DeleteCdnSubTaskRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DeleteCdnSubTaskRequest; + +DeleteCdnSubTaskRequest::DeleteCdnSubTaskRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnSubTask") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteCdnSubTaskRequest::~DeleteCdnSubTaskRequest() +{} + +long DeleteCdnSubTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCdnSubTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetErrorPageConfigResult.cc b/cdn/src/model/DeleteCdnSubTaskResult.cc similarity index 74% rename from cdn/src/model/SetErrorPageConfigResult.cc rename to cdn/src/model/DeleteCdnSubTaskResult.cc index 4a2c8d4ef..45e569fd6 100644 --- a/cdn/src/model/SetErrorPageConfigResult.cc +++ b/cdn/src/model/DeleteCdnSubTaskResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cdn; using namespace AlibabaCloud::Cdn::Model; -SetErrorPageConfigResult::SetErrorPageConfigResult() : +DeleteCdnSubTaskResult::DeleteCdnSubTaskResult() : ServiceResult() {} -SetErrorPageConfigResult::SetErrorPageConfigResult(const std::string &payload) : +DeleteCdnSubTaskResult::DeleteCdnSubTaskResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetErrorPageConfigResult::~SetErrorPageConfigResult() +DeleteCdnSubTaskResult::~DeleteCdnSubTaskResult() {} -void SetErrorPageConfigResult::parse(const std::string &payload) +void DeleteCdnSubTaskResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cdn/src/model/DescribeCdnDeliverListRequest.cc b/cdn/src/model/DescribeCdnDeliverListRequest.cc new file mode 100644 index 000000000..aca35cc5e --- /dev/null +++ b/cdn/src/model/DescribeCdnDeliverListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeCdnDeliverListRequest; + +DescribeCdnDeliverListRequest::DescribeCdnDeliverListRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDeliverList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnDeliverListRequest::~DescribeCdnDeliverListRequest() +{} + +long DescribeCdnDeliverListRequest::getDeliverId()const +{ + return deliverId_; +} + +void DescribeCdnDeliverListRequest::setDeliverId(long deliverId) +{ + deliverId_ = deliverId; + setParameter("DeliverId", std::to_string(deliverId)); +} + +long DescribeCdnDeliverListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCdnDeliverListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeCdnDeliverListRequest::getStatus()const +{ + return status_; +} + +void DescribeCdnDeliverListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/cdn/src/model/DescribeCdnDeliverListResult.cc b/cdn/src/model/DescribeCdnDeliverListResult.cc new file mode 100644 index 000000000..e2cc78396 --- /dev/null +++ b/cdn/src/model/DescribeCdnDeliverListResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnDeliverListResult::DescribeCdnDeliverListResult() : + ServiceResult() +{} + +DescribeCdnDeliverListResult::DescribeCdnDeliverListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnDeliverListResult::~DescribeCdnDeliverListResult() +{} + +void DescribeCdnDeliverListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnDeliverListResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnReportListRequest.cc b/cdn/src/model/DescribeCdnReportListRequest.cc new file mode 100644 index 000000000..13e24ae81 --- /dev/null +++ b/cdn/src/model/DescribeCdnReportListRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeCdnReportListRequest; + +DescribeCdnReportListRequest::DescribeCdnReportListRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReportList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnReportListRequest::~DescribeCdnReportListRequest() +{} + +long DescribeCdnReportListRequest::getReportId()const +{ + return reportId_; +} + +void DescribeCdnReportListRequest::setReportId(long reportId) +{ + reportId_ = reportId; + setParameter("ReportId", std::to_string(reportId)); +} + +std::string DescribeCdnReportListRequest::getPermission()const +{ + return permission_; +} + +void DescribeCdnReportListRequest::setPermission(const std::string& permission) +{ + permission_ = permission; + setParameter("Permission", permission); +} + +long DescribeCdnReportListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCdnReportListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeCdnReportListRequest::getStatus()const +{ + return status_; +} + +void DescribeCdnReportListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/cdn/src/model/DescribeCdnReportListResult.cc b/cdn/src/model/DescribeCdnReportListResult.cc new file mode 100644 index 000000000..69fd8c616 --- /dev/null +++ b/cdn/src/model/DescribeCdnReportListResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnReportListResult::DescribeCdnReportListResult() : + ServiceResult() +{} + +DescribeCdnReportListResult::DescribeCdnReportListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnReportListResult::~DescribeCdnReportListResult() +{} + +void DescribeCdnReportListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnReportListResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnReportRequest.cc b/cdn/src/model/DescribeCdnReportRequest.cc new file mode 100644 index 000000000..1ff35720d --- /dev/null +++ b/cdn/src/model/DescribeCdnReportRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnReportRequest; + +DescribeCdnReportRequest::DescribeCdnReportRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReport") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnReportRequest::~DescribeCdnReportRequest() +{} + +long DescribeCdnReportRequest::getReportId()const +{ + return reportId_; +} + +void DescribeCdnReportRequest::setReportId(long reportId) +{ + reportId_ = reportId; + setParameter("ReportId", std::to_string(reportId)); +} + +std::string DescribeCdnReportRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeCdnReportRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeCdnReportRequest::getArea()const +{ + return area_; +} + +void DescribeCdnReportRequest::setArea(const std::string& area) +{ + area_ = area; + setParameter("Area", area); +} + +std::string DescribeCdnReportRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeCdnReportRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeCdnReportRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeCdnReportRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeCdnReportRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCdnReportRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeCdnReportRequest::getHttpCode()const +{ + return httpCode_; +} + +void DescribeCdnReportRequest::setHttpCode(const std::string& httpCode) +{ + httpCode_ = httpCode; + setParameter("HttpCode", httpCode); +} + +std::string DescribeCdnReportRequest::getIsOverseas()const +{ + return isOverseas_; +} + +void DescribeCdnReportRequest::setIsOverseas(const std::string& isOverseas) +{ + isOverseas_ = isOverseas; + setParameter("IsOverseas", isOverseas); +} + diff --git a/cdn/src/model/DescribeCdnReportResult.cc b/cdn/src/model/DescribeCdnReportResult.cc new file mode 100644 index 000000000..e6193edda --- /dev/null +++ b/cdn/src/model/DescribeCdnReportResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnReportResult::DescribeCdnReportResult() : + ServiceResult() +{} + +DescribeCdnReportResult::DescribeCdnReportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnReportResult::~DescribeCdnReportResult() +{} + +void DescribeCdnReportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnReportResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnSubListRequest.cc b/cdn/src/model/DescribeCdnSubListRequest.cc new file mode 100644 index 000000000..94d6db579 --- /dev/null +++ b/cdn/src/model/DescribeCdnSubListRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnSubListRequest; + +DescribeCdnSubListRequest::DescribeCdnSubListRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSubList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnSubListRequest::~DescribeCdnSubListRequest() +{} + +long DescribeCdnSubListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCdnSubListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeCdnSubListRequest::getStatus()const +{ + return status_; +} + +void DescribeCdnSubListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/cdn/src/model/DescribeCdnSubListResult.cc b/cdn/src/model/DescribeCdnSubListResult.cc new file mode 100644 index 000000000..e5dbae828 --- /dev/null +++ b/cdn/src/model/DescribeCdnSubListResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnSubListResult::DescribeCdnSubListResult() : + ServiceResult() +{} + +DescribeCdnSubListResult::DescribeCdnSubListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnSubListResult::~DescribeCdnSubListResult() +{} + +void DescribeCdnSubListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnSubListResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeEsExceptionDataRequest.cc b/cdn/src/model/DescribeEsExceptionDataRequest.cc new file mode 100644 index 000000000..504c063a3 --- /dev/null +++ b/cdn/src/model/DescribeEsExceptionDataRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeEsExceptionDataRequest; + +DescribeEsExceptionDataRequest::DescribeEsExceptionDataRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExceptionData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEsExceptionDataRequest::~DescribeEsExceptionDataRequest() +{} + +std::string DescribeEsExceptionDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeEsExceptionDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeEsExceptionDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeEsExceptionDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeEsExceptionDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeEsExceptionDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeEsExceptionDataRequest::getRuleId()const +{ + return ruleId_; +} + +void DescribeEsExceptionDataRequest::setRuleId(const std::string& ruleId) +{ + ruleId_ = ruleId; + setParameter("RuleId", ruleId); +} + diff --git a/cdn/src/model/DescribeEsExceptionDataResult.cc b/cdn/src/model/DescribeEsExceptionDataResult.cc new file mode 100644 index 000000000..daf13e72f --- /dev/null +++ b/cdn/src/model/DescribeEsExceptionDataResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeEsExceptionDataResult::DescribeEsExceptionDataResult() : + ServiceResult() +{} + +DescribeEsExceptionDataResult::DescribeEsExceptionDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEsExceptionDataResult::~DescribeEsExceptionDataResult() +{} + +void DescribeEsExceptionDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentsNode = value["Contents"]["Content"]; + for (auto valueContentsContent : allContentsNode) + { + Content contentsObject; + if(!valueContentsContent["Name"].isNull()) + contentsObject.name = valueContentsContent["Name"].asString(); + auto allColumns = value["Columns"]["columns"]; + for (auto value : allColumns) + contentsObject.columns.push_back(value.asString()); + auto allPoints = value["Points"]["points"]; + for (auto value : allPoints) + contentsObject.points.push_back(value.asString()); + contents_.push_back(contentsObject); + } + +} + +std::vector DescribeEsExceptionDataResult::getContents()const +{ + return contents_; +} + diff --git a/cdn/src/model/DescribeEsExecuteDataRequest.cc b/cdn/src/model/DescribeEsExecuteDataRequest.cc new file mode 100644 index 000000000..8a4e6fe92 --- /dev/null +++ b/cdn/src/model/DescribeEsExecuteDataRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeEsExecuteDataRequest; + +DescribeEsExecuteDataRequest::DescribeEsExecuteDataRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExecuteData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEsExecuteDataRequest::~DescribeEsExecuteDataRequest() +{} + +std::string DescribeEsExecuteDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeEsExecuteDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeEsExecuteDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeEsExecuteDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeEsExecuteDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeEsExecuteDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeEsExecuteDataRequest::getRuleId()const +{ + return ruleId_; +} + +void DescribeEsExecuteDataRequest::setRuleId(const std::string& ruleId) +{ + ruleId_ = ruleId; + setParameter("RuleId", ruleId); +} + diff --git a/cdn/src/model/DescribeEsExecuteDataResult.cc b/cdn/src/model/DescribeEsExecuteDataResult.cc new file mode 100644 index 000000000..a4afc35a2 --- /dev/null +++ b/cdn/src/model/DescribeEsExecuteDataResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeEsExecuteDataResult::DescribeEsExecuteDataResult() : + ServiceResult() +{} + +DescribeEsExecuteDataResult::DescribeEsExecuteDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEsExecuteDataResult::~DescribeEsExecuteDataResult() +{} + +void DescribeEsExecuteDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentsNode = value["Contents"]["Content"]; + for (auto valueContentsContent : allContentsNode) + { + Content contentsObject; + if(!valueContentsContent["Name"].isNull()) + contentsObject.name = valueContentsContent["Name"].asString(); + auto allColumns = value["Columns"]["columns"]; + for (auto value : allColumns) + contentsObject.columns.push_back(value.asString()); + auto allPoints = value["Points"]["points"]; + for (auto value : allPoints) + contentsObject.points.push_back(value.asString()); + contents_.push_back(contentsObject); + } + +} + +std::vector DescribeEsExecuteDataResult::getContents()const +{ + return contents_; +} + diff --git a/cdn/src/model/ModifyPathCacheExpiredConfigRequest.cc b/cdn/src/model/ModifyPathCacheExpiredConfigRequest.cc deleted file mode 100644 index 8a2fe8388..000000000 --- a/cdn/src/model/ModifyPathCacheExpiredConfigRequest.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::ModifyPathCacheExpiredConfigRequest; - -ModifyPathCacheExpiredConfigRequest::ModifyPathCacheExpiredConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "ModifyPathCacheExpiredConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyPathCacheExpiredConfigRequest::~ModifyPathCacheExpiredConfigRequest() -{} - -std::string ModifyPathCacheExpiredConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void ModifyPathCacheExpiredConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string ModifyPathCacheExpiredConfigRequest::getDomainName()const -{ - return domainName_; -} - -void ModifyPathCacheExpiredConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string ModifyPathCacheExpiredConfigRequest::getWeight()const -{ - return weight_; -} - -void ModifyPathCacheExpiredConfigRequest::setWeight(const std::string& weight) -{ - weight_ = weight; - setParameter("Weight", weight); -} - -std::string ModifyPathCacheExpiredConfigRequest::getCacheContent()const -{ - return cacheContent_; -} - -void ModifyPathCacheExpiredConfigRequest::setCacheContent(const std::string& cacheContent) -{ - cacheContent_ = cacheContent; - setParameter("CacheContent", cacheContent); -} - -long ModifyPathCacheExpiredConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyPathCacheExpiredConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ModifyPathCacheExpiredConfigRequest::getTTL()const -{ - return tTL_; -} - -void ModifyPathCacheExpiredConfigRequest::setTTL(const std::string& tTL) -{ - tTL_ = tTL; - setParameter("TTL", tTL); -} - -std::string ModifyPathCacheExpiredConfigRequest::getConfigID()const -{ - return configID_; -} - -void ModifyPathCacheExpiredConfigRequest::setConfigID(const std::string& configID) -{ - configID_ = configID; - setParameter("ConfigID", configID); -} - diff --git a/cdn/src/model/ModifyPathCacheExpiredConfigResult.cc b/cdn/src/model/ModifyPathCacheExpiredConfigResult.cc deleted file mode 100644 index 45be34987..000000000 --- a/cdn/src/model/ModifyPathCacheExpiredConfigResult.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; - -ModifyPathCacheExpiredConfigResult::ModifyPathCacheExpiredConfigResult() : - ServiceResult() -{} - -ModifyPathCacheExpiredConfigResult::ModifyPathCacheExpiredConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyPathCacheExpiredConfigResult::~ModifyPathCacheExpiredConfigResult() -{} - -void ModifyPathCacheExpiredConfigResult::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/ModifyUserCustomLogConfigRequest.cc b/cdn/src/model/ModifyUserCustomLogConfigRequest.cc deleted file mode 100644 index 4a128ee12..000000000 --- a/cdn/src/model/ModifyUserCustomLogConfigRequest.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::ModifyUserCustomLogConfigRequest; - -ModifyUserCustomLogConfigRequest::ModifyUserCustomLogConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "ModifyUserCustomLogConfig") -{ - setMethod(HttpRequest::Method::Get); -} - -ModifyUserCustomLogConfigRequest::~ModifyUserCustomLogConfigRequest() -{} - -long ModifyUserCustomLogConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyUserCustomLogConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ModifyUserCustomLogConfigRequest::getConfigId()const -{ - return configId_; -} - -void ModifyUserCustomLogConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - -std::string ModifyUserCustomLogConfigRequest::getTag()const -{ - return tag_; -} - -void ModifyUserCustomLogConfigRequest::setTag(const std::string& tag) -{ - tag_ = tag; - setParameter("Tag", tag); -} - diff --git a/cdn/src/model/ModifyUserCustomLogConfigResult.cc b/cdn/src/model/ModifyUserCustomLogConfigResult.cc deleted file mode 100644 index 306bff2fd..000000000 --- a/cdn/src/model/ModifyUserCustomLogConfigResult.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; - -ModifyUserCustomLogConfigResult::ModifyUserCustomLogConfigResult() : - ServiceResult() -{} - -ModifyUserCustomLogConfigResult::ModifyUserCustomLogConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyUserCustomLogConfigResult::~ModifyUserCustomLogConfigResult() -{} - -void ModifyUserCustomLogConfigResult::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/SetErrorPageConfigRequest.cc b/cdn/src/model/SetErrorPageConfigRequest.cc deleted file mode 100644 index bcb7d195d..000000000 --- a/cdn/src/model/SetErrorPageConfigRequest.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::SetErrorPageConfigRequest; - -SetErrorPageConfigRequest::SetErrorPageConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetErrorPageConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetErrorPageConfigRequest::~SetErrorPageConfigRequest() -{} - -std::string SetErrorPageConfigRequest::getPageType()const -{ - return pageType_; -} - -void SetErrorPageConfigRequest::setPageType(const std::string& pageType) -{ - pageType_ = pageType; - setParameter("PageType", pageType); -} - -std::string SetErrorPageConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetErrorPageConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetErrorPageConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetErrorPageConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string SetErrorPageConfigRequest::getCustomPageUrl()const -{ - return customPageUrl_; -} - -void SetErrorPageConfigRequest::setCustomPageUrl(const std::string& customPageUrl) -{ - customPageUrl_ = customPageUrl; - setParameter("CustomPageUrl", customPageUrl); -} - -long SetErrorPageConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetErrorPageConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/SetHttpErrorPageConfigRequest.cc b/cdn/src/model/SetHttpErrorPageConfigRequest.cc deleted file mode 100644 index 9d9431e1b..000000000 --- a/cdn/src/model/SetHttpErrorPageConfigRequest.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::SetHttpErrorPageConfigRequest; - -SetHttpErrorPageConfigRequest::SetHttpErrorPageConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetHttpErrorPageConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetHttpErrorPageConfigRequest::~SetHttpErrorPageConfigRequest() -{} - -std::string SetHttpErrorPageConfigRequest::getPageUrl()const -{ - return pageUrl_; -} - -void SetHttpErrorPageConfigRequest::setPageUrl(const std::string& pageUrl) -{ - pageUrl_ = pageUrl; - setParameter("PageUrl", pageUrl); -} - -std::string SetHttpErrorPageConfigRequest::getErrorCode()const -{ - return errorCode_; -} - -void SetHttpErrorPageConfigRequest::setErrorCode(const std::string& errorCode) -{ - errorCode_ = errorCode; - setParameter("ErrorCode", errorCode); -} - -std::string SetHttpErrorPageConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetHttpErrorPageConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetHttpErrorPageConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetHttpErrorPageConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetHttpErrorPageConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetHttpErrorPageConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetVideoSeekConfigRequest.cc b/cdn/src/model/SetVideoSeekConfigRequest.cc deleted file mode 100644 index 62532456b..000000000 --- a/cdn/src/model/SetVideoSeekConfigRequest.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::SetVideoSeekConfigRequest; - -SetVideoSeekConfigRequest::SetVideoSeekConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "SetVideoSeekConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetVideoSeekConfigRequest::~SetVideoSeekConfigRequest() -{} - -std::string SetVideoSeekConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetVideoSeekConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetVideoSeekConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetVideoSeekConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetVideoSeekConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetVideoSeekConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetVideoSeekConfigRequest::getEnable()const -{ - return enable_; -} - -void SetVideoSeekConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - diff --git a/cdn/src/model/UpdateCdnDeliverTaskRequest.cc b/cdn/src/model/UpdateCdnDeliverTaskRequest.cc new file mode 100644 index 000000000..dfde8d74b --- /dev/null +++ b/cdn/src/model/UpdateCdnDeliverTaskRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::UpdateCdnDeliverTaskRequest; + +UpdateCdnDeliverTaskRequest::UpdateCdnDeliverTaskRequest() : + RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnDeliverTask") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateCdnDeliverTaskRequest::~UpdateCdnDeliverTaskRequest() +{} + +std::string UpdateCdnDeliverTaskRequest::getReports()const +{ + return reports_; +} + +void UpdateCdnDeliverTaskRequest::setReports(const std::string& reports) +{ + reports_ = reports; + setBodyParameter("Reports", reports); +} + +std::string UpdateCdnDeliverTaskRequest::getDeliver()const +{ + return deliver_; +} + +void UpdateCdnDeliverTaskRequest::setDeliver(const std::string& deliver) +{ + deliver_ = deliver; + setBodyParameter("Deliver", deliver); +} + +long UpdateCdnDeliverTaskRequest::getDeliverId()const +{ + return deliverId_; +} + +void UpdateCdnDeliverTaskRequest::setDeliverId(long deliverId) +{ + deliverId_ = deliverId; + setBodyParameter("DeliverId", std::to_string(deliverId)); +} + +std::string UpdateCdnDeliverTaskRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateCdnDeliverTaskRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +long UpdateCdnDeliverTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateCdnDeliverTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateCdnDeliverTaskRequest::getSchedule()const +{ + return schedule_; +} + +void UpdateCdnDeliverTaskRequest::setSchedule(const std::string& schedule) +{ + schedule_ = schedule; + setBodyParameter("Schedule", schedule); +} + +std::string UpdateCdnDeliverTaskRequest::getName()const +{ + return name_; +} + +void UpdateCdnDeliverTaskRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string UpdateCdnDeliverTaskRequest::getStatus()const +{ + return status_; +} + +void UpdateCdnDeliverTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/cdn/src/model/UpdateCdnDeliverTaskResult.cc b/cdn/src/model/UpdateCdnDeliverTaskResult.cc new file mode 100644 index 000000000..e55b5f062 --- /dev/null +++ b/cdn/src/model/UpdateCdnDeliverTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +UpdateCdnDeliverTaskResult::UpdateCdnDeliverTaskResult() : + ServiceResult() +{} + +UpdateCdnDeliverTaskResult::UpdateCdnDeliverTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCdnDeliverTaskResult::~UpdateCdnDeliverTaskResult() +{} + +void UpdateCdnDeliverTaskResult::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/UpdateCdnSubTaskRequest.cc b/cdn/src/model/UpdateCdnSubTaskRequest.cc new file mode 100644 index 000000000..13c1c675c --- /dev/null +++ b/cdn/src/model/UpdateCdnSubTaskRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::UpdateCdnSubTaskRequest; + +UpdateCdnSubTaskRequest::UpdateCdnSubTaskRequest() : + RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnSubTask") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateCdnSubTaskRequest::~UpdateCdnSubTaskRequest() +{} + +std::string UpdateCdnSubTaskRequest::getStartTime()const +{ + return startTime_; +} + +void UpdateCdnSubTaskRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setBodyParameter("StartTime", startTime); +} + +std::string UpdateCdnSubTaskRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateCdnSubTaskRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +std::string UpdateCdnSubTaskRequest::getEndTime()const +{ + return endTime_; +} + +void UpdateCdnSubTaskRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setBodyParameter("EndTime", endTime); +} + +long UpdateCdnSubTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateCdnSubTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateCdnSubTaskRequest::getReportIds()const +{ + return reportIds_; +} + +void UpdateCdnSubTaskRequest::setReportIds(const std::string& reportIds) +{ + reportIds_ = reportIds; + setBodyParameter("ReportIds", reportIds); +} + +std::string UpdateCdnSubTaskRequest::getStatus()const +{ + return status_; +} + +void UpdateCdnSubTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/cdn/src/model/UpdateCdnSubTaskResult.cc b/cdn/src/model/UpdateCdnSubTaskResult.cc new file mode 100644 index 000000000..e6e72187b --- /dev/null +++ b/cdn/src/model/UpdateCdnSubTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +UpdateCdnSubTaskResult::UpdateCdnSubTaskResult() : + ServiceResult() +{} + +UpdateCdnSubTaskResult::UpdateCdnSubTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCdnSubTaskResult::~UpdateCdnSubTaskResult() +{} + +void UpdateCdnSubTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +