From 98ef8c88e8e813a0173f36c0bd4f0572b2a2c1db Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 4 Sep 2020 09:19:24 +0000 Subject: [PATCH] Sync cdn APIs. --- CHANGELOG | 3 + dcdn/CMakeLists.txt | 72 ++ dcdn/include/alibabacloud/dcdn/DcdnClient.h | 144 ++++ .../DeleteDcdnSpecificStagingConfigRequest.h | 57 ++ .../DeleteDcdnSpecificStagingConfigResult.h | 49 ++ .../model/DescribeDcdnBgpBpsDataRequest.h | 60 ++ .../dcdn/model/DescribeDcdnBgpBpsDataResult.h | 61 ++ .../model/DescribeDcdnBgpTrafficDataRequest.h | 60 ++ .../model/DescribeDcdnBgpTrafficDataResult.h | 61 ++ .../DescribeDcdnConfigOfVersionRequest.h | 63 ++ .../model/DescribeDcdnConfigOfVersionResult.h | 63 ++ .../DescribeDcdnDomainMultiUsageDataRequest.h | 57 ++ .../DescribeDcdnDomainMultiUsageDataResult.h | 72 ++ ...DcdnDomainRealTimeSrcHttpCodeDataRequest.h | 63 ++ ...eDcdnDomainRealTimeSrcHttpCodeDataResult.h | 70 ++ .../DescribeDcdnDomainStagingConfigRequest.h | 54 ++ .../DescribeDcdnDomainStagingConfigResult.h | 63 ++ .../dcdn/model/DescribeDcdnIpInfoRequest.h | 54 ++ .../dcdn/model/DescribeDcdnIpInfoResult.h | 59 ++ .../dcdn/model/DescribeDcdnStagingIpRequest.h | 48 ++ .../dcdn/model/DescribeDcdnStagingIpResult.h | 51 ++ .../model/DescribeDcdnTagResourcesRequest.h | 66 ++ .../model/DescribeDcdnTagResourcesResult.h | 61 ++ .../model/DescribeDcdnUserBillTypeRequest.h | 54 ++ .../model/DescribeDcdnUserBillTypeResult.h | 60 ++ .../dcdn/model/DescribeDcdnUserTagsRequest.h | 48 ++ .../dcdn/model/DescribeDcdnUserTagsResult.h | 56 ++ ...lishDcdnStagingConfigToProductionRequest.h | 54 ++ ...blishDcdnStagingConfigToProductionResult.h | 49 ++ .../model/RollbackDcdnStagingConfigRequest.h | 54 ++ .../model/RollbackDcdnStagingConfigResult.h | 49 ++ .../model/SetDcdnConfigOfVersionRequest.h | 69 ++ .../dcdn/model/SetDcdnConfigOfVersionResult.h | 49 ++ .../model/SetDcdnDomainStagingConfigRequest.h | 54 ++ .../model/SetDcdnDomainStagingConfigResult.h | 49 ++ .../dcdn/model/TagDcdnResourcesRequest.h | 66 ++ .../dcdn/model/TagDcdnResourcesResult.h | 49 ++ .../dcdn/model/UntagDcdnResourcesRequest.h | 60 ++ .../dcdn/model/UntagDcdnResourcesResult.h | 49 ++ dcdn/src/DcdnClient.cc | 648 ++++++++++++++++++ .../DeleteDcdnSpecificStagingConfigRequest.cc | 73 ++ .../DeleteDcdnSpecificStagingConfigResult.cc | 44 ++ .../model/DescribeDcdnBgpBpsDataRequest.cc | 84 +++ .../src/model/DescribeDcdnBgpBpsDataResult.cc | 75 ++ .../DescribeDcdnBgpTrafficDataRequest.cc | 84 +++ .../model/DescribeDcdnBgpTrafficDataResult.cc | 75 ++ .../DescribeDcdnConfigOfVersionRequest.cc | 95 +++ .../DescribeDcdnConfigOfVersionResult.cc | 71 ++ ...DescribeDcdnDomainMultiUsageDataRequest.cc | 73 ++ .../DescribeDcdnDomainMultiUsageDataResult.cc | 98 +++ ...cdnDomainRealTimeSrcHttpCodeDataRequest.cc | 95 +++ ...DcdnDomainRealTimeSrcHttpCodeDataResult.cc | 97 +++ .../DescribeDcdnDomainStagingConfigRequest.cc | 62 ++ .../DescribeDcdnDomainStagingConfigResult.cc | 71 ++ dcdn/src/model/DescribeDcdnIpInfoRequest.cc | 62 ++ dcdn/src/model/DescribeDcdnIpInfoResult.cc | 79 +++ .../src/model/DescribeDcdnStagingIpRequest.cc | 40 ++ dcdn/src/model/DescribeDcdnStagingIpResult.cc | 52 ++ .../model/DescribeDcdnTagResourcesRequest.cc | 91 +++ .../model/DescribeDcdnTagResourcesResult.cc | 67 ++ .../model/DescribeDcdnUserBillTypeRequest.cc | 62 ++ .../model/DescribeDcdnUserBillTypeResult.cc | 67 ++ dcdn/src/model/DescribeDcdnUserTagsRequest.cc | 40 ++ dcdn/src/model/DescribeDcdnUserTagsResult.cc | 60 ++ ...ishDcdnStagingConfigToProductionRequest.cc | 62 ++ ...lishDcdnStagingConfigToProductionResult.cc | 44 ++ .../model/RollbackDcdnStagingConfigRequest.cc | 62 ++ .../model/RollbackDcdnStagingConfigResult.cc | 44 ++ .../model/SetDcdnConfigOfVersionRequest.cc | 117 ++++ .../src/model/SetDcdnConfigOfVersionResult.cc | 44 ++ .../SetDcdnDomainStagingConfigRequest.cc | 62 ++ .../model/SetDcdnDomainStagingConfigResult.cc | 44 ++ dcdn/src/model/TagDcdnResourcesRequest.cc | 91 +++ dcdn/src/model/TagDcdnResourcesResult.cc | 44 ++ dcdn/src/model/UntagDcdnResourcesRequest.cc | 88 +++ dcdn/src/model/UntagDcdnResourcesResult.cc | 44 ++ 76 files changed, 5391 insertions(+) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesResult.h create mode 100644 dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnSpecificStagingConfigResult.cc create mode 100644 dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc create mode 100644 dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc create mode 100644 dcdn/src/model/DescribeDcdnConfigOfVersionRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc create mode 100644 dcdn/src/model/DescribeDcdnIpInfoRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnIpInfoResult.cc create mode 100644 dcdn/src/model/DescribeDcdnStagingIpRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnStagingIpResult.cc create mode 100644 dcdn/src/model/DescribeDcdnTagResourcesRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnTagResourcesResult.cc create mode 100644 dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnUserBillTypeResult.cc create mode 100644 dcdn/src/model/DescribeDcdnUserTagsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnUserTagsResult.cc create mode 100644 dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc create mode 100644 dcdn/src/model/PublishDcdnStagingConfigToProductionResult.cc create mode 100644 dcdn/src/model/RollbackDcdnStagingConfigRequest.cc create mode 100644 dcdn/src/model/RollbackDcdnStagingConfigResult.cc create mode 100644 dcdn/src/model/SetDcdnConfigOfVersionRequest.cc create mode 100644 dcdn/src/model/SetDcdnConfigOfVersionResult.cc create mode 100644 dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc create mode 100644 dcdn/src/model/SetDcdnDomainStagingConfigResult.cc create mode 100644 dcdn/src/model/TagDcdnResourcesRequest.cc create mode 100644 dcdn/src/model/TagDcdnResourcesResult.cc create mode 100644 dcdn/src/model/UntagDcdnResourcesRequest.cc create mode 100644 dcdn/src/model/UntagDcdnResourcesResult.cc diff --git a/CHANGELOG b/CHANGELOG index 425dd6681..26900dfdc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-09-04 Version: patch +- Sync cdn APIs. + 2020-09-04 Version: patch - Update Scdn API. diff --git a/dcdn/CMakeLists.txt b/dcdn/CMakeLists.txt index b4b3dda24..14cb3d29a 100644 --- a/dcdn/CMakeLists.txt +++ b/dcdn/CMakeLists.txt @@ -43,10 +43,18 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigResult.h include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigResult.h + include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h + include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h @@ -71,6 +79,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainLogResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h @@ -93,10 +103,14 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeReqHitRateDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitRequest.h @@ -113,6 +127,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.h @@ -127,14 +143,22 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h + include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.h + include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowRequest.h include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h @@ -143,10 +167,18 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesResult.h + include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h + include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesResult.h + include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h + include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h + include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h + include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainCertificateResult.h + include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h + include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h include/alibabacloud/dcdn/model/StartDcdnDomainResult.h include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h @@ -155,6 +187,10 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/StopDcdnDomainResult.h include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h include/alibabacloud/dcdn/model/StopDcdnIpaDomainResult.h + include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h + include/alibabacloud/dcdn/model/TagDcdnResourcesResult.h + include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h + include/alibabacloud/dcdn/model/UntagDcdnResourcesResult.h include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h include/alibabacloud/dcdn/model/UpdateDcdnDomainResult.h include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h @@ -184,10 +220,18 @@ set(dcdn_src src/model/DeleteDcdnIpaSpecificConfigResult.cc src/model/DeleteDcdnSpecificConfigRequest.cc src/model/DeleteDcdnSpecificConfigResult.cc + src/model/DeleteDcdnSpecificStagingConfigRequest.cc + src/model/DeleteDcdnSpecificStagingConfigResult.cc + src/model/DescribeDcdnBgpBpsDataRequest.cc + src/model/DescribeDcdnBgpBpsDataResult.cc + src/model/DescribeDcdnBgpTrafficDataRequest.cc + src/model/DescribeDcdnBgpTrafficDataResult.cc src/model/DescribeDcdnCertificateDetailRequest.cc src/model/DescribeDcdnCertificateDetailResult.cc src/model/DescribeDcdnCertificateListRequest.cc src/model/DescribeDcdnCertificateListResult.cc + src/model/DescribeDcdnConfigOfVersionRequest.cc + src/model/DescribeDcdnConfigOfVersionResult.cc src/model/DescribeDcdnDomainBpsDataRequest.cc src/model/DescribeDcdnDomainBpsDataResult.cc src/model/DescribeDcdnDomainByCertificateRequest.cc @@ -212,6 +256,8 @@ set(dcdn_src src/model/DescribeDcdnDomainIspDataResult.cc src/model/DescribeDcdnDomainLogRequest.cc src/model/DescribeDcdnDomainLogResult.cc + src/model/DescribeDcdnDomainMultiUsageDataRequest.cc + src/model/DescribeDcdnDomainMultiUsageDataResult.cc src/model/DescribeDcdnDomainOriginBpsDataRequest.cc src/model/DescribeDcdnDomainOriginBpsDataResult.cc src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc @@ -234,10 +280,14 @@ set(dcdn_src src/model/DescribeDcdnDomainRealTimeReqHitRateDataResult.cc src/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.cc src/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.cc + src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc + src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc src/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.cc src/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.cc src/model/DescribeDcdnDomainRegionDataRequest.cc src/model/DescribeDcdnDomainRegionDataResult.cc + src/model/DescribeDcdnDomainStagingConfigRequest.cc + src/model/DescribeDcdnDomainStagingConfigResult.cc src/model/DescribeDcdnDomainTopReferVisitRequest.cc src/model/DescribeDcdnDomainTopReferVisitResult.cc src/model/DescribeDcdnDomainTopUrlVisitRequest.cc @@ -254,6 +304,8 @@ set(dcdn_src src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc src/model/DescribeDcdnHttpsDomainListRequest.cc src/model/DescribeDcdnHttpsDomainListResult.cc + src/model/DescribeDcdnIpInfoRequest.cc + src/model/DescribeDcdnIpInfoResult.cc src/model/DescribeDcdnIpaDomainConfigsRequest.cc src/model/DescribeDcdnIpaDomainConfigsResult.cc src/model/DescribeDcdnIpaDomainDetailRequest.cc @@ -268,14 +320,22 @@ set(dcdn_src src/model/DescribeDcdnRefreshTasksResult.cc src/model/DescribeDcdnServiceRequest.cc src/model/DescribeDcdnServiceResult.cc + src/model/DescribeDcdnStagingIpRequest.cc + src/model/DescribeDcdnStagingIpResult.cc + src/model/DescribeDcdnTagResourcesRequest.cc + src/model/DescribeDcdnTagResourcesResult.cc src/model/DescribeDcdnTopDomainsByFlowRequest.cc src/model/DescribeDcdnTopDomainsByFlowResult.cc + src/model/DescribeDcdnUserBillTypeRequest.cc + src/model/DescribeDcdnUserBillTypeResult.cc src/model/DescribeDcdnUserDomainsRequest.cc src/model/DescribeDcdnUserDomainsResult.cc src/model/DescribeDcdnUserQuotaRequest.cc src/model/DescribeDcdnUserQuotaResult.cc src/model/DescribeDcdnUserResourcePackageRequest.cc src/model/DescribeDcdnUserResourcePackageResult.cc + src/model/DescribeDcdnUserTagsRequest.cc + src/model/DescribeDcdnUserTagsResult.cc src/model/DescribeUserDcdnIpaStatusRequest.cc src/model/DescribeUserDcdnIpaStatusResult.cc src/model/DescribeUserDcdnStatusRequest.cc @@ -284,10 +344,18 @@ set(dcdn_src src/model/ModifyDCdnDomainSchdmByPropertyResult.cc src/model/PreloadDcdnObjectCachesRequest.cc src/model/PreloadDcdnObjectCachesResult.cc + src/model/PublishDcdnStagingConfigToProductionRequest.cc + src/model/PublishDcdnStagingConfigToProductionResult.cc src/model/RefreshDcdnObjectCachesRequest.cc src/model/RefreshDcdnObjectCachesResult.cc + src/model/RollbackDcdnStagingConfigRequest.cc + src/model/RollbackDcdnStagingConfigResult.cc + src/model/SetDcdnConfigOfVersionRequest.cc + src/model/SetDcdnConfigOfVersionResult.cc src/model/SetDcdnDomainCertificateRequest.cc src/model/SetDcdnDomainCertificateResult.cc + src/model/SetDcdnDomainStagingConfigRequest.cc + src/model/SetDcdnDomainStagingConfigResult.cc src/model/StartDcdnDomainRequest.cc src/model/StartDcdnDomainResult.cc src/model/StartDcdnIpaDomainRequest.cc @@ -296,6 +364,10 @@ set(dcdn_src src/model/StopDcdnDomainResult.cc src/model/StopDcdnIpaDomainRequest.cc src/model/StopDcdnIpaDomainResult.cc + src/model/TagDcdnResourcesRequest.cc + src/model/TagDcdnResourcesResult.cc + src/model/UntagDcdnResourcesRequest.cc + src/model/UntagDcdnResourcesResult.cc src/model/UpdateDcdnDomainRequest.cc src/model/UpdateDcdnDomainResult.cc src/model/UpdateDcdnIpaDomainRequest.cc diff --git a/dcdn/include/alibabacloud/dcdn/DcdnClient.h b/dcdn/include/alibabacloud/dcdn/DcdnClient.h index a332f71c3..08701f7de 100644 --- a/dcdn/include/alibabacloud/dcdn/DcdnClient.h +++ b/dcdn/include/alibabacloud/dcdn/DcdnClient.h @@ -44,10 +44,18 @@ #include "model/DeleteDcdnIpaSpecificConfigResult.h" #include "model/DeleteDcdnSpecificConfigRequest.h" #include "model/DeleteDcdnSpecificConfigResult.h" +#include "model/DeleteDcdnSpecificStagingConfigRequest.h" +#include "model/DeleteDcdnSpecificStagingConfigResult.h" +#include "model/DescribeDcdnBgpBpsDataRequest.h" +#include "model/DescribeDcdnBgpBpsDataResult.h" +#include "model/DescribeDcdnBgpTrafficDataRequest.h" +#include "model/DescribeDcdnBgpTrafficDataResult.h" #include "model/DescribeDcdnCertificateDetailRequest.h" #include "model/DescribeDcdnCertificateDetailResult.h" #include "model/DescribeDcdnCertificateListRequest.h" #include "model/DescribeDcdnCertificateListResult.h" +#include "model/DescribeDcdnConfigOfVersionRequest.h" +#include "model/DescribeDcdnConfigOfVersionResult.h" #include "model/DescribeDcdnDomainBpsDataRequest.h" #include "model/DescribeDcdnDomainBpsDataResult.h" #include "model/DescribeDcdnDomainByCertificateRequest.h" @@ -72,6 +80,8 @@ #include "model/DescribeDcdnDomainIspDataResult.h" #include "model/DescribeDcdnDomainLogRequest.h" #include "model/DescribeDcdnDomainLogResult.h" +#include "model/DescribeDcdnDomainMultiUsageDataRequest.h" +#include "model/DescribeDcdnDomainMultiUsageDataResult.h" #include "model/DescribeDcdnDomainOriginBpsDataRequest.h" #include "model/DescribeDcdnDomainOriginBpsDataResult.h" #include "model/DescribeDcdnDomainOriginTrafficDataRequest.h" @@ -94,10 +104,14 @@ #include "model/DescribeDcdnDomainRealTimeReqHitRateDataResult.h" #include "model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h" #include "model/DescribeDcdnDomainRealTimeSrcBpsDataResult.h" +#include "model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h" +#include "model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h" #include "model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h" #include "model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.h" #include "model/DescribeDcdnDomainRegionDataRequest.h" #include "model/DescribeDcdnDomainRegionDataResult.h" +#include "model/DescribeDcdnDomainStagingConfigRequest.h" +#include "model/DescribeDcdnDomainStagingConfigResult.h" #include "model/DescribeDcdnDomainTopReferVisitRequest.h" #include "model/DescribeDcdnDomainTopReferVisitResult.h" #include "model/DescribeDcdnDomainTopUrlVisitRequest.h" @@ -114,6 +128,8 @@ #include "model/DescribeDcdnDomainWebsocketTrafficDataResult.h" #include "model/DescribeDcdnHttpsDomainListRequest.h" #include "model/DescribeDcdnHttpsDomainListResult.h" +#include "model/DescribeDcdnIpInfoRequest.h" +#include "model/DescribeDcdnIpInfoResult.h" #include "model/DescribeDcdnIpaDomainConfigsRequest.h" #include "model/DescribeDcdnIpaDomainConfigsResult.h" #include "model/DescribeDcdnIpaDomainDetailRequest.h" @@ -128,14 +144,22 @@ #include "model/DescribeDcdnRefreshTasksResult.h" #include "model/DescribeDcdnServiceRequest.h" #include "model/DescribeDcdnServiceResult.h" +#include "model/DescribeDcdnStagingIpRequest.h" +#include "model/DescribeDcdnStagingIpResult.h" +#include "model/DescribeDcdnTagResourcesRequest.h" +#include "model/DescribeDcdnTagResourcesResult.h" #include "model/DescribeDcdnTopDomainsByFlowRequest.h" #include "model/DescribeDcdnTopDomainsByFlowResult.h" +#include "model/DescribeDcdnUserBillTypeRequest.h" +#include "model/DescribeDcdnUserBillTypeResult.h" #include "model/DescribeDcdnUserDomainsRequest.h" #include "model/DescribeDcdnUserDomainsResult.h" #include "model/DescribeDcdnUserQuotaRequest.h" #include "model/DescribeDcdnUserQuotaResult.h" #include "model/DescribeDcdnUserResourcePackageRequest.h" #include "model/DescribeDcdnUserResourcePackageResult.h" +#include "model/DescribeDcdnUserTagsRequest.h" +#include "model/DescribeDcdnUserTagsResult.h" #include "model/DescribeUserDcdnIpaStatusRequest.h" #include "model/DescribeUserDcdnIpaStatusResult.h" #include "model/DescribeUserDcdnStatusRequest.h" @@ -144,10 +168,18 @@ #include "model/ModifyDCdnDomainSchdmByPropertyResult.h" #include "model/PreloadDcdnObjectCachesRequest.h" #include "model/PreloadDcdnObjectCachesResult.h" +#include "model/PublishDcdnStagingConfigToProductionRequest.h" +#include "model/PublishDcdnStagingConfigToProductionResult.h" #include "model/RefreshDcdnObjectCachesRequest.h" #include "model/RefreshDcdnObjectCachesResult.h" +#include "model/RollbackDcdnStagingConfigRequest.h" +#include "model/RollbackDcdnStagingConfigResult.h" +#include "model/SetDcdnConfigOfVersionRequest.h" +#include "model/SetDcdnConfigOfVersionResult.h" #include "model/SetDcdnDomainCertificateRequest.h" #include "model/SetDcdnDomainCertificateResult.h" +#include "model/SetDcdnDomainStagingConfigRequest.h" +#include "model/SetDcdnDomainStagingConfigResult.h" #include "model/StartDcdnDomainRequest.h" #include "model/StartDcdnDomainResult.h" #include "model/StartDcdnIpaDomainRequest.h" @@ -156,6 +188,10 @@ #include "model/StopDcdnDomainResult.h" #include "model/StopDcdnIpaDomainRequest.h" #include "model/StopDcdnIpaDomainResult.h" +#include "model/TagDcdnResourcesRequest.h" +#include "model/TagDcdnResourcesResult.h" +#include "model/UntagDcdnResourcesRequest.h" +#include "model/UntagDcdnResourcesResult.h" #include "model/UpdateDcdnDomainRequest.h" #include "model/UpdateDcdnDomainResult.h" #include "model/UpdateDcdnIpaDomainRequest.h" @@ -202,12 +238,24 @@ namespace AlibabaCloud typedef Outcome DeleteDcdnSpecificConfigOutcome; typedef std::future DeleteDcdnSpecificConfigOutcomeCallable; typedef std::function&)> DeleteDcdnSpecificConfigAsyncHandler; + typedef Outcome DeleteDcdnSpecificStagingConfigOutcome; + typedef std::future DeleteDcdnSpecificStagingConfigOutcomeCallable; + typedef std::function&)> DeleteDcdnSpecificStagingConfigAsyncHandler; + typedef Outcome DescribeDcdnBgpBpsDataOutcome; + typedef std::future DescribeDcdnBgpBpsDataOutcomeCallable; + typedef std::function&)> DescribeDcdnBgpBpsDataAsyncHandler; + typedef Outcome DescribeDcdnBgpTrafficDataOutcome; + typedef std::future DescribeDcdnBgpTrafficDataOutcomeCallable; + typedef std::function&)> DescribeDcdnBgpTrafficDataAsyncHandler; typedef Outcome DescribeDcdnCertificateDetailOutcome; typedef std::future DescribeDcdnCertificateDetailOutcomeCallable; typedef std::function&)> DescribeDcdnCertificateDetailAsyncHandler; typedef Outcome DescribeDcdnCertificateListOutcome; typedef std::future DescribeDcdnCertificateListOutcomeCallable; typedef std::function&)> DescribeDcdnCertificateListAsyncHandler; + typedef Outcome DescribeDcdnConfigOfVersionOutcome; + typedef std::future DescribeDcdnConfigOfVersionOutcomeCallable; + typedef std::function&)> DescribeDcdnConfigOfVersionAsyncHandler; typedef Outcome DescribeDcdnDomainBpsDataOutcome; typedef std::future DescribeDcdnDomainBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainBpsDataAsyncHandler; @@ -244,6 +292,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainLogOutcome; typedef std::future DescribeDcdnDomainLogOutcomeCallable; typedef std::function&)> DescribeDcdnDomainLogAsyncHandler; + typedef Outcome DescribeDcdnDomainMultiUsageDataOutcome; + typedef std::future DescribeDcdnDomainMultiUsageDataOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainMultiUsageDataAsyncHandler; typedef Outcome DescribeDcdnDomainOriginBpsDataOutcome; typedef std::future DescribeDcdnDomainOriginBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainOriginBpsDataAsyncHandler; @@ -277,12 +328,18 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainRealTimeSrcBpsDataOutcome; typedef std::future DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainRealTimeSrcBpsDataAsyncHandler; + typedef Outcome DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome; + typedef std::future DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler; typedef Outcome DescribeDcdnDomainRealTimeSrcTrafficDataOutcome; typedef std::future DescribeDcdnDomainRealTimeSrcTrafficDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainRealTimeSrcTrafficDataAsyncHandler; typedef Outcome DescribeDcdnDomainRegionDataOutcome; typedef std::future DescribeDcdnDomainRegionDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainRegionDataAsyncHandler; + typedef Outcome DescribeDcdnDomainStagingConfigOutcome; + typedef std::future DescribeDcdnDomainStagingConfigOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainStagingConfigAsyncHandler; typedef Outcome DescribeDcdnDomainTopReferVisitOutcome; typedef std::future DescribeDcdnDomainTopReferVisitOutcomeCallable; typedef std::function&)> DescribeDcdnDomainTopReferVisitAsyncHandler; @@ -307,6 +364,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnHttpsDomainListOutcome; typedef std::future DescribeDcdnHttpsDomainListOutcomeCallable; typedef std::function&)> DescribeDcdnHttpsDomainListAsyncHandler; + typedef Outcome DescribeDcdnIpInfoOutcome; + typedef std::future DescribeDcdnIpInfoOutcomeCallable; + typedef std::function&)> DescribeDcdnIpInfoAsyncHandler; typedef Outcome DescribeDcdnIpaDomainConfigsOutcome; typedef std::future DescribeDcdnIpaDomainConfigsOutcomeCallable; typedef std::function&)> DescribeDcdnIpaDomainConfigsAsyncHandler; @@ -328,9 +388,18 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnServiceOutcome; typedef std::future DescribeDcdnServiceOutcomeCallable; typedef std::function&)> DescribeDcdnServiceAsyncHandler; + typedef Outcome DescribeDcdnStagingIpOutcome; + typedef std::future DescribeDcdnStagingIpOutcomeCallable; + typedef std::function&)> DescribeDcdnStagingIpAsyncHandler; + typedef Outcome DescribeDcdnTagResourcesOutcome; + typedef std::future DescribeDcdnTagResourcesOutcomeCallable; + typedef std::function&)> DescribeDcdnTagResourcesAsyncHandler; typedef Outcome DescribeDcdnTopDomainsByFlowOutcome; typedef std::future DescribeDcdnTopDomainsByFlowOutcomeCallable; typedef std::function&)> DescribeDcdnTopDomainsByFlowAsyncHandler; + typedef Outcome DescribeDcdnUserBillTypeOutcome; + typedef std::future DescribeDcdnUserBillTypeOutcomeCallable; + typedef std::function&)> DescribeDcdnUserBillTypeAsyncHandler; typedef Outcome DescribeDcdnUserDomainsOutcome; typedef std::future DescribeDcdnUserDomainsOutcomeCallable; typedef std::function&)> DescribeDcdnUserDomainsAsyncHandler; @@ -340,6 +409,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnUserResourcePackageOutcome; typedef std::future DescribeDcdnUserResourcePackageOutcomeCallable; typedef std::function&)> DescribeDcdnUserResourcePackageAsyncHandler; + typedef Outcome DescribeDcdnUserTagsOutcome; + typedef std::future DescribeDcdnUserTagsOutcomeCallable; + typedef std::function&)> DescribeDcdnUserTagsAsyncHandler; typedef Outcome DescribeUserDcdnIpaStatusOutcome; typedef std::future DescribeUserDcdnIpaStatusOutcomeCallable; typedef std::function&)> DescribeUserDcdnIpaStatusAsyncHandler; @@ -352,12 +424,24 @@ namespace AlibabaCloud typedef Outcome PreloadDcdnObjectCachesOutcome; typedef std::future PreloadDcdnObjectCachesOutcomeCallable; typedef std::function&)> PreloadDcdnObjectCachesAsyncHandler; + typedef Outcome PublishDcdnStagingConfigToProductionOutcome; + typedef std::future PublishDcdnStagingConfigToProductionOutcomeCallable; + typedef std::function&)> PublishDcdnStagingConfigToProductionAsyncHandler; typedef Outcome RefreshDcdnObjectCachesOutcome; typedef std::future RefreshDcdnObjectCachesOutcomeCallable; typedef std::function&)> RefreshDcdnObjectCachesAsyncHandler; + typedef Outcome RollbackDcdnStagingConfigOutcome; + typedef std::future RollbackDcdnStagingConfigOutcomeCallable; + typedef std::function&)> RollbackDcdnStagingConfigAsyncHandler; + typedef Outcome SetDcdnConfigOfVersionOutcome; + typedef std::future SetDcdnConfigOfVersionOutcomeCallable; + typedef std::function&)> SetDcdnConfigOfVersionAsyncHandler; typedef Outcome SetDcdnDomainCertificateOutcome; typedef std::future SetDcdnDomainCertificateOutcomeCallable; typedef std::function&)> SetDcdnDomainCertificateAsyncHandler; + typedef Outcome SetDcdnDomainStagingConfigOutcome; + typedef std::future SetDcdnDomainStagingConfigOutcomeCallable; + typedef std::function&)> SetDcdnDomainStagingConfigAsyncHandler; typedef Outcome StartDcdnDomainOutcome; typedef std::future StartDcdnDomainOutcomeCallable; typedef std::function&)> StartDcdnDomainAsyncHandler; @@ -370,6 +454,12 @@ namespace AlibabaCloud typedef Outcome StopDcdnIpaDomainOutcome; typedef std::future StopDcdnIpaDomainOutcomeCallable; typedef std::function&)> StopDcdnIpaDomainAsyncHandler; + typedef Outcome TagDcdnResourcesOutcome; + typedef std::future TagDcdnResourcesOutcomeCallable; + typedef std::function&)> TagDcdnResourcesAsyncHandler; + typedef Outcome UntagDcdnResourcesOutcome; + typedef std::future UntagDcdnResourcesOutcomeCallable; + typedef std::function&)> UntagDcdnResourcesAsyncHandler; typedef Outcome UpdateDcdnDomainOutcome; typedef std::future UpdateDcdnDomainOutcomeCallable; typedef std::function&)> UpdateDcdnDomainAsyncHandler; @@ -414,12 +504,24 @@ namespace AlibabaCloud DeleteDcdnSpecificConfigOutcome deleteDcdnSpecificConfig(const Model::DeleteDcdnSpecificConfigRequest &request)const; void deleteDcdnSpecificConfigAsync(const Model::DeleteDcdnSpecificConfigRequest& request, const DeleteDcdnSpecificConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnSpecificConfigOutcomeCallable deleteDcdnSpecificConfigCallable(const Model::DeleteDcdnSpecificConfigRequest& request) const; + DeleteDcdnSpecificStagingConfigOutcome deleteDcdnSpecificStagingConfig(const Model::DeleteDcdnSpecificStagingConfigRequest &request)const; + void deleteDcdnSpecificStagingConfigAsync(const Model::DeleteDcdnSpecificStagingConfigRequest& request, const DeleteDcdnSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnSpecificStagingConfigOutcomeCallable deleteDcdnSpecificStagingConfigCallable(const Model::DeleteDcdnSpecificStagingConfigRequest& request) const; + DescribeDcdnBgpBpsDataOutcome describeDcdnBgpBpsData(const Model::DescribeDcdnBgpBpsDataRequest &request)const; + void describeDcdnBgpBpsDataAsync(const Model::DescribeDcdnBgpBpsDataRequest& request, const DescribeDcdnBgpBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnBgpBpsDataOutcomeCallable describeDcdnBgpBpsDataCallable(const Model::DescribeDcdnBgpBpsDataRequest& request) const; + DescribeDcdnBgpTrafficDataOutcome describeDcdnBgpTrafficData(const Model::DescribeDcdnBgpTrafficDataRequest &request)const; + void describeDcdnBgpTrafficDataAsync(const Model::DescribeDcdnBgpTrafficDataRequest& request, const DescribeDcdnBgpTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnBgpTrafficDataOutcomeCallable describeDcdnBgpTrafficDataCallable(const Model::DescribeDcdnBgpTrafficDataRequest& request) const; DescribeDcdnCertificateDetailOutcome describeDcdnCertificateDetail(const Model::DescribeDcdnCertificateDetailRequest &request)const; void describeDcdnCertificateDetailAsync(const Model::DescribeDcdnCertificateDetailRequest& request, const DescribeDcdnCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnCertificateDetailOutcomeCallable describeDcdnCertificateDetailCallable(const Model::DescribeDcdnCertificateDetailRequest& request) const; DescribeDcdnCertificateListOutcome describeDcdnCertificateList(const Model::DescribeDcdnCertificateListRequest &request)const; void describeDcdnCertificateListAsync(const Model::DescribeDcdnCertificateListRequest& request, const DescribeDcdnCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnCertificateListOutcomeCallable describeDcdnCertificateListCallable(const Model::DescribeDcdnCertificateListRequest& request) const; + DescribeDcdnConfigOfVersionOutcome describeDcdnConfigOfVersion(const Model::DescribeDcdnConfigOfVersionRequest &request)const; + void describeDcdnConfigOfVersionAsync(const Model::DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnConfigOfVersionOutcomeCallable describeDcdnConfigOfVersionCallable(const Model::DescribeDcdnConfigOfVersionRequest& request) const; DescribeDcdnDomainBpsDataOutcome describeDcdnDomainBpsData(const Model::DescribeDcdnDomainBpsDataRequest &request)const; void describeDcdnDomainBpsDataAsync(const Model::DescribeDcdnDomainBpsDataRequest& request, const DescribeDcdnDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainBpsDataOutcomeCallable describeDcdnDomainBpsDataCallable(const Model::DescribeDcdnDomainBpsDataRequest& request) const; @@ -456,6 +558,9 @@ namespace AlibabaCloud DescribeDcdnDomainLogOutcome describeDcdnDomainLog(const Model::DescribeDcdnDomainLogRequest &request)const; void describeDcdnDomainLogAsync(const Model::DescribeDcdnDomainLogRequest& request, const DescribeDcdnDomainLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainLogOutcomeCallable describeDcdnDomainLogCallable(const Model::DescribeDcdnDomainLogRequest& request) const; + DescribeDcdnDomainMultiUsageDataOutcome describeDcdnDomainMultiUsageData(const Model::DescribeDcdnDomainMultiUsageDataRequest &request)const; + void describeDcdnDomainMultiUsageDataAsync(const Model::DescribeDcdnDomainMultiUsageDataRequest& request, const DescribeDcdnDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainMultiUsageDataOutcomeCallable describeDcdnDomainMultiUsageDataCallable(const Model::DescribeDcdnDomainMultiUsageDataRequest& request) const; DescribeDcdnDomainOriginBpsDataOutcome describeDcdnDomainOriginBpsData(const Model::DescribeDcdnDomainOriginBpsDataRequest &request)const; void describeDcdnDomainOriginBpsDataAsync(const Model::DescribeDcdnDomainOriginBpsDataRequest& request, const DescribeDcdnDomainOriginBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainOriginBpsDataOutcomeCallable describeDcdnDomainOriginBpsDataCallable(const Model::DescribeDcdnDomainOriginBpsDataRequest& request) const; @@ -489,12 +594,18 @@ namespace AlibabaCloud DescribeDcdnDomainRealTimeSrcBpsDataOutcome describeDcdnDomainRealTimeSrcBpsData(const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest &request)const; void describeDcdnDomainRealTimeSrcBpsDataAsync(const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest& request, const DescribeDcdnDomainRealTimeSrcBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable describeDcdnDomainRealTimeSrcBpsDataCallable(const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest& request) const; + DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome describeDcdnDomainRealTimeSrcHttpCodeData(const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest &request)const; + void describeDcdnDomainRealTimeSrcHttpCodeDataAsync(const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable describeDcdnDomainRealTimeSrcHttpCodeDataCallable(const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest& request) const; DescribeDcdnDomainRealTimeSrcTrafficDataOutcome describeDcdnDomainRealTimeSrcTrafficData(const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest &request)const; void describeDcdnDomainRealTimeSrcTrafficDataAsync(const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest& request, const DescribeDcdnDomainRealTimeSrcTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainRealTimeSrcTrafficDataOutcomeCallable describeDcdnDomainRealTimeSrcTrafficDataCallable(const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest& request) const; DescribeDcdnDomainRegionDataOutcome describeDcdnDomainRegionData(const Model::DescribeDcdnDomainRegionDataRequest &request)const; void describeDcdnDomainRegionDataAsync(const Model::DescribeDcdnDomainRegionDataRequest& request, const DescribeDcdnDomainRegionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainRegionDataOutcomeCallable describeDcdnDomainRegionDataCallable(const Model::DescribeDcdnDomainRegionDataRequest& request) const; + DescribeDcdnDomainStagingConfigOutcome describeDcdnDomainStagingConfig(const Model::DescribeDcdnDomainStagingConfigRequest &request)const; + void describeDcdnDomainStagingConfigAsync(const Model::DescribeDcdnDomainStagingConfigRequest& request, const DescribeDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainStagingConfigOutcomeCallable describeDcdnDomainStagingConfigCallable(const Model::DescribeDcdnDomainStagingConfigRequest& request) const; DescribeDcdnDomainTopReferVisitOutcome describeDcdnDomainTopReferVisit(const Model::DescribeDcdnDomainTopReferVisitRequest &request)const; void describeDcdnDomainTopReferVisitAsync(const Model::DescribeDcdnDomainTopReferVisitRequest& request, const DescribeDcdnDomainTopReferVisitAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainTopReferVisitOutcomeCallable describeDcdnDomainTopReferVisitCallable(const Model::DescribeDcdnDomainTopReferVisitRequest& request) const; @@ -519,6 +630,9 @@ namespace AlibabaCloud DescribeDcdnHttpsDomainListOutcome describeDcdnHttpsDomainList(const Model::DescribeDcdnHttpsDomainListRequest &request)const; void describeDcdnHttpsDomainListAsync(const Model::DescribeDcdnHttpsDomainListRequest& request, const DescribeDcdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnHttpsDomainListOutcomeCallable describeDcdnHttpsDomainListCallable(const Model::DescribeDcdnHttpsDomainListRequest& request) const; + DescribeDcdnIpInfoOutcome describeDcdnIpInfo(const Model::DescribeDcdnIpInfoRequest &request)const; + void describeDcdnIpInfoAsync(const Model::DescribeDcdnIpInfoRequest& request, const DescribeDcdnIpInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnIpInfoOutcomeCallable describeDcdnIpInfoCallable(const Model::DescribeDcdnIpInfoRequest& request) const; DescribeDcdnIpaDomainConfigsOutcome describeDcdnIpaDomainConfigs(const Model::DescribeDcdnIpaDomainConfigsRequest &request)const; void describeDcdnIpaDomainConfigsAsync(const Model::DescribeDcdnIpaDomainConfigsRequest& request, const DescribeDcdnIpaDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnIpaDomainConfigsOutcomeCallable describeDcdnIpaDomainConfigsCallable(const Model::DescribeDcdnIpaDomainConfigsRequest& request) const; @@ -540,9 +654,18 @@ namespace AlibabaCloud DescribeDcdnServiceOutcome describeDcdnService(const Model::DescribeDcdnServiceRequest &request)const; void describeDcdnServiceAsync(const Model::DescribeDcdnServiceRequest& request, const DescribeDcdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnServiceOutcomeCallable describeDcdnServiceCallable(const Model::DescribeDcdnServiceRequest& request) const; + DescribeDcdnStagingIpOutcome describeDcdnStagingIp(const Model::DescribeDcdnStagingIpRequest &request)const; + void describeDcdnStagingIpAsync(const Model::DescribeDcdnStagingIpRequest& request, const DescribeDcdnStagingIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnStagingIpOutcomeCallable describeDcdnStagingIpCallable(const Model::DescribeDcdnStagingIpRequest& request) const; + DescribeDcdnTagResourcesOutcome describeDcdnTagResources(const Model::DescribeDcdnTagResourcesRequest &request)const; + void describeDcdnTagResourcesAsync(const Model::DescribeDcdnTagResourcesRequest& request, const DescribeDcdnTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnTagResourcesOutcomeCallable describeDcdnTagResourcesCallable(const Model::DescribeDcdnTagResourcesRequest& request) const; DescribeDcdnTopDomainsByFlowOutcome describeDcdnTopDomainsByFlow(const Model::DescribeDcdnTopDomainsByFlowRequest &request)const; void describeDcdnTopDomainsByFlowAsync(const Model::DescribeDcdnTopDomainsByFlowRequest& request, const DescribeDcdnTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnTopDomainsByFlowOutcomeCallable describeDcdnTopDomainsByFlowCallable(const Model::DescribeDcdnTopDomainsByFlowRequest& request) const; + DescribeDcdnUserBillTypeOutcome describeDcdnUserBillType(const Model::DescribeDcdnUserBillTypeRequest &request)const; + void describeDcdnUserBillTypeAsync(const Model::DescribeDcdnUserBillTypeRequest& request, const DescribeDcdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserBillTypeOutcomeCallable describeDcdnUserBillTypeCallable(const Model::DescribeDcdnUserBillTypeRequest& request) const; DescribeDcdnUserDomainsOutcome describeDcdnUserDomains(const Model::DescribeDcdnUserDomainsRequest &request)const; void describeDcdnUserDomainsAsync(const Model::DescribeDcdnUserDomainsRequest& request, const DescribeDcdnUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserDomainsOutcomeCallable describeDcdnUserDomainsCallable(const Model::DescribeDcdnUserDomainsRequest& request) const; @@ -552,6 +675,9 @@ namespace AlibabaCloud DescribeDcdnUserResourcePackageOutcome describeDcdnUserResourcePackage(const Model::DescribeDcdnUserResourcePackageRequest &request)const; void describeDcdnUserResourcePackageAsync(const Model::DescribeDcdnUserResourcePackageRequest& request, const DescribeDcdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserResourcePackageOutcomeCallable describeDcdnUserResourcePackageCallable(const Model::DescribeDcdnUserResourcePackageRequest& request) const; + DescribeDcdnUserTagsOutcome describeDcdnUserTags(const Model::DescribeDcdnUserTagsRequest &request)const; + void describeDcdnUserTagsAsync(const Model::DescribeDcdnUserTagsRequest& request, const DescribeDcdnUserTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserTagsOutcomeCallable describeDcdnUserTagsCallable(const Model::DescribeDcdnUserTagsRequest& request) const; DescribeUserDcdnIpaStatusOutcome describeUserDcdnIpaStatus(const Model::DescribeUserDcdnIpaStatusRequest &request)const; void describeUserDcdnIpaStatusAsync(const Model::DescribeUserDcdnIpaStatusRequest& request, const DescribeUserDcdnIpaStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserDcdnIpaStatusOutcomeCallable describeUserDcdnIpaStatusCallable(const Model::DescribeUserDcdnIpaStatusRequest& request) const; @@ -564,12 +690,24 @@ namespace AlibabaCloud PreloadDcdnObjectCachesOutcome preloadDcdnObjectCaches(const Model::PreloadDcdnObjectCachesRequest &request)const; void preloadDcdnObjectCachesAsync(const Model::PreloadDcdnObjectCachesRequest& request, const PreloadDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PreloadDcdnObjectCachesOutcomeCallable preloadDcdnObjectCachesCallable(const Model::PreloadDcdnObjectCachesRequest& request) const; + PublishDcdnStagingConfigToProductionOutcome publishDcdnStagingConfigToProduction(const Model::PublishDcdnStagingConfigToProductionRequest &request)const; + void publishDcdnStagingConfigToProductionAsync(const Model::PublishDcdnStagingConfigToProductionRequest& request, const PublishDcdnStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PublishDcdnStagingConfigToProductionOutcomeCallable publishDcdnStagingConfigToProductionCallable(const Model::PublishDcdnStagingConfigToProductionRequest& request) const; RefreshDcdnObjectCachesOutcome refreshDcdnObjectCaches(const Model::RefreshDcdnObjectCachesRequest &request)const; void refreshDcdnObjectCachesAsync(const Model::RefreshDcdnObjectCachesRequest& request, const RefreshDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RefreshDcdnObjectCachesOutcomeCallable refreshDcdnObjectCachesCallable(const Model::RefreshDcdnObjectCachesRequest& request) const; + RollbackDcdnStagingConfigOutcome rollbackDcdnStagingConfig(const Model::RollbackDcdnStagingConfigRequest &request)const; + void rollbackDcdnStagingConfigAsync(const Model::RollbackDcdnStagingConfigRequest& request, const RollbackDcdnStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RollbackDcdnStagingConfigOutcomeCallable rollbackDcdnStagingConfigCallable(const Model::RollbackDcdnStagingConfigRequest& request) const; + SetDcdnConfigOfVersionOutcome setDcdnConfigOfVersion(const Model::SetDcdnConfigOfVersionRequest &request)const; + void setDcdnConfigOfVersionAsync(const Model::SetDcdnConfigOfVersionRequest& request, const SetDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDcdnConfigOfVersionOutcomeCallable setDcdnConfigOfVersionCallable(const Model::SetDcdnConfigOfVersionRequest& request) const; SetDcdnDomainCertificateOutcome setDcdnDomainCertificate(const Model::SetDcdnDomainCertificateRequest &request)const; void setDcdnDomainCertificateAsync(const Model::SetDcdnDomainCertificateRequest& request, const SetDcdnDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDcdnDomainCertificateOutcomeCallable setDcdnDomainCertificateCallable(const Model::SetDcdnDomainCertificateRequest& request) const; + SetDcdnDomainStagingConfigOutcome setDcdnDomainStagingConfig(const Model::SetDcdnDomainStagingConfigRequest &request)const; + void setDcdnDomainStagingConfigAsync(const Model::SetDcdnDomainStagingConfigRequest& request, const SetDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDcdnDomainStagingConfigOutcomeCallable setDcdnDomainStagingConfigCallable(const Model::SetDcdnDomainStagingConfigRequest& request) const; StartDcdnDomainOutcome startDcdnDomain(const Model::StartDcdnDomainRequest &request)const; void startDcdnDomainAsync(const Model::StartDcdnDomainRequest& request, const StartDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartDcdnDomainOutcomeCallable startDcdnDomainCallable(const Model::StartDcdnDomainRequest& request) const; @@ -582,6 +720,12 @@ namespace AlibabaCloud StopDcdnIpaDomainOutcome stopDcdnIpaDomain(const Model::StopDcdnIpaDomainRequest &request)const; void stopDcdnIpaDomainAsync(const Model::StopDcdnIpaDomainRequest& request, const StopDcdnIpaDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopDcdnIpaDomainOutcomeCallable stopDcdnIpaDomainCallable(const Model::StopDcdnIpaDomainRequest& request) const; + TagDcdnResourcesOutcome tagDcdnResources(const Model::TagDcdnResourcesRequest &request)const; + void tagDcdnResourcesAsync(const Model::TagDcdnResourcesRequest& request, const TagDcdnResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TagDcdnResourcesOutcomeCallable tagDcdnResourcesCallable(const Model::TagDcdnResourcesRequest& request) const; + UntagDcdnResourcesOutcome untagDcdnResources(const Model::UntagDcdnResourcesRequest &request)const; + void untagDcdnResourcesAsync(const Model::UntagDcdnResourcesRequest& request, const UntagDcdnResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UntagDcdnResourcesOutcomeCallable untagDcdnResourcesCallable(const Model::UntagDcdnResourcesRequest& request) const; UpdateDcdnDomainOutcome updateDcdnDomain(const Model::UpdateDcdnDomainRequest &request)const; void updateDcdnDomainAsync(const Model::UpdateDcdnDomainRequest& request, const UpdateDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateDcdnDomainOutcomeCallable updateDcdnDomainCallable(const Model::UpdateDcdnDomainRequest& request) const; diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h new file mode 100644 index 000000000..a88b227e8 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.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_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificStagingConfigRequest : public RpcServiceRequest + { + + public: + DeleteDcdnSpecificStagingConfigRequest(); + ~DeleteDcdnSpecificStagingConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getConfigId()const; + void setConfigId(const std::string& configId); + + private: + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h new file mode 100644 index 000000000..aa553be1c --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.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_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificStagingConfigResult : public ServiceResult + { + public: + + + DeleteDcdnSpecificStagingConfigResult(); + explicit DeleteDcdnSpecificStagingConfigResult(const std::string &payload); + ~DeleteDcdnSpecificStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h new file mode 100644 index 000000000..d882cfc9f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeDcdnBgpBpsDataRequest(); + ~DescribeDcdnBgpBpsDataRequest(); + + std::string getIsp()const; + void setIsp(const std::string& isp); + 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 getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string isp_; + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h new file mode 100644 index 000000000..126ad2a9b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpBpsDataResult : public ServiceResult + { + public: + struct BgpData + { + float in; + std::string timeStamp; + float out; + }; + + + DescribeDcdnBgpBpsDataResult(); + explicit DescribeDcdnBgpBpsDataResult(const std::string &payload); + ~DescribeDcdnBgpBpsDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getBgpDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector bgpDataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h new file mode 100644 index 000000000..aaff77973 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpTrafficDataRequest : public RpcServiceRequest + { + + public: + DescribeDcdnBgpTrafficDataRequest(); + ~DescribeDcdnBgpTrafficDataRequest(); + + std::string getIsp()const; + void setIsp(const std::string& isp); + 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 getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string isp_; + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h new file mode 100644 index 000000000..8062015c1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpTrafficDataResult : public ServiceResult + { + public: + struct BgpData + { + long in; + std::string timeStamp; + long out; + }; + + + DescribeDcdnBgpTrafficDataResult(); + explicit DescribeDcdnBgpTrafficDataResult(const std::string &payload); + ~DescribeDcdnBgpTrafficDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getBgpDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector bgpDataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h new file mode 100644 index 000000000..581228a63 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigOfVersionRequest : public RpcServiceRequest + { + + public: + DescribeDcdnConfigOfVersionRequest(); + ~DescribeDcdnConfigOfVersionRequest(); + + std::string getVersionId()const; + void setVersionId(const std::string& versionId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getFunctionName()const; + void setFunctionName(const std::string& functionName); + long getGroupId()const; + void setGroupId(long groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getFunctionId()const; + void setFunctionId(int functionId); + + private: + std::string versionId_; + std::string securityToken_; + std::string functionName_; + long groupId_; + long ownerId_; + int functionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h new file mode 100644 index 000000000..55f91d114 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigOfVersionResult : public ServiceResult + { + public: + struct VersionConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeDcdnConfigOfVersionResult(); + explicit DescribeDcdnConfigOfVersionResult(const std::string &payload); + ~DescribeDcdnConfigOfVersionResult(); + std::vector getVersionConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector versionConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h new file mode 100644 index 000000000..bb4197e7f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.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_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainMultiUsageDataRequest : public RpcServiceRequest + { + + public: + DescribeDcdnDomainMultiUsageDataRequest(); + ~DescribeDcdnDomainMultiUsageDataRequest(); + + 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); + + private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h new file mode 100644 index 000000000..4eb3df66a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainMultiUsageDataResult : public ServiceResult + { + public: + struct RequestDataModule + { + std::string type; + long request; + std::string domain; + std::string timeStamp; + }; + struct TrafficDataModule + { + std::string type; + std::string area; + float bps; + std::string domain; + std::string timeStamp; + }; + + + DescribeDcdnDomainMultiUsageDataResult(); + explicit DescribeDcdnDomainMultiUsageDataResult(const std::string &payload); + ~DescribeDcdnDomainMultiUsageDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getRequestPerInterval()const; + std::vector getTrafficPerInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector requestPerInterval_; + std::vector trafficPerInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h new file mode 100644 index 000000000..866639458 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest : public RpcServiceRequest + { + + public: + DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest(); + ~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest(); + + std::string getLocationNameEn()const; + void setLocationNameEn(const std::string& locationNameEn); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIspNameEn()const; + void setIspNameEn(const std::string& ispNameEn); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h new file mode 100644 index 000000000..36eeb4787 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcHttpCodeDataResult : public ServiceResult + { + public: + struct UsageData + { + struct RealTimeSrcCodeProportionData + { + std::string proportion; + std::string count; + std::string code; + }; + std::vector value; + std::string timeStamp; + }; + + + DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(); + explicit DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(const std::string &payload); + ~DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getRealTimeSrcHttpCodeData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector realTimeSrcHttpCodeData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h new file mode 100644 index 000000000..8922cf064 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.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_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainStagingConfigRequest : public RpcServiceRequest + { + + public: + DescribeDcdnDomainStagingConfigRequest(); + ~DescribeDcdnDomainStagingConfigRequest(); + + std::string getFunctionNames()const; + void setFunctionNames(const std::string& functionNames); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functionNames_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h new file mode 100644 index 000000000..235e9d305 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainStagingConfigResult : public ServiceResult + { + public: + struct DomainConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeDcdnDomainStagingConfigResult(); + explicit DescribeDcdnDomainStagingConfigResult(const std::string &payload); + ~DescribeDcdnDomainStagingConfigResult(); + std::vector getDomainConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h new file mode 100644 index 000000000..7a36bc624 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.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_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpInfoRequest : public RpcServiceRequest + { + + public: + DescribeDcdnIpInfoRequest(); + ~DescribeDcdnIpInfoRequest(); + + std::string getIP()const; + void setIP(const std::string& iP); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + + private: + std::string iP_; + long ownerId_; + std::string securityToken_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h new file mode 100644 index 000000000..547ed990c --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpInfoResult : public ServiceResult + { + public: + + + DescribeDcdnIpInfoResult(); + explicit DescribeDcdnIpInfoResult(const std::string &payload); + ~DescribeDcdnIpInfoResult(); + std::string getISP()const; + std::string getRegion()const; + std::string getIspEname()const; + std::string getDcdnIp()const; + std::string getRegionEname()const; + + protected: + void parse(const std::string &payload); + private: + std::string iSP_; + std::string region_; + std::string ispEname_; + std::string dcdnIp_; + std::string regionEname_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h new file mode 100644 index 000000000..9b77b459f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.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_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpRequest : public RpcServiceRequest + { + + public: + DescribeDcdnStagingIpRequest(); + ~DescribeDcdnStagingIpRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.h new file mode 100644 index 000000000..6c56e3830 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.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_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpResult : public ServiceResult + { + public: + + + DescribeDcdnStagingIpResult(); + explicit DescribeDcdnStagingIpResult(const std::string &payload); + ~DescribeDcdnStagingIpResult(); + std::vector getIPV4s()const; + + protected: + void parse(const std::string &payload); + private: + std::vector iPV4s_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h new file mode 100644 index 000000000..3cd81cd46 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTagResourcesRequest : public RpcServiceRequest + { + public: + struct Tag + { + std::string key; + std::string value; + }; + + public: + DescribeDcdnTagResourcesRequest(); + ~DescribeDcdnTagResourcesRequest(); + + std::string getScope()const; + void setScope(const std::string& scope); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::vector getResourceId()const; + void setResourceId(const std::vector& resourceId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + + private: + std::string scope_; + std::vector tag_; + std::vector resourceId_; + long ownerId_; + std::string resourceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h new file mode 100644 index 000000000..b339f8020 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTagResourcesResult : public ServiceResult + { + public: + struct TagResource + { + struct TagItem + { + std::string value; + std::string key; + }; + std::string resourceId; + std::vector tag; + }; + + + DescribeDcdnTagResourcesResult(); + explicit DescribeDcdnTagResourcesResult(const std::string &payload); + ~DescribeDcdnTagResourcesResult(); + std::vector getTagResources()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tagResources_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h new file mode 100644 index 000000000..a39565162 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.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_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillTypeRequest : public RpcServiceRequest + { + + public: + DescribeDcdnUserBillTypeRequest(); + ~DescribeDcdnUserBillTypeRequest(); + + 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); + + private: + std::string startTime_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h new file mode 100644 index 000000000..b59e29395 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillTypeResult : public ServiceResult + { + public: + struct BillTypeDataItem + { + std::string billType; + std::string billingCycle; + std::string endTime; + std::string startTime; + std::string product; + std::string dimension; + }; + + + DescribeDcdnUserBillTypeResult(); + explicit DescribeDcdnUserBillTypeResult(const std::string &payload); + ~DescribeDcdnUserBillTypeResult(); + std::vector getBillTypeData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector billTypeData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h new file mode 100644 index 000000000..71a74c4fa --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.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_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsRequest : public RpcServiceRequest + { + + public: + DescribeDcdnUserTagsRequest(); + ~DescribeDcdnUserTagsRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h new file mode 100644 index 000000000..51459e863 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsResult : public ServiceResult + { + public: + struct Tag + { + std::vector value; + std::string key; + }; + + + DescribeDcdnUserTagsResult(); + explicit DescribeDcdnUserTagsResult(const std::string &payload); + ~DescribeDcdnUserTagsResult(); + std::vector getTags()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tags_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h b/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h new file mode 100644 index 000000000..3f32890a1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.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_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT PublishDcdnStagingConfigToProductionRequest : public RpcServiceRequest + { + + public: + PublishDcdnStagingConfigToProductionRequest(); + ~PublishDcdnStagingConfigToProductionRequest(); + + std::string getFunctionName()const; + void setFunctionName(const std::string& functionName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functionName_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h b/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h new file mode 100644 index 000000000..c62f27358 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.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_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT PublishDcdnStagingConfigToProductionResult : public ServiceResult + { + public: + + + PublishDcdnStagingConfigToProductionResult(); + explicit PublishDcdnStagingConfigToProductionResult(const std::string &payload); + ~PublishDcdnStagingConfigToProductionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h new file mode 100644 index 000000000..102da050b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.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_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT RollbackDcdnStagingConfigRequest : public RpcServiceRequest + { + + public: + RollbackDcdnStagingConfigRequest(); + ~RollbackDcdnStagingConfigRequest(); + + std::string getFunctionName()const; + void setFunctionName(const std::string& functionName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functionName_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h new file mode 100644 index 000000000..703755992 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.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_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT RollbackDcdnStagingConfigResult : public ServiceResult + { + public: + + + RollbackDcdnStagingConfigResult(); + explicit RollbackDcdnStagingConfigResult(const std::string &payload); + ~RollbackDcdnStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h new file mode 100644 index 000000000..ac5546b02 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.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_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnConfigOfVersionRequest : public RpcServiceRequest + { + + public: + SetDcdnConfigOfVersionRequest(); + ~SetDcdnConfigOfVersionRequest(); + + std::string getVersionId()const; + void setVersionId(const std::string& versionId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getFunctionName()const; + void setFunctionName(const std::string& functionName); + std::string getFunctionArgs()const; + void setFunctionArgs(const std::string& functionArgs); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getFunctionId()const; + void setFunctionId(long functionId); + std::string getConfigId()const; + void setConfigId(const std::string& configId); + + private: + std::string versionId_; + std::string securityToken_; + std::string functionName_; + std::string functionArgs_; + std::string ownerAccount_; + long ownerId_; + long functionId_; + std::string configId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h new file mode 100644 index 000000000..6b1ecc911 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.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_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnConfigOfVersionResult : public ServiceResult + { + public: + + + SetDcdnConfigOfVersionResult(); + explicit SetDcdnConfigOfVersionResult(const std::string &payload); + ~SetDcdnConfigOfVersionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h new file mode 100644 index 000000000..a0bdc5b38 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.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_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainStagingConfigRequest : public RpcServiceRequest + { + + public: + SetDcdnDomainStagingConfigRequest(); + ~SetDcdnDomainStagingConfigRequest(); + + std::string getFunctions()const; + void setFunctions(const std::string& functions); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functions_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h new file mode 100644 index 000000000..13537b6d3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.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_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainStagingConfigResult : public ServiceResult + { + public: + + + SetDcdnDomainStagingConfigResult(); + explicit SetDcdnDomainStagingConfigResult(const std::string &payload); + ~SetDcdnDomainStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h b/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h new file mode 100644 index 000000000..f5347c0a7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT TagDcdnResourcesRequest : public RpcServiceRequest + { + public: + struct Tag + { + std::string key; + std::string value; + }; + + public: + TagDcdnResourcesRequest(); + ~TagDcdnResourcesRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::vector getResourceId()const; + void setResourceId(const std::vector& resourceId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + + private: + std::string regionId_; + std::vector tag_; + std::vector resourceId_; + long ownerId_; + std::string resourceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesResult.h b/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesResult.h new file mode 100644 index 000000000..5fd176c1c --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesResult.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_DCDN_MODEL_TAGDCDNRESOURCESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT TagDcdnResourcesResult : public ServiceResult + { + public: + + + TagDcdnResourcesResult(); + explicit TagDcdnResourcesResult(const std::string &payload); + ~TagDcdnResourcesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h b/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h new file mode 100644 index 000000000..ab46acfea --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UntagDcdnResourcesRequest : public RpcServiceRequest + { + + public: + UntagDcdnResourcesRequest(); + ~UntagDcdnResourcesRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::vector getResourceId()const; + void setResourceId(const std::vector& resourceId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::vector getTagKey()const; + void setTagKey(const std::vector& tagKey); + + private: + std::string regionId_; + std::vector resourceId_; + long ownerId_; + std::string resourceType_; + std::vector tagKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesResult.h b/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesResult.h new file mode 100644 index 000000000..d2588784f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesResult.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_DCDN_MODEL_UNTAGDCDNRESOURCESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UntagDcdnResourcesResult : public ServiceResult + { + public: + + + UntagDcdnResourcesResult(); + explicit UntagDcdnResourcesResult(const std::string &payload); + ~UntagDcdnResourcesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESRESULT_H_ \ No newline at end of file diff --git a/dcdn/src/DcdnClient.cc b/dcdn/src/DcdnClient.cc index 14651ebf7..2944b5a3e 100644 --- a/dcdn/src/DcdnClient.cc +++ b/dcdn/src/DcdnClient.cc @@ -447,6 +447,114 @@ DcdnClient::DeleteDcdnSpecificConfigOutcomeCallable DcdnClient::deleteDcdnSpecif return task->get_future(); } +DcdnClient::DeleteDcdnSpecificStagingConfigOutcome DcdnClient::deleteDcdnSpecificStagingConfig(const DeleteDcdnSpecificStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnSpecificStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnSpecificStagingConfigOutcome(DeleteDcdnSpecificStagingConfigResult(outcome.result())); + else + return DeleteDcdnSpecificStagingConfigOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnSpecificStagingConfigAsync(const DeleteDcdnSpecificStagingConfigRequest& request, const DeleteDcdnSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnSpecificStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnSpecificStagingConfigOutcomeCallable DcdnClient::deleteDcdnSpecificStagingConfigCallable(const DeleteDcdnSpecificStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnSpecificStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnBgpBpsDataOutcome DcdnClient::describeDcdnBgpBpsData(const DescribeDcdnBgpBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnBgpBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnBgpBpsDataOutcome(DescribeDcdnBgpBpsDataResult(outcome.result())); + else + return DescribeDcdnBgpBpsDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnBgpBpsDataAsync(const DescribeDcdnBgpBpsDataRequest& request, const DescribeDcdnBgpBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnBgpBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnBgpBpsDataOutcomeCallable DcdnClient::describeDcdnBgpBpsDataCallable(const DescribeDcdnBgpBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnBgpBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnBgpTrafficDataOutcome DcdnClient::describeDcdnBgpTrafficData(const DescribeDcdnBgpTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnBgpTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnBgpTrafficDataOutcome(DescribeDcdnBgpTrafficDataResult(outcome.result())); + else + return DescribeDcdnBgpTrafficDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnBgpTrafficDataAsync(const DescribeDcdnBgpTrafficDataRequest& request, const DescribeDcdnBgpTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnBgpTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnBgpTrafficDataOutcomeCallable DcdnClient::describeDcdnBgpTrafficDataCallable(const DescribeDcdnBgpTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnBgpTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnCertificateDetailOutcome DcdnClient::describeDcdnCertificateDetail(const DescribeDcdnCertificateDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,6 +627,42 @@ DcdnClient::DescribeDcdnCertificateListOutcomeCallable DcdnClient::describeDcdnC return task->get_future(); } +DcdnClient::DescribeDcdnConfigOfVersionOutcome DcdnClient::describeDcdnConfigOfVersion(const DescribeDcdnConfigOfVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnConfigOfVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnConfigOfVersionOutcome(DescribeDcdnConfigOfVersionResult(outcome.result())); + else + return DescribeDcdnConfigOfVersionOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnConfigOfVersionAsync(const DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnConfigOfVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnConfigOfVersionOutcomeCallable DcdnClient::describeDcdnConfigOfVersionCallable(const DescribeDcdnConfigOfVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnConfigOfVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainBpsDataOutcome DcdnClient::describeDcdnDomainBpsData(const DescribeDcdnDomainBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -951,6 +1095,42 @@ DcdnClient::DescribeDcdnDomainLogOutcomeCallable DcdnClient::describeDcdnDomainL return task->get_future(); } +DcdnClient::DescribeDcdnDomainMultiUsageDataOutcome DcdnClient::describeDcdnDomainMultiUsageData(const DescribeDcdnDomainMultiUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainMultiUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainMultiUsageDataOutcome(DescribeDcdnDomainMultiUsageDataResult(outcome.result())); + else + return DescribeDcdnDomainMultiUsageDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainMultiUsageDataAsync(const DescribeDcdnDomainMultiUsageDataRequest& request, const DescribeDcdnDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainMultiUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainMultiUsageDataOutcomeCallable DcdnClient::describeDcdnDomainMultiUsageDataCallable(const DescribeDcdnDomainMultiUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainMultiUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainOriginBpsDataOutcome DcdnClient::describeDcdnDomainOriginBpsData(const DescribeDcdnDomainOriginBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1347,6 +1527,42 @@ DcdnClient::DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable DcdnClient::desc return task->get_future(); } +DcdnClient::DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome DcdnClient::describeDcdnDomainRealTimeSrcHttpCodeData(const DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome(DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(outcome.result())); + else + return DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainRealTimeSrcHttpCodeDataAsync(const DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainRealTimeSrcHttpCodeData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable DcdnClient::describeDcdnDomainRealTimeSrcHttpCodeDataCallable(const DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainRealTimeSrcHttpCodeData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainRealTimeSrcTrafficDataOutcome DcdnClient::describeDcdnDomainRealTimeSrcTrafficData(const DescribeDcdnDomainRealTimeSrcTrafficDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1419,6 +1635,42 @@ DcdnClient::DescribeDcdnDomainRegionDataOutcomeCallable DcdnClient::describeDcdn return task->get_future(); } +DcdnClient::DescribeDcdnDomainStagingConfigOutcome DcdnClient::describeDcdnDomainStagingConfig(const DescribeDcdnDomainStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainStagingConfigOutcome(DescribeDcdnDomainStagingConfigResult(outcome.result())); + else + return DescribeDcdnDomainStagingConfigOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainStagingConfigAsync(const DescribeDcdnDomainStagingConfigRequest& request, const DescribeDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainStagingConfigOutcomeCallable DcdnClient::describeDcdnDomainStagingConfigCallable(const DescribeDcdnDomainStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainTopReferVisitOutcome DcdnClient::describeDcdnDomainTopReferVisit(const DescribeDcdnDomainTopReferVisitRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1707,6 +1959,42 @@ DcdnClient::DescribeDcdnHttpsDomainListOutcomeCallable DcdnClient::describeDcdnH return task->get_future(); } +DcdnClient::DescribeDcdnIpInfoOutcome DcdnClient::describeDcdnIpInfo(const DescribeDcdnIpInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnIpInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnIpInfoOutcome(DescribeDcdnIpInfoResult(outcome.result())); + else + return DescribeDcdnIpInfoOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnIpInfoAsync(const DescribeDcdnIpInfoRequest& request, const DescribeDcdnIpInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnIpInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnIpInfoOutcomeCallable DcdnClient::describeDcdnIpInfoCallable(const DescribeDcdnIpInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnIpInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnIpaDomainConfigsOutcome DcdnClient::describeDcdnIpaDomainConfigs(const DescribeDcdnIpaDomainConfigsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1959,6 +2247,78 @@ DcdnClient::DescribeDcdnServiceOutcomeCallable DcdnClient::describeDcdnServiceCa return task->get_future(); } +DcdnClient::DescribeDcdnStagingIpOutcome DcdnClient::describeDcdnStagingIp(const DescribeDcdnStagingIpRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnStagingIpOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnStagingIpOutcome(DescribeDcdnStagingIpResult(outcome.result())); + else + return DescribeDcdnStagingIpOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnStagingIpAsync(const DescribeDcdnStagingIpRequest& request, const DescribeDcdnStagingIpAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnStagingIp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnStagingIpOutcomeCallable DcdnClient::describeDcdnStagingIpCallable(const DescribeDcdnStagingIpRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnStagingIp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnTagResourcesOutcome DcdnClient::describeDcdnTagResources(const DescribeDcdnTagResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnTagResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnTagResourcesOutcome(DescribeDcdnTagResourcesResult(outcome.result())); + else + return DescribeDcdnTagResourcesOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnTagResourcesAsync(const DescribeDcdnTagResourcesRequest& request, const DescribeDcdnTagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnTagResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnTagResourcesOutcomeCallable DcdnClient::describeDcdnTagResourcesCallable(const DescribeDcdnTagResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnTagResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnTopDomainsByFlowOutcome DcdnClient::describeDcdnTopDomainsByFlow(const DescribeDcdnTopDomainsByFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1995,6 +2355,42 @@ DcdnClient::DescribeDcdnTopDomainsByFlowOutcomeCallable DcdnClient::describeDcdn return task->get_future(); } +DcdnClient::DescribeDcdnUserBillTypeOutcome DcdnClient::describeDcdnUserBillType(const DescribeDcdnUserBillTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserBillTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserBillTypeOutcome(DescribeDcdnUserBillTypeResult(outcome.result())); + else + return DescribeDcdnUserBillTypeOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserBillTypeAsync(const DescribeDcdnUserBillTypeRequest& request, const DescribeDcdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserBillType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserBillTypeOutcomeCallable DcdnClient::describeDcdnUserBillTypeCallable(const DescribeDcdnUserBillTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserBillType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnUserDomainsOutcome DcdnClient::describeDcdnUserDomains(const DescribeDcdnUserDomainsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2103,6 +2499,42 @@ DcdnClient::DescribeDcdnUserResourcePackageOutcomeCallable DcdnClient::describeD return task->get_future(); } +DcdnClient::DescribeDcdnUserTagsOutcome DcdnClient::describeDcdnUserTags(const DescribeDcdnUserTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserTagsOutcome(DescribeDcdnUserTagsResult(outcome.result())); + else + return DescribeDcdnUserTagsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserTagsAsync(const DescribeDcdnUserTagsRequest& request, const DescribeDcdnUserTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserTagsOutcomeCallable DcdnClient::describeDcdnUserTagsCallable(const DescribeDcdnUserTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeUserDcdnIpaStatusOutcome DcdnClient::describeUserDcdnIpaStatus(const DescribeUserDcdnIpaStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2247,6 +2679,42 @@ DcdnClient::PreloadDcdnObjectCachesOutcomeCallable DcdnClient::preloadDcdnObject return task->get_future(); } +DcdnClient::PublishDcdnStagingConfigToProductionOutcome DcdnClient::publishDcdnStagingConfigToProduction(const PublishDcdnStagingConfigToProductionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PublishDcdnStagingConfigToProductionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PublishDcdnStagingConfigToProductionOutcome(PublishDcdnStagingConfigToProductionResult(outcome.result())); + else + return PublishDcdnStagingConfigToProductionOutcome(outcome.error()); +} + +void DcdnClient::publishDcdnStagingConfigToProductionAsync(const PublishDcdnStagingConfigToProductionRequest& request, const PublishDcdnStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, publishDcdnStagingConfigToProduction(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::PublishDcdnStagingConfigToProductionOutcomeCallable DcdnClient::publishDcdnStagingConfigToProductionCallable(const PublishDcdnStagingConfigToProductionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->publishDcdnStagingConfigToProduction(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::RefreshDcdnObjectCachesOutcome DcdnClient::refreshDcdnObjectCaches(const RefreshDcdnObjectCachesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2283,6 +2751,78 @@ DcdnClient::RefreshDcdnObjectCachesOutcomeCallable DcdnClient::refreshDcdnObject return task->get_future(); } +DcdnClient::RollbackDcdnStagingConfigOutcome DcdnClient::rollbackDcdnStagingConfig(const RollbackDcdnStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RollbackDcdnStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RollbackDcdnStagingConfigOutcome(RollbackDcdnStagingConfigResult(outcome.result())); + else + return RollbackDcdnStagingConfigOutcome(outcome.error()); +} + +void DcdnClient::rollbackDcdnStagingConfigAsync(const RollbackDcdnStagingConfigRequest& request, const RollbackDcdnStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rollbackDcdnStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::RollbackDcdnStagingConfigOutcomeCallable DcdnClient::rollbackDcdnStagingConfigCallable(const RollbackDcdnStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rollbackDcdnStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::SetDcdnConfigOfVersionOutcome DcdnClient::setDcdnConfigOfVersion(const SetDcdnConfigOfVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDcdnConfigOfVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDcdnConfigOfVersionOutcome(SetDcdnConfigOfVersionResult(outcome.result())); + else + return SetDcdnConfigOfVersionOutcome(outcome.error()); +} + +void DcdnClient::setDcdnConfigOfVersionAsync(const SetDcdnConfigOfVersionRequest& request, const SetDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDcdnConfigOfVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetDcdnConfigOfVersionOutcomeCallable DcdnClient::setDcdnConfigOfVersionCallable(const SetDcdnConfigOfVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDcdnConfigOfVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::SetDcdnDomainCertificateOutcome DcdnClient::setDcdnDomainCertificate(const SetDcdnDomainCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2319,6 +2859,42 @@ DcdnClient::SetDcdnDomainCertificateOutcomeCallable DcdnClient::setDcdnDomainCer return task->get_future(); } +DcdnClient::SetDcdnDomainStagingConfigOutcome DcdnClient::setDcdnDomainStagingConfig(const SetDcdnDomainStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDcdnDomainStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDcdnDomainStagingConfigOutcome(SetDcdnDomainStagingConfigResult(outcome.result())); + else + return SetDcdnDomainStagingConfigOutcome(outcome.error()); +} + +void DcdnClient::setDcdnDomainStagingConfigAsync(const SetDcdnDomainStagingConfigRequest& request, const SetDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDcdnDomainStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetDcdnDomainStagingConfigOutcomeCallable DcdnClient::setDcdnDomainStagingConfigCallable(const SetDcdnDomainStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDcdnDomainStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::StartDcdnDomainOutcome DcdnClient::startDcdnDomain(const StartDcdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2463,6 +3039,78 @@ DcdnClient::StopDcdnIpaDomainOutcomeCallable DcdnClient::stopDcdnIpaDomainCallab return task->get_future(); } +DcdnClient::TagDcdnResourcesOutcome DcdnClient::tagDcdnResources(const TagDcdnResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TagDcdnResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TagDcdnResourcesOutcome(TagDcdnResourcesResult(outcome.result())); + else + return TagDcdnResourcesOutcome(outcome.error()); +} + +void DcdnClient::tagDcdnResourcesAsync(const TagDcdnResourcesRequest& request, const TagDcdnResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, tagDcdnResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::TagDcdnResourcesOutcomeCallable DcdnClient::tagDcdnResourcesCallable(const TagDcdnResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->tagDcdnResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::UntagDcdnResourcesOutcome DcdnClient::untagDcdnResources(const UntagDcdnResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UntagDcdnResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UntagDcdnResourcesOutcome(UntagDcdnResourcesResult(outcome.result())); + else + return UntagDcdnResourcesOutcome(outcome.error()); +} + +void DcdnClient::untagDcdnResourcesAsync(const UntagDcdnResourcesRequest& request, const UntagDcdnResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, untagDcdnResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::UntagDcdnResourcesOutcomeCallable DcdnClient::untagDcdnResourcesCallable(const UntagDcdnResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->untagDcdnResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::UpdateDcdnDomainOutcome DcdnClient::updateDcdnDomain(const UpdateDcdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.cc b/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.cc new file mode 100644 index 000000000..d664693f9 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.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::Dcdn::Model::DeleteDcdnSpecificStagingConfigRequest; + +DeleteDcdnSpecificStagingConfigRequest::DeleteDcdnSpecificStagingConfigRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSpecificStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnSpecificStagingConfigRequest::~DeleteDcdnSpecificStagingConfigRequest() +{} + +std::string DeleteDcdnSpecificStagingConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteDcdnSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteDcdnSpecificStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteDcdnSpecificStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteDcdnSpecificStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteDcdnSpecificStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteDcdnSpecificStagingConfigRequest::getConfigId()const +{ + return configId_; +} + +void DeleteDcdnSpecificStagingConfigRequest::setConfigId(const std::string& configId) +{ + configId_ = configId; + setParameter("ConfigId", configId); +} + diff --git a/dcdn/src/model/DeleteDcdnSpecificStagingConfigResult.cc b/dcdn/src/model/DeleteDcdnSpecificStagingConfigResult.cc new file mode 100644 index 000000000..86f1b0b6a --- /dev/null +++ b/dcdn/src/model/DeleteDcdnSpecificStagingConfigResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DeleteDcdnSpecificStagingConfigResult::DeleteDcdnSpecificStagingConfigResult() : + ServiceResult() +{} + +DeleteDcdnSpecificStagingConfigResult::DeleteDcdnSpecificStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDcdnSpecificStagingConfigResult::~DeleteDcdnSpecificStagingConfigResult() +{} + +void DeleteDcdnSpecificStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc new file mode 100644 index 000000000..c14adb55c --- /dev/null +++ b/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpBpsDataRequest; + +DescribeDcdnBgpBpsDataRequest::DescribeDcdnBgpBpsDataRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpBpsData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnBgpBpsDataRequest::~DescribeDcdnBgpBpsDataRequest() +{} + +std::string DescribeDcdnBgpBpsDataRequest::getIsp()const +{ + return isp_; +} + +void DescribeDcdnBgpBpsDataRequest::setIsp(const std::string& isp) +{ + isp_ = isp; + setParameter("Isp", isp); +} + +std::string DescribeDcdnBgpBpsDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnBgpBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnBgpBpsDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnBgpBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnBgpBpsDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnBgpBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnBgpBpsDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeDcdnBgpBpsDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc b/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc new file mode 100644 index 000000000..86a5ac026 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnBgpBpsDataResult::DescribeDcdnBgpBpsDataResult() : + ServiceResult() +{} + +DescribeDcdnBgpBpsDataResult::DescribeDcdnBgpBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnBgpBpsDataResult::~DescribeDcdnBgpBpsDataResult() +{} + +void DescribeDcdnBgpBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBgpDataIntervalNode = value["BgpDataInterval"]["BgpData"]; + for (auto valueBgpDataIntervalBgpData : allBgpDataIntervalNode) + { + BgpData bgpDataIntervalObject; + if(!valueBgpDataIntervalBgpData["In"].isNull()) + bgpDataIntervalObject.in = std::stof(valueBgpDataIntervalBgpData["In"].asString()); + if(!valueBgpDataIntervalBgpData["Out"].isNull()) + bgpDataIntervalObject.out = std::stof(valueBgpDataIntervalBgpData["Out"].asString()); + if(!valueBgpDataIntervalBgpData["TimeStamp"].isNull()) + bgpDataIntervalObject.timeStamp = valueBgpDataIntervalBgpData["TimeStamp"].asString(); + bgpDataInterval_.push_back(bgpDataIntervalObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeDcdnBgpBpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnBgpBpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDcdnBgpBpsDataResult::getBgpDataInterval()const +{ + return bgpDataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc new file mode 100644 index 000000000..3928eaac7 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpTrafficDataRequest; + +DescribeDcdnBgpTrafficDataRequest::DescribeDcdnBgpTrafficDataRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpTrafficData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnBgpTrafficDataRequest::~DescribeDcdnBgpTrafficDataRequest() +{} + +std::string DescribeDcdnBgpTrafficDataRequest::getIsp()const +{ + return isp_; +} + +void DescribeDcdnBgpTrafficDataRequest::setIsp(const std::string& isp) +{ + isp_ = isp; + setParameter("Isp", isp); +} + +std::string DescribeDcdnBgpTrafficDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnBgpTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnBgpTrafficDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnBgpTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnBgpTrafficDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnBgpTrafficDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnBgpTrafficDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeDcdnBgpTrafficDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc new file mode 100644 index 000000000..68d92158e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnBgpTrafficDataResult::DescribeDcdnBgpTrafficDataResult() : + ServiceResult() +{} + +DescribeDcdnBgpTrafficDataResult::DescribeDcdnBgpTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnBgpTrafficDataResult::~DescribeDcdnBgpTrafficDataResult() +{} + +void DescribeDcdnBgpTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBgpDataIntervalNode = value["BgpDataInterval"]["BgpData"]; + for (auto valueBgpDataIntervalBgpData : allBgpDataIntervalNode) + { + BgpData bgpDataIntervalObject; + if(!valueBgpDataIntervalBgpData["In"].isNull()) + bgpDataIntervalObject.in = std::stol(valueBgpDataIntervalBgpData["In"].asString()); + if(!valueBgpDataIntervalBgpData["Out"].isNull()) + bgpDataIntervalObject.out = std::stol(valueBgpDataIntervalBgpData["Out"].asString()); + if(!valueBgpDataIntervalBgpData["TimeStamp"].isNull()) + bgpDataIntervalObject.timeStamp = valueBgpDataIntervalBgpData["TimeStamp"].asString(); + bgpDataInterval_.push_back(bgpDataIntervalObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeDcdnBgpTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnBgpTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDcdnBgpTrafficDataResult::getBgpDataInterval()const +{ + return bgpDataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnConfigOfVersionRequest.cc b/dcdn/src/model/DescribeDcdnConfigOfVersionRequest.cc new file mode 100644 index 000000000..4fb1d80c2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnConfigOfVersionRequest.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::Dcdn::Model::DescribeDcdnConfigOfVersionRequest; + +DescribeDcdnConfigOfVersionRequest::DescribeDcdnConfigOfVersionRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnConfigOfVersion") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnConfigOfVersionRequest::~DescribeDcdnConfigOfVersionRequest() +{} + +std::string DescribeDcdnConfigOfVersionRequest::getVersionId()const +{ + return versionId_; +} + +void DescribeDcdnConfigOfVersionRequest::setVersionId(const std::string& versionId) +{ + versionId_ = versionId; + setParameter("VersionId", versionId); +} + +std::string DescribeDcdnConfigOfVersionRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDcdnConfigOfVersionRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeDcdnConfigOfVersionRequest::getFunctionName()const +{ + return functionName_; +} + +void DescribeDcdnConfigOfVersionRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +long DescribeDcdnConfigOfVersionRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDcdnConfigOfVersionRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + +long DescribeDcdnConfigOfVersionRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnConfigOfVersionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeDcdnConfigOfVersionRequest::getFunctionId()const +{ + return functionId_; +} + +void DescribeDcdnConfigOfVersionRequest::setFunctionId(int functionId) +{ + functionId_ = functionId; + setParameter("FunctionId", std::to_string(functionId)); +} + diff --git a/dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc b/dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc new file mode 100644 index 000000000..a27528058 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnConfigOfVersionResult::DescribeDcdnConfigOfVersionResult() : + ServiceResult() +{} + +DescribeDcdnConfigOfVersionResult::DescribeDcdnConfigOfVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnConfigOfVersionResult::~DescribeDcdnConfigOfVersionResult() +{} + +void DescribeDcdnConfigOfVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVersionConfigsNode = value["VersionConfigs"]["VersionConfig"]; + for (auto valueVersionConfigsVersionConfig : allVersionConfigsNode) + { + VersionConfig versionConfigsObject; + if(!valueVersionConfigsVersionConfig["Status"].isNull()) + versionConfigsObject.status = valueVersionConfigsVersionConfig["Status"].asString(); + if(!valueVersionConfigsVersionConfig["ConfigId"].isNull()) + versionConfigsObject.configId = valueVersionConfigsVersionConfig["ConfigId"].asString(); + if(!valueVersionConfigsVersionConfig["FunctionName"].isNull()) + versionConfigsObject.functionName = valueVersionConfigsVersionConfig["FunctionName"].asString(); + auto allFunctionArgsNode = allVersionConfigsNode["FunctionArgs"]["FunctionArg"]; + for (auto allVersionConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode) + { + VersionConfig::FunctionArg functionArgsObject; + if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].asString(); + if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString(); + versionConfigsObject.functionArgs.push_back(functionArgsObject); + } + versionConfigs_.push_back(versionConfigsObject); + } + +} + +std::vector DescribeDcdnConfigOfVersionResult::getVersionConfigs()const +{ + return versionConfigs_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc new file mode 100644 index 000000000..e297391f4 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.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::Dcdn::Model::DescribeDcdnDomainMultiUsageDataRequest; + +DescribeDcdnDomainMultiUsageDataRequest::DescribeDcdnDomainMultiUsageDataRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainMultiUsageData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainMultiUsageDataRequest::~DescribeDcdnDomainMultiUsageDataRequest() +{} + +std::string DescribeDcdnDomainMultiUsageDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnDomainMultiUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnDomainMultiUsageDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnDomainMultiUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDcdnDomainMultiUsageDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnDomainMultiUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnDomainMultiUsageDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnDomainMultiUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc new file mode 100644 index 000000000..dc5b189ce --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainMultiUsageDataResult::DescribeDcdnDomainMultiUsageDataResult() : + ServiceResult() +{} + +DescribeDcdnDomainMultiUsageDataResult::DescribeDcdnDomainMultiUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainMultiUsageDataResult::~DescribeDcdnDomainMultiUsageDataResult() +{} + +void DescribeDcdnDomainMultiUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRequestPerIntervalNode = value["RequestPerInterval"]["RequestDataModule"]; + for (auto valueRequestPerIntervalRequestDataModule : allRequestPerIntervalNode) + { + RequestDataModule requestPerIntervalObject; + if(!valueRequestPerIntervalRequestDataModule["TimeStamp"].isNull()) + requestPerIntervalObject.timeStamp = valueRequestPerIntervalRequestDataModule["TimeStamp"].asString(); + if(!valueRequestPerIntervalRequestDataModule["Domain"].isNull()) + requestPerIntervalObject.domain = valueRequestPerIntervalRequestDataModule["Domain"].asString(); + if(!valueRequestPerIntervalRequestDataModule["Request"].isNull()) + requestPerIntervalObject.request = std::stol(valueRequestPerIntervalRequestDataModule["Request"].asString()); + if(!valueRequestPerIntervalRequestDataModule["Type"].isNull()) + requestPerIntervalObject.type = valueRequestPerIntervalRequestDataModule["Type"].asString(); + requestPerInterval_.push_back(requestPerIntervalObject); + } + auto allTrafficPerIntervalNode = value["TrafficPerInterval"]["TrafficDataModule"]; + for (auto valueTrafficPerIntervalTrafficDataModule : allTrafficPerIntervalNode) + { + TrafficDataModule trafficPerIntervalObject; + if(!valueTrafficPerIntervalTrafficDataModule["TimeStamp"].isNull()) + trafficPerIntervalObject.timeStamp = valueTrafficPerIntervalTrafficDataModule["TimeStamp"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Domain"].isNull()) + trafficPerIntervalObject.domain = valueTrafficPerIntervalTrafficDataModule["Domain"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Bps"].isNull()) + trafficPerIntervalObject.bps = std::stof(valueTrafficPerIntervalTrafficDataModule["Bps"].asString()); + if(!valueTrafficPerIntervalTrafficDataModule["Type"].isNull()) + trafficPerIntervalObject.type = valueTrafficPerIntervalTrafficDataModule["Type"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Area"].isNull()) + trafficPerIntervalObject.area = valueTrafficPerIntervalTrafficDataModule["Area"].asString(); + trafficPerInterval_.push_back(trafficPerIntervalObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeDcdnDomainMultiUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnDomainMultiUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDcdnDomainMultiUsageDataResult::getRequestPerInterval()const +{ + return requestPerInterval_; +} + +std::vector DescribeDcdnDomainMultiUsageDataResult::getTrafficPerInterval()const +{ + return trafficPerInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc new file mode 100644 index 000000000..4897bf485 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.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::Dcdn::Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest; + +DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcHttpCodeData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest() +{} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getLocationNameEn()const +{ + return locationNameEn_; +} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getIspNameEn()const +{ + return ispNameEn_; +} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc new file mode 100644 index 000000000..3e0cc05e4 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::DescribeDcdnDomainRealTimeSrcHttpCodeDataResult() : + ServiceResult() +{} + +DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::~DescribeDcdnDomainRealTimeSrcHttpCodeDataResult() +{} + +void DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRealTimeSrcHttpCodeDataNode = value["RealTimeSrcHttpCodeData"]["UsageData"]; + for (auto valueRealTimeSrcHttpCodeDataUsageData : allRealTimeSrcHttpCodeDataNode) + { + UsageData realTimeSrcHttpCodeDataObject; + if(!valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].isNull()) + realTimeSrcHttpCodeDataObject.timeStamp = valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].asString(); + auto allValueNode = allRealTimeSrcHttpCodeDataNode["Value"]["RealTimeSrcCodeProportionData"]; + for (auto allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData : allValueNode) + { + UsageData::RealTimeSrcCodeProportionData valueObject; + if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].isNull()) + valueObject.code = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].asString(); + if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].isNull()) + valueObject.proportion = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].asString(); + if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].isNull()) + valueObject.count = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].asString(); + realTimeSrcHttpCodeDataObject.value.push_back(valueObject); + } + realTimeSrcHttpCodeData_.push_back(realTimeSrcHttpCodeDataObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getRealTimeSrcHttpCodeData()const +{ + return realTimeSrcHttpCodeData_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc b/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc new file mode 100644 index 000000000..d6201b9a3 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.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::Dcdn::Model::DescribeDcdnDomainStagingConfigRequest; + +DescribeDcdnDomainStagingConfigRequest::DescribeDcdnDomainStagingConfigRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainStagingConfigRequest::~DescribeDcdnDomainStagingConfigRequest() +{} + +std::string DescribeDcdnDomainStagingConfigRequest::getFunctionNames()const +{ + return functionNames_; +} + +void DescribeDcdnDomainStagingConfigRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); +} + +std::string DescribeDcdnDomainStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnDomainStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeDcdnDomainStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnDomainStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc b/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc new file mode 100644 index 000000000..b1a855543 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainStagingConfigResult::DescribeDcdnDomainStagingConfigResult() : + ServiceResult() +{} + +DescribeDcdnDomainStagingConfigResult::DescribeDcdnDomainStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainStagingConfigResult::~DescribeDcdnDomainStagingConfigResult() +{} + +void DescribeDcdnDomainStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainConfigsNode = value["DomainConfigs"]["DomainConfig"]; + for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode) + { + DomainConfig domainConfigsObject; + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"]; + for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode) + { + DomainConfig::FunctionArg functionArgsObject; + if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString(); + if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString(); + domainConfigsObject.functionArgs.push_back(functionArgsObject); + } + domainConfigs_.push_back(domainConfigsObject); + } + +} + +std::vector DescribeDcdnDomainStagingConfigResult::getDomainConfigs()const +{ + return domainConfigs_; +} + diff --git a/dcdn/src/model/DescribeDcdnIpInfoRequest.cc b/dcdn/src/model/DescribeDcdnIpInfoRequest.cc new file mode 100644 index 000000000..9e96072d2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnIpInfoRequest.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::Dcdn::Model::DescribeDcdnIpInfoRequest; + +DescribeDcdnIpInfoRequest::DescribeDcdnIpInfoRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnIpInfoRequest::~DescribeDcdnIpInfoRequest() +{} + +std::string DescribeDcdnIpInfoRequest::getIP()const +{ + return iP_; +} + +void DescribeDcdnIpInfoRequest::setIP(const std::string& iP) +{ + iP_ = iP; + setParameter("IP", iP); +} + +long DescribeDcdnIpInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnIpInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnIpInfoRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDcdnIpInfoRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + diff --git a/dcdn/src/model/DescribeDcdnIpInfoResult.cc b/dcdn/src/model/DescribeDcdnIpInfoResult.cc new file mode 100644 index 000000000..5d0909464 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnIpInfoResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnIpInfoResult::DescribeDcdnIpInfoResult() : + ServiceResult() +{} + +DescribeDcdnIpInfoResult::DescribeDcdnIpInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnIpInfoResult::~DescribeDcdnIpInfoResult() +{} + +void DescribeDcdnIpInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DcdnIp"].isNull()) + dcdnIp_ = value["DcdnIp"].asString(); + if(!value["ISP"].isNull()) + iSP_ = value["ISP"].asString(); + if(!value["IspEname"].isNull()) + ispEname_ = value["IspEname"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["RegionEname"].isNull()) + regionEname_ = value["RegionEname"].asString(); + +} + +std::string DescribeDcdnIpInfoResult::getISP()const +{ + return iSP_; +} + +std::string DescribeDcdnIpInfoResult::getRegion()const +{ + return region_; +} + +std::string DescribeDcdnIpInfoResult::getIspEname()const +{ + return ispEname_; +} + +std::string DescribeDcdnIpInfoResult::getDcdnIp()const +{ + return dcdnIp_; +} + +std::string DescribeDcdnIpInfoResult::getRegionEname()const +{ + return regionEname_; +} + diff --git a/dcdn/src/model/DescribeDcdnStagingIpRequest.cc b/dcdn/src/model/DescribeDcdnStagingIpRequest.cc new file mode 100644 index 000000000..3df9b025b --- /dev/null +++ b/dcdn/src/model/DescribeDcdnStagingIpRequest.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::Dcdn::Model::DescribeDcdnStagingIpRequest; + +DescribeDcdnStagingIpRequest::DescribeDcdnStagingIpRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnStagingIp") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnStagingIpRequest::~DescribeDcdnStagingIpRequest() +{} + +long DescribeDcdnStagingIpRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnStagingIpRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnStagingIpResult.cc b/dcdn/src/model/DescribeDcdnStagingIpResult.cc new file mode 100644 index 000000000..5ff3c4e52 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnStagingIpResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnStagingIpResult::DescribeDcdnStagingIpResult() : + ServiceResult() +{} + +DescribeDcdnStagingIpResult::DescribeDcdnStagingIpResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnStagingIpResult::~DescribeDcdnStagingIpResult() +{} + +void DescribeDcdnStagingIpResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allIPV4s = value["IPV4s"]["IPV4"]; + for (const auto &item : allIPV4s) + iPV4s_.push_back(item.asString()); + +} + +std::vector DescribeDcdnStagingIpResult::getIPV4s()const +{ + return iPV4s_; +} + diff --git a/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc b/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc new file mode 100644 index 000000000..8bd2b3fba --- /dev/null +++ b/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn::Model::DescribeDcdnTagResourcesRequest; + +DescribeDcdnTagResourcesRequest::DescribeDcdnTagResourcesRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnTagResources") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnTagResourcesRequest::~DescribeDcdnTagResourcesRequest() +{} + +std::string DescribeDcdnTagResourcesRequest::getScope()const +{ + return scope_; +} + +void DescribeDcdnTagResourcesRequest::setScope(const std::string& scope) +{ + scope_ = scope; + setParameter("Scope", scope); +} + +std::vector DescribeDcdnTagResourcesRequest::getTag()const +{ + return tag_; +} + +void DescribeDcdnTagResourcesRequest::setTag(const std::vector& tag) +{ + tag_ = tag; + for(int dep1 = 0; dep1!= tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } +} + +std::vector DescribeDcdnTagResourcesRequest::getResourceId()const +{ + return resourceId_; +} + +void DescribeDcdnTagResourcesRequest::setResourceId(const std::vector& resourceId) +{ + resourceId_ = resourceId; + for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { + setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); + } +} + +long DescribeDcdnTagResourcesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnTagResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnTagResourcesRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeDcdnTagResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + diff --git a/dcdn/src/model/DescribeDcdnTagResourcesResult.cc b/dcdn/src/model/DescribeDcdnTagResourcesResult.cc new file mode 100644 index 000000000..661327f75 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnTagResourcesResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnTagResourcesResult::DescribeDcdnTagResourcesResult() : + ServiceResult() +{} + +DescribeDcdnTagResourcesResult::DescribeDcdnTagResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnTagResourcesResult::~DescribeDcdnTagResourcesResult() +{} + +void DescribeDcdnTagResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTagResourcesNode = value["TagResources"]["TagResource"]; + for (auto valueTagResourcesTagResource : allTagResourcesNode) + { + TagResource tagResourcesObject; + if(!valueTagResourcesTagResource["ResourceId"].isNull()) + tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString(); + auto allTagNode = allTagResourcesNode["Tag"]["TagItem"]; + for (auto allTagResourcesNodeTagTagItem : allTagNode) + { + TagResource::TagItem tagObject; + if(!allTagResourcesNodeTagTagItem["Key"].isNull()) + tagObject.key = allTagResourcesNodeTagTagItem["Key"].asString(); + if(!allTagResourcesNodeTagTagItem["Value"].isNull()) + tagObject.value = allTagResourcesNodeTagTagItem["Value"].asString(); + tagResourcesObject.tag.push_back(tagObject); + } + tagResources_.push_back(tagResourcesObject); + } + +} + +std::vector DescribeDcdnTagResourcesResult::getTagResources()const +{ + return tagResources_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc b/dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc new file mode 100644 index 000000000..7dacb8f7a --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserBillTypeRequest.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::Dcdn::Model::DescribeDcdnUserBillTypeRequest; + +DescribeDcdnUserBillTypeRequest::DescribeDcdnUserBillTypeRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserBillType") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnUserBillTypeRequest::~DescribeDcdnUserBillTypeRequest() +{} + +std::string DescribeDcdnUserBillTypeRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnUserBillTypeRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnUserBillTypeRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnUserBillTypeRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnUserBillTypeRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnUserBillTypeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc b/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc new file mode 100644 index 000000000..0a7d72f71 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserBillTypeResult::DescribeDcdnUserBillTypeResult() : + ServiceResult() +{} + +DescribeDcdnUserBillTypeResult::DescribeDcdnUserBillTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserBillTypeResult::~DescribeDcdnUserBillTypeResult() +{} + +void DescribeDcdnUserBillTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBillTypeDataNode = value["BillTypeData"]["BillTypeDataItem"]; + for (auto valueBillTypeDataBillTypeDataItem : allBillTypeDataNode) + { + BillTypeDataItem billTypeDataObject; + if(!valueBillTypeDataBillTypeDataItem["StartTime"].isNull()) + billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString(); + if(!valueBillTypeDataBillTypeDataItem["EndTime"].isNull()) + billTypeDataObject.endTime = valueBillTypeDataBillTypeDataItem["EndTime"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Product"].isNull()) + billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull()) + billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull()) + billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull()) + billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString(); + billTypeData_.push_back(billTypeDataObject); + } + +} + +std::vector DescribeDcdnUserBillTypeResult::getBillTypeData()const +{ + return billTypeData_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserTagsRequest.cc b/dcdn/src/model/DescribeDcdnUserTagsRequest.cc new file mode 100644 index 000000000..65fff51b1 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserTagsRequest.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::Dcdn::Model::DescribeDcdnUserTagsRequest; + +DescribeDcdnUserTagsRequest::DescribeDcdnUserTagsRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserTags") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnUserTagsRequest::~DescribeDcdnUserTagsRequest() +{} + +long DescribeDcdnUserTagsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnUserTagsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnUserTagsResult.cc b/dcdn/src/model/DescribeDcdnUserTagsResult.cc new file mode 100644 index 000000000..83e2bd159 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserTagsResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserTagsResult::DescribeDcdnUserTagsResult() : + ServiceResult() +{} + +DescribeDcdnUserTagsResult::DescribeDcdnUserTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserTagsResult::~DescribeDcdnUserTagsResult() +{} + +void DescribeDcdnUserTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTagsNode = value["Tags"]["Tag"]; + for (auto valueTagsTag : allTagsNode) + { + Tag tagsObject; + if(!valueTagsTag["Key"].isNull()) + tagsObject.key = valueTagsTag["Key"].asString(); + auto allValue = value["Value"]["Value"]; + for (auto value : allValue) + tagsObject.value.push_back(value.asString()); + tags_.push_back(tagsObject); + } + +} + +std::vector DescribeDcdnUserTagsResult::getTags()const +{ + return tags_; +} + diff --git a/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc b/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc new file mode 100644 index 000000000..3112f69d6 --- /dev/null +++ b/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.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::Dcdn::Model::PublishDcdnStagingConfigToProductionRequest; + +PublishDcdnStagingConfigToProductionRequest::PublishDcdnStagingConfigToProductionRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "PublishDcdnStagingConfigToProduction") +{ + setMethod(HttpRequest::Method::Post); +} + +PublishDcdnStagingConfigToProductionRequest::~PublishDcdnStagingConfigToProductionRequest() +{} + +std::string PublishDcdnStagingConfigToProductionRequest::getFunctionName()const +{ + return functionName_; +} + +void PublishDcdnStagingConfigToProductionRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +std::string PublishDcdnStagingConfigToProductionRequest::getDomainName()const +{ + return domainName_; +} + +void PublishDcdnStagingConfigToProductionRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long PublishDcdnStagingConfigToProductionRequest::getOwnerId()const +{ + return ownerId_; +} + +void PublishDcdnStagingConfigToProductionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/PublishDcdnStagingConfigToProductionResult.cc b/dcdn/src/model/PublishDcdnStagingConfigToProductionResult.cc new file mode 100644 index 000000000..30436121e --- /dev/null +++ b/dcdn/src/model/PublishDcdnStagingConfigToProductionResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +PublishDcdnStagingConfigToProductionResult::PublishDcdnStagingConfigToProductionResult() : + ServiceResult() +{} + +PublishDcdnStagingConfigToProductionResult::PublishDcdnStagingConfigToProductionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PublishDcdnStagingConfigToProductionResult::~PublishDcdnStagingConfigToProductionResult() +{} + +void PublishDcdnStagingConfigToProductionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc b/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc new file mode 100644 index 000000000..196e7fd26 --- /dev/null +++ b/dcdn/src/model/RollbackDcdnStagingConfigRequest.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::Dcdn::Model::RollbackDcdnStagingConfigRequest; + +RollbackDcdnStagingConfigRequest::RollbackDcdnStagingConfigRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "RollbackDcdnStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +RollbackDcdnStagingConfigRequest::~RollbackDcdnStagingConfigRequest() +{} + +std::string RollbackDcdnStagingConfigRequest::getFunctionName()const +{ + return functionName_; +} + +void RollbackDcdnStagingConfigRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +std::string RollbackDcdnStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void RollbackDcdnStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long RollbackDcdnStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void RollbackDcdnStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/RollbackDcdnStagingConfigResult.cc b/dcdn/src/model/RollbackDcdnStagingConfigResult.cc new file mode 100644 index 000000000..daa783f0d --- /dev/null +++ b/dcdn/src/model/RollbackDcdnStagingConfigResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +RollbackDcdnStagingConfigResult::RollbackDcdnStagingConfigResult() : + ServiceResult() +{} + +RollbackDcdnStagingConfigResult::RollbackDcdnStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RollbackDcdnStagingConfigResult::~RollbackDcdnStagingConfigResult() +{} + +void RollbackDcdnStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/SetDcdnConfigOfVersionRequest.cc b/dcdn/src/model/SetDcdnConfigOfVersionRequest.cc new file mode 100644 index 000000000..e5cd0e294 --- /dev/null +++ b/dcdn/src/model/SetDcdnConfigOfVersionRequest.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::Dcdn::Model::SetDcdnConfigOfVersionRequest; + +SetDcdnConfigOfVersionRequest::SetDcdnConfigOfVersionRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnConfigOfVersion") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDcdnConfigOfVersionRequest::~SetDcdnConfigOfVersionRequest() +{} + +std::string SetDcdnConfigOfVersionRequest::getVersionId()const +{ + return versionId_; +} + +void SetDcdnConfigOfVersionRequest::setVersionId(const std::string& versionId) +{ + versionId_ = versionId; + setParameter("VersionId", versionId); +} + +std::string SetDcdnConfigOfVersionRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetDcdnConfigOfVersionRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string SetDcdnConfigOfVersionRequest::getFunctionName()const +{ + return functionName_; +} + +void SetDcdnConfigOfVersionRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +std::string SetDcdnConfigOfVersionRequest::getFunctionArgs()const +{ + return functionArgs_; +} + +void SetDcdnConfigOfVersionRequest::setFunctionArgs(const std::string& functionArgs) +{ + functionArgs_ = functionArgs; + setParameter("FunctionArgs", functionArgs); +} + +std::string SetDcdnConfigOfVersionRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void SetDcdnConfigOfVersionRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long SetDcdnConfigOfVersionRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetDcdnConfigOfVersionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long SetDcdnConfigOfVersionRequest::getFunctionId()const +{ + return functionId_; +} + +void SetDcdnConfigOfVersionRequest::setFunctionId(long functionId) +{ + functionId_ = functionId; + setParameter("FunctionId", std::to_string(functionId)); +} + +std::string SetDcdnConfigOfVersionRequest::getConfigId()const +{ + return configId_; +} + +void SetDcdnConfigOfVersionRequest::setConfigId(const std::string& configId) +{ + configId_ = configId; + setParameter("ConfigId", configId); +} + diff --git a/dcdn/src/model/SetDcdnConfigOfVersionResult.cc b/dcdn/src/model/SetDcdnConfigOfVersionResult.cc new file mode 100644 index 000000000..0050ed8d7 --- /dev/null +++ b/dcdn/src/model/SetDcdnConfigOfVersionResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +SetDcdnConfigOfVersionResult::SetDcdnConfigOfVersionResult() : + ServiceResult() +{} + +SetDcdnConfigOfVersionResult::SetDcdnConfigOfVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDcdnConfigOfVersionResult::~SetDcdnConfigOfVersionResult() +{} + +void SetDcdnConfigOfVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc b/dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc new file mode 100644 index 000000000..624adc097 --- /dev/null +++ b/dcdn/src/model/SetDcdnDomainStagingConfigRequest.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::Dcdn::Model::SetDcdnDomainStagingConfigRequest; + +SetDcdnDomainStagingConfigRequest::SetDcdnDomainStagingConfigRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDcdnDomainStagingConfigRequest::~SetDcdnDomainStagingConfigRequest() +{} + +std::string SetDcdnDomainStagingConfigRequest::getFunctions()const +{ + return functions_; +} + +void SetDcdnDomainStagingConfigRequest::setFunctions(const std::string& functions) +{ + functions_ = functions; + setParameter("Functions", functions); +} + +std::string SetDcdnDomainStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetDcdnDomainStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long SetDcdnDomainStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetDcdnDomainStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/SetDcdnDomainStagingConfigResult.cc b/dcdn/src/model/SetDcdnDomainStagingConfigResult.cc new file mode 100644 index 000000000..05ec42733 --- /dev/null +++ b/dcdn/src/model/SetDcdnDomainStagingConfigResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +SetDcdnDomainStagingConfigResult::SetDcdnDomainStagingConfigResult() : + ServiceResult() +{} + +SetDcdnDomainStagingConfigResult::SetDcdnDomainStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDcdnDomainStagingConfigResult::~SetDcdnDomainStagingConfigResult() +{} + +void SetDcdnDomainStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/TagDcdnResourcesRequest.cc b/dcdn/src/model/TagDcdnResourcesRequest.cc new file mode 100644 index 000000000..89632844e --- /dev/null +++ b/dcdn/src/model/TagDcdnResourcesRequest.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn::Model::TagDcdnResourcesRequest; + +TagDcdnResourcesRequest::TagDcdnResourcesRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "TagDcdnResources") +{ + setMethod(HttpRequest::Method::Post); +} + +TagDcdnResourcesRequest::~TagDcdnResourcesRequest() +{} + +std::string TagDcdnResourcesRequest::getRegionId()const +{ + return regionId_; +} + +void TagDcdnResourcesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::vector TagDcdnResourcesRequest::getTag()const +{ + return tag_; +} + +void TagDcdnResourcesRequest::setTag(const std::vector& tag) +{ + tag_ = tag; + for(int dep1 = 0; dep1!= tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } +} + +std::vector TagDcdnResourcesRequest::getResourceId()const +{ + return resourceId_; +} + +void TagDcdnResourcesRequest::setResourceId(const std::vector& resourceId) +{ + resourceId_ = resourceId; + for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { + setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); + } +} + +long TagDcdnResourcesRequest::getOwnerId()const +{ + return ownerId_; +} + +void TagDcdnResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string TagDcdnResourcesRequest::getResourceType()const +{ + return resourceType_; +} + +void TagDcdnResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + diff --git a/dcdn/src/model/TagDcdnResourcesResult.cc b/dcdn/src/model/TagDcdnResourcesResult.cc new file mode 100644 index 000000000..214835dbf --- /dev/null +++ b/dcdn/src/model/TagDcdnResourcesResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +TagDcdnResourcesResult::TagDcdnResourcesResult() : + ServiceResult() +{} + +TagDcdnResourcesResult::TagDcdnResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TagDcdnResourcesResult::~TagDcdnResourcesResult() +{} + +void TagDcdnResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/UntagDcdnResourcesRequest.cc b/dcdn/src/model/UntagDcdnResourcesRequest.cc new file mode 100644 index 000000000..db7a9c89c --- /dev/null +++ b/dcdn/src/model/UntagDcdnResourcesRequest.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn::Model::UntagDcdnResourcesRequest; + +UntagDcdnResourcesRequest::UntagDcdnResourcesRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "UntagDcdnResources") +{ + setMethod(HttpRequest::Method::Post); +} + +UntagDcdnResourcesRequest::~UntagDcdnResourcesRequest() +{} + +std::string UntagDcdnResourcesRequest::getRegionId()const +{ + return regionId_; +} + +void UntagDcdnResourcesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::vector UntagDcdnResourcesRequest::getResourceId()const +{ + return resourceId_; +} + +void UntagDcdnResourcesRequest::setResourceId(const std::vector& resourceId) +{ + resourceId_ = resourceId; + for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { + setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); + } +} + +long UntagDcdnResourcesRequest::getOwnerId()const +{ + return ownerId_; +} + +void UntagDcdnResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UntagDcdnResourcesRequest::getResourceType()const +{ + return resourceType_; +} + +void UntagDcdnResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + +std::vector UntagDcdnResourcesRequest::getTagKey()const +{ + return tagKey_; +} + +void UntagDcdnResourcesRequest::setTagKey(const std::vector& tagKey) +{ + tagKey_ = tagKey; + for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { + setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); + } +} + diff --git a/dcdn/src/model/UntagDcdnResourcesResult.cc b/dcdn/src/model/UntagDcdnResourcesResult.cc new file mode 100644 index 000000000..0db958d21 --- /dev/null +++ b/dcdn/src/model/UntagDcdnResourcesResult.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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +UntagDcdnResourcesResult::UntagDcdnResourcesResult() : + ServiceResult() +{} + +UntagDcdnResourcesResult::UntagDcdnResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UntagDcdnResourcesResult::~UntagDcdnResourcesResult() +{} + +void UntagDcdnResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +