Sync cdn APIs.

This commit is contained in:
sdk-team
2020-09-04 09:19:24 +00:00
parent 8f2290c159
commit 98ef8c88e8
76 changed files with 5391 additions and 0 deletions

View File

@@ -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

View File

@@ -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<Error, Model::DeleteDcdnSpecificConfigResult> DeleteDcdnSpecificConfigOutcome;
typedef std::future<DeleteDcdnSpecificConfigOutcome> DeleteDcdnSpecificConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnSpecificConfigRequest&, const DeleteDcdnSpecificConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnSpecificConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteDcdnSpecificStagingConfigResult> DeleteDcdnSpecificStagingConfigOutcome;
typedef std::future<DeleteDcdnSpecificStagingConfigOutcome> DeleteDcdnSpecificStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnSpecificStagingConfigRequest&, const DeleteDcdnSpecificStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnSpecificStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnBgpBpsDataResult> DescribeDcdnBgpBpsDataOutcome;
typedef std::future<DescribeDcdnBgpBpsDataOutcome> DescribeDcdnBgpBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBgpBpsDataRequest&, const DescribeDcdnBgpBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBgpBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnBgpTrafficDataResult> DescribeDcdnBgpTrafficDataOutcome;
typedef std::future<DescribeDcdnBgpTrafficDataOutcome> DescribeDcdnBgpTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBgpTrafficDataRequest&, const DescribeDcdnBgpTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBgpTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateDetailResult> DescribeDcdnCertificateDetailOutcome;
typedef std::future<DescribeDcdnCertificateDetailOutcome> DescribeDcdnCertificateDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateDetailRequest&, const DescribeDcdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateListResult> DescribeDcdnCertificateListOutcome;
typedef std::future<DescribeDcdnCertificateListOutcome> DescribeDcdnCertificateListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateListRequest&, const DescribeDcdnCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnConfigOfVersionResult> DescribeDcdnConfigOfVersionOutcome;
typedef std::future<DescribeDcdnConfigOfVersionOutcome> DescribeDcdnConfigOfVersionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnConfigOfVersionRequest&, const DescribeDcdnConfigOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnConfigOfVersionAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainBpsDataResult> DescribeDcdnDomainBpsDataOutcome;
typedef std::future<DescribeDcdnDomainBpsDataOutcome> DescribeDcdnDomainBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainBpsDataRequest&, const DescribeDcdnDomainBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainBpsDataAsyncHandler;
@@ -244,6 +292,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnDomainLogResult> DescribeDcdnDomainLogOutcome;
typedef std::future<DescribeDcdnDomainLogOutcome> DescribeDcdnDomainLogOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainLogRequest&, const DescribeDcdnDomainLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainLogAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainMultiUsageDataResult> DescribeDcdnDomainMultiUsageDataOutcome;
typedef std::future<DescribeDcdnDomainMultiUsageDataOutcome> DescribeDcdnDomainMultiUsageDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainMultiUsageDataRequest&, const DescribeDcdnDomainMultiUsageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainMultiUsageDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainOriginBpsDataResult> DescribeDcdnDomainOriginBpsDataOutcome;
typedef std::future<DescribeDcdnDomainOriginBpsDataOutcome> DescribeDcdnDomainOriginBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainOriginBpsDataRequest&, const DescribeDcdnDomainOriginBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainOriginBpsDataAsyncHandler;
@@ -277,12 +328,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnDomainRealTimeSrcBpsDataResult> DescribeDcdnDomainRealTimeSrcBpsDataOutcome;
typedef std::future<DescribeDcdnDomainRealTimeSrcBpsDataOutcome> DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest&, const DescribeDcdnDomainRealTimeSrcBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRealTimeSrcBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataResult> DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome;
typedef std::future<DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome> DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest&, const DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainRealTimeSrcTrafficDataResult> DescribeDcdnDomainRealTimeSrcTrafficDataOutcome;
typedef std::future<DescribeDcdnDomainRealTimeSrcTrafficDataOutcome> DescribeDcdnDomainRealTimeSrcTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest&, const DescribeDcdnDomainRealTimeSrcTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRealTimeSrcTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainRegionDataResult> DescribeDcdnDomainRegionDataOutcome;
typedef std::future<DescribeDcdnDomainRegionDataOutcome> DescribeDcdnDomainRegionDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRegionDataRequest&, const DescribeDcdnDomainRegionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRegionDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainStagingConfigResult> DescribeDcdnDomainStagingConfigOutcome;
typedef std::future<DescribeDcdnDomainStagingConfigOutcome> DescribeDcdnDomainStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainStagingConfigRequest&, const DescribeDcdnDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainTopReferVisitResult> DescribeDcdnDomainTopReferVisitOutcome;
typedef std::future<DescribeDcdnDomainTopReferVisitOutcome> DescribeDcdnDomainTopReferVisitOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainTopReferVisitRequest&, const DescribeDcdnDomainTopReferVisitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainTopReferVisitAsyncHandler;
@@ -307,6 +364,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnHttpsDomainListResult> DescribeDcdnHttpsDomainListOutcome;
typedef std::future<DescribeDcdnHttpsDomainListOutcome> DescribeDcdnHttpsDomainListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnHttpsDomainListRequest&, const DescribeDcdnHttpsDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnHttpsDomainListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnIpInfoResult> DescribeDcdnIpInfoOutcome;
typedef std::future<DescribeDcdnIpInfoOutcome> DescribeDcdnIpInfoOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpInfoRequest&, const DescribeDcdnIpInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnIpaDomainConfigsResult> DescribeDcdnIpaDomainConfigsOutcome;
typedef std::future<DescribeDcdnIpaDomainConfigsOutcome> DescribeDcdnIpaDomainConfigsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpaDomainConfigsRequest&, const DescribeDcdnIpaDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpaDomainConfigsAsyncHandler;
@@ -328,9 +388,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnServiceResult> DescribeDcdnServiceOutcome;
typedef std::future<DescribeDcdnServiceOutcome> DescribeDcdnServiceOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnServiceRequest&, const DescribeDcdnServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnServiceAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnStagingIpResult> DescribeDcdnStagingIpOutcome;
typedef std::future<DescribeDcdnStagingIpOutcome> DescribeDcdnStagingIpOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnStagingIpRequest&, const DescribeDcdnStagingIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnStagingIpAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnTagResourcesResult> DescribeDcdnTagResourcesOutcome;
typedef std::future<DescribeDcdnTagResourcesOutcome> DescribeDcdnTagResourcesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnTagResourcesRequest&, const DescribeDcdnTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnTagResourcesAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnTopDomainsByFlowResult> DescribeDcdnTopDomainsByFlowOutcome;
typedef std::future<DescribeDcdnTopDomainsByFlowOutcome> DescribeDcdnTopDomainsByFlowOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnTopDomainsByFlowRequest&, const DescribeDcdnTopDomainsByFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnTopDomainsByFlowAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserBillTypeResult> DescribeDcdnUserBillTypeOutcome;
typedef std::future<DescribeDcdnUserBillTypeOutcome> DescribeDcdnUserBillTypeOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserBillTypeRequest&, const DescribeDcdnUserBillTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserBillTypeAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserDomainsResult> DescribeDcdnUserDomainsOutcome;
typedef std::future<DescribeDcdnUserDomainsOutcome> DescribeDcdnUserDomainsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserDomainsRequest&, const DescribeDcdnUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserDomainsAsyncHandler;
@@ -340,6 +409,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnUserResourcePackageResult> DescribeDcdnUserResourcePackageOutcome;
typedef std::future<DescribeDcdnUserResourcePackageOutcome> DescribeDcdnUserResourcePackageOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserResourcePackageRequest&, const DescribeDcdnUserResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserResourcePackageAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserTagsResult> DescribeDcdnUserTagsOutcome;
typedef std::future<DescribeDcdnUserTagsOutcome> DescribeDcdnUserTagsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserTagsRequest&, const DescribeDcdnUserTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserTagsAsyncHandler;
typedef Outcome<Error, Model::DescribeUserDcdnIpaStatusResult> DescribeUserDcdnIpaStatusOutcome;
typedef std::future<DescribeUserDcdnIpaStatusOutcome> DescribeUserDcdnIpaStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnIpaStatusRequest&, const DescribeUserDcdnIpaStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnIpaStatusAsyncHandler;
@@ -352,12 +424,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PreloadDcdnObjectCachesResult> PreloadDcdnObjectCachesOutcome;
typedef std::future<PreloadDcdnObjectCachesOutcome> PreloadDcdnObjectCachesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::PreloadDcdnObjectCachesRequest&, const PreloadDcdnObjectCachesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreloadDcdnObjectCachesAsyncHandler;
typedef Outcome<Error, Model::PublishDcdnStagingConfigToProductionResult> PublishDcdnStagingConfigToProductionOutcome;
typedef std::future<PublishDcdnStagingConfigToProductionOutcome> PublishDcdnStagingConfigToProductionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::PublishDcdnStagingConfigToProductionRequest&, const PublishDcdnStagingConfigToProductionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishDcdnStagingConfigToProductionAsyncHandler;
typedef Outcome<Error, Model::RefreshDcdnObjectCachesResult> RefreshDcdnObjectCachesOutcome;
typedef std::future<RefreshDcdnObjectCachesOutcome> RefreshDcdnObjectCachesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::RefreshDcdnObjectCachesRequest&, const RefreshDcdnObjectCachesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDcdnObjectCachesAsyncHandler;
typedef Outcome<Error, Model::RollbackDcdnStagingConfigResult> RollbackDcdnStagingConfigOutcome;
typedef std::future<RollbackDcdnStagingConfigOutcome> RollbackDcdnStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::RollbackDcdnStagingConfigRequest&, const RollbackDcdnStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackDcdnStagingConfigAsyncHandler;
typedef Outcome<Error, Model::SetDcdnConfigOfVersionResult> SetDcdnConfigOfVersionOutcome;
typedef std::future<SetDcdnConfigOfVersionOutcome> SetDcdnConfigOfVersionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnConfigOfVersionRequest&, const SetDcdnConfigOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnConfigOfVersionAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainCertificateResult> SetDcdnDomainCertificateOutcome;
typedef std::future<SetDcdnDomainCertificateOutcome> SetDcdnDomainCertificateOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainCertificateRequest&, const SetDcdnDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainStagingConfigResult> SetDcdnDomainStagingConfigOutcome;
typedef std::future<SetDcdnDomainStagingConfigOutcome> SetDcdnDomainStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainStagingConfigRequest&, const SetDcdnDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainStagingConfigAsyncHandler;
typedef Outcome<Error, Model::StartDcdnDomainResult> StartDcdnDomainOutcome;
typedef std::future<StartDcdnDomainOutcome> StartDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::StartDcdnDomainRequest&, const StartDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDcdnDomainAsyncHandler;
@@ -370,6 +454,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopDcdnIpaDomainResult> StopDcdnIpaDomainOutcome;
typedef std::future<StopDcdnIpaDomainOutcome> StopDcdnIpaDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::StopDcdnIpaDomainRequest&, const StopDcdnIpaDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDcdnIpaDomainAsyncHandler;
typedef Outcome<Error, Model::TagDcdnResourcesResult> TagDcdnResourcesOutcome;
typedef std::future<TagDcdnResourcesOutcome> TagDcdnResourcesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::TagDcdnResourcesRequest&, const TagDcdnResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagDcdnResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagDcdnResourcesResult> UntagDcdnResourcesOutcome;
typedef std::future<UntagDcdnResourcesOutcome> UntagDcdnResourcesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::UntagDcdnResourcesRequest&, const UntagDcdnResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagDcdnResourcesAsyncHandler;
typedef Outcome<Error, Model::UpdateDcdnDomainResult> UpdateDcdnDomainOutcome;
typedef std::future<UpdateDcdnDomainOutcome> UpdateDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::UpdateDcdnDomainRequest&, const UpdateDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
UpdateDcdnDomainOutcomeCallable updateDcdnDomainCallable(const Model::UpdateDcdnDomainRequest& request) const;

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<BgpData> getBgpDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string startTime_;
std::vector<BgpData> bgpDataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<BgpData> getBgpDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string startTime_;
std::vector<BgpData> bgpDataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<VersionConfig::FunctionArg> functionArgs;
std::string configId;
};
DescribeDcdnConfigOfVersionResult();
explicit DescribeDcdnConfigOfVersionResult(const std::string &payload);
~DescribeDcdnConfigOfVersionResult();
std::vector<VersionConfig> getVersionConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<VersionConfig> versionConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<RequestDataModule> getRequestPerInterval()const;
std::vector<TrafficDataModule> getTrafficPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string startTime_;
std::vector<RequestDataModule> requestPerInterval_;
std::vector<TrafficDataModule> trafficPerInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<UsageData::RealTimeSrcCodeProportionData> 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<UsageData> getRealTimeSrcHttpCodeData()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<UsageData> realTimeSrcHttpCodeData_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<DomainConfig::FunctionArg> functionArgs;
std::string configId;
};
DescribeDcdnDomainStagingConfigResult();
explicit DescribeDcdnDomainStagingConfigResult(const std::string &payload);
~DescribeDcdnDomainStagingConfigResult();
std::vector<DomainConfig> getDomainConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfig> domainConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpResult : public ServiceResult
{
public:
DescribeDcdnStagingIpResult();
explicit DescribeDcdnStagingIpResult(const std::string &payload);
~DescribeDcdnStagingIpResult();
std::vector<std::string> getIPV4s()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> iPV4s_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& 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> tag_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<TagResource::TagItem> tag;
};
DescribeDcdnTagResourcesResult();
explicit DescribeDcdnTagResourcesResult(const std::string &payload);
~DescribeDcdnTagResourcesResult();
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<BillTypeDataItem> getBillTypeData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BillTypeDataItem> billTypeData_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsResult : public ServiceResult
{
public:
struct Tag
{
std::vector<std::string> value;
std::string key;
};
DescribeDcdnUserTagsResult();
explicit DescribeDcdnUserTagsResult(const std::string &payload);
~DescribeDcdnUserTagsResult();
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Tag> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& 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> tag_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
std::string regionId_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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<const AsyncCallerContext>& 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<std::packaged_task<DeleteDcdnSpecificStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnBgpBpsDataOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnBgpTrafficDataOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnConfigOfVersionOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnDomainMultiUsageDataOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnDomainStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnIpInfoOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnStagingIpOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnTagResourcesOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnUserBillTypeOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnUserTagsOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<PublishDcdnStagingConfigToProductionOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<RollbackDcdnStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<SetDcdnConfigOfVersionOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<SetDcdnDomainStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<TagDcdnResourcesOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<UntagDcdnResourcesOutcome()>>(
[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();

View File

@@ -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 <alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h>
#include <json/json.h>
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());
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h>
#include <json/json.h>
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::BgpData> DescribeDcdnBgpBpsDataResult::getBgpDataInterval()const
{
return bgpDataInterval_;
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h>
#include <json/json.h>
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::BgpData> DescribeDcdnBgpTrafficDataResult::getBgpDataInterval()const
{
return bgpDataInterval_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h>
#include <json/json.h>
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::VersionConfig> DescribeDcdnConfigOfVersionResult::getVersionConfigs()const
{
return versionConfigs_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h>
#include <json/json.h>
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::RequestDataModule> DescribeDcdnDomainMultiUsageDataResult::getRequestPerInterval()const
{
return requestPerInterval_;
}
std::vector<DescribeDcdnDomainMultiUsageDataResult::TrafficDataModule> DescribeDcdnDomainMultiUsageDataResult::getTrafficPerInterval()const
{
return trafficPerInterval_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h>
#include <json/json.h>
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::UsageData> DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getRealTimeSrcHttpCodeData()const
{
return realTimeSrcHttpCodeData_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h>
#include <json/json.h>
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::DomainConfig> DescribeDcdnDomainStagingConfigResult::getDomainConfigs()const
{
return domainConfigs_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h>
#include <json/json.h>
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_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.h>
#include <json/json.h>
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<std::string> DescribeDcdnStagingIpResult::getIPV4s()const
{
return iPV4s_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h>
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::Tag> DescribeDcdnTagResourcesRequest::getTag()const
{
return tag_;
}
void DescribeDcdnTagResourcesRequest::setTag(const std::vector<Tag>& 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<std::string> DescribeDcdnTagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void DescribeDcdnTagResourcesRequest::setResourceId(const std::vector<std::string>& 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);
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h>
#include <json/json.h>
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::TagResource> DescribeDcdnTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h>
#include <json/json.h>
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::BillTypeDataItem> DescribeDcdnUserBillTypeResult::getBillTypeData()const
{
return billTypeData_;
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h>
#include <json/json.h>
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::Tag> DescribeDcdnUserTagsResult::getTags()const
{
return tags_;
}

View File

@@ -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 <alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/dcdn/model/TagDcdnResourcesRequest.h>
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::Tag> TagDcdnResourcesRequest::getTag()const
{
return tag_;
}
void TagDcdnResourcesRequest::setTag(const std::vector<Tag>& 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<std::string> TagDcdnResourcesRequest::getResourceId()const
{
return resourceId_;
}
void TagDcdnResourcesRequest::setResourceId(const std::vector<std::string>& 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);
}

View File

@@ -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 <alibabacloud/dcdn/model/TagDcdnResourcesResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h>
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<std::string> UntagDcdnResourcesRequest::getResourceId()const
{
return resourceId_;
}
void UntagDcdnResourcesRequest::setResourceId(const std::vector<std::string>& 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<std::string> UntagDcdnResourcesRequest::getTagKey()const
{
return tagKey_;
}
void UntagDcdnResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
{
tagKey_ = tagKey;
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
}
}

View File

@@ -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 <alibabacloud/dcdn/model/UntagDcdnResourcesResult.h>
#include <json/json.h>
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());
}