diff --git a/VERSION b/VERSION index 3262d77ed..7093c6124 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1246 \ No newline at end of file +1.36.1247 \ No newline at end of file diff --git a/cdn/CMakeLists.txt b/cdn/CMakeLists.txt index 03827c34a..f17e8df1b 100644 --- a/cdn/CMakeLists.txt +++ b/cdn/CMakeLists.txt @@ -23,16 +23,136 @@ set(cdn_public_header set(cdn_public_header_model include/alibabacloud/cdn/model/AddCdnDomainRequest.h include/alibabacloud/cdn/model/AddCdnDomainResult.h + include/alibabacloud/cdn/model/AddFCTriggerRequest.h + include/alibabacloud/cdn/model/AddFCTriggerResult.h + include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h + include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h + include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h + include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h + include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h + include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h + include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h + include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h + include/alibabacloud/cdn/model/BatchStartCdnDomainRequest.h + include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h + include/alibabacloud/cdn/model/BatchStopCdnDomainRequest.h + include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h + include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h + include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h + include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h + include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h + include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h + include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h + include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h + include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h + include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h + include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h + include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h + include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h + include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h + include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h + include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h + include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h + include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h + include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h + include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h + include/alibabacloud/cdn/model/DeleteCdnDomainResult.h + include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h + include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h + include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h + include/alibabacloud/cdn/model/DeleteFCTriggerResult.h + include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreRequest.h + include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreResult.h + include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h + include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h + include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h + include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h + include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h + include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h + include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h + include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h + include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h + include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h + include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h + include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h + include/alibabacloud/cdn/model/DescribeBlockedRegionsRequest.h + include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h + include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h + include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h + include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h + include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h + include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h + include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h + include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h + include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h + include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h + include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h + include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h + include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h include/alibabacloud/cdn/model/DescribeCdnDomainDetailRequest.h include/alibabacloud/cdn/model/DescribeCdnDomainDetailResult.h include/alibabacloud/cdn/model/DescribeCdnDomainLogsRequest.h include/alibabacloud/cdn/model/DescribeCdnDomainLogsResult.h + include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h + include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h + include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListRequest.h + include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h + include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeRequest.h + include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeResult.h + include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h + include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h + include/alibabacloud/cdn/model/DescribeCdnReportRequest.h + include/alibabacloud/cdn/model/DescribeCdnReportResult.h + include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h + include/alibabacloud/cdn/model/DescribeCdnReportListResult.h + include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailRequest.h + include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h + include/alibabacloud/cdn/model/DescribeCdnSMCertificateListRequest.h + include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h include/alibabacloud/cdn/model/DescribeCdnServiceResult.h + include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h + include/alibabacloud/cdn/model/DescribeCdnSubListResult.h + include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h + include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h + include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h + include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h + include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h + include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h + include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h + include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h + include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h + include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h + include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h + include/alibabacloud/cdn/model/DescribeConfigGroupDetailRequest.h + include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h + include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h + include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h + include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h + include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h + include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h + include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h include/alibabacloud/cdn/model/DescribeDomainBpsDataRequest.h include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerRequest.h + include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampRequest.h include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampResult.h + include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h + include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h + include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h + include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h + include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h + include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h + include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h + include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h @@ -41,10 +161,46 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeDomainHitRateDataResult.h include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataRequest.h include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataResult.h + include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h + include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h + include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h + include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h + include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h + include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h + include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h include/alibabacloud/cdn/model/DescribeDomainQpsDataRequest.h include/alibabacloud/cdn/model/DescribeDomainQpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerRequest.h + include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h + include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h + include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h include/alibabacloud/cdn/model/DescribeDomainRegionDataRequest.h include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h @@ -53,41 +209,275 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataResult.h + include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h + include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h + include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h + include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h + include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h + include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h + include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h + include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h + include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h + include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h + include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h + include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h + include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h include/alibabacloud/cdn/model/DescribeDomainUvDataRequest.h include/alibabacloud/cdn/model/DescribeDomainUvDataResult.h include/alibabacloud/cdn/model/DescribeDomainsBySourceRequest.h include/alibabacloud/cdn/model/DescribeDomainsBySourceResult.h include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h + include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h + include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h + include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h + include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h + include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h + include/alibabacloud/cdn/model/DescribeFCTriggerResult.h + include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h + include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h + include/alibabacloud/cdn/model/DescribeIpInfoRequest.h + include/alibabacloud/cdn/model/DescribeIpInfoResult.h + include/alibabacloud/cdn/model/DescribeIpStatusRequest.h + include/alibabacloud/cdn/model/DescribeIpStatusResult.h + include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h + include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h + include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceRequest.h + include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h + include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h + include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h + include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedRequest.h + include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedResult.h include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h + include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h + include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h + include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h + include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h + include/alibabacloud/cdn/model/DescribeStagingIpRequest.h + include/alibabacloud/cdn/model/DescribeStagingIpResult.h + include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h + include/alibabacloud/cdn/model/DescribeTagResourcesResult.h include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h include/alibabacloud/cdn/model/DescribeTopDomainsByFlowResult.h + include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h + include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h + include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h + include/alibabacloud/cdn/model/DescribeUserConfigsResult.h include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h include/alibabacloud/cdn/model/DescribeUserDomainsResult.h + include/alibabacloud/cdn/model/DescribeUserTagsRequest.h + include/alibabacloud/cdn/model/DescribeUserTagsResult.h + include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h + include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h + include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h + include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h + include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h + include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h + include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h + include/alibabacloud/cdn/model/DescribeVerifyContentResult.h + include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h + include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h + include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h + include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h + include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h + include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h + include/alibabacloud/cdn/model/ListFCTriggerRequest.h + include/alibabacloud/cdn/model/ListFCTriggerResult.h + include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h + include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h + include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h + include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h + include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h + include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h + include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h + include/alibabacloud/cdn/model/ModifyCdnDomainResult.h + include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h + include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h + include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h + include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h include/alibabacloud/cdn/model/OpenCdnServiceRequest.h include/alibabacloud/cdn/model/OpenCdnServiceResult.h + include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h + include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h include/alibabacloud/cdn/model/PushObjectCacheRequest.h include/alibabacloud/cdn/model/PushObjectCacheResult.h include/alibabacloud/cdn/model/RefreshObjectCachesRequest.h include/alibabacloud/cdn/model/RefreshObjectCachesResult.h + include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h + include/alibabacloud/cdn/model/RollbackStagingConfigResult.h + include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h + include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h + include/alibabacloud/cdn/model/SetCdnDomainSMCertificateRequest.h + include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h + include/alibabacloud/cdn/model/SetCdnDomainStagingConfigRequest.h + include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h + include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h + include/alibabacloud/cdn/model/SetConfigOfVersionResult.h + include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h + include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h + include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h + include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h + include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h + include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h + include/alibabacloud/cdn/model/StartCdnDomainRequest.h + include/alibabacloud/cdn/model/StartCdnDomainResult.h + include/alibabacloud/cdn/model/StopCdnDomainRequest.h + include/alibabacloud/cdn/model/StopCdnDomainResult.h + include/alibabacloud/cdn/model/TagResourcesRequest.h + include/alibabacloud/cdn/model/TagResourcesResult.h include/alibabacloud/cdn/model/TestDescribeDomainBpsDataRequest.h - include/alibabacloud/cdn/model/TestDescribeDomainBpsDataResult.h ) + include/alibabacloud/cdn/model/TestDescribeDomainBpsDataResult.h + include/alibabacloud/cdn/model/UntagResourcesRequest.h + include/alibabacloud/cdn/model/UntagResourcesResult.h + include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h + include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h + include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h + include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h + include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h + include/alibabacloud/cdn/model/UpdateFCTriggerResult.h + include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h + include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h ) set(cdn_src src/CdnClient.cc src/model/AddCdnDomainRequest.cc src/model/AddCdnDomainResult.cc + src/model/AddFCTriggerRequest.cc + src/model/AddFCTriggerResult.cc + src/model/BatchAddCdnDomainRequest.cc + src/model/BatchAddCdnDomainResult.cc + src/model/BatchDeleteCdnDomainConfigRequest.cc + src/model/BatchDeleteCdnDomainConfigResult.cc + src/model/BatchSetCdnDomainConfigRequest.cc + src/model/BatchSetCdnDomainConfigResult.cc + src/model/BatchSetCdnDomainServerCertificateRequest.cc + src/model/BatchSetCdnDomainServerCertificateResult.cc + src/model/BatchStartCdnDomainRequest.cc + src/model/BatchStartCdnDomainResult.cc + src/model/BatchStopCdnDomainRequest.cc + src/model/BatchStopCdnDomainResult.cc + src/model/BatchUpdateCdnDomainRequest.cc + src/model/BatchUpdateCdnDomainResult.cc + src/model/CreateCdnCertificateSigningRequestRequest.cc + src/model/CreateCdnCertificateSigningRequestResult.cc + src/model/CreateCdnDeliverTaskRequest.cc + src/model/CreateCdnDeliverTaskResult.cc + src/model/CreateCdnSubTaskRequest.cc + src/model/CreateCdnSubTaskResult.cc + src/model/CreateIllegalUrlExportTaskRequest.cc + src/model/CreateIllegalUrlExportTaskResult.cc + src/model/CreateRealTimeLogDeliveryRequest.cc + src/model/CreateRealTimeLogDeliveryResult.cc + src/model/CreateUsageDetailDataExportTaskRequest.cc + src/model/CreateUsageDetailDataExportTaskResult.cc + src/model/CreateUserUsageDataExportTaskRequest.cc + src/model/CreateUserUsageDataExportTaskResult.cc + src/model/DeleteCdnDeliverTaskRequest.cc + src/model/DeleteCdnDeliverTaskResult.cc + src/model/DeleteCdnDomainRequest.cc + src/model/DeleteCdnDomainResult.cc + src/model/DeleteCdnSubTaskRequest.cc + src/model/DeleteCdnSubTaskResult.cc + src/model/DeleteFCTriggerRequest.cc + src/model/DeleteFCTriggerResult.cc + src/model/DeleteRealTimeLogLogstoreRequest.cc + src/model/DeleteRealTimeLogLogstoreResult.cc + src/model/DeleteRealtimeLogDeliveryRequest.cc + src/model/DeleteRealtimeLogDeliveryResult.cc + src/model/DeleteSpecificConfigRequest.cc + src/model/DeleteSpecificConfigResult.cc + src/model/DeleteSpecificStagingConfigRequest.cc + src/model/DeleteSpecificStagingConfigResult.cc + src/model/DeleteUsageDetailDataExportTaskRequest.cc + src/model/DeleteUsageDetailDataExportTaskResult.cc + src/model/DeleteUserUsageDataExportTaskRequest.cc + src/model/DeleteUserUsageDataExportTaskResult.cc + src/model/DescribeActiveVersionOfConfigGroupRequest.cc + src/model/DescribeActiveVersionOfConfigGroupResult.cc + src/model/DescribeBlockedRegionsRequest.cc + src/model/DescribeBlockedRegionsResult.cc + src/model/DescribeCdnCertificateDetailRequest.cc + src/model/DescribeCdnCertificateDetailResult.cc + src/model/DescribeCdnCertificateListRequest.cc + src/model/DescribeCdnCertificateListResult.cc + src/model/DescribeCdnDeletedDomainsRequest.cc + src/model/DescribeCdnDeletedDomainsResult.cc + src/model/DescribeCdnDeliverListRequest.cc + src/model/DescribeCdnDeliverListResult.cc + src/model/DescribeCdnDomainByCertificateRequest.cc + src/model/DescribeCdnDomainByCertificateResult.cc + src/model/DescribeCdnDomainConfigsRequest.cc + src/model/DescribeCdnDomainConfigsResult.cc src/model/DescribeCdnDomainDetailRequest.cc src/model/DescribeCdnDomainDetailResult.cc src/model/DescribeCdnDomainLogsRequest.cc src/model/DescribeCdnDomainLogsResult.cc + src/model/DescribeCdnDomainStagingConfigRequest.cc + src/model/DescribeCdnDomainStagingConfigResult.cc + src/model/DescribeCdnHttpsDomainListRequest.cc + src/model/DescribeCdnHttpsDomainListResult.cc + src/model/DescribeCdnOrderCommodityCodeRequest.cc + src/model/DescribeCdnOrderCommodityCodeResult.cc + src/model/DescribeCdnRegionAndIspRequest.cc + src/model/DescribeCdnRegionAndIspResult.cc + src/model/DescribeCdnReportRequest.cc + src/model/DescribeCdnReportResult.cc + src/model/DescribeCdnReportListRequest.cc + src/model/DescribeCdnReportListResult.cc + src/model/DescribeCdnSMCertificateDetailRequest.cc + src/model/DescribeCdnSMCertificateDetailResult.cc + src/model/DescribeCdnSMCertificateListRequest.cc + src/model/DescribeCdnSMCertificateListResult.cc src/model/DescribeCdnServiceRequest.cc src/model/DescribeCdnServiceResult.cc + src/model/DescribeCdnSubListRequest.cc + src/model/DescribeCdnSubListResult.cc + src/model/DescribeCdnUserBillHistoryRequest.cc + src/model/DescribeCdnUserBillHistoryResult.cc + src/model/DescribeCdnUserBillPredictionRequest.cc + src/model/DescribeCdnUserBillPredictionResult.cc + src/model/DescribeCdnUserBillTypeRequest.cc + src/model/DescribeCdnUserBillTypeResult.cc + src/model/DescribeCdnUserConfigsRequest.cc + src/model/DescribeCdnUserConfigsResult.cc + src/model/DescribeCdnUserDomainsByFuncRequest.cc + src/model/DescribeCdnUserDomainsByFuncResult.cc + src/model/DescribeCdnUserQuotaRequest.cc + src/model/DescribeCdnUserQuotaResult.cc + src/model/DescribeCdnUserResourcePackageRequest.cc + src/model/DescribeCdnUserResourcePackageResult.cc + src/model/DescribeCdnWafDomainRequest.cc + src/model/DescribeCdnWafDomainResult.cc + src/model/DescribeCertificateInfoByIDRequest.cc + src/model/DescribeCertificateInfoByIDResult.cc + src/model/DescribeConfigGroupDetailRequest.cc + src/model/DescribeConfigGroupDetailResult.cc + src/model/DescribeConfigOfVersionRequest.cc + src/model/DescribeConfigOfVersionResult.cc + src/model/DescribeCustomLogConfigRequest.cc + src/model/DescribeCustomLogConfigResult.cc + src/model/DescribeDomainAverageResponseTimeRequest.cc + src/model/DescribeDomainAverageResponseTimeResult.cc src/model/DescribeDomainBpsDataRequest.cc src/model/DescribeDomainBpsDataResult.cc + src/model/DescribeDomainBpsDataByLayerRequest.cc + src/model/DescribeDomainBpsDataByLayerResult.cc src/model/DescribeDomainBpsDataByTimeStampRequest.cc src/model/DescribeDomainBpsDataByTimeStampResult.cc + src/model/DescribeDomainCcActivityLogRequest.cc + src/model/DescribeDomainCcActivityLogResult.cc + src/model/DescribeDomainCertificateInfoRequest.cc + src/model/DescribeDomainCertificateInfoResult.cc + src/model/DescribeDomainCustomLogConfigRequest.cc + src/model/DescribeDomainCustomLogConfigResult.cc + src/model/DescribeDomainDetailDataByLayerRequest.cc + src/model/DescribeDomainDetailDataByLayerResult.cc src/model/DescribeDomainFileSizeProportionDataRequest.cc src/model/DescribeDomainFileSizeProportionDataResult.cc src/model/DescribeDomainFlowDataRequest.cc @@ -96,10 +486,46 @@ set(cdn_src src/model/DescribeDomainHitRateDataResult.cc src/model/DescribeDomainHttpCodeDataRequest.cc src/model/DescribeDomainHttpCodeDataResult.cc + src/model/DescribeDomainHttpCodeDataByLayerRequest.cc + src/model/DescribeDomainHttpCodeDataByLayerResult.cc src/model/DescribeDomainISPDataRequest.cc src/model/DescribeDomainISPDataResult.cc + src/model/DescribeDomainMax95BpsDataRequest.cc + src/model/DescribeDomainMax95BpsDataResult.cc + src/model/DescribeDomainMultiUsageDataRequest.cc + src/model/DescribeDomainMultiUsageDataResult.cc + src/model/DescribeDomainNamesOfVersionRequest.cc + src/model/DescribeDomainNamesOfVersionResult.cc + src/model/DescribeDomainPathDataRequest.cc + src/model/DescribeDomainPathDataResult.cc + src/model/DescribeDomainPvDataRequest.cc + src/model/DescribeDomainPvDataResult.cc src/model/DescribeDomainQpsDataRequest.cc src/model/DescribeDomainQpsDataResult.cc + src/model/DescribeDomainQpsDataByLayerRequest.cc + src/model/DescribeDomainQpsDataByLayerResult.cc + src/model/DescribeDomainRealTimeBpsDataRequest.cc + src/model/DescribeDomainRealTimeBpsDataResult.cc + src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc + src/model/DescribeDomainRealTimeByteHitRateDataResult.cc + src/model/DescribeDomainRealTimeDetailDataRequest.cc + src/model/DescribeDomainRealTimeDetailDataResult.cc + src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc + src/model/DescribeDomainRealTimeHttpCodeDataResult.cc + src/model/DescribeDomainRealTimeQpsDataRequest.cc + src/model/DescribeDomainRealTimeQpsDataResult.cc + src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc + src/model/DescribeDomainRealTimeReqHitRateDataResult.cc + src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc + src/model/DescribeDomainRealTimeSrcBpsDataResult.cc + src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc + src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc + src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc + src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc + src/model/DescribeDomainRealTimeTrafficDataRequest.cc + src/model/DescribeDomainRealTimeTrafficDataResult.cc + src/model/DescribeDomainRealtimeLogDeliveryRequest.cc + src/model/DescribeDomainRealtimeLogDeliveryResult.cc src/model/DescribeDomainRegionDataRequest.cc src/model/DescribeDomainRegionDataResult.cc src/model/DescribeDomainReqHitRateDataRequest.cc @@ -108,26 +534,140 @@ set(cdn_src src/model/DescribeDomainSrcBpsDataResult.cc src/model/DescribeDomainSrcFlowDataRequest.cc src/model/DescribeDomainSrcFlowDataResult.cc + src/model/DescribeDomainSrcHttpCodeDataRequest.cc + src/model/DescribeDomainSrcHttpCodeDataResult.cc + src/model/DescribeDomainSrcQpsDataRequest.cc + src/model/DescribeDomainSrcQpsDataResult.cc + src/model/DescribeDomainSrcTopUrlVisitRequest.cc + src/model/DescribeDomainSrcTopUrlVisitResult.cc + src/model/DescribeDomainSrcTrafficDataRequest.cc + src/model/DescribeDomainSrcTrafficDataResult.cc + src/model/DescribeDomainTopClientIpVisitRequest.cc + src/model/DescribeDomainTopClientIpVisitResult.cc + src/model/DescribeDomainTopReferVisitRequest.cc + src/model/DescribeDomainTopReferVisitResult.cc + src/model/DescribeDomainTopUrlVisitRequest.cc + src/model/DescribeDomainTopUrlVisitResult.cc + src/model/DescribeDomainTrafficDataRequest.cc + src/model/DescribeDomainTrafficDataResult.cc + src/model/DescribeDomainUsageDataRequest.cc + src/model/DescribeDomainUsageDataResult.cc src/model/DescribeDomainUvDataRequest.cc src/model/DescribeDomainUvDataResult.cc src/model/DescribeDomainsBySourceRequest.cc src/model/DescribeDomainsBySourceResult.cc src/model/DescribeDomainsUsageByDayRequest.cc src/model/DescribeDomainsUsageByDayResult.cc + src/model/DescribeEsExceptionDataRequest.cc + src/model/DescribeEsExceptionDataResult.cc + src/model/DescribeEsExecuteDataRequest.cc + src/model/DescribeEsExecuteDataResult.cc + src/model/DescribeFCTriggerRequest.cc + src/model/DescribeFCTriggerResult.cc + src/model/DescribeIllegalUrlExportTaskRequest.cc + src/model/DescribeIllegalUrlExportTaskResult.cc + src/model/DescribeIpInfoRequest.cc + src/model/DescribeIpInfoResult.cc + src/model/DescribeIpStatusRequest.cc + src/model/DescribeIpStatusResult.cc + src/model/DescribeL2VipsByDomainRequest.cc + src/model/DescribeL2VipsByDomainResult.cc + src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc + src/model/DescribeRangeDataByLocateAndIspServiceResult.cc + src/model/DescribeRealtimeDeliveryAccRequest.cc + src/model/DescribeRealtimeDeliveryAccResult.cc + src/model/DescribeRealtimeLogAuthorizedRequest.cc + src/model/DescribeRealtimeLogAuthorizedResult.cc src/model/DescribeRefreshQuotaRequest.cc src/model/DescribeRefreshQuotaResult.cc + src/model/DescribeRefreshTaskByIdRequest.cc + src/model/DescribeRefreshTaskByIdResult.cc + src/model/DescribeRefreshTasksRequest.cc + src/model/DescribeRefreshTasksResult.cc + src/model/DescribeStagingIpRequest.cc + src/model/DescribeStagingIpResult.cc + src/model/DescribeTagResourcesRequest.cc + src/model/DescribeTagResourcesResult.cc src/model/DescribeTopDomainsByFlowRequest.cc src/model/DescribeTopDomainsByFlowResult.cc + src/model/DescribeUserCertificateExpireCountRequest.cc + src/model/DescribeUserCertificateExpireCountResult.cc + src/model/DescribeUserConfigsRequest.cc + src/model/DescribeUserConfigsResult.cc src/model/DescribeUserDomainsRequest.cc src/model/DescribeUserDomainsResult.cc + src/model/DescribeUserTagsRequest.cc + src/model/DescribeUserTagsResult.cc + src/model/DescribeUserUsageDataExportTaskRequest.cc + src/model/DescribeUserUsageDataExportTaskResult.cc + src/model/DescribeUserUsageDetailDataExportTaskRequest.cc + src/model/DescribeUserUsageDetailDataExportTaskResult.cc + src/model/DescribeUserVipsByDomainRequest.cc + src/model/DescribeUserVipsByDomainResult.cc + src/model/DescribeVerifyContentRequest.cc + src/model/DescribeVerifyContentResult.cc + src/model/DisableRealtimeLogDeliveryRequest.cc + src/model/DisableRealtimeLogDeliveryResult.cc + src/model/EnableRealtimeLogDeliveryRequest.cc + src/model/EnableRealtimeLogDeliveryResult.cc + src/model/ListDomainsByLogConfigIdRequest.cc + src/model/ListDomainsByLogConfigIdResult.cc + src/model/ListFCTriggerRequest.cc + src/model/ListFCTriggerResult.cc + src/model/ListRealtimeLogDeliveryDomainsRequest.cc + src/model/ListRealtimeLogDeliveryDomainsResult.cc + src/model/ListRealtimeLogDeliveryInfosRequest.cc + src/model/ListRealtimeLogDeliveryInfosResult.cc + src/model/ListUserCustomLogConfigRequest.cc + src/model/ListUserCustomLogConfigResult.cc + src/model/ModifyCdnDomainRequest.cc + src/model/ModifyCdnDomainResult.cc + src/model/ModifyCdnDomainSchdmByPropertyRequest.cc + src/model/ModifyCdnDomainSchdmByPropertyResult.cc + src/model/ModifyRealtimeLogDeliveryRequest.cc + src/model/ModifyRealtimeLogDeliveryResult.cc src/model/OpenCdnServiceRequest.cc src/model/OpenCdnServiceResult.cc + src/model/PublishStagingConfigToProductionRequest.cc + src/model/PublishStagingConfigToProductionResult.cc src/model/PushObjectCacheRequest.cc src/model/PushObjectCacheResult.cc src/model/RefreshObjectCachesRequest.cc src/model/RefreshObjectCachesResult.cc + src/model/RollbackStagingConfigRequest.cc + src/model/RollbackStagingConfigResult.cc + src/model/SetCdnDomainCSRCertificateRequest.cc + src/model/SetCdnDomainCSRCertificateResult.cc + src/model/SetCdnDomainSMCertificateRequest.cc + src/model/SetCdnDomainSMCertificateResult.cc + src/model/SetCdnDomainStagingConfigRequest.cc + src/model/SetCdnDomainStagingConfigResult.cc + src/model/SetConfigOfVersionRequest.cc + src/model/SetConfigOfVersionResult.cc + src/model/SetDomainServerCertificateRequest.cc + src/model/SetDomainServerCertificateResult.cc + src/model/SetReqHeaderConfigRequest.cc + src/model/SetReqHeaderConfigResult.cc + src/model/SetWaitingRoomConfigRequest.cc + src/model/SetWaitingRoomConfigResult.cc + src/model/StartCdnDomainRequest.cc + src/model/StartCdnDomainResult.cc + src/model/StopCdnDomainRequest.cc + src/model/StopCdnDomainResult.cc + src/model/TagResourcesRequest.cc + src/model/TagResourcesResult.cc src/model/TestDescribeDomainBpsDataRequest.cc - src/model/TestDescribeDomainBpsDataResult.cc ) + src/model/TestDescribeDomainBpsDataResult.cc + src/model/UntagResourcesRequest.cc + src/model/UntagResourcesResult.cc + src/model/UpdateCdnDeliverTaskRequest.cc + src/model/UpdateCdnDeliverTaskResult.cc + src/model/UpdateCdnSubTaskRequest.cc + src/model/UpdateCdnSubTaskResult.cc + src/model/UpdateFCTriggerRequest.cc + src/model/UpdateFCTriggerResult.cc + src/model/VerifyDomainOwnerRequest.cc + src/model/VerifyDomainOwnerResult.cc ) add_library(cdn ${LIB_TYPE} ${cdn_public_header} diff --git a/cdn/include/alibabacloud/cdn/CdnClient.h b/cdn/include/alibabacloud/cdn/CdnClient.h index d00d06601..cf1d834df 100644 --- a/cdn/include/alibabacloud/cdn/CdnClient.h +++ b/cdn/include/alibabacloud/cdn/CdnClient.h @@ -24,16 +24,136 @@ #include "CdnExport.h" #include "model/AddCdnDomainRequest.h" #include "model/AddCdnDomainResult.h" +#include "model/AddFCTriggerRequest.h" +#include "model/AddFCTriggerResult.h" +#include "model/BatchAddCdnDomainRequest.h" +#include "model/BatchAddCdnDomainResult.h" +#include "model/BatchDeleteCdnDomainConfigRequest.h" +#include "model/BatchDeleteCdnDomainConfigResult.h" +#include "model/BatchSetCdnDomainConfigRequest.h" +#include "model/BatchSetCdnDomainConfigResult.h" +#include "model/BatchSetCdnDomainServerCertificateRequest.h" +#include "model/BatchSetCdnDomainServerCertificateResult.h" +#include "model/BatchStartCdnDomainRequest.h" +#include "model/BatchStartCdnDomainResult.h" +#include "model/BatchStopCdnDomainRequest.h" +#include "model/BatchStopCdnDomainResult.h" +#include "model/BatchUpdateCdnDomainRequest.h" +#include "model/BatchUpdateCdnDomainResult.h" +#include "model/CreateCdnCertificateSigningRequestRequest.h" +#include "model/CreateCdnCertificateSigningRequestResult.h" +#include "model/CreateCdnDeliverTaskRequest.h" +#include "model/CreateCdnDeliverTaskResult.h" +#include "model/CreateCdnSubTaskRequest.h" +#include "model/CreateCdnSubTaskResult.h" +#include "model/CreateIllegalUrlExportTaskRequest.h" +#include "model/CreateIllegalUrlExportTaskResult.h" +#include "model/CreateRealTimeLogDeliveryRequest.h" +#include "model/CreateRealTimeLogDeliveryResult.h" +#include "model/CreateUsageDetailDataExportTaskRequest.h" +#include "model/CreateUsageDetailDataExportTaskResult.h" +#include "model/CreateUserUsageDataExportTaskRequest.h" +#include "model/CreateUserUsageDataExportTaskResult.h" +#include "model/DeleteCdnDeliverTaskRequest.h" +#include "model/DeleteCdnDeliverTaskResult.h" +#include "model/DeleteCdnDomainRequest.h" +#include "model/DeleteCdnDomainResult.h" +#include "model/DeleteCdnSubTaskRequest.h" +#include "model/DeleteCdnSubTaskResult.h" +#include "model/DeleteFCTriggerRequest.h" +#include "model/DeleteFCTriggerResult.h" +#include "model/DeleteRealTimeLogLogstoreRequest.h" +#include "model/DeleteRealTimeLogLogstoreResult.h" +#include "model/DeleteRealtimeLogDeliveryRequest.h" +#include "model/DeleteRealtimeLogDeliveryResult.h" +#include "model/DeleteSpecificConfigRequest.h" +#include "model/DeleteSpecificConfigResult.h" +#include "model/DeleteSpecificStagingConfigRequest.h" +#include "model/DeleteSpecificStagingConfigResult.h" +#include "model/DeleteUsageDetailDataExportTaskRequest.h" +#include "model/DeleteUsageDetailDataExportTaskResult.h" +#include "model/DeleteUserUsageDataExportTaskRequest.h" +#include "model/DeleteUserUsageDataExportTaskResult.h" +#include "model/DescribeActiveVersionOfConfigGroupRequest.h" +#include "model/DescribeActiveVersionOfConfigGroupResult.h" +#include "model/DescribeBlockedRegionsRequest.h" +#include "model/DescribeBlockedRegionsResult.h" +#include "model/DescribeCdnCertificateDetailRequest.h" +#include "model/DescribeCdnCertificateDetailResult.h" +#include "model/DescribeCdnCertificateListRequest.h" +#include "model/DescribeCdnCertificateListResult.h" +#include "model/DescribeCdnDeletedDomainsRequest.h" +#include "model/DescribeCdnDeletedDomainsResult.h" +#include "model/DescribeCdnDeliverListRequest.h" +#include "model/DescribeCdnDeliverListResult.h" +#include "model/DescribeCdnDomainByCertificateRequest.h" +#include "model/DescribeCdnDomainByCertificateResult.h" +#include "model/DescribeCdnDomainConfigsRequest.h" +#include "model/DescribeCdnDomainConfigsResult.h" #include "model/DescribeCdnDomainDetailRequest.h" #include "model/DescribeCdnDomainDetailResult.h" #include "model/DescribeCdnDomainLogsRequest.h" #include "model/DescribeCdnDomainLogsResult.h" +#include "model/DescribeCdnDomainStagingConfigRequest.h" +#include "model/DescribeCdnDomainStagingConfigResult.h" +#include "model/DescribeCdnHttpsDomainListRequest.h" +#include "model/DescribeCdnHttpsDomainListResult.h" +#include "model/DescribeCdnOrderCommodityCodeRequest.h" +#include "model/DescribeCdnOrderCommodityCodeResult.h" +#include "model/DescribeCdnRegionAndIspRequest.h" +#include "model/DescribeCdnRegionAndIspResult.h" +#include "model/DescribeCdnReportRequest.h" +#include "model/DescribeCdnReportResult.h" +#include "model/DescribeCdnReportListRequest.h" +#include "model/DescribeCdnReportListResult.h" +#include "model/DescribeCdnSMCertificateDetailRequest.h" +#include "model/DescribeCdnSMCertificateDetailResult.h" +#include "model/DescribeCdnSMCertificateListRequest.h" +#include "model/DescribeCdnSMCertificateListResult.h" #include "model/DescribeCdnServiceRequest.h" #include "model/DescribeCdnServiceResult.h" +#include "model/DescribeCdnSubListRequest.h" +#include "model/DescribeCdnSubListResult.h" +#include "model/DescribeCdnUserBillHistoryRequest.h" +#include "model/DescribeCdnUserBillHistoryResult.h" +#include "model/DescribeCdnUserBillPredictionRequest.h" +#include "model/DescribeCdnUserBillPredictionResult.h" +#include "model/DescribeCdnUserBillTypeRequest.h" +#include "model/DescribeCdnUserBillTypeResult.h" +#include "model/DescribeCdnUserConfigsRequest.h" +#include "model/DescribeCdnUserConfigsResult.h" +#include "model/DescribeCdnUserDomainsByFuncRequest.h" +#include "model/DescribeCdnUserDomainsByFuncResult.h" +#include "model/DescribeCdnUserQuotaRequest.h" +#include "model/DescribeCdnUserQuotaResult.h" +#include "model/DescribeCdnUserResourcePackageRequest.h" +#include "model/DescribeCdnUserResourcePackageResult.h" +#include "model/DescribeCdnWafDomainRequest.h" +#include "model/DescribeCdnWafDomainResult.h" +#include "model/DescribeCertificateInfoByIDRequest.h" +#include "model/DescribeCertificateInfoByIDResult.h" +#include "model/DescribeConfigGroupDetailRequest.h" +#include "model/DescribeConfigGroupDetailResult.h" +#include "model/DescribeConfigOfVersionRequest.h" +#include "model/DescribeConfigOfVersionResult.h" +#include "model/DescribeCustomLogConfigRequest.h" +#include "model/DescribeCustomLogConfigResult.h" +#include "model/DescribeDomainAverageResponseTimeRequest.h" +#include "model/DescribeDomainAverageResponseTimeResult.h" #include "model/DescribeDomainBpsDataRequest.h" #include "model/DescribeDomainBpsDataResult.h" +#include "model/DescribeDomainBpsDataByLayerRequest.h" +#include "model/DescribeDomainBpsDataByLayerResult.h" #include "model/DescribeDomainBpsDataByTimeStampRequest.h" #include "model/DescribeDomainBpsDataByTimeStampResult.h" +#include "model/DescribeDomainCcActivityLogRequest.h" +#include "model/DescribeDomainCcActivityLogResult.h" +#include "model/DescribeDomainCertificateInfoRequest.h" +#include "model/DescribeDomainCertificateInfoResult.h" +#include "model/DescribeDomainCustomLogConfigRequest.h" +#include "model/DescribeDomainCustomLogConfigResult.h" +#include "model/DescribeDomainDetailDataByLayerRequest.h" +#include "model/DescribeDomainDetailDataByLayerResult.h" #include "model/DescribeDomainFileSizeProportionDataRequest.h" #include "model/DescribeDomainFileSizeProportionDataResult.h" #include "model/DescribeDomainFlowDataRequest.h" @@ -42,10 +162,46 @@ #include "model/DescribeDomainHitRateDataResult.h" #include "model/DescribeDomainHttpCodeDataRequest.h" #include "model/DescribeDomainHttpCodeDataResult.h" +#include "model/DescribeDomainHttpCodeDataByLayerRequest.h" +#include "model/DescribeDomainHttpCodeDataByLayerResult.h" #include "model/DescribeDomainISPDataRequest.h" #include "model/DescribeDomainISPDataResult.h" +#include "model/DescribeDomainMax95BpsDataRequest.h" +#include "model/DescribeDomainMax95BpsDataResult.h" +#include "model/DescribeDomainMultiUsageDataRequest.h" +#include "model/DescribeDomainMultiUsageDataResult.h" +#include "model/DescribeDomainNamesOfVersionRequest.h" +#include "model/DescribeDomainNamesOfVersionResult.h" +#include "model/DescribeDomainPathDataRequest.h" +#include "model/DescribeDomainPathDataResult.h" +#include "model/DescribeDomainPvDataRequest.h" +#include "model/DescribeDomainPvDataResult.h" #include "model/DescribeDomainQpsDataRequest.h" #include "model/DescribeDomainQpsDataResult.h" +#include "model/DescribeDomainQpsDataByLayerRequest.h" +#include "model/DescribeDomainQpsDataByLayerResult.h" +#include "model/DescribeDomainRealTimeBpsDataRequest.h" +#include "model/DescribeDomainRealTimeBpsDataResult.h" +#include "model/DescribeDomainRealTimeByteHitRateDataRequest.h" +#include "model/DescribeDomainRealTimeByteHitRateDataResult.h" +#include "model/DescribeDomainRealTimeDetailDataRequest.h" +#include "model/DescribeDomainRealTimeDetailDataResult.h" +#include "model/DescribeDomainRealTimeHttpCodeDataRequest.h" +#include "model/DescribeDomainRealTimeHttpCodeDataResult.h" +#include "model/DescribeDomainRealTimeQpsDataRequest.h" +#include "model/DescribeDomainRealTimeQpsDataResult.h" +#include "model/DescribeDomainRealTimeReqHitRateDataRequest.h" +#include "model/DescribeDomainRealTimeReqHitRateDataResult.h" +#include "model/DescribeDomainRealTimeSrcBpsDataRequest.h" +#include "model/DescribeDomainRealTimeSrcBpsDataResult.h" +#include "model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h" +#include "model/DescribeDomainRealTimeSrcHttpCodeDataResult.h" +#include "model/DescribeDomainRealTimeSrcTrafficDataRequest.h" +#include "model/DescribeDomainRealTimeSrcTrafficDataResult.h" +#include "model/DescribeDomainRealTimeTrafficDataRequest.h" +#include "model/DescribeDomainRealTimeTrafficDataResult.h" +#include "model/DescribeDomainRealtimeLogDeliveryRequest.h" +#include "model/DescribeDomainRealtimeLogDeliveryResult.h" #include "model/DescribeDomainRegionDataRequest.h" #include "model/DescribeDomainRegionDataResult.h" #include "model/DescribeDomainReqHitRateDataRequest.h" @@ -54,26 +210,140 @@ #include "model/DescribeDomainSrcBpsDataResult.h" #include "model/DescribeDomainSrcFlowDataRequest.h" #include "model/DescribeDomainSrcFlowDataResult.h" +#include "model/DescribeDomainSrcHttpCodeDataRequest.h" +#include "model/DescribeDomainSrcHttpCodeDataResult.h" +#include "model/DescribeDomainSrcQpsDataRequest.h" +#include "model/DescribeDomainSrcQpsDataResult.h" +#include "model/DescribeDomainSrcTopUrlVisitRequest.h" +#include "model/DescribeDomainSrcTopUrlVisitResult.h" +#include "model/DescribeDomainSrcTrafficDataRequest.h" +#include "model/DescribeDomainSrcTrafficDataResult.h" +#include "model/DescribeDomainTopClientIpVisitRequest.h" +#include "model/DescribeDomainTopClientIpVisitResult.h" +#include "model/DescribeDomainTopReferVisitRequest.h" +#include "model/DescribeDomainTopReferVisitResult.h" +#include "model/DescribeDomainTopUrlVisitRequest.h" +#include "model/DescribeDomainTopUrlVisitResult.h" +#include "model/DescribeDomainTrafficDataRequest.h" +#include "model/DescribeDomainTrafficDataResult.h" +#include "model/DescribeDomainUsageDataRequest.h" +#include "model/DescribeDomainUsageDataResult.h" #include "model/DescribeDomainUvDataRequest.h" #include "model/DescribeDomainUvDataResult.h" #include "model/DescribeDomainsBySourceRequest.h" #include "model/DescribeDomainsBySourceResult.h" #include "model/DescribeDomainsUsageByDayRequest.h" #include "model/DescribeDomainsUsageByDayResult.h" +#include "model/DescribeEsExceptionDataRequest.h" +#include "model/DescribeEsExceptionDataResult.h" +#include "model/DescribeEsExecuteDataRequest.h" +#include "model/DescribeEsExecuteDataResult.h" +#include "model/DescribeFCTriggerRequest.h" +#include "model/DescribeFCTriggerResult.h" +#include "model/DescribeIllegalUrlExportTaskRequest.h" +#include "model/DescribeIllegalUrlExportTaskResult.h" +#include "model/DescribeIpInfoRequest.h" +#include "model/DescribeIpInfoResult.h" +#include "model/DescribeIpStatusRequest.h" +#include "model/DescribeIpStatusResult.h" +#include "model/DescribeL2VipsByDomainRequest.h" +#include "model/DescribeL2VipsByDomainResult.h" +#include "model/DescribeRangeDataByLocateAndIspServiceRequest.h" +#include "model/DescribeRangeDataByLocateAndIspServiceResult.h" +#include "model/DescribeRealtimeDeliveryAccRequest.h" +#include "model/DescribeRealtimeDeliveryAccResult.h" +#include "model/DescribeRealtimeLogAuthorizedRequest.h" +#include "model/DescribeRealtimeLogAuthorizedResult.h" #include "model/DescribeRefreshQuotaRequest.h" #include "model/DescribeRefreshQuotaResult.h" +#include "model/DescribeRefreshTaskByIdRequest.h" +#include "model/DescribeRefreshTaskByIdResult.h" +#include "model/DescribeRefreshTasksRequest.h" +#include "model/DescribeRefreshTasksResult.h" +#include "model/DescribeStagingIpRequest.h" +#include "model/DescribeStagingIpResult.h" +#include "model/DescribeTagResourcesRequest.h" +#include "model/DescribeTagResourcesResult.h" #include "model/DescribeTopDomainsByFlowRequest.h" #include "model/DescribeTopDomainsByFlowResult.h" +#include "model/DescribeUserCertificateExpireCountRequest.h" +#include "model/DescribeUserCertificateExpireCountResult.h" +#include "model/DescribeUserConfigsRequest.h" +#include "model/DescribeUserConfigsResult.h" #include "model/DescribeUserDomainsRequest.h" #include "model/DescribeUserDomainsResult.h" +#include "model/DescribeUserTagsRequest.h" +#include "model/DescribeUserTagsResult.h" +#include "model/DescribeUserUsageDataExportTaskRequest.h" +#include "model/DescribeUserUsageDataExportTaskResult.h" +#include "model/DescribeUserUsageDetailDataExportTaskRequest.h" +#include "model/DescribeUserUsageDetailDataExportTaskResult.h" +#include "model/DescribeUserVipsByDomainRequest.h" +#include "model/DescribeUserVipsByDomainResult.h" +#include "model/DescribeVerifyContentRequest.h" +#include "model/DescribeVerifyContentResult.h" +#include "model/DisableRealtimeLogDeliveryRequest.h" +#include "model/DisableRealtimeLogDeliveryResult.h" +#include "model/EnableRealtimeLogDeliveryRequest.h" +#include "model/EnableRealtimeLogDeliveryResult.h" +#include "model/ListDomainsByLogConfigIdRequest.h" +#include "model/ListDomainsByLogConfigIdResult.h" +#include "model/ListFCTriggerRequest.h" +#include "model/ListFCTriggerResult.h" +#include "model/ListRealtimeLogDeliveryDomainsRequest.h" +#include "model/ListRealtimeLogDeliveryDomainsResult.h" +#include "model/ListRealtimeLogDeliveryInfosRequest.h" +#include "model/ListRealtimeLogDeliveryInfosResult.h" +#include "model/ListUserCustomLogConfigRequest.h" +#include "model/ListUserCustomLogConfigResult.h" +#include "model/ModifyCdnDomainRequest.h" +#include "model/ModifyCdnDomainResult.h" +#include "model/ModifyCdnDomainSchdmByPropertyRequest.h" +#include "model/ModifyCdnDomainSchdmByPropertyResult.h" +#include "model/ModifyRealtimeLogDeliveryRequest.h" +#include "model/ModifyRealtimeLogDeliveryResult.h" #include "model/OpenCdnServiceRequest.h" #include "model/OpenCdnServiceResult.h" +#include "model/PublishStagingConfigToProductionRequest.h" +#include "model/PublishStagingConfigToProductionResult.h" #include "model/PushObjectCacheRequest.h" #include "model/PushObjectCacheResult.h" #include "model/RefreshObjectCachesRequest.h" #include "model/RefreshObjectCachesResult.h" +#include "model/RollbackStagingConfigRequest.h" +#include "model/RollbackStagingConfigResult.h" +#include "model/SetCdnDomainCSRCertificateRequest.h" +#include "model/SetCdnDomainCSRCertificateResult.h" +#include "model/SetCdnDomainSMCertificateRequest.h" +#include "model/SetCdnDomainSMCertificateResult.h" +#include "model/SetCdnDomainStagingConfigRequest.h" +#include "model/SetCdnDomainStagingConfigResult.h" +#include "model/SetConfigOfVersionRequest.h" +#include "model/SetConfigOfVersionResult.h" +#include "model/SetDomainServerCertificateRequest.h" +#include "model/SetDomainServerCertificateResult.h" +#include "model/SetReqHeaderConfigRequest.h" +#include "model/SetReqHeaderConfigResult.h" +#include "model/SetWaitingRoomConfigRequest.h" +#include "model/SetWaitingRoomConfigResult.h" +#include "model/StartCdnDomainRequest.h" +#include "model/StartCdnDomainResult.h" +#include "model/StopCdnDomainRequest.h" +#include "model/StopCdnDomainResult.h" +#include "model/TagResourcesRequest.h" +#include "model/TagResourcesResult.h" #include "model/TestDescribeDomainBpsDataRequest.h" #include "model/TestDescribeDomainBpsDataResult.h" +#include "model/UntagResourcesRequest.h" +#include "model/UntagResourcesResult.h" +#include "model/UpdateCdnDeliverTaskRequest.h" +#include "model/UpdateCdnDeliverTaskResult.h" +#include "model/UpdateCdnSubTaskRequest.h" +#include "model/UpdateCdnSubTaskResult.h" +#include "model/UpdateFCTriggerRequest.h" +#include "model/UpdateFCTriggerResult.h" +#include "model/VerifyDomainOwnerRequest.h" +#include "model/VerifyDomainOwnerResult.h" namespace AlibabaCloud @@ -86,21 +356,201 @@ namespace AlibabaCloud typedef Outcome AddCdnDomainOutcome; typedef std::future AddCdnDomainOutcomeCallable; typedef std::function&)> AddCdnDomainAsyncHandler; + typedef Outcome AddFCTriggerOutcome; + typedef std::future AddFCTriggerOutcomeCallable; + typedef std::function&)> AddFCTriggerAsyncHandler; + typedef Outcome BatchAddCdnDomainOutcome; + typedef std::future BatchAddCdnDomainOutcomeCallable; + typedef std::function&)> BatchAddCdnDomainAsyncHandler; + typedef Outcome BatchDeleteCdnDomainConfigOutcome; + typedef std::future BatchDeleteCdnDomainConfigOutcomeCallable; + typedef std::function&)> BatchDeleteCdnDomainConfigAsyncHandler; + typedef Outcome BatchSetCdnDomainConfigOutcome; + typedef std::future BatchSetCdnDomainConfigOutcomeCallable; + typedef std::function&)> BatchSetCdnDomainConfigAsyncHandler; + typedef Outcome BatchSetCdnDomainServerCertificateOutcome; + typedef std::future BatchSetCdnDomainServerCertificateOutcomeCallable; + typedef std::function&)> BatchSetCdnDomainServerCertificateAsyncHandler; + typedef Outcome BatchStartCdnDomainOutcome; + typedef std::future BatchStartCdnDomainOutcomeCallable; + typedef std::function&)> BatchStartCdnDomainAsyncHandler; + typedef Outcome BatchStopCdnDomainOutcome; + typedef std::future BatchStopCdnDomainOutcomeCallable; + typedef std::function&)> BatchStopCdnDomainAsyncHandler; + typedef Outcome BatchUpdateCdnDomainOutcome; + typedef std::future BatchUpdateCdnDomainOutcomeCallable; + typedef std::function&)> BatchUpdateCdnDomainAsyncHandler; + typedef Outcome CreateCdnCertificateSigningRequestOutcome; + typedef std::future CreateCdnCertificateSigningRequestOutcomeCallable; + typedef std::function&)> CreateCdnCertificateSigningRequestAsyncHandler; + typedef Outcome CreateCdnDeliverTaskOutcome; + typedef std::future CreateCdnDeliverTaskOutcomeCallable; + typedef std::function&)> CreateCdnDeliverTaskAsyncHandler; + typedef Outcome CreateCdnSubTaskOutcome; + typedef std::future CreateCdnSubTaskOutcomeCallable; + typedef std::function&)> CreateCdnSubTaskAsyncHandler; + typedef Outcome CreateIllegalUrlExportTaskOutcome; + typedef std::future CreateIllegalUrlExportTaskOutcomeCallable; + typedef std::function&)> CreateIllegalUrlExportTaskAsyncHandler; + typedef Outcome CreateRealTimeLogDeliveryOutcome; + typedef std::future CreateRealTimeLogDeliveryOutcomeCallable; + typedef std::function&)> CreateRealTimeLogDeliveryAsyncHandler; + typedef Outcome CreateUsageDetailDataExportTaskOutcome; + typedef std::future CreateUsageDetailDataExportTaskOutcomeCallable; + typedef std::function&)> CreateUsageDetailDataExportTaskAsyncHandler; + typedef Outcome CreateUserUsageDataExportTaskOutcome; + typedef std::future CreateUserUsageDataExportTaskOutcomeCallable; + typedef std::function&)> CreateUserUsageDataExportTaskAsyncHandler; + typedef Outcome DeleteCdnDeliverTaskOutcome; + typedef std::future DeleteCdnDeliverTaskOutcomeCallable; + typedef std::function&)> DeleteCdnDeliverTaskAsyncHandler; + typedef Outcome DeleteCdnDomainOutcome; + typedef std::future DeleteCdnDomainOutcomeCallable; + typedef std::function&)> DeleteCdnDomainAsyncHandler; + typedef Outcome DeleteCdnSubTaskOutcome; + typedef std::future DeleteCdnSubTaskOutcomeCallable; + typedef std::function&)> DeleteCdnSubTaskAsyncHandler; + typedef Outcome DeleteFCTriggerOutcome; + typedef std::future DeleteFCTriggerOutcomeCallable; + typedef std::function&)> DeleteFCTriggerAsyncHandler; + typedef Outcome DeleteRealTimeLogLogstoreOutcome; + typedef std::future DeleteRealTimeLogLogstoreOutcomeCallable; + typedef std::function&)> DeleteRealTimeLogLogstoreAsyncHandler; + typedef Outcome DeleteRealtimeLogDeliveryOutcome; + typedef std::future DeleteRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> DeleteRealtimeLogDeliveryAsyncHandler; + typedef Outcome DeleteSpecificConfigOutcome; + typedef std::future DeleteSpecificConfigOutcomeCallable; + typedef std::function&)> DeleteSpecificConfigAsyncHandler; + typedef Outcome DeleteSpecificStagingConfigOutcome; + typedef std::future DeleteSpecificStagingConfigOutcomeCallable; + typedef std::function&)> DeleteSpecificStagingConfigAsyncHandler; + typedef Outcome DeleteUsageDetailDataExportTaskOutcome; + typedef std::future DeleteUsageDetailDataExportTaskOutcomeCallable; + typedef std::function&)> DeleteUsageDetailDataExportTaskAsyncHandler; + typedef Outcome DeleteUserUsageDataExportTaskOutcome; + typedef std::future DeleteUserUsageDataExportTaskOutcomeCallable; + typedef std::function&)> DeleteUserUsageDataExportTaskAsyncHandler; + typedef Outcome DescribeActiveVersionOfConfigGroupOutcome; + typedef std::future DescribeActiveVersionOfConfigGroupOutcomeCallable; + typedef std::function&)> DescribeActiveVersionOfConfigGroupAsyncHandler; + typedef Outcome DescribeBlockedRegionsOutcome; + typedef std::future DescribeBlockedRegionsOutcomeCallable; + typedef std::function&)> DescribeBlockedRegionsAsyncHandler; + typedef Outcome DescribeCdnCertificateDetailOutcome; + typedef std::future DescribeCdnCertificateDetailOutcomeCallable; + typedef std::function&)> DescribeCdnCertificateDetailAsyncHandler; + typedef Outcome DescribeCdnCertificateListOutcome; + typedef std::future DescribeCdnCertificateListOutcomeCallable; + typedef std::function&)> DescribeCdnCertificateListAsyncHandler; + typedef Outcome DescribeCdnDeletedDomainsOutcome; + typedef std::future DescribeCdnDeletedDomainsOutcomeCallable; + typedef std::function&)> DescribeCdnDeletedDomainsAsyncHandler; + typedef Outcome DescribeCdnDeliverListOutcome; + typedef std::future DescribeCdnDeliverListOutcomeCallable; + typedef std::function&)> DescribeCdnDeliverListAsyncHandler; + typedef Outcome DescribeCdnDomainByCertificateOutcome; + typedef std::future DescribeCdnDomainByCertificateOutcomeCallable; + typedef std::function&)> DescribeCdnDomainByCertificateAsyncHandler; + typedef Outcome DescribeCdnDomainConfigsOutcome; + typedef std::future DescribeCdnDomainConfigsOutcomeCallable; + typedef std::function&)> DescribeCdnDomainConfigsAsyncHandler; typedef Outcome DescribeCdnDomainDetailOutcome; typedef std::future DescribeCdnDomainDetailOutcomeCallable; typedef std::function&)> DescribeCdnDomainDetailAsyncHandler; typedef Outcome DescribeCdnDomainLogsOutcome; typedef std::future DescribeCdnDomainLogsOutcomeCallable; typedef std::function&)> DescribeCdnDomainLogsAsyncHandler; + typedef Outcome DescribeCdnDomainStagingConfigOutcome; + typedef std::future DescribeCdnDomainStagingConfigOutcomeCallable; + typedef std::function&)> DescribeCdnDomainStagingConfigAsyncHandler; + typedef Outcome DescribeCdnHttpsDomainListOutcome; + typedef std::future DescribeCdnHttpsDomainListOutcomeCallable; + typedef std::function&)> DescribeCdnHttpsDomainListAsyncHandler; + typedef Outcome DescribeCdnOrderCommodityCodeOutcome; + typedef std::future DescribeCdnOrderCommodityCodeOutcomeCallable; + typedef std::function&)> DescribeCdnOrderCommodityCodeAsyncHandler; + typedef Outcome DescribeCdnRegionAndIspOutcome; + typedef std::future DescribeCdnRegionAndIspOutcomeCallable; + typedef std::function&)> DescribeCdnRegionAndIspAsyncHandler; + typedef Outcome DescribeCdnReportOutcome; + typedef std::future DescribeCdnReportOutcomeCallable; + typedef std::function&)> DescribeCdnReportAsyncHandler; + typedef Outcome DescribeCdnReportListOutcome; + typedef std::future DescribeCdnReportListOutcomeCallable; + typedef std::function&)> DescribeCdnReportListAsyncHandler; + typedef Outcome DescribeCdnSMCertificateDetailOutcome; + typedef std::future DescribeCdnSMCertificateDetailOutcomeCallable; + typedef std::function&)> DescribeCdnSMCertificateDetailAsyncHandler; + typedef Outcome DescribeCdnSMCertificateListOutcome; + typedef std::future DescribeCdnSMCertificateListOutcomeCallable; + typedef std::function&)> DescribeCdnSMCertificateListAsyncHandler; typedef Outcome DescribeCdnServiceOutcome; typedef std::future DescribeCdnServiceOutcomeCallable; typedef std::function&)> DescribeCdnServiceAsyncHandler; + typedef Outcome DescribeCdnSubListOutcome; + typedef std::future DescribeCdnSubListOutcomeCallable; + typedef std::function&)> DescribeCdnSubListAsyncHandler; + typedef Outcome DescribeCdnUserBillHistoryOutcome; + typedef std::future DescribeCdnUserBillHistoryOutcomeCallable; + typedef std::function&)> DescribeCdnUserBillHistoryAsyncHandler; + typedef Outcome DescribeCdnUserBillPredictionOutcome; + typedef std::future DescribeCdnUserBillPredictionOutcomeCallable; + typedef std::function&)> DescribeCdnUserBillPredictionAsyncHandler; + typedef Outcome DescribeCdnUserBillTypeOutcome; + typedef std::future DescribeCdnUserBillTypeOutcomeCallable; + typedef std::function&)> DescribeCdnUserBillTypeAsyncHandler; + typedef Outcome DescribeCdnUserConfigsOutcome; + typedef std::future DescribeCdnUserConfigsOutcomeCallable; + typedef std::function&)> DescribeCdnUserConfigsAsyncHandler; + typedef Outcome DescribeCdnUserDomainsByFuncOutcome; + typedef std::future DescribeCdnUserDomainsByFuncOutcomeCallable; + typedef std::function&)> DescribeCdnUserDomainsByFuncAsyncHandler; + typedef Outcome DescribeCdnUserQuotaOutcome; + typedef std::future DescribeCdnUserQuotaOutcomeCallable; + typedef std::function&)> DescribeCdnUserQuotaAsyncHandler; + typedef Outcome DescribeCdnUserResourcePackageOutcome; + typedef std::future DescribeCdnUserResourcePackageOutcomeCallable; + typedef std::function&)> DescribeCdnUserResourcePackageAsyncHandler; + typedef Outcome DescribeCdnWafDomainOutcome; + typedef std::future DescribeCdnWafDomainOutcomeCallable; + typedef std::function&)> DescribeCdnWafDomainAsyncHandler; + typedef Outcome DescribeCertificateInfoByIDOutcome; + typedef std::future DescribeCertificateInfoByIDOutcomeCallable; + typedef std::function&)> DescribeCertificateInfoByIDAsyncHandler; + typedef Outcome DescribeConfigGroupDetailOutcome; + typedef std::future DescribeConfigGroupDetailOutcomeCallable; + typedef std::function&)> DescribeConfigGroupDetailAsyncHandler; + typedef Outcome DescribeConfigOfVersionOutcome; + typedef std::future DescribeConfigOfVersionOutcomeCallable; + typedef std::function&)> DescribeConfigOfVersionAsyncHandler; + typedef Outcome DescribeCustomLogConfigOutcome; + typedef std::future DescribeCustomLogConfigOutcomeCallable; + typedef std::function&)> DescribeCustomLogConfigAsyncHandler; + typedef Outcome DescribeDomainAverageResponseTimeOutcome; + typedef std::future DescribeDomainAverageResponseTimeOutcomeCallable; + typedef std::function&)> DescribeDomainAverageResponseTimeAsyncHandler; typedef Outcome DescribeDomainBpsDataOutcome; typedef std::future DescribeDomainBpsDataOutcomeCallable; typedef std::function&)> DescribeDomainBpsDataAsyncHandler; + typedef Outcome DescribeDomainBpsDataByLayerOutcome; + typedef std::future DescribeDomainBpsDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDomainBpsDataByLayerAsyncHandler; typedef Outcome DescribeDomainBpsDataByTimeStampOutcome; typedef std::future DescribeDomainBpsDataByTimeStampOutcomeCallable; typedef std::function&)> DescribeDomainBpsDataByTimeStampAsyncHandler; + typedef Outcome DescribeDomainCcActivityLogOutcome; + typedef std::future DescribeDomainCcActivityLogOutcomeCallable; + typedef std::function&)> DescribeDomainCcActivityLogAsyncHandler; + typedef Outcome DescribeDomainCertificateInfoOutcome; + typedef std::future DescribeDomainCertificateInfoOutcomeCallable; + typedef std::function&)> DescribeDomainCertificateInfoAsyncHandler; + typedef Outcome DescribeDomainCustomLogConfigOutcome; + typedef std::future DescribeDomainCustomLogConfigOutcomeCallable; + typedef std::function&)> DescribeDomainCustomLogConfigAsyncHandler; + typedef Outcome DescribeDomainDetailDataByLayerOutcome; + typedef std::future DescribeDomainDetailDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDomainDetailDataByLayerAsyncHandler; typedef Outcome DescribeDomainFileSizeProportionDataOutcome; typedef std::future DescribeDomainFileSizeProportionDataOutcomeCallable; typedef std::function&)> DescribeDomainFileSizeProportionDataAsyncHandler; @@ -113,12 +563,66 @@ namespace AlibabaCloud typedef Outcome DescribeDomainHttpCodeDataOutcome; typedef std::future DescribeDomainHttpCodeDataOutcomeCallable; typedef std::function&)> DescribeDomainHttpCodeDataAsyncHandler; + typedef Outcome DescribeDomainHttpCodeDataByLayerOutcome; + typedef std::future DescribeDomainHttpCodeDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDomainHttpCodeDataByLayerAsyncHandler; typedef Outcome DescribeDomainISPDataOutcome; typedef std::future DescribeDomainISPDataOutcomeCallable; typedef std::function&)> DescribeDomainISPDataAsyncHandler; + typedef Outcome DescribeDomainMax95BpsDataOutcome; + typedef std::future DescribeDomainMax95BpsDataOutcomeCallable; + typedef std::function&)> DescribeDomainMax95BpsDataAsyncHandler; + typedef Outcome DescribeDomainMultiUsageDataOutcome; + typedef std::future DescribeDomainMultiUsageDataOutcomeCallable; + typedef std::function&)> DescribeDomainMultiUsageDataAsyncHandler; + typedef Outcome DescribeDomainNamesOfVersionOutcome; + typedef std::future DescribeDomainNamesOfVersionOutcomeCallable; + typedef std::function&)> DescribeDomainNamesOfVersionAsyncHandler; + typedef Outcome DescribeDomainPathDataOutcome; + typedef std::future DescribeDomainPathDataOutcomeCallable; + typedef std::function&)> DescribeDomainPathDataAsyncHandler; + typedef Outcome DescribeDomainPvDataOutcome; + typedef std::future DescribeDomainPvDataOutcomeCallable; + typedef std::function&)> DescribeDomainPvDataAsyncHandler; typedef Outcome DescribeDomainQpsDataOutcome; typedef std::future DescribeDomainQpsDataOutcomeCallable; typedef std::function&)> DescribeDomainQpsDataAsyncHandler; + typedef Outcome DescribeDomainQpsDataByLayerOutcome; + typedef std::future DescribeDomainQpsDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDomainQpsDataByLayerAsyncHandler; + typedef Outcome DescribeDomainRealTimeBpsDataOutcome; + typedef std::future DescribeDomainRealTimeBpsDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeBpsDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeByteHitRateDataOutcome; + typedef std::future DescribeDomainRealTimeByteHitRateDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeByteHitRateDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeDetailDataOutcome; + typedef std::future DescribeDomainRealTimeDetailDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeDetailDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeHttpCodeDataOutcome; + typedef std::future DescribeDomainRealTimeHttpCodeDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeHttpCodeDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeQpsDataOutcome; + typedef std::future DescribeDomainRealTimeQpsDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeQpsDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeReqHitRateDataOutcome; + typedef std::future DescribeDomainRealTimeReqHitRateDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeReqHitRateDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeSrcBpsDataOutcome; + typedef std::future DescribeDomainRealTimeSrcBpsDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeSrcBpsDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeSrcHttpCodeDataOutcome; + typedef std::future DescribeDomainRealTimeSrcHttpCodeDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeSrcHttpCodeDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeSrcTrafficDataOutcome; + typedef std::future DescribeDomainRealTimeSrcTrafficDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeSrcTrafficDataAsyncHandler; + typedef Outcome DescribeDomainRealTimeTrafficDataOutcome; + typedef std::future DescribeDomainRealTimeTrafficDataOutcomeCallable; + typedef std::function&)> DescribeDomainRealTimeTrafficDataAsyncHandler; + typedef Outcome DescribeDomainRealtimeLogDeliveryOutcome; + typedef std::future DescribeDomainRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> DescribeDomainRealtimeLogDeliveryAsyncHandler; typedef Outcome DescribeDomainRegionDataOutcome; typedef std::future DescribeDomainRegionDataOutcomeCallable; typedef std::function&)> DescribeDomainRegionDataAsyncHandler; @@ -131,6 +635,33 @@ namespace AlibabaCloud typedef Outcome DescribeDomainSrcFlowDataOutcome; typedef std::future DescribeDomainSrcFlowDataOutcomeCallable; typedef std::function&)> DescribeDomainSrcFlowDataAsyncHandler; + typedef Outcome DescribeDomainSrcHttpCodeDataOutcome; + typedef std::future DescribeDomainSrcHttpCodeDataOutcomeCallable; + typedef std::function&)> DescribeDomainSrcHttpCodeDataAsyncHandler; + typedef Outcome DescribeDomainSrcQpsDataOutcome; + typedef std::future DescribeDomainSrcQpsDataOutcomeCallable; + typedef std::function&)> DescribeDomainSrcQpsDataAsyncHandler; + typedef Outcome DescribeDomainSrcTopUrlVisitOutcome; + typedef std::future DescribeDomainSrcTopUrlVisitOutcomeCallable; + typedef std::function&)> DescribeDomainSrcTopUrlVisitAsyncHandler; + typedef Outcome DescribeDomainSrcTrafficDataOutcome; + typedef std::future DescribeDomainSrcTrafficDataOutcomeCallable; + typedef std::function&)> DescribeDomainSrcTrafficDataAsyncHandler; + typedef Outcome DescribeDomainTopClientIpVisitOutcome; + typedef std::future DescribeDomainTopClientIpVisitOutcomeCallable; + typedef std::function&)> DescribeDomainTopClientIpVisitAsyncHandler; + typedef Outcome DescribeDomainTopReferVisitOutcome; + typedef std::future DescribeDomainTopReferVisitOutcomeCallable; + typedef std::function&)> DescribeDomainTopReferVisitAsyncHandler; + typedef Outcome DescribeDomainTopUrlVisitOutcome; + typedef std::future DescribeDomainTopUrlVisitOutcomeCallable; + typedef std::function&)> DescribeDomainTopUrlVisitAsyncHandler; + typedef Outcome DescribeDomainTrafficDataOutcome; + typedef std::future DescribeDomainTrafficDataOutcomeCallable; + typedef std::function&)> DescribeDomainTrafficDataAsyncHandler; + typedef Outcome DescribeDomainUsageDataOutcome; + typedef std::future DescribeDomainUsageDataOutcomeCallable; + typedef std::function&)> DescribeDomainUsageDataAsyncHandler; typedef Outcome DescribeDomainUvDataOutcome; typedef std::future DescribeDomainUvDataOutcomeCallable; typedef std::function&)> DescribeDomainUvDataAsyncHandler; @@ -140,27 +671,171 @@ namespace AlibabaCloud typedef Outcome DescribeDomainsUsageByDayOutcome; typedef std::future DescribeDomainsUsageByDayOutcomeCallable; typedef std::function&)> DescribeDomainsUsageByDayAsyncHandler; + typedef Outcome DescribeEsExceptionDataOutcome; + typedef std::future DescribeEsExceptionDataOutcomeCallable; + typedef std::function&)> DescribeEsExceptionDataAsyncHandler; + typedef Outcome DescribeEsExecuteDataOutcome; + typedef std::future DescribeEsExecuteDataOutcomeCallable; + typedef std::function&)> DescribeEsExecuteDataAsyncHandler; + typedef Outcome DescribeFCTriggerOutcome; + typedef std::future DescribeFCTriggerOutcomeCallable; + typedef std::function&)> DescribeFCTriggerAsyncHandler; + typedef Outcome DescribeIllegalUrlExportTaskOutcome; + typedef std::future DescribeIllegalUrlExportTaskOutcomeCallable; + typedef std::function&)> DescribeIllegalUrlExportTaskAsyncHandler; + typedef Outcome DescribeIpInfoOutcome; + typedef std::future DescribeIpInfoOutcomeCallable; + typedef std::function&)> DescribeIpInfoAsyncHandler; + typedef Outcome DescribeIpStatusOutcome; + typedef std::future DescribeIpStatusOutcomeCallable; + typedef std::function&)> DescribeIpStatusAsyncHandler; + typedef Outcome DescribeL2VipsByDomainOutcome; + typedef std::future DescribeL2VipsByDomainOutcomeCallable; + typedef std::function&)> DescribeL2VipsByDomainAsyncHandler; + typedef Outcome DescribeRangeDataByLocateAndIspServiceOutcome; + typedef std::future DescribeRangeDataByLocateAndIspServiceOutcomeCallable; + typedef std::function&)> DescribeRangeDataByLocateAndIspServiceAsyncHandler; + typedef Outcome DescribeRealtimeDeliveryAccOutcome; + typedef std::future DescribeRealtimeDeliveryAccOutcomeCallable; + typedef std::function&)> DescribeRealtimeDeliveryAccAsyncHandler; + typedef Outcome DescribeRealtimeLogAuthorizedOutcome; + typedef std::future DescribeRealtimeLogAuthorizedOutcomeCallable; + typedef std::function&)> DescribeRealtimeLogAuthorizedAsyncHandler; typedef Outcome DescribeRefreshQuotaOutcome; typedef std::future DescribeRefreshQuotaOutcomeCallable; typedef std::function&)> DescribeRefreshQuotaAsyncHandler; + typedef Outcome DescribeRefreshTaskByIdOutcome; + typedef std::future DescribeRefreshTaskByIdOutcomeCallable; + typedef std::function&)> DescribeRefreshTaskByIdAsyncHandler; + typedef Outcome DescribeRefreshTasksOutcome; + typedef std::future DescribeRefreshTasksOutcomeCallable; + typedef std::function&)> DescribeRefreshTasksAsyncHandler; + typedef Outcome DescribeStagingIpOutcome; + typedef std::future DescribeStagingIpOutcomeCallable; + typedef std::function&)> DescribeStagingIpAsyncHandler; + typedef Outcome DescribeTagResourcesOutcome; + typedef std::future DescribeTagResourcesOutcomeCallable; + typedef std::function&)> DescribeTagResourcesAsyncHandler; typedef Outcome DescribeTopDomainsByFlowOutcome; typedef std::future DescribeTopDomainsByFlowOutcomeCallable; typedef std::function&)> DescribeTopDomainsByFlowAsyncHandler; + typedef Outcome DescribeUserCertificateExpireCountOutcome; + typedef std::future DescribeUserCertificateExpireCountOutcomeCallable; + typedef std::function&)> DescribeUserCertificateExpireCountAsyncHandler; + typedef Outcome DescribeUserConfigsOutcome; + typedef std::future DescribeUserConfigsOutcomeCallable; + typedef std::function&)> DescribeUserConfigsAsyncHandler; typedef Outcome DescribeUserDomainsOutcome; typedef std::future DescribeUserDomainsOutcomeCallable; typedef std::function&)> DescribeUserDomainsAsyncHandler; + typedef Outcome DescribeUserTagsOutcome; + typedef std::future DescribeUserTagsOutcomeCallable; + typedef std::function&)> DescribeUserTagsAsyncHandler; + typedef Outcome DescribeUserUsageDataExportTaskOutcome; + typedef std::future DescribeUserUsageDataExportTaskOutcomeCallable; + typedef std::function&)> DescribeUserUsageDataExportTaskAsyncHandler; + typedef Outcome DescribeUserUsageDetailDataExportTaskOutcome; + typedef std::future DescribeUserUsageDetailDataExportTaskOutcomeCallable; + typedef std::function&)> DescribeUserUsageDetailDataExportTaskAsyncHandler; + typedef Outcome DescribeUserVipsByDomainOutcome; + typedef std::future DescribeUserVipsByDomainOutcomeCallable; + typedef std::function&)> DescribeUserVipsByDomainAsyncHandler; + typedef Outcome DescribeVerifyContentOutcome; + typedef std::future DescribeVerifyContentOutcomeCallable; + typedef std::function&)> DescribeVerifyContentAsyncHandler; + typedef Outcome DisableRealtimeLogDeliveryOutcome; + typedef std::future DisableRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> DisableRealtimeLogDeliveryAsyncHandler; + typedef Outcome EnableRealtimeLogDeliveryOutcome; + typedef std::future EnableRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> EnableRealtimeLogDeliveryAsyncHandler; + typedef Outcome ListDomainsByLogConfigIdOutcome; + typedef std::future ListDomainsByLogConfigIdOutcomeCallable; + typedef std::function&)> ListDomainsByLogConfigIdAsyncHandler; + typedef Outcome ListFCTriggerOutcome; + typedef std::future ListFCTriggerOutcomeCallable; + typedef std::function&)> ListFCTriggerAsyncHandler; + typedef Outcome ListRealtimeLogDeliveryDomainsOutcome; + typedef std::future ListRealtimeLogDeliveryDomainsOutcomeCallable; + typedef std::function&)> ListRealtimeLogDeliveryDomainsAsyncHandler; + typedef Outcome ListRealtimeLogDeliveryInfosOutcome; + typedef std::future ListRealtimeLogDeliveryInfosOutcomeCallable; + typedef std::function&)> ListRealtimeLogDeliveryInfosAsyncHandler; + typedef Outcome ListUserCustomLogConfigOutcome; + typedef std::future ListUserCustomLogConfigOutcomeCallable; + typedef std::function&)> ListUserCustomLogConfigAsyncHandler; + typedef Outcome ModifyCdnDomainOutcome; + typedef std::future ModifyCdnDomainOutcomeCallable; + typedef std::function&)> ModifyCdnDomainAsyncHandler; + typedef Outcome ModifyCdnDomainSchdmByPropertyOutcome; + typedef std::future ModifyCdnDomainSchdmByPropertyOutcomeCallable; + typedef std::function&)> ModifyCdnDomainSchdmByPropertyAsyncHandler; + typedef Outcome ModifyRealtimeLogDeliveryOutcome; + typedef std::future ModifyRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> ModifyRealtimeLogDeliveryAsyncHandler; typedef Outcome OpenCdnServiceOutcome; typedef std::future OpenCdnServiceOutcomeCallable; typedef std::function&)> OpenCdnServiceAsyncHandler; + typedef Outcome PublishStagingConfigToProductionOutcome; + typedef std::future PublishStagingConfigToProductionOutcomeCallable; + typedef std::function&)> PublishStagingConfigToProductionAsyncHandler; typedef Outcome PushObjectCacheOutcome; typedef std::future PushObjectCacheOutcomeCallable; typedef std::function&)> PushObjectCacheAsyncHandler; typedef Outcome RefreshObjectCachesOutcome; typedef std::future RefreshObjectCachesOutcomeCallable; typedef std::function&)> RefreshObjectCachesAsyncHandler; + typedef Outcome RollbackStagingConfigOutcome; + typedef std::future RollbackStagingConfigOutcomeCallable; + typedef std::function&)> RollbackStagingConfigAsyncHandler; + typedef Outcome SetCdnDomainCSRCertificateOutcome; + typedef std::future SetCdnDomainCSRCertificateOutcomeCallable; + typedef std::function&)> SetCdnDomainCSRCertificateAsyncHandler; + typedef Outcome SetCdnDomainSMCertificateOutcome; + typedef std::future SetCdnDomainSMCertificateOutcomeCallable; + typedef std::function&)> SetCdnDomainSMCertificateAsyncHandler; + typedef Outcome SetCdnDomainStagingConfigOutcome; + typedef std::future SetCdnDomainStagingConfigOutcomeCallable; + typedef std::function&)> SetCdnDomainStagingConfigAsyncHandler; + typedef Outcome SetConfigOfVersionOutcome; + typedef std::future SetConfigOfVersionOutcomeCallable; + typedef std::function&)> SetConfigOfVersionAsyncHandler; + typedef Outcome SetDomainServerCertificateOutcome; + typedef std::future SetDomainServerCertificateOutcomeCallable; + typedef std::function&)> SetDomainServerCertificateAsyncHandler; + typedef Outcome SetReqHeaderConfigOutcome; + typedef std::future SetReqHeaderConfigOutcomeCallable; + typedef std::function&)> SetReqHeaderConfigAsyncHandler; + typedef Outcome SetWaitingRoomConfigOutcome; + typedef std::future SetWaitingRoomConfigOutcomeCallable; + typedef std::function&)> SetWaitingRoomConfigAsyncHandler; + typedef Outcome StartCdnDomainOutcome; + typedef std::future StartCdnDomainOutcomeCallable; + typedef std::function&)> StartCdnDomainAsyncHandler; + typedef Outcome StopCdnDomainOutcome; + typedef std::future StopCdnDomainOutcomeCallable; + typedef std::function&)> StopCdnDomainAsyncHandler; + typedef Outcome TagResourcesOutcome; + typedef std::future TagResourcesOutcomeCallable; + typedef std::function&)> TagResourcesAsyncHandler; typedef Outcome TestDescribeDomainBpsDataOutcome; typedef std::future TestDescribeDomainBpsDataOutcomeCallable; typedef std::function&)> TestDescribeDomainBpsDataAsyncHandler; + typedef Outcome UntagResourcesOutcome; + typedef std::future UntagResourcesOutcomeCallable; + typedef std::function&)> UntagResourcesAsyncHandler; + typedef Outcome UpdateCdnDeliverTaskOutcome; + typedef std::future UpdateCdnDeliverTaskOutcomeCallable; + typedef std::function&)> UpdateCdnDeliverTaskAsyncHandler; + typedef Outcome UpdateCdnSubTaskOutcome; + typedef std::future UpdateCdnSubTaskOutcomeCallable; + typedef std::function&)> UpdateCdnSubTaskAsyncHandler; + typedef Outcome UpdateFCTriggerOutcome; + typedef std::future UpdateFCTriggerOutcomeCallable; + typedef std::function&)> UpdateFCTriggerAsyncHandler; + typedef Outcome VerifyDomainOwnerOutcome; + typedef std::future VerifyDomainOwnerOutcomeCallable; + typedef std::function&)> VerifyDomainOwnerAsyncHandler; CdnClient(const Credentials &credentials, const ClientConfiguration &configuration); CdnClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -169,21 +844,201 @@ namespace AlibabaCloud AddCdnDomainOutcome addCdnDomain(const Model::AddCdnDomainRequest &request)const; void addCdnDomainAsync(const Model::AddCdnDomainRequest& request, const AddCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCdnDomainOutcomeCallable addCdnDomainCallable(const Model::AddCdnDomainRequest& request) const; + AddFCTriggerOutcome addFCTrigger(const Model::AddFCTriggerRequest &request)const; + void addFCTriggerAsync(const Model::AddFCTriggerRequest& request, const AddFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddFCTriggerOutcomeCallable addFCTriggerCallable(const Model::AddFCTriggerRequest& request) const; + BatchAddCdnDomainOutcome batchAddCdnDomain(const Model::BatchAddCdnDomainRequest &request)const; + void batchAddCdnDomainAsync(const Model::BatchAddCdnDomainRequest& request, const BatchAddCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchAddCdnDomainOutcomeCallable batchAddCdnDomainCallable(const Model::BatchAddCdnDomainRequest& request) const; + BatchDeleteCdnDomainConfigOutcome batchDeleteCdnDomainConfig(const Model::BatchDeleteCdnDomainConfigRequest &request)const; + void batchDeleteCdnDomainConfigAsync(const Model::BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteCdnDomainConfigOutcomeCallable batchDeleteCdnDomainConfigCallable(const Model::BatchDeleteCdnDomainConfigRequest& request) const; + BatchSetCdnDomainConfigOutcome batchSetCdnDomainConfig(const Model::BatchSetCdnDomainConfigRequest &request)const; + void batchSetCdnDomainConfigAsync(const Model::BatchSetCdnDomainConfigRequest& request, const BatchSetCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchSetCdnDomainConfigOutcomeCallable batchSetCdnDomainConfigCallable(const Model::BatchSetCdnDomainConfigRequest& request) const; + BatchSetCdnDomainServerCertificateOutcome batchSetCdnDomainServerCertificate(const Model::BatchSetCdnDomainServerCertificateRequest &request)const; + void batchSetCdnDomainServerCertificateAsync(const Model::BatchSetCdnDomainServerCertificateRequest& request, const BatchSetCdnDomainServerCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchSetCdnDomainServerCertificateOutcomeCallable batchSetCdnDomainServerCertificateCallable(const Model::BatchSetCdnDomainServerCertificateRequest& request) const; + BatchStartCdnDomainOutcome batchStartCdnDomain(const Model::BatchStartCdnDomainRequest &request)const; + void batchStartCdnDomainAsync(const Model::BatchStartCdnDomainRequest& request, const BatchStartCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchStartCdnDomainOutcomeCallable batchStartCdnDomainCallable(const Model::BatchStartCdnDomainRequest& request) const; + BatchStopCdnDomainOutcome batchStopCdnDomain(const Model::BatchStopCdnDomainRequest &request)const; + void batchStopCdnDomainAsync(const Model::BatchStopCdnDomainRequest& request, const BatchStopCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchStopCdnDomainOutcomeCallable batchStopCdnDomainCallable(const Model::BatchStopCdnDomainRequest& request) const; + BatchUpdateCdnDomainOutcome batchUpdateCdnDomain(const Model::BatchUpdateCdnDomainRequest &request)const; + void batchUpdateCdnDomainAsync(const Model::BatchUpdateCdnDomainRequest& request, const BatchUpdateCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUpdateCdnDomainOutcomeCallable batchUpdateCdnDomainCallable(const Model::BatchUpdateCdnDomainRequest& request) const; + CreateCdnCertificateSigningRequestOutcome createCdnCertificateSigningRequest(const Model::CreateCdnCertificateSigningRequestRequest &request)const; + void createCdnCertificateSigningRequestAsync(const Model::CreateCdnCertificateSigningRequestRequest& request, const CreateCdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdnCertificateSigningRequestOutcomeCallable createCdnCertificateSigningRequestCallable(const Model::CreateCdnCertificateSigningRequestRequest& request) const; + CreateCdnDeliverTaskOutcome createCdnDeliverTask(const Model::CreateCdnDeliverTaskRequest &request)const; + void createCdnDeliverTaskAsync(const Model::CreateCdnDeliverTaskRequest& request, const CreateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdnDeliverTaskOutcomeCallable createCdnDeliverTaskCallable(const Model::CreateCdnDeliverTaskRequest& request) const; + CreateCdnSubTaskOutcome createCdnSubTask(const Model::CreateCdnSubTaskRequest &request)const; + void createCdnSubTaskAsync(const Model::CreateCdnSubTaskRequest& request, const CreateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdnSubTaskOutcomeCallable createCdnSubTaskCallable(const Model::CreateCdnSubTaskRequest& request) const; + CreateIllegalUrlExportTaskOutcome createIllegalUrlExportTask(const Model::CreateIllegalUrlExportTaskRequest &request)const; + void createIllegalUrlExportTaskAsync(const Model::CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateIllegalUrlExportTaskOutcomeCallable createIllegalUrlExportTaskCallable(const Model::CreateIllegalUrlExportTaskRequest& request) const; + CreateRealTimeLogDeliveryOutcome createRealTimeLogDelivery(const Model::CreateRealTimeLogDeliveryRequest &request)const; + void createRealTimeLogDeliveryAsync(const Model::CreateRealTimeLogDeliveryRequest& request, const CreateRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateRealTimeLogDeliveryOutcomeCallable createRealTimeLogDeliveryCallable(const Model::CreateRealTimeLogDeliveryRequest& request) const; + CreateUsageDetailDataExportTaskOutcome createUsageDetailDataExportTask(const Model::CreateUsageDetailDataExportTaskRequest &request)const; + void createUsageDetailDataExportTaskAsync(const Model::CreateUsageDetailDataExportTaskRequest& request, const CreateUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUsageDetailDataExportTaskOutcomeCallable createUsageDetailDataExportTaskCallable(const Model::CreateUsageDetailDataExportTaskRequest& request) const; + CreateUserUsageDataExportTaskOutcome createUserUsageDataExportTask(const Model::CreateUserUsageDataExportTaskRequest &request)const; + void createUserUsageDataExportTaskAsync(const Model::CreateUserUsageDataExportTaskRequest& request, const CreateUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserUsageDataExportTaskOutcomeCallable createUserUsageDataExportTaskCallable(const Model::CreateUserUsageDataExportTaskRequest& request) const; + DeleteCdnDeliverTaskOutcome deleteCdnDeliverTask(const Model::DeleteCdnDeliverTaskRequest &request)const; + void deleteCdnDeliverTaskAsync(const Model::DeleteCdnDeliverTaskRequest& request, const DeleteCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCdnDeliverTaskOutcomeCallable deleteCdnDeliverTaskCallable(const Model::DeleteCdnDeliverTaskRequest& request) const; + DeleteCdnDomainOutcome deleteCdnDomain(const Model::DeleteCdnDomainRequest &request)const; + void deleteCdnDomainAsync(const Model::DeleteCdnDomainRequest& request, const DeleteCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCdnDomainOutcomeCallable deleteCdnDomainCallable(const Model::DeleteCdnDomainRequest& request) const; + DeleteCdnSubTaskOutcome deleteCdnSubTask(const Model::DeleteCdnSubTaskRequest &request)const; + void deleteCdnSubTaskAsync(const Model::DeleteCdnSubTaskRequest& request, const DeleteCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCdnSubTaskOutcomeCallable deleteCdnSubTaskCallable(const Model::DeleteCdnSubTaskRequest& request) const; + DeleteFCTriggerOutcome deleteFCTrigger(const Model::DeleteFCTriggerRequest &request)const; + void deleteFCTriggerAsync(const Model::DeleteFCTriggerRequest& request, const DeleteFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFCTriggerOutcomeCallable deleteFCTriggerCallable(const Model::DeleteFCTriggerRequest& request) const; + DeleteRealTimeLogLogstoreOutcome deleteRealTimeLogLogstore(const Model::DeleteRealTimeLogLogstoreRequest &request)const; + void deleteRealTimeLogLogstoreAsync(const Model::DeleteRealTimeLogLogstoreRequest& request, const DeleteRealTimeLogLogstoreAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRealTimeLogLogstoreOutcomeCallable deleteRealTimeLogLogstoreCallable(const Model::DeleteRealTimeLogLogstoreRequest& request) const; + DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const; + void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const; + DeleteSpecificConfigOutcome deleteSpecificConfig(const Model::DeleteSpecificConfigRequest &request)const; + void deleteSpecificConfigAsync(const Model::DeleteSpecificConfigRequest& request, const DeleteSpecificConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSpecificConfigOutcomeCallable deleteSpecificConfigCallable(const Model::DeleteSpecificConfigRequest& request) const; + DeleteSpecificStagingConfigOutcome deleteSpecificStagingConfig(const Model::DeleteSpecificStagingConfigRequest &request)const; + void deleteSpecificStagingConfigAsync(const Model::DeleteSpecificStagingConfigRequest& request, const DeleteSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSpecificStagingConfigOutcomeCallable deleteSpecificStagingConfigCallable(const Model::DeleteSpecificStagingConfigRequest& request) const; + DeleteUsageDetailDataExportTaskOutcome deleteUsageDetailDataExportTask(const Model::DeleteUsageDetailDataExportTaskRequest &request)const; + void deleteUsageDetailDataExportTaskAsync(const Model::DeleteUsageDetailDataExportTaskRequest& request, const DeleteUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUsageDetailDataExportTaskOutcomeCallable deleteUsageDetailDataExportTaskCallable(const Model::DeleteUsageDetailDataExportTaskRequest& request) const; + DeleteUserUsageDataExportTaskOutcome deleteUserUsageDataExportTask(const Model::DeleteUserUsageDataExportTaskRequest &request)const; + void deleteUserUsageDataExportTaskAsync(const Model::DeleteUserUsageDataExportTaskRequest& request, const DeleteUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserUsageDataExportTaskOutcomeCallable deleteUserUsageDataExportTaskCallable(const Model::DeleteUserUsageDataExportTaskRequest& request) const; + DescribeActiveVersionOfConfigGroupOutcome describeActiveVersionOfConfigGroup(const Model::DescribeActiveVersionOfConfigGroupRequest &request)const; + void describeActiveVersionOfConfigGroupAsync(const Model::DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeActiveVersionOfConfigGroupOutcomeCallable describeActiveVersionOfConfigGroupCallable(const Model::DescribeActiveVersionOfConfigGroupRequest& request) const; + DescribeBlockedRegionsOutcome describeBlockedRegions(const Model::DescribeBlockedRegionsRequest &request)const; + void describeBlockedRegionsAsync(const Model::DescribeBlockedRegionsRequest& request, const DescribeBlockedRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBlockedRegionsOutcomeCallable describeBlockedRegionsCallable(const Model::DescribeBlockedRegionsRequest& request) const; + DescribeCdnCertificateDetailOutcome describeCdnCertificateDetail(const Model::DescribeCdnCertificateDetailRequest &request)const; + void describeCdnCertificateDetailAsync(const Model::DescribeCdnCertificateDetailRequest& request, const DescribeCdnCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnCertificateDetailOutcomeCallable describeCdnCertificateDetailCallable(const Model::DescribeCdnCertificateDetailRequest& request) const; + DescribeCdnCertificateListOutcome describeCdnCertificateList(const Model::DescribeCdnCertificateListRequest &request)const; + void describeCdnCertificateListAsync(const Model::DescribeCdnCertificateListRequest& request, const DescribeCdnCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnCertificateListOutcomeCallable describeCdnCertificateListCallable(const Model::DescribeCdnCertificateListRequest& request) const; + DescribeCdnDeletedDomainsOutcome describeCdnDeletedDomains(const Model::DescribeCdnDeletedDomainsRequest &request)const; + void describeCdnDeletedDomainsAsync(const Model::DescribeCdnDeletedDomainsRequest& request, const DescribeCdnDeletedDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnDeletedDomainsOutcomeCallable describeCdnDeletedDomainsCallable(const Model::DescribeCdnDeletedDomainsRequest& request) const; + DescribeCdnDeliverListOutcome describeCdnDeliverList(const Model::DescribeCdnDeliverListRequest &request)const; + void describeCdnDeliverListAsync(const Model::DescribeCdnDeliverListRequest& request, const DescribeCdnDeliverListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnDeliverListOutcomeCallable describeCdnDeliverListCallable(const Model::DescribeCdnDeliverListRequest& request) const; + DescribeCdnDomainByCertificateOutcome describeCdnDomainByCertificate(const Model::DescribeCdnDomainByCertificateRequest &request)const; + void describeCdnDomainByCertificateAsync(const Model::DescribeCdnDomainByCertificateRequest& request, const DescribeCdnDomainByCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnDomainByCertificateOutcomeCallable describeCdnDomainByCertificateCallable(const Model::DescribeCdnDomainByCertificateRequest& request) const; + DescribeCdnDomainConfigsOutcome describeCdnDomainConfigs(const Model::DescribeCdnDomainConfigsRequest &request)const; + void describeCdnDomainConfigsAsync(const Model::DescribeCdnDomainConfigsRequest& request, const DescribeCdnDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnDomainConfigsOutcomeCallable describeCdnDomainConfigsCallable(const Model::DescribeCdnDomainConfigsRequest& request) const; DescribeCdnDomainDetailOutcome describeCdnDomainDetail(const Model::DescribeCdnDomainDetailRequest &request)const; void describeCdnDomainDetailAsync(const Model::DescribeCdnDomainDetailRequest& request, const DescribeCdnDomainDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnDomainDetailOutcomeCallable describeCdnDomainDetailCallable(const Model::DescribeCdnDomainDetailRequest& request) const; DescribeCdnDomainLogsOutcome describeCdnDomainLogs(const Model::DescribeCdnDomainLogsRequest &request)const; void describeCdnDomainLogsAsync(const Model::DescribeCdnDomainLogsRequest& request, const DescribeCdnDomainLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnDomainLogsOutcomeCallable describeCdnDomainLogsCallable(const Model::DescribeCdnDomainLogsRequest& request) const; + DescribeCdnDomainStagingConfigOutcome describeCdnDomainStagingConfig(const Model::DescribeCdnDomainStagingConfigRequest &request)const; + void describeCdnDomainStagingConfigAsync(const Model::DescribeCdnDomainStagingConfigRequest& request, const DescribeCdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnDomainStagingConfigOutcomeCallable describeCdnDomainStagingConfigCallable(const Model::DescribeCdnDomainStagingConfigRequest& request) const; + DescribeCdnHttpsDomainListOutcome describeCdnHttpsDomainList(const Model::DescribeCdnHttpsDomainListRequest &request)const; + void describeCdnHttpsDomainListAsync(const Model::DescribeCdnHttpsDomainListRequest& request, const DescribeCdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnHttpsDomainListOutcomeCallable describeCdnHttpsDomainListCallable(const Model::DescribeCdnHttpsDomainListRequest& request) const; + DescribeCdnOrderCommodityCodeOutcome describeCdnOrderCommodityCode(const Model::DescribeCdnOrderCommodityCodeRequest &request)const; + void describeCdnOrderCommodityCodeAsync(const Model::DescribeCdnOrderCommodityCodeRequest& request, const DescribeCdnOrderCommodityCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnOrderCommodityCodeOutcomeCallable describeCdnOrderCommodityCodeCallable(const Model::DescribeCdnOrderCommodityCodeRequest& request) const; + DescribeCdnRegionAndIspOutcome describeCdnRegionAndIsp(const Model::DescribeCdnRegionAndIspRequest &request)const; + void describeCdnRegionAndIspAsync(const Model::DescribeCdnRegionAndIspRequest& request, const DescribeCdnRegionAndIspAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnRegionAndIspOutcomeCallable describeCdnRegionAndIspCallable(const Model::DescribeCdnRegionAndIspRequest& request) const; + DescribeCdnReportOutcome describeCdnReport(const Model::DescribeCdnReportRequest &request)const; + void describeCdnReportAsync(const Model::DescribeCdnReportRequest& request, const DescribeCdnReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnReportOutcomeCallable describeCdnReportCallable(const Model::DescribeCdnReportRequest& request) const; + DescribeCdnReportListOutcome describeCdnReportList(const Model::DescribeCdnReportListRequest &request)const; + void describeCdnReportListAsync(const Model::DescribeCdnReportListRequest& request, const DescribeCdnReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnReportListOutcomeCallable describeCdnReportListCallable(const Model::DescribeCdnReportListRequest& request) const; + DescribeCdnSMCertificateDetailOutcome describeCdnSMCertificateDetail(const Model::DescribeCdnSMCertificateDetailRequest &request)const; + void describeCdnSMCertificateDetailAsync(const Model::DescribeCdnSMCertificateDetailRequest& request, const DescribeCdnSMCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnSMCertificateDetailOutcomeCallable describeCdnSMCertificateDetailCallable(const Model::DescribeCdnSMCertificateDetailRequest& request) const; + DescribeCdnSMCertificateListOutcome describeCdnSMCertificateList(const Model::DescribeCdnSMCertificateListRequest &request)const; + void describeCdnSMCertificateListAsync(const Model::DescribeCdnSMCertificateListRequest& request, const DescribeCdnSMCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnSMCertificateListOutcomeCallable describeCdnSMCertificateListCallable(const Model::DescribeCdnSMCertificateListRequest& request) const; DescribeCdnServiceOutcome describeCdnService(const Model::DescribeCdnServiceRequest &request)const; void describeCdnServiceAsync(const Model::DescribeCdnServiceRequest& request, const DescribeCdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnServiceOutcomeCallable describeCdnServiceCallable(const Model::DescribeCdnServiceRequest& request) const; + DescribeCdnSubListOutcome describeCdnSubList(const Model::DescribeCdnSubListRequest &request)const; + void describeCdnSubListAsync(const Model::DescribeCdnSubListRequest& request, const DescribeCdnSubListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnSubListOutcomeCallable describeCdnSubListCallable(const Model::DescribeCdnSubListRequest& request) const; + DescribeCdnUserBillHistoryOutcome describeCdnUserBillHistory(const Model::DescribeCdnUserBillHistoryRequest &request)const; + void describeCdnUserBillHistoryAsync(const Model::DescribeCdnUserBillHistoryRequest& request, const DescribeCdnUserBillHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserBillHistoryOutcomeCallable describeCdnUserBillHistoryCallable(const Model::DescribeCdnUserBillHistoryRequest& request) const; + DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const; + void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const; + DescribeCdnUserBillTypeOutcome describeCdnUserBillType(const Model::DescribeCdnUserBillTypeRequest &request)const; + void describeCdnUserBillTypeAsync(const Model::DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserBillTypeOutcomeCallable describeCdnUserBillTypeCallable(const Model::DescribeCdnUserBillTypeRequest& request) const; + DescribeCdnUserConfigsOutcome describeCdnUserConfigs(const Model::DescribeCdnUserConfigsRequest &request)const; + void describeCdnUserConfigsAsync(const Model::DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserConfigsOutcomeCallable describeCdnUserConfigsCallable(const Model::DescribeCdnUserConfigsRequest& request) const; + DescribeCdnUserDomainsByFuncOutcome describeCdnUserDomainsByFunc(const Model::DescribeCdnUserDomainsByFuncRequest &request)const; + void describeCdnUserDomainsByFuncAsync(const Model::DescribeCdnUserDomainsByFuncRequest& request, const DescribeCdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserDomainsByFuncOutcomeCallable describeCdnUserDomainsByFuncCallable(const Model::DescribeCdnUserDomainsByFuncRequest& request) const; + DescribeCdnUserQuotaOutcome describeCdnUserQuota(const Model::DescribeCdnUserQuotaRequest &request)const; + void describeCdnUserQuotaAsync(const Model::DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserQuotaOutcomeCallable describeCdnUserQuotaCallable(const Model::DescribeCdnUserQuotaRequest& request) const; + DescribeCdnUserResourcePackageOutcome describeCdnUserResourcePackage(const Model::DescribeCdnUserResourcePackageRequest &request)const; + void describeCdnUserResourcePackageAsync(const Model::DescribeCdnUserResourcePackageRequest& request, const DescribeCdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserResourcePackageOutcomeCallable describeCdnUserResourcePackageCallable(const Model::DescribeCdnUserResourcePackageRequest& request) const; + DescribeCdnWafDomainOutcome describeCdnWafDomain(const Model::DescribeCdnWafDomainRequest &request)const; + void describeCdnWafDomainAsync(const Model::DescribeCdnWafDomainRequest& request, const DescribeCdnWafDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnWafDomainOutcomeCallable describeCdnWafDomainCallable(const Model::DescribeCdnWafDomainRequest& request) const; + DescribeCertificateInfoByIDOutcome describeCertificateInfoByID(const Model::DescribeCertificateInfoByIDRequest &request)const; + void describeCertificateInfoByIDAsync(const Model::DescribeCertificateInfoByIDRequest& request, const DescribeCertificateInfoByIDAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCertificateInfoByIDOutcomeCallable describeCertificateInfoByIDCallable(const Model::DescribeCertificateInfoByIDRequest& request) const; + DescribeConfigGroupDetailOutcome describeConfigGroupDetail(const Model::DescribeConfigGroupDetailRequest &request)const; + void describeConfigGroupDetailAsync(const Model::DescribeConfigGroupDetailRequest& request, const DescribeConfigGroupDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeConfigGroupDetailOutcomeCallable describeConfigGroupDetailCallable(const Model::DescribeConfigGroupDetailRequest& request) const; + DescribeConfigOfVersionOutcome describeConfigOfVersion(const Model::DescribeConfigOfVersionRequest &request)const; + void describeConfigOfVersionAsync(const Model::DescribeConfigOfVersionRequest& request, const DescribeConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeConfigOfVersionOutcomeCallable describeConfigOfVersionCallable(const Model::DescribeConfigOfVersionRequest& request) const; + DescribeCustomLogConfigOutcome describeCustomLogConfig(const Model::DescribeCustomLogConfigRequest &request)const; + void describeCustomLogConfigAsync(const Model::DescribeCustomLogConfigRequest& request, const DescribeCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCustomLogConfigOutcomeCallable describeCustomLogConfigCallable(const Model::DescribeCustomLogConfigRequest& request) const; + DescribeDomainAverageResponseTimeOutcome describeDomainAverageResponseTime(const Model::DescribeDomainAverageResponseTimeRequest &request)const; + void describeDomainAverageResponseTimeAsync(const Model::DescribeDomainAverageResponseTimeRequest& request, const DescribeDomainAverageResponseTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainAverageResponseTimeOutcomeCallable describeDomainAverageResponseTimeCallable(const Model::DescribeDomainAverageResponseTimeRequest& request) const; DescribeDomainBpsDataOutcome describeDomainBpsData(const Model::DescribeDomainBpsDataRequest &request)const; void describeDomainBpsDataAsync(const Model::DescribeDomainBpsDataRequest& request, const DescribeDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainBpsDataOutcomeCallable describeDomainBpsDataCallable(const Model::DescribeDomainBpsDataRequest& request) const; + DescribeDomainBpsDataByLayerOutcome describeDomainBpsDataByLayer(const Model::DescribeDomainBpsDataByLayerRequest &request)const; + void describeDomainBpsDataByLayerAsync(const Model::DescribeDomainBpsDataByLayerRequest& request, const DescribeDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainBpsDataByLayerOutcomeCallable describeDomainBpsDataByLayerCallable(const Model::DescribeDomainBpsDataByLayerRequest& request) const; DescribeDomainBpsDataByTimeStampOutcome describeDomainBpsDataByTimeStamp(const Model::DescribeDomainBpsDataByTimeStampRequest &request)const; void describeDomainBpsDataByTimeStampAsync(const Model::DescribeDomainBpsDataByTimeStampRequest& request, const DescribeDomainBpsDataByTimeStampAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainBpsDataByTimeStampOutcomeCallable describeDomainBpsDataByTimeStampCallable(const Model::DescribeDomainBpsDataByTimeStampRequest& request) const; + DescribeDomainCcActivityLogOutcome describeDomainCcActivityLog(const Model::DescribeDomainCcActivityLogRequest &request)const; + void describeDomainCcActivityLogAsync(const Model::DescribeDomainCcActivityLogRequest& request, const DescribeDomainCcActivityLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainCcActivityLogOutcomeCallable describeDomainCcActivityLogCallable(const Model::DescribeDomainCcActivityLogRequest& request) const; + DescribeDomainCertificateInfoOutcome describeDomainCertificateInfo(const Model::DescribeDomainCertificateInfoRequest &request)const; + void describeDomainCertificateInfoAsync(const Model::DescribeDomainCertificateInfoRequest& request, const DescribeDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainCertificateInfoOutcomeCallable describeDomainCertificateInfoCallable(const Model::DescribeDomainCertificateInfoRequest& request) const; + DescribeDomainCustomLogConfigOutcome describeDomainCustomLogConfig(const Model::DescribeDomainCustomLogConfigRequest &request)const; + void describeDomainCustomLogConfigAsync(const Model::DescribeDomainCustomLogConfigRequest& request, const DescribeDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainCustomLogConfigOutcomeCallable describeDomainCustomLogConfigCallable(const Model::DescribeDomainCustomLogConfigRequest& request) const; + DescribeDomainDetailDataByLayerOutcome describeDomainDetailDataByLayer(const Model::DescribeDomainDetailDataByLayerRequest &request)const; + void describeDomainDetailDataByLayerAsync(const Model::DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainDetailDataByLayerOutcomeCallable describeDomainDetailDataByLayerCallable(const Model::DescribeDomainDetailDataByLayerRequest& request) const; DescribeDomainFileSizeProportionDataOutcome describeDomainFileSizeProportionData(const Model::DescribeDomainFileSizeProportionDataRequest &request)const; void describeDomainFileSizeProportionDataAsync(const Model::DescribeDomainFileSizeProportionDataRequest& request, const DescribeDomainFileSizeProportionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainFileSizeProportionDataOutcomeCallable describeDomainFileSizeProportionDataCallable(const Model::DescribeDomainFileSizeProportionDataRequest& request) const; @@ -196,12 +1051,66 @@ namespace AlibabaCloud DescribeDomainHttpCodeDataOutcome describeDomainHttpCodeData(const Model::DescribeDomainHttpCodeDataRequest &request)const; void describeDomainHttpCodeDataAsync(const Model::DescribeDomainHttpCodeDataRequest& request, const DescribeDomainHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainHttpCodeDataOutcomeCallable describeDomainHttpCodeDataCallable(const Model::DescribeDomainHttpCodeDataRequest& request) const; + DescribeDomainHttpCodeDataByLayerOutcome describeDomainHttpCodeDataByLayer(const Model::DescribeDomainHttpCodeDataByLayerRequest &request)const; + void describeDomainHttpCodeDataByLayerAsync(const Model::DescribeDomainHttpCodeDataByLayerRequest& request, const DescribeDomainHttpCodeDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainHttpCodeDataByLayerOutcomeCallable describeDomainHttpCodeDataByLayerCallable(const Model::DescribeDomainHttpCodeDataByLayerRequest& request) const; DescribeDomainISPDataOutcome describeDomainISPData(const Model::DescribeDomainISPDataRequest &request)const; void describeDomainISPDataAsync(const Model::DescribeDomainISPDataRequest& request, const DescribeDomainISPDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainISPDataOutcomeCallable describeDomainISPDataCallable(const Model::DescribeDomainISPDataRequest& request) const; + DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const; + void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const; + DescribeDomainMultiUsageDataOutcome describeDomainMultiUsageData(const Model::DescribeDomainMultiUsageDataRequest &request)const; + void describeDomainMultiUsageDataAsync(const Model::DescribeDomainMultiUsageDataRequest& request, const DescribeDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainMultiUsageDataOutcomeCallable describeDomainMultiUsageDataCallable(const Model::DescribeDomainMultiUsageDataRequest& request) const; + DescribeDomainNamesOfVersionOutcome describeDomainNamesOfVersion(const Model::DescribeDomainNamesOfVersionRequest &request)const; + void describeDomainNamesOfVersionAsync(const Model::DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainNamesOfVersionOutcomeCallable describeDomainNamesOfVersionCallable(const Model::DescribeDomainNamesOfVersionRequest& request) const; + DescribeDomainPathDataOutcome describeDomainPathData(const Model::DescribeDomainPathDataRequest &request)const; + void describeDomainPathDataAsync(const Model::DescribeDomainPathDataRequest& request, const DescribeDomainPathDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainPathDataOutcomeCallable describeDomainPathDataCallable(const Model::DescribeDomainPathDataRequest& request) const; + DescribeDomainPvDataOutcome describeDomainPvData(const Model::DescribeDomainPvDataRequest &request)const; + void describeDomainPvDataAsync(const Model::DescribeDomainPvDataRequest& request, const DescribeDomainPvDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainPvDataOutcomeCallable describeDomainPvDataCallable(const Model::DescribeDomainPvDataRequest& request) const; DescribeDomainQpsDataOutcome describeDomainQpsData(const Model::DescribeDomainQpsDataRequest &request)const; void describeDomainQpsDataAsync(const Model::DescribeDomainQpsDataRequest& request, const DescribeDomainQpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainQpsDataOutcomeCallable describeDomainQpsDataCallable(const Model::DescribeDomainQpsDataRequest& request) const; + DescribeDomainQpsDataByLayerOutcome describeDomainQpsDataByLayer(const Model::DescribeDomainQpsDataByLayerRequest &request)const; + void describeDomainQpsDataByLayerAsync(const Model::DescribeDomainQpsDataByLayerRequest& request, const DescribeDomainQpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainQpsDataByLayerOutcomeCallable describeDomainQpsDataByLayerCallable(const Model::DescribeDomainQpsDataByLayerRequest& request) const; + DescribeDomainRealTimeBpsDataOutcome describeDomainRealTimeBpsData(const Model::DescribeDomainRealTimeBpsDataRequest &request)const; + void describeDomainRealTimeBpsDataAsync(const Model::DescribeDomainRealTimeBpsDataRequest& request, const DescribeDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeBpsDataOutcomeCallable describeDomainRealTimeBpsDataCallable(const Model::DescribeDomainRealTimeBpsDataRequest& request) const; + DescribeDomainRealTimeByteHitRateDataOutcome describeDomainRealTimeByteHitRateData(const Model::DescribeDomainRealTimeByteHitRateDataRequest &request)const; + void describeDomainRealTimeByteHitRateDataAsync(const Model::DescribeDomainRealTimeByteHitRateDataRequest& request, const DescribeDomainRealTimeByteHitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeByteHitRateDataOutcomeCallable describeDomainRealTimeByteHitRateDataCallable(const Model::DescribeDomainRealTimeByteHitRateDataRequest& request) const; + DescribeDomainRealTimeDetailDataOutcome describeDomainRealTimeDetailData(const Model::DescribeDomainRealTimeDetailDataRequest &request)const; + void describeDomainRealTimeDetailDataAsync(const Model::DescribeDomainRealTimeDetailDataRequest& request, const DescribeDomainRealTimeDetailDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeDetailDataOutcomeCallable describeDomainRealTimeDetailDataCallable(const Model::DescribeDomainRealTimeDetailDataRequest& request) const; + DescribeDomainRealTimeHttpCodeDataOutcome describeDomainRealTimeHttpCodeData(const Model::DescribeDomainRealTimeHttpCodeDataRequest &request)const; + void describeDomainRealTimeHttpCodeDataAsync(const Model::DescribeDomainRealTimeHttpCodeDataRequest& request, const DescribeDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeHttpCodeDataOutcomeCallable describeDomainRealTimeHttpCodeDataCallable(const Model::DescribeDomainRealTimeHttpCodeDataRequest& request) const; + DescribeDomainRealTimeQpsDataOutcome describeDomainRealTimeQpsData(const Model::DescribeDomainRealTimeQpsDataRequest &request)const; + void describeDomainRealTimeQpsDataAsync(const Model::DescribeDomainRealTimeQpsDataRequest& request, const DescribeDomainRealTimeQpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeQpsDataOutcomeCallable describeDomainRealTimeQpsDataCallable(const Model::DescribeDomainRealTimeQpsDataRequest& request) const; + DescribeDomainRealTimeReqHitRateDataOutcome describeDomainRealTimeReqHitRateData(const Model::DescribeDomainRealTimeReqHitRateDataRequest &request)const; + void describeDomainRealTimeReqHitRateDataAsync(const Model::DescribeDomainRealTimeReqHitRateDataRequest& request, const DescribeDomainRealTimeReqHitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeReqHitRateDataOutcomeCallable describeDomainRealTimeReqHitRateDataCallable(const Model::DescribeDomainRealTimeReqHitRateDataRequest& request) const; + DescribeDomainRealTimeSrcBpsDataOutcome describeDomainRealTimeSrcBpsData(const Model::DescribeDomainRealTimeSrcBpsDataRequest &request)const; + void describeDomainRealTimeSrcBpsDataAsync(const Model::DescribeDomainRealTimeSrcBpsDataRequest& request, const DescribeDomainRealTimeSrcBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeSrcBpsDataOutcomeCallable describeDomainRealTimeSrcBpsDataCallable(const Model::DescribeDomainRealTimeSrcBpsDataRequest& request) const; + DescribeDomainRealTimeSrcHttpCodeDataOutcome describeDomainRealTimeSrcHttpCodeData(const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest &request)const; + void describeDomainRealTimeSrcHttpCodeDataAsync(const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeSrcHttpCodeDataOutcomeCallable describeDomainRealTimeSrcHttpCodeDataCallable(const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest& request) const; + DescribeDomainRealTimeSrcTrafficDataOutcome describeDomainRealTimeSrcTrafficData(const Model::DescribeDomainRealTimeSrcTrafficDataRequest &request)const; + void describeDomainRealTimeSrcTrafficDataAsync(const Model::DescribeDomainRealTimeSrcTrafficDataRequest& request, const DescribeDomainRealTimeSrcTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeSrcTrafficDataOutcomeCallable describeDomainRealTimeSrcTrafficDataCallable(const Model::DescribeDomainRealTimeSrcTrafficDataRequest& request) const; + DescribeDomainRealTimeTrafficDataOutcome describeDomainRealTimeTrafficData(const Model::DescribeDomainRealTimeTrafficDataRequest &request)const; + void describeDomainRealTimeTrafficDataAsync(const Model::DescribeDomainRealTimeTrafficDataRequest& request, const DescribeDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealTimeTrafficDataOutcomeCallable describeDomainRealTimeTrafficDataCallable(const Model::DescribeDomainRealTimeTrafficDataRequest& request) const; + DescribeDomainRealtimeLogDeliveryOutcome describeDomainRealtimeLogDelivery(const Model::DescribeDomainRealtimeLogDeliveryRequest &request)const; + void describeDomainRealtimeLogDeliveryAsync(const Model::DescribeDomainRealtimeLogDeliveryRequest& request, const DescribeDomainRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRealtimeLogDeliveryOutcomeCallable describeDomainRealtimeLogDeliveryCallable(const Model::DescribeDomainRealtimeLogDeliveryRequest& request) const; DescribeDomainRegionDataOutcome describeDomainRegionData(const Model::DescribeDomainRegionDataRequest &request)const; void describeDomainRegionDataAsync(const Model::DescribeDomainRegionDataRequest& request, const DescribeDomainRegionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainRegionDataOutcomeCallable describeDomainRegionDataCallable(const Model::DescribeDomainRegionDataRequest& request) const; @@ -214,6 +1123,33 @@ namespace AlibabaCloud DescribeDomainSrcFlowDataOutcome describeDomainSrcFlowData(const Model::DescribeDomainSrcFlowDataRequest &request)const; void describeDomainSrcFlowDataAsync(const Model::DescribeDomainSrcFlowDataRequest& request, const DescribeDomainSrcFlowDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainSrcFlowDataOutcomeCallable describeDomainSrcFlowDataCallable(const Model::DescribeDomainSrcFlowDataRequest& request) const; + DescribeDomainSrcHttpCodeDataOutcome describeDomainSrcHttpCodeData(const Model::DescribeDomainSrcHttpCodeDataRequest &request)const; + void describeDomainSrcHttpCodeDataAsync(const Model::DescribeDomainSrcHttpCodeDataRequest& request, const DescribeDomainSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainSrcHttpCodeDataOutcomeCallable describeDomainSrcHttpCodeDataCallable(const Model::DescribeDomainSrcHttpCodeDataRequest& request) const; + DescribeDomainSrcQpsDataOutcome describeDomainSrcQpsData(const Model::DescribeDomainSrcQpsDataRequest &request)const; + void describeDomainSrcQpsDataAsync(const Model::DescribeDomainSrcQpsDataRequest& request, const DescribeDomainSrcQpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainSrcQpsDataOutcomeCallable describeDomainSrcQpsDataCallable(const Model::DescribeDomainSrcQpsDataRequest& request) const; + DescribeDomainSrcTopUrlVisitOutcome describeDomainSrcTopUrlVisit(const Model::DescribeDomainSrcTopUrlVisitRequest &request)const; + void describeDomainSrcTopUrlVisitAsync(const Model::DescribeDomainSrcTopUrlVisitRequest& request, const DescribeDomainSrcTopUrlVisitAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainSrcTopUrlVisitOutcomeCallable describeDomainSrcTopUrlVisitCallable(const Model::DescribeDomainSrcTopUrlVisitRequest& request) const; + DescribeDomainSrcTrafficDataOutcome describeDomainSrcTrafficData(const Model::DescribeDomainSrcTrafficDataRequest &request)const; + void describeDomainSrcTrafficDataAsync(const Model::DescribeDomainSrcTrafficDataRequest& request, const DescribeDomainSrcTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainSrcTrafficDataOutcomeCallable describeDomainSrcTrafficDataCallable(const Model::DescribeDomainSrcTrafficDataRequest& request) const; + DescribeDomainTopClientIpVisitOutcome describeDomainTopClientIpVisit(const Model::DescribeDomainTopClientIpVisitRequest &request)const; + void describeDomainTopClientIpVisitAsync(const Model::DescribeDomainTopClientIpVisitRequest& request, const DescribeDomainTopClientIpVisitAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainTopClientIpVisitOutcomeCallable describeDomainTopClientIpVisitCallable(const Model::DescribeDomainTopClientIpVisitRequest& request) const; + DescribeDomainTopReferVisitOutcome describeDomainTopReferVisit(const Model::DescribeDomainTopReferVisitRequest &request)const; + void describeDomainTopReferVisitAsync(const Model::DescribeDomainTopReferVisitRequest& request, const DescribeDomainTopReferVisitAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainTopReferVisitOutcomeCallable describeDomainTopReferVisitCallable(const Model::DescribeDomainTopReferVisitRequest& request) const; + DescribeDomainTopUrlVisitOutcome describeDomainTopUrlVisit(const Model::DescribeDomainTopUrlVisitRequest &request)const; + void describeDomainTopUrlVisitAsync(const Model::DescribeDomainTopUrlVisitRequest& request, const DescribeDomainTopUrlVisitAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainTopUrlVisitOutcomeCallable describeDomainTopUrlVisitCallable(const Model::DescribeDomainTopUrlVisitRequest& request) const; + DescribeDomainTrafficDataOutcome describeDomainTrafficData(const Model::DescribeDomainTrafficDataRequest &request)const; + void describeDomainTrafficDataAsync(const Model::DescribeDomainTrafficDataRequest& request, const DescribeDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainTrafficDataOutcomeCallable describeDomainTrafficDataCallable(const Model::DescribeDomainTrafficDataRequest& request) const; + DescribeDomainUsageDataOutcome describeDomainUsageData(const Model::DescribeDomainUsageDataRequest &request)const; + void describeDomainUsageDataAsync(const Model::DescribeDomainUsageDataRequest& request, const DescribeDomainUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainUsageDataOutcomeCallable describeDomainUsageDataCallable(const Model::DescribeDomainUsageDataRequest& request) const; DescribeDomainUvDataOutcome describeDomainUvData(const Model::DescribeDomainUvDataRequest &request)const; void describeDomainUvDataAsync(const Model::DescribeDomainUvDataRequest& request, const DescribeDomainUvDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainUvDataOutcomeCallable describeDomainUvDataCallable(const Model::DescribeDomainUvDataRequest& request) const; @@ -223,27 +1159,171 @@ namespace AlibabaCloud DescribeDomainsUsageByDayOutcome describeDomainsUsageByDay(const Model::DescribeDomainsUsageByDayRequest &request)const; void describeDomainsUsageByDayAsync(const Model::DescribeDomainsUsageByDayRequest& request, const DescribeDomainsUsageByDayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainsUsageByDayOutcomeCallable describeDomainsUsageByDayCallable(const Model::DescribeDomainsUsageByDayRequest& request) const; + DescribeEsExceptionDataOutcome describeEsExceptionData(const Model::DescribeEsExceptionDataRequest &request)const; + void describeEsExceptionDataAsync(const Model::DescribeEsExceptionDataRequest& request, const DescribeEsExceptionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEsExceptionDataOutcomeCallable describeEsExceptionDataCallable(const Model::DescribeEsExceptionDataRequest& request) const; + DescribeEsExecuteDataOutcome describeEsExecuteData(const Model::DescribeEsExecuteDataRequest &request)const; + void describeEsExecuteDataAsync(const Model::DescribeEsExecuteDataRequest& request, const DescribeEsExecuteDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEsExecuteDataOutcomeCallable describeEsExecuteDataCallable(const Model::DescribeEsExecuteDataRequest& request) const; + DescribeFCTriggerOutcome describeFCTrigger(const Model::DescribeFCTriggerRequest &request)const; + void describeFCTriggerAsync(const Model::DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeFCTriggerOutcomeCallable describeFCTriggerCallable(const Model::DescribeFCTriggerRequest& request) const; + DescribeIllegalUrlExportTaskOutcome describeIllegalUrlExportTask(const Model::DescribeIllegalUrlExportTaskRequest &request)const; + void describeIllegalUrlExportTaskAsync(const Model::DescribeIllegalUrlExportTaskRequest& request, const DescribeIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeIllegalUrlExportTaskOutcomeCallable describeIllegalUrlExportTaskCallable(const Model::DescribeIllegalUrlExportTaskRequest& request) const; + DescribeIpInfoOutcome describeIpInfo(const Model::DescribeIpInfoRequest &request)const; + void describeIpInfoAsync(const Model::DescribeIpInfoRequest& request, const DescribeIpInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeIpInfoOutcomeCallable describeIpInfoCallable(const Model::DescribeIpInfoRequest& request) const; + DescribeIpStatusOutcome describeIpStatus(const Model::DescribeIpStatusRequest &request)const; + void describeIpStatusAsync(const Model::DescribeIpStatusRequest& request, const DescribeIpStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeIpStatusOutcomeCallable describeIpStatusCallable(const Model::DescribeIpStatusRequest& request) const; + DescribeL2VipsByDomainOutcome describeL2VipsByDomain(const Model::DescribeL2VipsByDomainRequest &request)const; + void describeL2VipsByDomainAsync(const Model::DescribeL2VipsByDomainRequest& request, const DescribeL2VipsByDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeL2VipsByDomainOutcomeCallable describeL2VipsByDomainCallable(const Model::DescribeL2VipsByDomainRequest& request) const; + DescribeRangeDataByLocateAndIspServiceOutcome describeRangeDataByLocateAndIspService(const Model::DescribeRangeDataByLocateAndIspServiceRequest &request)const; + void describeRangeDataByLocateAndIspServiceAsync(const Model::DescribeRangeDataByLocateAndIspServiceRequest& request, const DescribeRangeDataByLocateAndIspServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRangeDataByLocateAndIspServiceOutcomeCallable describeRangeDataByLocateAndIspServiceCallable(const Model::DescribeRangeDataByLocateAndIspServiceRequest& request) const; + DescribeRealtimeDeliveryAccOutcome describeRealtimeDeliveryAcc(const Model::DescribeRealtimeDeliveryAccRequest &request)const; + void describeRealtimeDeliveryAccAsync(const Model::DescribeRealtimeDeliveryAccRequest& request, const DescribeRealtimeDeliveryAccAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRealtimeDeliveryAccOutcomeCallable describeRealtimeDeliveryAccCallable(const Model::DescribeRealtimeDeliveryAccRequest& request) const; + DescribeRealtimeLogAuthorizedOutcome describeRealtimeLogAuthorized(const Model::DescribeRealtimeLogAuthorizedRequest &request)const; + void describeRealtimeLogAuthorizedAsync(const Model::DescribeRealtimeLogAuthorizedRequest& request, const DescribeRealtimeLogAuthorizedAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRealtimeLogAuthorizedOutcomeCallable describeRealtimeLogAuthorizedCallable(const Model::DescribeRealtimeLogAuthorizedRequest& request) const; DescribeRefreshQuotaOutcome describeRefreshQuota(const Model::DescribeRefreshQuotaRequest &request)const; void describeRefreshQuotaAsync(const Model::DescribeRefreshQuotaRequest& request, const DescribeRefreshQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRefreshQuotaOutcomeCallable describeRefreshQuotaCallable(const Model::DescribeRefreshQuotaRequest& request) const; + DescribeRefreshTaskByIdOutcome describeRefreshTaskById(const Model::DescribeRefreshTaskByIdRequest &request)const; + void describeRefreshTaskByIdAsync(const Model::DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRefreshTaskByIdOutcomeCallable describeRefreshTaskByIdCallable(const Model::DescribeRefreshTaskByIdRequest& request) const; + DescribeRefreshTasksOutcome describeRefreshTasks(const Model::DescribeRefreshTasksRequest &request)const; + void describeRefreshTasksAsync(const Model::DescribeRefreshTasksRequest& request, const DescribeRefreshTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRefreshTasksOutcomeCallable describeRefreshTasksCallable(const Model::DescribeRefreshTasksRequest& request) const; + DescribeStagingIpOutcome describeStagingIp(const Model::DescribeStagingIpRequest &request)const; + void describeStagingIpAsync(const Model::DescribeStagingIpRequest& request, const DescribeStagingIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStagingIpOutcomeCallable describeStagingIpCallable(const Model::DescribeStagingIpRequest& request) const; + DescribeTagResourcesOutcome describeTagResources(const Model::DescribeTagResourcesRequest &request)const; + void describeTagResourcesAsync(const Model::DescribeTagResourcesRequest& request, const DescribeTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTagResourcesOutcomeCallable describeTagResourcesCallable(const Model::DescribeTagResourcesRequest& request) const; DescribeTopDomainsByFlowOutcome describeTopDomainsByFlow(const Model::DescribeTopDomainsByFlowRequest &request)const; void describeTopDomainsByFlowAsync(const Model::DescribeTopDomainsByFlowRequest& request, const DescribeTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTopDomainsByFlowOutcomeCallable describeTopDomainsByFlowCallable(const Model::DescribeTopDomainsByFlowRequest& request) const; + DescribeUserCertificateExpireCountOutcome describeUserCertificateExpireCount(const Model::DescribeUserCertificateExpireCountRequest &request)const; + void describeUserCertificateExpireCountAsync(const Model::DescribeUserCertificateExpireCountRequest& request, const DescribeUserCertificateExpireCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserCertificateExpireCountOutcomeCallable describeUserCertificateExpireCountCallable(const Model::DescribeUserCertificateExpireCountRequest& request) const; + DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const; + void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const; DescribeUserDomainsOutcome describeUserDomains(const Model::DescribeUserDomainsRequest &request)const; void describeUserDomainsAsync(const Model::DescribeUserDomainsRequest& request, const DescribeUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserDomainsOutcomeCallable describeUserDomainsCallable(const Model::DescribeUserDomainsRequest& request) const; + DescribeUserTagsOutcome describeUserTags(const Model::DescribeUserTagsRequest &request)const; + void describeUserTagsAsync(const Model::DescribeUserTagsRequest& request, const DescribeUserTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserTagsOutcomeCallable describeUserTagsCallable(const Model::DescribeUserTagsRequest& request) const; + DescribeUserUsageDataExportTaskOutcome describeUserUsageDataExportTask(const Model::DescribeUserUsageDataExportTaskRequest &request)const; + void describeUserUsageDataExportTaskAsync(const Model::DescribeUserUsageDataExportTaskRequest& request, const DescribeUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserUsageDataExportTaskOutcomeCallable describeUserUsageDataExportTaskCallable(const Model::DescribeUserUsageDataExportTaskRequest& request) const; + DescribeUserUsageDetailDataExportTaskOutcome describeUserUsageDetailDataExportTask(const Model::DescribeUserUsageDetailDataExportTaskRequest &request)const; + void describeUserUsageDetailDataExportTaskAsync(const Model::DescribeUserUsageDetailDataExportTaskRequest& request, const DescribeUserUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserUsageDetailDataExportTaskOutcomeCallable describeUserUsageDetailDataExportTaskCallable(const Model::DescribeUserUsageDetailDataExportTaskRequest& request) const; + DescribeUserVipsByDomainOutcome describeUserVipsByDomain(const Model::DescribeUserVipsByDomainRequest &request)const; + void describeUserVipsByDomainAsync(const Model::DescribeUserVipsByDomainRequest& request, const DescribeUserVipsByDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserVipsByDomainOutcomeCallable describeUserVipsByDomainCallable(const Model::DescribeUserVipsByDomainRequest& request) const; + DescribeVerifyContentOutcome describeVerifyContent(const Model::DescribeVerifyContentRequest &request)const; + void describeVerifyContentAsync(const Model::DescribeVerifyContentRequest& request, const DescribeVerifyContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVerifyContentOutcomeCallable describeVerifyContentCallable(const Model::DescribeVerifyContentRequest& request) const; + DisableRealtimeLogDeliveryOutcome disableRealtimeLogDelivery(const Model::DisableRealtimeLogDeliveryRequest &request)const; + void disableRealtimeLogDeliveryAsync(const Model::DisableRealtimeLogDeliveryRequest& request, const DisableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DisableRealtimeLogDeliveryOutcomeCallable disableRealtimeLogDeliveryCallable(const Model::DisableRealtimeLogDeliveryRequest& request) const; + EnableRealtimeLogDeliveryOutcome enableRealtimeLogDelivery(const Model::EnableRealtimeLogDeliveryRequest &request)const; + void enableRealtimeLogDeliveryAsync(const Model::EnableRealtimeLogDeliveryRequest& request, const EnableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EnableRealtimeLogDeliveryOutcomeCallable enableRealtimeLogDeliveryCallable(const Model::EnableRealtimeLogDeliveryRequest& request) const; + ListDomainsByLogConfigIdOutcome listDomainsByLogConfigId(const Model::ListDomainsByLogConfigIdRequest &request)const; + void listDomainsByLogConfigIdAsync(const Model::ListDomainsByLogConfigIdRequest& request, const ListDomainsByLogConfigIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDomainsByLogConfigIdOutcomeCallable listDomainsByLogConfigIdCallable(const Model::ListDomainsByLogConfigIdRequest& request) const; + ListFCTriggerOutcome listFCTrigger(const Model::ListFCTriggerRequest &request)const; + void listFCTriggerAsync(const Model::ListFCTriggerRequest& request, const ListFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFCTriggerOutcomeCallable listFCTriggerCallable(const Model::ListFCTriggerRequest& request) const; + ListRealtimeLogDeliveryDomainsOutcome listRealtimeLogDeliveryDomains(const Model::ListRealtimeLogDeliveryDomainsRequest &request)const; + void listRealtimeLogDeliveryDomainsAsync(const Model::ListRealtimeLogDeliveryDomainsRequest& request, const ListRealtimeLogDeliveryDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRealtimeLogDeliveryDomainsOutcomeCallable listRealtimeLogDeliveryDomainsCallable(const Model::ListRealtimeLogDeliveryDomainsRequest& request) const; + ListRealtimeLogDeliveryInfosOutcome listRealtimeLogDeliveryInfos(const Model::ListRealtimeLogDeliveryInfosRequest &request)const; + void listRealtimeLogDeliveryInfosAsync(const Model::ListRealtimeLogDeliveryInfosRequest& request, const ListRealtimeLogDeliveryInfosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRealtimeLogDeliveryInfosOutcomeCallable listRealtimeLogDeliveryInfosCallable(const Model::ListRealtimeLogDeliveryInfosRequest& request) const; + ListUserCustomLogConfigOutcome listUserCustomLogConfig(const Model::ListUserCustomLogConfigRequest &request)const; + void listUserCustomLogConfigAsync(const Model::ListUserCustomLogConfigRequest& request, const ListUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListUserCustomLogConfigOutcomeCallable listUserCustomLogConfigCallable(const Model::ListUserCustomLogConfigRequest& request) const; + ModifyCdnDomainOutcome modifyCdnDomain(const Model::ModifyCdnDomainRequest &request)const; + void modifyCdnDomainAsync(const Model::ModifyCdnDomainRequest& request, const ModifyCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCdnDomainOutcomeCallable modifyCdnDomainCallable(const Model::ModifyCdnDomainRequest& request) const; + ModifyCdnDomainSchdmByPropertyOutcome modifyCdnDomainSchdmByProperty(const Model::ModifyCdnDomainSchdmByPropertyRequest &request)const; + void modifyCdnDomainSchdmByPropertyAsync(const Model::ModifyCdnDomainSchdmByPropertyRequest& request, const ModifyCdnDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCdnDomainSchdmByPropertyOutcomeCallable modifyCdnDomainSchdmByPropertyCallable(const Model::ModifyCdnDomainSchdmByPropertyRequest& request) const; + ModifyRealtimeLogDeliveryOutcome modifyRealtimeLogDelivery(const Model::ModifyRealtimeLogDeliveryRequest &request)const; + void modifyRealtimeLogDeliveryAsync(const Model::ModifyRealtimeLogDeliveryRequest& request, const ModifyRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyRealtimeLogDeliveryOutcomeCallable modifyRealtimeLogDeliveryCallable(const Model::ModifyRealtimeLogDeliveryRequest& request) const; OpenCdnServiceOutcome openCdnService(const Model::OpenCdnServiceRequest &request)const; void openCdnServiceAsync(const Model::OpenCdnServiceRequest& request, const OpenCdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OpenCdnServiceOutcomeCallable openCdnServiceCallable(const Model::OpenCdnServiceRequest& request) const; + PublishStagingConfigToProductionOutcome publishStagingConfigToProduction(const Model::PublishStagingConfigToProductionRequest &request)const; + void publishStagingConfigToProductionAsync(const Model::PublishStagingConfigToProductionRequest& request, const PublishStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PublishStagingConfigToProductionOutcomeCallable publishStagingConfigToProductionCallable(const Model::PublishStagingConfigToProductionRequest& request) const; PushObjectCacheOutcome pushObjectCache(const Model::PushObjectCacheRequest &request)const; void pushObjectCacheAsync(const Model::PushObjectCacheRequest& request, const PushObjectCacheAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PushObjectCacheOutcomeCallable pushObjectCacheCallable(const Model::PushObjectCacheRequest& request) const; RefreshObjectCachesOutcome refreshObjectCaches(const Model::RefreshObjectCachesRequest &request)const; void refreshObjectCachesAsync(const Model::RefreshObjectCachesRequest& request, const RefreshObjectCachesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RefreshObjectCachesOutcomeCallable refreshObjectCachesCallable(const Model::RefreshObjectCachesRequest& request) const; + RollbackStagingConfigOutcome rollbackStagingConfig(const Model::RollbackStagingConfigRequest &request)const; + void rollbackStagingConfigAsync(const Model::RollbackStagingConfigRequest& request, const RollbackStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RollbackStagingConfigOutcomeCallable rollbackStagingConfigCallable(const Model::RollbackStagingConfigRequest& request) const; + SetCdnDomainCSRCertificateOutcome setCdnDomainCSRCertificate(const Model::SetCdnDomainCSRCertificateRequest &request)const; + void setCdnDomainCSRCertificateAsync(const Model::SetCdnDomainCSRCertificateRequest& request, const SetCdnDomainCSRCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetCdnDomainCSRCertificateOutcomeCallable setCdnDomainCSRCertificateCallable(const Model::SetCdnDomainCSRCertificateRequest& request) const; + SetCdnDomainSMCertificateOutcome setCdnDomainSMCertificate(const Model::SetCdnDomainSMCertificateRequest &request)const; + void setCdnDomainSMCertificateAsync(const Model::SetCdnDomainSMCertificateRequest& request, const SetCdnDomainSMCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetCdnDomainSMCertificateOutcomeCallable setCdnDomainSMCertificateCallable(const Model::SetCdnDomainSMCertificateRequest& request) const; + SetCdnDomainStagingConfigOutcome setCdnDomainStagingConfig(const Model::SetCdnDomainStagingConfigRequest &request)const; + void setCdnDomainStagingConfigAsync(const Model::SetCdnDomainStagingConfigRequest& request, const SetCdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetCdnDomainStagingConfigOutcomeCallable setCdnDomainStagingConfigCallable(const Model::SetCdnDomainStagingConfigRequest& request) const; + SetConfigOfVersionOutcome setConfigOfVersion(const Model::SetConfigOfVersionRequest &request)const; + void setConfigOfVersionAsync(const Model::SetConfigOfVersionRequest& request, const SetConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetConfigOfVersionOutcomeCallable setConfigOfVersionCallable(const Model::SetConfigOfVersionRequest& request) const; + SetDomainServerCertificateOutcome setDomainServerCertificate(const Model::SetDomainServerCertificateRequest &request)const; + void setDomainServerCertificateAsync(const Model::SetDomainServerCertificateRequest& request, const SetDomainServerCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDomainServerCertificateOutcomeCallable setDomainServerCertificateCallable(const Model::SetDomainServerCertificateRequest& request) const; + SetReqHeaderConfigOutcome setReqHeaderConfig(const Model::SetReqHeaderConfigRequest &request)const; + void setReqHeaderConfigAsync(const Model::SetReqHeaderConfigRequest& request, const SetReqHeaderConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetReqHeaderConfigOutcomeCallable setReqHeaderConfigCallable(const Model::SetReqHeaderConfigRequest& request) const; + SetWaitingRoomConfigOutcome setWaitingRoomConfig(const Model::SetWaitingRoomConfigRequest &request)const; + void setWaitingRoomConfigAsync(const Model::SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetWaitingRoomConfigOutcomeCallable setWaitingRoomConfigCallable(const Model::SetWaitingRoomConfigRequest& request) const; + StartCdnDomainOutcome startCdnDomain(const Model::StartCdnDomainRequest &request)const; + void startCdnDomainAsync(const Model::StartCdnDomainRequest& request, const StartCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartCdnDomainOutcomeCallable startCdnDomainCallable(const Model::StartCdnDomainRequest& request) const; + StopCdnDomainOutcome stopCdnDomain(const Model::StopCdnDomainRequest &request)const; + void stopCdnDomainAsync(const Model::StopCdnDomainRequest& request, const StopCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopCdnDomainOutcomeCallable stopCdnDomainCallable(const Model::StopCdnDomainRequest& request) const; + TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; + void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; TestDescribeDomainBpsDataOutcome testDescribeDomainBpsData(const Model::TestDescribeDomainBpsDataRequest &request)const; void testDescribeDomainBpsDataAsync(const Model::TestDescribeDomainBpsDataRequest& request, const TestDescribeDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TestDescribeDomainBpsDataOutcomeCallable testDescribeDomainBpsDataCallable(const Model::TestDescribeDomainBpsDataRequest& request) const; + UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const; + void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const; + UpdateCdnDeliverTaskOutcome updateCdnDeliverTask(const Model::UpdateCdnDeliverTaskRequest &request)const; + void updateCdnDeliverTaskAsync(const Model::UpdateCdnDeliverTaskRequest& request, const UpdateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCdnDeliverTaskOutcomeCallable updateCdnDeliverTaskCallable(const Model::UpdateCdnDeliverTaskRequest& request) const; + UpdateCdnSubTaskOutcome updateCdnSubTask(const Model::UpdateCdnSubTaskRequest &request)const; + void updateCdnSubTaskAsync(const Model::UpdateCdnSubTaskRequest& request, const UpdateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCdnSubTaskOutcomeCallable updateCdnSubTaskCallable(const Model::UpdateCdnSubTaskRequest& request) const; + UpdateFCTriggerOutcome updateFCTrigger(const Model::UpdateFCTriggerRequest &request)const; + void updateFCTriggerAsync(const Model::UpdateFCTriggerRequest& request, const UpdateFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateFCTriggerOutcomeCallable updateFCTriggerCallable(const Model::UpdateFCTriggerRequest& request) const; + VerifyDomainOwnerOutcome verifyDomainOwner(const Model::VerifyDomainOwnerRequest &request)const; + void verifyDomainOwnerAsync(const Model::VerifyDomainOwnerRequest& request, const VerifyDomainOwnerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyDomainOwnerOutcomeCallable verifyDomainOwnerCallable(const Model::VerifyDomainOwnerRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h b/cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h new file mode 100644 index 000000000..16cb1e080 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT AddFCTriggerRequest : public RpcServiceRequest { +public: + AddFCTriggerRequest(); + ~AddFCTriggerRequest(); + std::string getNotes() const; + void setNotes(const std::string ¬es); + std::string getEventMetaVersion() const; + void setEventMetaVersion(const std::string &eventMetaVersion); + std::string getTriggerARN() const; + void setTriggerARN(const std::string &triggerARN); + std::string getSourceARN() const; + void setSourceARN(const std::string &sourceARN); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoleARN() const; + void setRoleARN(const std::string &roleARN); + std::string getEventMetaName() const; + void setEventMetaName(const std::string &eventMetaName); + std::string getFunctionARN() const; + void setFunctionARN(const std::string &functionARN); + +private: + std::string notes_; + std::string eventMetaVersion_; + std::string triggerARN_; + std::string sourceARN_; + long ownerId_; + std::string roleARN_; + std::string eventMetaName_; + std::string functionARN_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h new file mode 100644 index 000000000..1c82fd652 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT AddFCTriggerResult : public ServiceResult + { + public: + + + AddFCTriggerResult(); + explicit AddFCTriggerResult(const std::string &payload); + ~AddFCTriggerResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h new file mode 100644 index 000000000..59f4af778 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchAddCdnDomainRequest : public RpcServiceRequest { +public: + BatchAddCdnDomainRequest(); + ~BatchAddCdnDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCdnType() const; + void setCdnType(const std::string &cdnType); + std::string getScope() const; + void setScope(const std::string &scope); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCheckUrl() const; + void setCheckUrl(const std::string &checkUrl); + +private: + std::string sources_; + std::string resourceGroupId_; + std::string securityToken_; + std::string cdnType_; + std::string scope_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string checkUrl_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h new file mode 100644 index 000000000..0f66e6632 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchAddCdnDomainResult : public ServiceResult + { + public: + + + BatchAddCdnDomainResult(); + explicit BatchAddCdnDomainResult(const std::string &payload); + ~BatchAddCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h new file mode 100644 index 000000000..1b8b7a173 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest { +public: + BatchDeleteCdnDomainConfigRequest(); + ~BatchDeleteCdnDomainConfigRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string functionNames_; + std::string domainNames_; + std::string ownerAccount_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h new file mode 100644 index 000000000..95ed602cf --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigResult : public ServiceResult + { + public: + + + BatchDeleteCdnDomainConfigResult(); + explicit BatchDeleteCdnDomainConfigResult(const std::string &payload); + ~BatchDeleteCdnDomainConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h new file mode 100644 index 000000000..4c39533c9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainConfigRequest : public RpcServiceRequest { +public: + BatchSetCdnDomainConfigRequest(); + ~BatchSetCdnDomainConfigRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functions_; + std::string domainNames_; + std::string securityToken_; + std::string ownerAccount_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h new file mode 100644 index 000000000..72dae20ce --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainConfigResult : public ServiceResult + { + public: + struct DomainConfigModel + { + std::string functionName; + std::string domainName; + long configId; + }; + + + BatchSetCdnDomainConfigResult(); + explicit BatchSetCdnDomainConfigResult(const std::string &payload); + ~BatchSetCdnDomainConfigResult(); + std::vector getDomainConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h new file mode 100644 index 000000000..decd14ca7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainServerCertificateRequest : public RpcServiceRequest { +public: + BatchSetCdnDomainServerCertificateRequest(); + ~BatchSetCdnDomainServerCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertType() const; + void setCertType(const std::string &certType); + std::string getSSLPri() const; + void setSSLPri(const std::string &sSLPri); + std::string getForceSet() const; + void setForceSet(const std::string &forceSet); + std::string getCertName() const; + void setCertName(const std::string &certName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string sSLProtocol_; + std::string securityToken_; + std::string certType_; + std::string sSLPri_; + std::string forceSet_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string sSLPub_; + std::string region_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h new file mode 100644 index 000000000..386fb68b8 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainServerCertificateResult : public ServiceResult + { + public: + + + BatchSetCdnDomainServerCertificateResult(); + explicit BatchSetCdnDomainServerCertificateResult(const std::string &payload); + ~BatchSetCdnDomainServerCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainRequest.h new file mode 100644 index 000000000..69720ad92 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchStartCdnDomainRequest : public RpcServiceRequest { +public: + BatchStartCdnDomainRequest(); + ~BatchStartCdnDomainRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainNames_; + std::string securityToken_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h new file mode 100644 index 000000000..8b6baff49 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchStartCdnDomainResult : public ServiceResult + { + public: + + + BatchStartCdnDomainResult(); + explicit BatchStartCdnDomainResult(const std::string &payload); + ~BatchStartCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainRequest.h new file mode 100644 index 000000000..87e1484dd --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchStopCdnDomainRequest : public RpcServiceRequest { +public: + BatchStopCdnDomainRequest(); + ~BatchStopCdnDomainRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainNames_; + std::string securityToken_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h new file mode 100644 index 000000000..72359843f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchStopCdnDomainResult : public ServiceResult + { + public: + + + BatchStopCdnDomainResult(); + explicit BatchStopCdnDomainResult(const std::string &payload); + ~BatchStopCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h new file mode 100644 index 000000000..3ef4c6c6c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT BatchUpdateCdnDomainRequest : public RpcServiceRequest { +public: + BatchUpdateCdnDomainRequest(); + ~BatchUpdateCdnDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string sources_; + std::string resourceGroupId_; + std::string securityToken_; + std::string topLevelDomain_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h new file mode 100644 index 000000000..dd9763b10 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT BatchUpdateCdnDomainResult : public ServiceResult + { + public: + + + BatchUpdateCdnDomainResult(); + explicit BatchUpdateCdnDomainResult(const std::string &payload); + ~BatchUpdateCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h b/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h new file mode 100644 index 000000000..6ef0ddbea --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateCdnCertificateSigningRequestRequest : public RpcServiceRequest { +public: + CreateCdnCertificateSigningRequestRequest(); + ~CreateCdnCertificateSigningRequestRequest(); + std::string getCountry() const; + void setCountry(const std::string &country); + std::string getCity() const; + void setCity(const std::string &city); + std::string getCommonName() const; + void setCommonName(const std::string &commonName); + std::string getState() const; + void setState(const std::string &state); + std::string getEmail() const; + void setEmail(const std::string &email); + std::string getSANs() const; + void setSANs(const std::string &sANs); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOrganization() const; + void setOrganization(const std::string &organization); + std::string getOrganizationUnit() const; + void setOrganizationUnit(const std::string &organizationUnit); + +private: + std::string country_; + std::string city_; + std::string commonName_; + std::string state_; + std::string email_; + std::string sANs_; + long ownerId_; + std::string organization_; + std::string organizationUnit_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h new file mode 100644 index 000000000..a59911732 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateCdnCertificateSigningRequestResult : public ServiceResult + { + public: + + + CreateCdnCertificateSigningRequestResult(); + explicit CreateCdnCertificateSigningRequestResult(const std::string &payload); + ~CreateCdnCertificateSigningRequestResult(); + std::string getPubMd5()const; + std::string getCsr()const; + std::string getCommonName()const; + + protected: + void parse(const std::string &payload); + private: + std::string pubMd5_; + std::string csr_; + std::string commonName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h new file mode 100644 index 000000000..2005b2637 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateCdnDeliverTaskRequest : public RpcServiceRequest { +public: + CreateCdnDeliverTaskRequest(); + ~CreateCdnDeliverTaskRequest(); + std::string getReports() const; + void setReports(const std::string &reports); + std::string getDeliver() const; + void setDeliver(const std::string &deliver); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSchedule() const; + void setSchedule(const std::string &schedule); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string reports_; + std::string deliver_; + std::string domainName_; + long ownerId_; + std::string schedule_; + std::string name_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h new file mode 100644 index 000000000..629047132 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateCdnDeliverTaskResult : public ServiceResult + { + public: + + + CreateCdnDeliverTaskResult(); + explicit CreateCdnDeliverTaskResult(const std::string &payload); + ~CreateCdnDeliverTaskResult(); + std::string getDeliverId()const; + + protected: + void parse(const std::string &payload); + private: + std::string deliverId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h new file mode 100644 index 000000000..32477a7a8 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateCdnSubTaskRequest : public RpcServiceRequest { +public: + CreateCdnSubTaskRequest(); + ~CreateCdnSubTaskRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getReportIds() const; + void setReportIds(const std::string &reportIds); + +private: + std::string domainName_; + long ownerId_; + std::string reportIds_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h new file mode 100644 index 000000000..6209b94c6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateCdnSubTaskResult : public ServiceResult + { + public: + + + CreateCdnSubTaskResult(); + explicit CreateCdnSubTaskResult(const std::string &payload); + ~CreateCdnSubTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h new file mode 100644 index 000000000..f98e0cefd --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateIllegalUrlExportTaskRequest : public RpcServiceRequest { +public: + CreateIllegalUrlExportTaskRequest(); + ~CreateIllegalUrlExportTaskRequest(); + std::string getTaskName() const; + void setTaskName(const std::string &taskName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTimePoint() const; + void setTimePoint(const std::string &timePoint); + +private: + std::string taskName_; + long ownerId_; + std::string timePoint_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h new file mode 100644 index 000000000..38307aef9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateIllegalUrlExportTaskResult : public ServiceResult + { + public: + + + CreateIllegalUrlExportTaskResult(); + explicit CreateIllegalUrlExportTaskResult(const std::string &payload); + ~CreateIllegalUrlExportTaskResult(); + std::string getTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h new file mode 100644 index 000000000..615f75a9b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateRealTimeLogDeliveryRequest : public RpcServiceRequest { +public: + CreateRealTimeLogDeliveryRequest(); + ~CreateRealTimeLogDeliveryRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string domain_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h new file mode 100644 index 000000000..12f69227b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateRealTimeLogDeliveryResult : public ServiceResult + { + public: + + + CreateRealTimeLogDeliveryResult(); + explicit CreateRealTimeLogDeliveryResult(const std::string &payload); + ~CreateRealTimeLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h new file mode 100644 index 000000000..fa5336bf2 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateUsageDetailDataExportTaskRequest : public RpcServiceRequest { +public: + CreateUsageDetailDataExportTaskRequest(); + ~CreateUsageDetailDataExportTaskRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getTaskName() const; + void setTaskName(const std::string &taskName); + std::string getLanguage() const; + void setLanguage(const std::string &language); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getType() const; + void setType(const std::string &type); + std::string getGroup() const; + void setGroup(const std::string &group); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainNames_; + std::string taskName_; + std::string language_; + std::string startTime_; + std::string type_; + std::string group_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h new file mode 100644 index 000000000..1ad375881 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateUsageDetailDataExportTaskResult : public ServiceResult + { + public: + + + CreateUsageDetailDataExportTaskResult(); + explicit CreateUsageDetailDataExportTaskResult(const std::string &payload); + ~CreateUsageDetailDataExportTaskResult(); + std::string getTaskId()const; + std::string getEndTime()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string taskId_; + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h new file mode 100644 index 000000000..774784e39 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT CreateUserUsageDataExportTaskRequest : public RpcServiceRequest { +public: + CreateUserUsageDataExportTaskRequest(); + ~CreateUserUsageDataExportTaskRequest(); + std::string getTaskName() const; + void setTaskName(const std::string &taskName); + std::string getLanguage() const; + void setLanguage(const std::string &language); + 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 taskName_; + std::string language_; + std::string startTime_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h new file mode 100644 index 000000000..365e2d8ef --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT CreateUserUsageDataExportTaskResult : public ServiceResult + { + public: + + + CreateUserUsageDataExportTaskResult(); + explicit CreateUserUsageDataExportTaskResult(const std::string &payload); + ~CreateUserUsageDataExportTaskResult(); + std::string getTaskId()const; + std::string getEndTime()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string taskId_; + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h new file mode 100644 index 000000000..d34487fd1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteCdnDeliverTaskRequest : public RpcServiceRequest { +public: + DeleteCdnDeliverTaskRequest(); + ~DeleteCdnDeliverTaskRequest(); + long getDeliverId() const; + void setDeliverId(long deliverId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long deliverId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h new file mode 100644 index 000000000..da6424aad --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteCdnDeliverTaskResult : public ServiceResult + { + public: + + + DeleteCdnDeliverTaskResult(); + explicit DeleteCdnDeliverTaskResult(const std::string &payload); + ~DeleteCdnDeliverTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h new file mode 100644 index 000000000..26d2654ac --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteCdnDomainRequest : public RpcServiceRequest { +public: + DeleteCdnDomainRequest(); + ~DeleteCdnDomainRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h new file mode 100644 index 000000000..68553d5ea --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteCdnDomainResult : public ServiceResult + { + public: + + + DeleteCdnDomainResult(); + explicit DeleteCdnDomainResult(const std::string &payload); + ~DeleteCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h new file mode 100644 index 000000000..d37f89090 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteCdnSubTaskRequest : public RpcServiceRequest { +public: + DeleteCdnSubTaskRequest(); + ~DeleteCdnSubTaskRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h new file mode 100644 index 000000000..7bb36758d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteCdnSubTaskResult : public ServiceResult + { + public: + + + DeleteCdnSubTaskResult(); + explicit DeleteCdnSubTaskResult(const std::string &payload); + ~DeleteCdnSubTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h new file mode 100644 index 000000000..8aa57bb8b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteFCTriggerRequest : public RpcServiceRequest { +public: + DeleteFCTriggerRequest(); + ~DeleteFCTriggerRequest(); + std::string getTriggerARN() const; + void setTriggerARN(const std::string &triggerARN); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string triggerARN_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h new file mode 100644 index 000000000..5d65d022b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteFCTriggerResult : public ServiceResult + { + public: + + + DeleteFCTriggerResult(); + explicit DeleteFCTriggerResult(const std::string &payload); + ~DeleteFCTriggerResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreRequest.h new file mode 100644 index 000000000..8187069ba --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGLOGSTOREREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGLOGSTOREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteRealTimeLogLogstoreRequest : public RpcServiceRequest { +public: + DeleteRealTimeLogLogstoreRequest(); + ~DeleteRealTimeLogLogstoreRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGLOGSTOREREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreResult.h b/cdn/include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreResult.h new file mode 100644 index 000000000..88d0b1761 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteRealTimeLogLogstoreResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGLOGSTORERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGLOGSTORERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteRealTimeLogLogstoreResult : public ServiceResult + { + public: + + + DeleteRealTimeLogLogstoreResult(); + explicit DeleteRealTimeLogLogstoreResult(const std::string &payload); + ~DeleteRealTimeLogLogstoreResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGLOGSTORERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..dfc6ea3b2 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DeleteRealtimeLogDeliveryRequest(); + ~DeleteRealtimeLogDeliveryRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string domain_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..16a174da1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteRealtimeLogDeliveryResult : public ServiceResult + { + public: + + + DeleteRealtimeLogDeliveryResult(); + explicit DeleteRealtimeLogDeliveryResult(const std::string &payload); + ~DeleteRealtimeLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h new file mode 100644 index 000000000..188480120 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteSpecificConfigRequest : public RpcServiceRequest { +public: + DeleteSpecificConfigRequest(); + ~DeleteSpecificConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string domainName_; + long ownerId_; + std::string securityToken_; + std::string configId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h new file mode 100644 index 000000000..95c4e0656 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteSpecificConfigResult : public ServiceResult + { + public: + + + DeleteSpecificConfigResult(); + explicit DeleteSpecificConfigResult(const std::string &payload); + ~DeleteSpecificConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h new file mode 100644 index 000000000..ad2686c1b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteSpecificStagingConfigRequest : public RpcServiceRequest { +public: + DeleteSpecificStagingConfigRequest(); + ~DeleteSpecificStagingConfigRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h new file mode 100644 index 000000000..3f9e3555c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteSpecificStagingConfigResult : public ServiceResult + { + public: + + + DeleteSpecificStagingConfigResult(); + explicit DeleteSpecificStagingConfigResult(const std::string &payload); + ~DeleteSpecificStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h new file mode 100644 index 000000000..a45a1421c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteUsageDetailDataExportTaskRequest : public RpcServiceRequest { +public: + DeleteUsageDetailDataExportTaskRequest(); + ~DeleteUsageDetailDataExportTaskRequest(); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string taskId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h new file mode 100644 index 000000000..8c0da6e92 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteUsageDetailDataExportTaskResult : public ServiceResult + { + public: + + + DeleteUsageDetailDataExportTaskResult(); + explicit DeleteUsageDetailDataExportTaskResult(const std::string &payload); + ~DeleteUsageDetailDataExportTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h new file mode 100644 index 000000000..492b00065 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DeleteUserUsageDataExportTaskRequest : public RpcServiceRequest { +public: + DeleteUserUsageDataExportTaskRequest(); + ~DeleteUserUsageDataExportTaskRequest(); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string taskId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h new file mode 100644 index 000000000..dc6dbe9db --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DeleteUserUsageDataExportTaskResult : public ServiceResult + { + public: + + + DeleteUserUsageDataExportTaskResult(); + explicit DeleteUserUsageDataExportTaskResult(const std::string &payload); + ~DeleteUserUsageDataExportTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h new file mode 100644 index 000000000..45afb5a7c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupRequest : public RpcServiceRequest { +public: + DescribeActiveVersionOfConfigGroupRequest(); + ~DescribeActiveVersionOfConfigGroupRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getEnv() const; + void setEnv(const std::string &env); + std::string getConfigGroupId() const; + void setConfigGroupId(const std::string &configGroupId); + +private: + long ownerId_; + std::string env_; + std::string configGroupId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h new file mode 100644 index 000000000..ad0d0521c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupResult : public ServiceResult + { + public: + + + DescribeActiveVersionOfConfigGroupResult(); + explicit DescribeActiveVersionOfConfigGroupResult(const std::string &payload); + ~DescribeActiveVersionOfConfigGroupResult(); + std::string getStatus()const; + std::string getVersionId()const; + std::string getConfigGroupId()const; + std::string getBaseVersionId()const; + std::string getDescription()const; + std::string getCreateTime()const; + std::string getUpdateTime()const; + std::string get_Operator()const; + long getSeqId()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string versionId_; + std::string configGroupId_; + std::string baseVersionId_; + std::string description_; + std::string createTime_; + std::string updateTime_; + std::string _operator_; + long seqId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsRequest.h new file mode 100644 index 000000000..37ebb4b20 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeBlockedRegionsRequest : public RpcServiceRequest { +public: + DescribeBlockedRegionsRequest(); + ~DescribeBlockedRegionsRequest(); + std::string getLanguage() const; + void setLanguage(const std::string &language); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string language_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h new file mode 100644 index 000000000..f45d60dcf --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeBlockedRegionsResult : public ServiceResult + { + public: + struct InfoItem + { + std::string continent; + std::string countriesAndRegionsName; + std::string countriesAndRegions; + }; + + + DescribeBlockedRegionsResult(); + explicit DescribeBlockedRegionsResult(const std::string &payload); + ~DescribeBlockedRegionsResult(); + std::vector getInfoList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector infoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h new file mode 100644 index 000000000..bf4ba3fc4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateDetailRequest : public RpcServiceRequest { +public: + DescribeCdnCertificateDetailRequest(); + ~DescribeCdnCertificateDetailRequest(); + std::string getCertName() const; + void setCertName(const std::string &certName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string certName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h new file mode 100644 index 000000000..65a36fd80 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateDetailResult : public ServiceResult + { + public: + + + DescribeCdnCertificateDetailResult(); + explicit DescribeCdnCertificateDetailResult(const std::string &payload); + ~DescribeCdnCertificateDetailResult(); + long getCertId()const; + std::string getCertName()const; + std::string getCert()const; + std::string getKey()const; + + protected: + void parse(const std::string &payload); + private: + long certId_; + std::string certName_; + std::string cert_; + std::string key_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h new file mode 100644 index 000000000..d908eabe7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateListRequest : public RpcServiceRequest { +public: + DescribeCdnCertificateListRequest(); + ~DescribeCdnCertificateListRequest(); + 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); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h new file mode 100644 index 000000000..24587402c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateListResult : public ServiceResult + { + public: + struct CertificateListModel + { + struct Cert + { + std::string fingerprint; + std::string issuer; + long certId; + std::string certName; + long lastTime; + std::string common; + }; + std::vector certList; + int count; + }; + + + DescribeCdnCertificateListResult(); + explicit DescribeCdnCertificateListResult(const std::string &payload); + ~DescribeCdnCertificateListResult(); + CertificateListModel getCertificateListModel()const; + + protected: + void parse(const std::string &payload); + private: + CertificateListModel certificateListModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h new file mode 100644 index 000000000..1058f0cf1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeletedDomainsRequest : public RpcServiceRequest { +public: + DescribeCdnDeletedDomainsRequest(); + ~DescribeCdnDeletedDomainsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNumber_; + int pageSize_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h new file mode 100644 index 000000000..3fc163740 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeletedDomainsResult : public ServiceResult + { + public: + struct PageData + { + std::string domainName; + std::string gmtModified; + }; + + + DescribeCdnDeletedDomainsResult(); + explicit DescribeCdnDeletedDomainsResult(const std::string &payload); + ~DescribeCdnDeletedDomainsResult(); + std::vector getDomains()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + long totalCount_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h new file mode 100644 index 000000000..d50083720 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeliverListRequest : public RpcServiceRequest { +public: + DescribeCdnDeliverListRequest(); + ~DescribeCdnDeliverListRequest(); + long getDeliverId() const; + void setDeliverId(long deliverId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long deliverId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h new file mode 100644 index 000000000..a987447c7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeliverListResult : public ServiceResult + { + public: + + + DescribeCdnDeliverListResult(); + explicit DescribeCdnDeliverListResult(const std::string &payload); + ~DescribeCdnDeliverListResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h new file mode 100644 index 000000000..dd7ac9251 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainByCertificateRequest : public RpcServiceRequest { +public: + DescribeCdnDomainByCertificateRequest(); + ~DescribeCdnDomainByCertificateRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + +private: + long ownerId_; + std::string sSLPub_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h new file mode 100644 index 000000000..06de0aa47 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainByCertificateResult : public ServiceResult + { + public: + struct CertInfo + { + std::string certExpired; + std::string certSubjectCommonName; + std::string issuer; + std::string certCaIsLegacy; + std::string certType; + std::string certExpireTime; + std::string domainList; + std::string certStartTime; + std::string domainNames; + }; + + + DescribeCdnDomainByCertificateResult(); + explicit DescribeCdnDomainByCertificateResult(const std::string &payload); + ~DescribeCdnDomainByCertificateResult(); + std::vector getCertInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h new file mode 100644 index 000000000..17112a639 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainConfigsRequest : public RpcServiceRequest { +public: + DescribeCdnDomainConfigsRequest(); + ~DescribeCdnDomainConfigsRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + 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 functionNames_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h new file mode 100644 index 000000000..2343ea920 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainConfigsResult : public ServiceResult + { + public: + struct DomainConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string parentId; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeCdnDomainConfigsResult(); + explicit DescribeCdnDomainConfigsResult(const std::string &payload); + ~DescribeCdnDomainConfigsResult(); + std::vector getDomainConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h new file mode 100644 index 000000000..730357235 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainStagingConfigRequest : public RpcServiceRequest { +public: + DescribeCdnDomainStagingConfigRequest(); + ~DescribeCdnDomainStagingConfigRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h new file mode 100644 index 000000000..ccdc6baa3 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainStagingConfigResult : public ServiceResult + { + public: + struct DomainConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string parentId; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeCdnDomainStagingConfigResult(); + explicit DescribeCdnDomainStagingConfigResult(const std::string &payload); + ~DescribeCdnDomainStagingConfigResult(); + std::string getDomainName()const; + std::vector getDomainConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::vector domainConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListRequest.h new file mode 100644 index 000000000..959187017 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnHttpsDomainListRequest : public RpcServiceRequest { +public: + DescribeCdnHttpsDomainListRequest(); + ~DescribeCdnHttpsDomainListRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNumber_; + int pageSize_; + std::string keyword_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h new file mode 100644 index 000000000..75491c3fa --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnHttpsDomainListResult : public ServiceResult + { + public: + struct CertInfo + { + std::string certUpdateTime; + std::string certStatus; + std::string domainName; + std::string certType; + std::string certCommonName; + std::string certExpireTime; + std::string certName; + std::string certStartTime; + }; + + + DescribeCdnHttpsDomainListResult(); + explicit DescribeCdnHttpsDomainListResult(const std::string &payload); + ~DescribeCdnHttpsDomainListResult(); + std::vector getCertInfos()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeRequest.h new file mode 100644 index 000000000..9bd49e0c1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNORDERCOMMODITYCODEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNORDERCOMMODITYCODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnOrderCommodityCodeRequest : public RpcServiceRequest { +public: + DescribeCdnOrderCommodityCodeRequest(); + ~DescribeCdnOrderCommodityCodeRequest(); + std::string getCommodityCode() const; + void setCommodityCode(const std::string &commodityCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string commodityCode_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNORDERCOMMODITYCODEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeResult.h new file mode 100644 index 000000000..533836bd1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnOrderCommodityCodeResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNORDERCOMMODITYCODERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNORDERCOMMODITYCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnOrderCommodityCodeResult : public ServiceResult + { + public: + + + DescribeCdnOrderCommodityCodeResult(); + explicit DescribeCdnOrderCommodityCodeResult(const std::string &payload); + ~DescribeCdnOrderCommodityCodeResult(); + std::string getOrderCommodityCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string orderCommodityCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNORDERCOMMODITYCODERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h new file mode 100644 index 000000000..238b182fb --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnRegionAndIspRequest : public RpcServiceRequest { +public: + DescribeCdnRegionAndIspRequest(); + ~DescribeCdnRegionAndIspRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h new file mode 100644 index 000000000..6cfcb1ed6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnRegionAndIspResult : public ServiceResult + { + public: + struct Region + { + std::string nameEn; + std::string nameZh; + }; + struct Isp + { + std::string nameEn; + std::string nameZh; + }; + + + DescribeCdnRegionAndIspResult(); + explicit DescribeCdnRegionAndIspResult(const std::string &payload); + ~DescribeCdnRegionAndIspResult(); + std::vector getRegions()const; + std::vector getIsps()const; + + protected: + void parse(const std::string &payload); + private: + std::vector regions_; + std::vector isps_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h new file mode 100644 index 000000000..82e85d7c6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportListRequest : public RpcServiceRequest { +public: + DescribeCdnReportListRequest(); + ~DescribeCdnReportListRequest(); + long getReportId() const; + void setReportId(long reportId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long reportId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h new file mode 100644 index 000000000..973507d8c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportListResult : public ServiceResult + { + public: + + + DescribeCdnReportListResult(); + explicit DescribeCdnReportListResult(const std::string &payload); + ~DescribeCdnReportListResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h new file mode 100644 index 000000000..7c82d112a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportRequest : public RpcServiceRequest { +public: + DescribeCdnReportRequest(); + ~DescribeCdnReportRequest(); + long getReportId() const; + void setReportId(long reportId); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getArea() const; + void setArea(const std::string &area); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getHttpCode() const; + void setHttpCode(const std::string &httpCode); + std::string getIsOverseas() const; + void setIsOverseas(const std::string &isOverseas); + +private: + long reportId_; + std::string startTime_; + std::string area_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string httpCode_; + std::string isOverseas_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h new file mode 100644 index 000000000..d9cac47cf --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportResult : public ServiceResult + { + public: + + + DescribeCdnReportResult(); + explicit DescribeCdnReportResult(const std::string &payload); + ~DescribeCdnReportResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailRequest.h new file mode 100644 index 000000000..792081269 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnSMCertificateDetailRequest : public RpcServiceRequest { +public: + DescribeCdnSMCertificateDetailRequest(); + ~DescribeCdnSMCertificateDetailRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + +private: + long ownerId_; + std::string securityToken_; + std::string certIdentifier_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h new file mode 100644 index 000000000..bd7d6f90b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnSMCertificateDetailResult : public ServiceResult + { + public: + + + DescribeCdnSMCertificateDetailResult(); + explicit DescribeCdnSMCertificateDetailResult(const std::string &payload); + ~DescribeCdnSMCertificateDetailResult(); + std::string getSans()const; + std::string getCertOrg()const; + std::string getCertIdentifier()const; + std::string getCertExpireTime()const; + std::string getSignCertificate()const; + std::string getCertName()const; + std::string getEncryptCertificate()const; + std::string getCommonName()const; + + protected: + void parse(const std::string &payload); + private: + std::string sans_; + std::string certOrg_; + std::string certIdentifier_; + std::string certExpireTime_; + std::string signCertificate_; + std::string certName_; + std::string encryptCertificate_; + std::string commonName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListRequest.h new file mode 100644 index 000000000..82dd83a93 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnSMCertificateListRequest : public RpcServiceRequest { +public: + DescribeCdnSMCertificateListRequest(); + ~DescribeCdnSMCertificateListRequest(); + 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); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h new file mode 100644 index 000000000..b8c99162b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnSMCertificateListResult : public ServiceResult + { + public: + struct CertificateListModel + { + struct Cert + { + std::string issuer; + std::string certIdentifier; + std::string certName; + std::string common; + }; + std::vector certList; + int count; + }; + + + DescribeCdnSMCertificateListResult(); + explicit DescribeCdnSMCertificateListResult(const std::string &payload); + ~DescribeCdnSMCertificateListResult(); + CertificateListModel getCertificateListModel()const; + + protected: + void parse(const std::string &payload); + private: + CertificateListModel certificateListModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h new file mode 100644 index 000000000..e701c5f4b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnSubListRequest : public RpcServiceRequest { +public: + DescribeCdnSubListRequest(); + ~DescribeCdnSubListRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h new file mode 100644 index 000000000..12d080b74 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnSubListResult : public ServiceResult + { + public: + + + DescribeCdnSubListResult(); + explicit DescribeCdnSubListResult(const std::string &payload); + ~DescribeCdnSubListResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h new file mode 100644 index 000000000..341d11fa6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillHistoryRequest : public RpcServiceRequest { +public: + DescribeCdnUserBillHistoryRequest(); + ~DescribeCdnUserBillHistoryRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h new file mode 100644 index 000000000..9dff0263d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillHistoryResult : public ServiceResult + { + public: + struct BillHistoryDataItem + { + struct BillingDataItem + { + std::string chargeType; + float bandwidth; + std::string cdnRegion; + float count; + float flow; + }; + std::string billType; + std::string billTime; + std::vector billingData; + std::string dimension; + }; + + + DescribeCdnUserBillHistoryResult(); + explicit DescribeCdnUserBillHistoryResult(const std::string &payload); + ~DescribeCdnUserBillHistoryResult(); + std::vector getBillHistoryData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector billHistoryData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h new file mode 100644 index 000000000..6c5ca92bd --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillPredictionRequest : public RpcServiceRequest { +public: + DescribeCdnUserBillPredictionRequest(); + ~DescribeCdnUserBillPredictionRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDimension() const; + void setDimension(const std::string &dimension); + std::string getArea() const; + void setArea(const std::string &area); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + std::string dimension_; + std::string area_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h new file mode 100644 index 000000000..62c65a591 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillPredictionResult : public ServiceResult + { + public: + struct BillPredictionDataItem + { + std::string area; + std::string timeStp; + float value; + }; + + + DescribeCdnUserBillPredictionResult(); + explicit DescribeCdnUserBillPredictionResult(const std::string &payload); + ~DescribeCdnUserBillPredictionResult(); + std::string getBillType()const; + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getBillPredictionData()const; + + protected: + void parse(const std::string &payload); + private: + std::string billType_; + std::string endTime_; + std::string startTime_; + std::vector billPredictionData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h new file mode 100644 index 000000000..85e4b2535 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeRequest : public RpcServiceRequest { +public: + DescribeCdnUserBillTypeRequest(); + ~DescribeCdnUserBillTypeRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h new file mode 100644 index 000000000..070294424 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeResult : public ServiceResult + { + public: + struct BillTypeDataItem + { + std::string billType; + std::string billingCycle; + std::string endTime; + std::string startTime; + std::string product; + std::string dimension; + }; + + + DescribeCdnUserBillTypeResult(); + explicit DescribeCdnUserBillTypeResult(const std::string &payload); + ~DescribeCdnUserBillTypeResult(); + std::vector getBillTypeData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector billTypeData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h new file mode 100644 index 000000000..3d94ccc2b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsRequest : public RpcServiceRequest { +public: + DescribeCdnUserConfigsRequest(); + ~DescribeCdnUserConfigsRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functionName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h new file mode 100644 index 000000000..1a37fbf26 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsResult : public ServiceResult + { + public: + struct Config + { + std::string functionName; + std::string argValue; + std::string argName; + }; + + + DescribeCdnUserConfigsResult(); + explicit DescribeCdnUserConfigsResult(const std::string &payload); + ~DescribeCdnUserConfigsResult(); + std::vector getConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector configs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h new file mode 100644 index 000000000..d75c731f4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserDomainsByFuncRequest : public RpcServiceRequest { +public: + DescribeCdnUserDomainsByFuncRequest(); + ~DescribeCdnUserDomainsByFuncRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getFuncId() const; + void setFuncId(int funcId); + +private: + int pageNumber_; + std::string resourceGroupId_; + int pageSize_; + long ownerId_; + int funcId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h new file mode 100644 index 000000000..ff8bda021 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserDomainsByFuncResult : public ServiceResult + { + public: + struct PageData + { + struct Source + { + std::string type; + std::string priority; + std::string content; + int port; + std::string weight; + }; + std::string sslProtocol; + std::string description; + std::string resourceGroupId; + std::string domainName; + std::string gmtModified; + std::string gmtCreated; + std::string cdnType; + std::vector sources; + std::string cname; + std::string domainStatus; + }; + + + DescribeCdnUserDomainsByFuncResult(); + explicit DescribeCdnUserDomainsByFuncResult(const std::string &payload); + ~DescribeCdnUserDomainsByFuncResult(); + std::vector getDomains()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + long totalCount_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h new file mode 100644 index 000000000..f458559d2 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserQuotaRequest : public RpcServiceRequest { +public: + DescribeCdnUserQuotaRequest(); + ~DescribeCdnUserQuotaRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h new file mode 100644 index 000000000..8be3cce9b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserQuotaResult : public ServiceResult + { + public: + + + DescribeCdnUserQuotaResult(); + explicit DescribeCdnUserQuotaResult(const std::string &payload); + ~DescribeCdnUserQuotaResult(); + int getRefreshUrlQuota()const; + int getBlockRemain()const; + int getPreloadRemain()const; + int getRefreshDirRemain()const; + int getBlockQuota()const; + int getRefreshDirQuota()const; + int getDomainQuota()const; + int getRefreshUrlRemain()const; + int getPreloadQuota()const; + + protected: + void parse(const std::string &payload); + private: + int refreshUrlQuota_; + int blockRemain_; + int preloadRemain_; + int refreshDirRemain_; + int blockQuota_; + int refreshDirQuota_; + int domainQuota_; + int refreshUrlRemain_; + int preloadQuota_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h new file mode 100644 index 000000000..893b019ff --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserResourcePackageRequest : public RpcServiceRequest { +public: + DescribeCdnUserResourcePackageRequest(); + ~DescribeCdnUserResourcePackageRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string securityToken_; + long ownerId_; + std::string status_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h new file mode 100644 index 000000000..74154e22c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserResourcePackageResult : public ServiceResult + { + public: + struct ResourcePackageInfo + { + std::string status; + std::string endTime; + std::string initCapacity; + std::string instanceId; + std::string displayName; + std::string startTime; + std::string commodityCode; + std::string templateName; + std::string currCapacity; + }; + + + DescribeCdnUserResourcePackageResult(); + explicit DescribeCdnUserResourcePackageResult(const std::string &payload); + ~DescribeCdnUserResourcePackageResult(); + std::vector getResourcePackageInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector resourcePackageInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h new file mode 100644 index 000000000..cd1de80b5 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnWafDomainRequest : public RpcServiceRequest { +public: + DescribeCdnWafDomainRequest(); + ~DescribeCdnWafDomainRequest(); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string resourceGroupId_; + std::string regionId_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h new file mode 100644 index 000000000..578cbb26b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCdnWafDomainResult : public ServiceResult + { + public: + struct OutPutDomain + { + std::string status; + std::string aclStatus; + std::string ccStatus; + std::string domain; + std::string wafStatus; + }; + + + DescribeCdnWafDomainResult(); + explicit DescribeCdnWafDomainResult(const std::string &payload); + ~DescribeCdnWafDomainResult(); + int getTotalCount()const; + std::vector getOutPutDomains()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector outPutDomains_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h new file mode 100644 index 000000000..d3fb175e4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCertificateInfoByIDRequest : public RpcServiceRequest { +public: + DescribeCertificateInfoByIDRequest(); + ~DescribeCertificateInfoByIDRequest(); + std::string getCertId() const; + void setCertId(const std::string &certId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string certId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h new file mode 100644 index 000000000..88c74620a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCertificateInfoByIDResult : public ServiceResult + { + public: + struct CertInfo + { + std::string httpsCrt; + std::string certId; + std::string createTime; + std::string certType; + std::string certExpireTime; + std::string certName; + std::string domainList; + }; + + + DescribeCertificateInfoByIDResult(); + explicit DescribeCertificateInfoByIDResult(const std::string &payload); + ~DescribeCertificateInfoByIDResult(); + std::vector getCertInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailRequest.h new file mode 100644 index 000000000..60bc8c367 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeConfigGroupDetailRequest : public RpcServiceRequest { +public: + DescribeConfigGroupDetailRequest(); + ~DescribeConfigGroupDetailRequest(); + std::string getConfigGroupName() const; + void setConfigGroupName(const std::string &configGroupName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigGroupId() const; + void setConfigGroupId(const std::string &configGroupId); + +private: + std::string configGroupName_; + long ownerId_; + std::string configGroupId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h new file mode 100644 index 000000000..7e15ae670 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeConfigGroupDetailResult : public ServiceResult + { + public: + + + DescribeConfigGroupDetailResult(); + explicit DescribeConfigGroupDetailResult(const std::string &payload); + ~DescribeConfigGroupDetailResult(); + std::string getConfigGroupId()const; + std::string getDescription()const; + std::string getCreateTime()const; + std::string getUpdateTime()const; + std::string getConfigGroupName()const; + std::string getBizName()const; + + protected: + void parse(const std::string &payload); + private: + std::string configGroupId_; + std::string description_; + std::string createTime_; + std::string updateTime_; + std::string configGroupName_; + std::string bizName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h new file mode 100644 index 000000000..d28e7d691 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeConfigOfVersionRequest : public RpcServiceRequest { +public: + DescribeConfigOfVersionRequest(); + ~DescribeConfigOfVersionRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h b/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h new file mode 100644 index 000000000..04386f2b3 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeConfigOfVersionResult : public ServiceResult + { + public: + struct VersionConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeConfigOfVersionResult(); + explicit DescribeConfigOfVersionResult(const std::string &payload); + ~DescribeConfigOfVersionResult(); + std::vector getVersionConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector versionConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h new file mode 100644 index 000000000..af57e2c8a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCustomLogConfigRequest : public RpcServiceRequest { +public: + DescribeCustomLogConfigRequest(); + ~DescribeCustomLogConfigRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h new file mode 100644 index 000000000..5351fc423 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeCustomLogConfigResult : public ServiceResult + { + public: + + + DescribeCustomLogConfigResult(); + explicit DescribeCustomLogConfigResult(const std::string &payload); + ~DescribeCustomLogConfigResult(); + std::string getSample()const; + std::string getTag()const; + std::string getRemark()const; + + protected: + void parse(const std::string &payload); + private: + std::string sample_; + std::string tag_; + std::string remark_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h new file mode 100644 index 000000000..39c3c72ce --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainAverageResponseTimeRequest : public RpcServiceRequest { +public: + DescribeDomainAverageResponseTimeRequest(); + ~DescribeDomainAverageResponseTimeRequest(); + 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 getDomainType() const; + void setDomainType(const std::string &domainType); + std::string getTimeMerge() const; + void setTimeMerge(const std::string &timeMerge); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainType_; + std::string timeMerge_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h new file mode 100644 index 000000000..b4fb281a9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainAverageResponseTimeResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainAverageResponseTimeResult(); + explicit DescribeDomainAverageResponseTimeResult(const std::string &payload); + ~DescribeDomainAverageResponseTimeResult(); + std::vector getAvgRTPerInterval()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector avgRTPerInterval_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerRequest.h new file mode 100644 index 000000000..c537ed596 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDomainBpsDataByLayerRequest(); + ~DescribeDomainBpsDataByLayerRequest(); + 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 getLayer() const; + void setLayer(const std::string &layer); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h new file mode 100644 index 000000000..b7ee9f07b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string trafficValue; + std::string timeStamp; + }; + + + DescribeDomainBpsDataByLayerResult(); + explicit DescribeDomainBpsDataByLayerResult(const std::string &payload); + ~DescribeDomainBpsDataByLayerResult(); + std::vector getBpsDataInterval()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector bpsDataInterval_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h new file mode 100644 index 000000000..7d99551d7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainCcActivityLogRequest : public RpcServiceRequest { +public: + DescribeDomainCcActivityLogRequest(); + ~DescribeDomainCcActivityLogRequest(); + std::string getRuleName() const; + void setRuleName(const std::string &ruleName); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getTriggerObject() const; + void setTriggerObject(const std::string &triggerObject); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getValue() const; + void setValue(const std::string &value); + 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 ruleName_; + std::string startTime_; + std::string triggerObject_; + long pageNumber_; + long pageSize_; + std::string value_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h new file mode 100644 index 000000000..c38acefa1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainCcActivityLogResult : public ServiceResult + { + public: + struct LogInfo + { + std::string action; + std::string domainName; + std::string value; + std::string triggerObject; + long ttl; + std::string timeStamp; + std::string ruleName; + }; + + + DescribeDomainCcActivityLogResult(); + explicit DescribeDomainCcActivityLogResult(const std::string &payload); + ~DescribeDomainCcActivityLogResult(); + long getPageSize()const; + long getTotal()const; + std::vector getActivityLog()const; + long getPageIndex()const; + + protected: + void parse(const std::string &payload); + private: + long pageSize_; + long total_; + std::vector activityLog_; + long pageIndex_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h new file mode 100644 index 000000000..0839d2e12 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainCertificateInfoRequest : public RpcServiceRequest { +public: + DescribeDomainCertificateInfoRequest(); + ~DescribeDomainCertificateInfoRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h new file mode 100644 index 000000000..5197846d0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFORESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainCertificateInfoResult : public ServiceResult + { + public: + struct CertInfo + { + std::string status; + std::string domainName; + std::string certType; + std::string certStartTime; + std::string serverCertificateStatus; + std::string serverCertificate; + std::string certUpdateTime; + std::string certLife; + std::string certDomainName; + std::string certOrg; + std::string certExpireTime; + std::string domainCnameStatus; + std::string certName; + }; + + + DescribeDomainCertificateInfoResult(); + explicit DescribeDomainCertificateInfoResult(const std::string &payload); + ~DescribeDomainCertificateInfoResult(); + std::vector getCertInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFORESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h new file mode 100644 index 000000000..badf1217f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainCustomLogConfigRequest : public RpcServiceRequest { +public: + DescribeDomainCustomLogConfigRequest(); + ~DescribeDomainCustomLogConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h new file mode 100644 index 000000000..d04d3f448 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainCustomLogConfigResult : public ServiceResult + { + public: + + + DescribeDomainCustomLogConfigResult(); + explicit DescribeDomainCustomLogConfigResult(const std::string &payload); + ~DescribeDomainCustomLogConfigResult(); + std::string getSample()const; + std::string getConfigId()const; + std::string getTag()const; + std::string getRemark()const; + + protected: + void parse(const std::string &payload); + private: + std::string sample_; + std::string configId_; + std::string tag_; + std::string remark_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h new file mode 100644 index 000000000..5ac6c41c7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDomainDetailDataByLayerRequest(); + ~DescribeDomainDetailDataByLayerRequest(); + 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 getLayer() const; + void setLayer(const std::string &layer); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getField() const; + void setField(const std::string &field); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string field_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h new file mode 100644 index 000000000..c2d0cb831 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + float ipv6Bps; + long acc; + std::string httpCode; + float ipv6Qps; + long traf; + long ipv6Acc; + float bps; + float qps; + std::string domainName; + long ipv6Traf; + std::string timeStamp; + }; + + + DescribeDomainDetailDataByLayerResult(); + explicit DescribeDomainDetailDataByLayerResult(const std::string &payload); + ~DescribeDomainDetailDataByLayerResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h new file mode 100644 index 000000000..9c33cc3dc --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpCodeDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDomainHttpCodeDataByLayerRequest(); + ~DescribeDomainHttpCodeDataByLayerRequest(); + 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 getLayer() const; + void setLayer(const std::string &layer); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h new file mode 100644 index 000000000..6606dd371 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpCodeDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + std::string totalValue; + std::string value; + std::string timeStamp; + }; + + + DescribeDomainHttpCodeDataByLayerResult(); + explicit DescribeDomainHttpCodeDataByLayerResult(const std::string &payload); + ~DescribeDomainHttpCodeDataByLayerResult(); + std::string getDataInterval()const; + std::vector getHttpCodeDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string dataInterval_; + std::vector httpCodeDataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h new file mode 100644 index 000000000..a3ca6915f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainMax95BpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainMax95BpsDataRequest(); + ~DescribeDomainMax95BpsDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getCycle() const; + void setCycle(const std::string &cycle); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTimePoint() const; + void setTimePoint(const std::string &timePoint); + +private: + std::string startTime_; + std::string cycle_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string timePoint_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h new file mode 100644 index 000000000..5eff6f659 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainMax95BpsDataResult : public ServiceResult + { + public: + + + DescribeDomainMax95BpsDataResult(); + explicit DescribeDomainMax95BpsDataResult(const std::string &payload); + ~DescribeDomainMax95BpsDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDomesticMax95Bps()const; + std::string getMax95Bps()const; + std::string getOverseasMax95Bps()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string domesticMax95Bps_; + std::string max95Bps_; + std::string overseasMax95Bps_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h new file mode 100644 index 000000000..1dc304c7a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainMultiUsageDataRequest : public RpcServiceRequest { +public: + DescribeDomainMultiUsageDataRequest(); + ~DescribeDomainMultiUsageDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h new file mode 100644 index 000000000..a24604599 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainMultiUsageDataResult : 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; + }; + + + DescribeDomainMultiUsageDataResult(); + explicit DescribeDomainMultiUsageDataResult(const std::string &payload); + ~DescribeDomainMultiUsageDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getRequestPerInterval()const; + std::vector getTrafficPerInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector requestPerInterval_; + std::vector trafficPerInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h new file mode 100644 index 000000000..f3bf7893a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionRequest : public RpcServiceRequest { +public: + DescribeDomainNamesOfVersionRequest(); + ~DescribeDomainNamesOfVersionRequest(); + std::string getVersionId() const; + void setVersionId(const std::string &versionId); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + int getPageIndex() const; + void setPageIndex(int pageIndex); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string versionId_; + std::string pageSize_; + int pageIndex_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h new file mode 100644 index 000000000..e7206a031 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionResult : public ServiceResult + { + public: + struct Content + { + std::string domainId; + std::string domainName; + }; + + + DescribeDomainNamesOfVersionResult(); + explicit DescribeDomainNamesOfVersionResult(const std::string &payload); + ~DescribeDomainNamesOfVersionResult(); + int getTotalCount()const; + std::vector getContents()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector contents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h new file mode 100644 index 000000000..1dd600c85 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainPathDataRequest : public RpcServiceRequest { +public: + DescribeDomainPathDataRequest(); + ~DescribeDomainPathDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getPath() const; + void setPath(const std::string &path); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + int pageNumber_; + std::string path_; + int pageSize_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h new file mode 100644 index 000000000..ae7f0e290 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainPathDataResult : public ServiceResult + { + public: + struct UsageData + { + std::string path; + int acc; + int traffic; + std::string time; + }; + + + DescribeDomainPathDataResult(); + explicit DescribeDomainPathDataResult(const std::string &payload); + ~DescribeDomainPathDataResult(); + int getTotalCount()const; + std::string getEndTime()const; + int getPageSize()const; + int getPageNumber()const; + std::string getDomainName()const; + std::vector getPathDataPerInterval()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::string endTime_; + int pageSize_; + int pageNumber_; + std::string domainName_; + std::vector pathDataPerInterval_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h new file mode 100644 index 000000000..400e4a06f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainPvDataRequest : public RpcServiceRequest { +public: + DescribeDomainPvDataRequest(); + ~DescribeDomainPvDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h new file mode 100644 index 000000000..29e61a379 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainPvDataResult : public ServiceResult + { + public: + struct UsageData + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainPvDataResult(); + explicit DescribeDomainPvDataResult(const std::string &payload); + ~DescribeDomainPvDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getPvDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector pvDataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerRequest.h new file mode 100644 index 000000000..828e458b6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainQpsDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDomainQpsDataByLayerRequest(); + ~DescribeDomainQpsDataByLayerRequest(); + 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 getLayer() const; + void setLayer(const std::string &layer); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h new file mode 100644 index 000000000..e45222650 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainQpsDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + std::string overseasValue; + std::string accDomesticValue; + std::string value; + std::string accOverseasValue; + std::string accValue; + std::string timeStamp; + std::string domesticValue; + }; + + + DescribeDomainQpsDataByLayerResult(); + explicit DescribeDomainQpsDataByLayerResult(const std::string &payload); + ~DescribeDomainQpsDataByLayerResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getQpsDataInterval()const; + std::string getLayer()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector qpsDataInterval_; + std::string layer_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h new file mode 100644 index 000000000..ca28425c8 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeBpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeBpsDataRequest(); + ~DescribeDomainRealTimeBpsDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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 locationNameEn_; + std::string ispNameEn_; + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h new file mode 100644 index 000000000..5b5bd8eb1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeBpsDataResult : public ServiceResult + { + public: + struct BpsModel + { + float bps; + std::string timeStamp; + }; + + + DescribeDomainRealTimeBpsDataResult(); + explicit DescribeDomainRealTimeBpsDataResult(const std::string &payload); + ~DescribeDomainRealTimeBpsDataResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h new file mode 100644 index 000000000..597cfb80d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeByteHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeByteHitRateDataRequest(); + ~DescribeDomainRealTimeByteHitRateDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h new file mode 100644 index 000000000..1ab4e1ef3 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeByteHitRateDataResult : public ServiceResult + { + public: + struct ByteHitRateDataModel + { + float byteHitRate; + std::string timeStamp; + }; + + + DescribeDomainRealTimeByteHitRateDataResult(); + explicit DescribeDomainRealTimeByteHitRateDataResult(const std::string &payload); + ~DescribeDomainRealTimeByteHitRateDataResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h new file mode 100644 index 000000000..79272a8ce --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeDetailDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeDetailDataRequest(); + ~DescribeDomainRealTimeDetailDataRequest(); + 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 getMerge() const; + void setMerge(const std::string &merge); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getMergeLocIsp() const; + void setMergeLocIsp(const std::string &mergeLocIsp); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getField() const; + void setField(const std::string &field); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string merge_; + std::string domainName_; + std::string endTime_; + std::string mergeLocIsp_; + long ownerId_; + std::string field_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h new file mode 100644 index 000000000..701c1d716 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeDetailDataResult : public ServiceResult + { + public: + + + DescribeDomainRealTimeDetailDataResult(); + explicit DescribeDomainRealTimeDetailDataResult(const std::string &payload); + ~DescribeDomainRealTimeDetailDataResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h new file mode 100644 index 000000000..3003067ba --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeHttpCodeDataRequest(); + ~DescribeDomainRealTimeHttpCodeDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h new file mode 100644 index 000000000..5d3ebf874 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeHttpCodeDataResult : public ServiceResult + { + public: + struct UsageData + { + struct RealTimeCodeProportionData + { + std::string proportion; + std::string count; + std::string code; + }; + std::vector value; + std::string timeStamp; + }; + + + DescribeDomainRealTimeHttpCodeDataResult(); + explicit DescribeDomainRealTimeHttpCodeDataResult(const std::string &payload); + ~DescribeDomainRealTimeHttpCodeDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getRealTimeHttpCodeData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector realTimeHttpCodeData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h new file mode 100644 index 000000000..7ad930d4b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeQpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeQpsDataRequest(); + ~DescribeDomainRealTimeQpsDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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 locationNameEn_; + std::string ispNameEn_; + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h new file mode 100644 index 000000000..60c893548 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeQpsDataResult : public ServiceResult + { + public: + struct QpsModel + { + float qps; + std::string timeStamp; + }; + + + DescribeDomainRealTimeQpsDataResult(); + explicit DescribeDomainRealTimeQpsDataResult(const std::string &payload); + ~DescribeDomainRealTimeQpsDataResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h new file mode 100644 index 000000000..1015430c1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeReqHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeReqHitRateDataRequest(); + ~DescribeDomainRealTimeReqHitRateDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h new file mode 100644 index 000000000..5629579a2 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeReqHitRateDataResult : public ServiceResult + { + public: + struct ReqHitRateDataModel + { + float reqHitRate; + std::string timeStamp; + }; + + + DescribeDomainRealTimeReqHitRateDataResult(); + explicit DescribeDomainRealTimeReqHitRateDataResult(const std::string &payload); + ~DescribeDomainRealTimeReqHitRateDataResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h new file mode 100644 index 000000000..052df0268 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcBpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeSrcBpsDataRequest(); + ~DescribeDomainRealTimeSrcBpsDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h new file mode 100644 index 000000000..74cc17c62 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcBpsDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainRealTimeSrcBpsDataResult(); + explicit DescribeDomainRealTimeSrcBpsDataResult(const std::string &payload); + ~DescribeDomainRealTimeSrcBpsDataResult(); + std::string getEndTime()const; + std::vector getRealTimeSrcBpsDataPerInterval()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::vector realTimeSrcBpsDataPerInterval_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h new file mode 100644 index 000000000..7be03b582 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeSrcHttpCodeDataRequest(); + ~DescribeDomainRealTimeSrcHttpCodeDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h new file mode 100644 index 000000000..fbdff9ee0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcHttpCodeDataResult : public ServiceResult + { + public: + struct UsageData + { + struct RealTimeSrcCodeProportionData + { + std::string proportion; + std::string count; + std::string code; + }; + std::vector value; + std::string timeStamp; + }; + + + DescribeDomainRealTimeSrcHttpCodeDataResult(); + explicit DescribeDomainRealTimeSrcHttpCodeDataResult(const std::string &payload); + ~DescribeDomainRealTimeSrcHttpCodeDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getRealTimeSrcHttpCodeData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector realTimeSrcHttpCodeData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h new file mode 100644 index 000000000..44219bbab --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeSrcTrafficDataRequest(); + ~DescribeDomainRealTimeSrcTrafficDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h new file mode 100644 index 000000000..c0d8ce147 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcTrafficDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainRealTimeSrcTrafficDataResult(); + explicit DescribeDomainRealTimeSrcTrafficDataResult(const std::string &payload); + ~DescribeDomainRealTimeSrcTrafficDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getRealTimeSrcTrafficDataPerInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector realTimeSrcTrafficDataPerInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h new file mode 100644 index 000000000..ff2791dae --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDomainRealTimeTrafficDataRequest(); + ~DescribeDomainRealTimeTrafficDataRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h new file mode 100644 index 000000000..a4accf476 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeTrafficDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainRealTimeTrafficDataResult(); + explicit DescribeDomainRealTimeTrafficDataResult(const std::string &payload); + ~DescribeDomainRealTimeTrafficDataResult(); + std::string getEndTime()const; + std::vector getRealTimeTrafficDataPerInterval()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::vector realTimeTrafficDataPerInterval_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..aeda98c74 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DescribeDomainRealtimeLogDeliveryRequest(); + ~DescribeDomainRealtimeLogDeliveryRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..cec1f1c2e --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealtimeLogDeliveryResult : public ServiceResult + { + public: + + + DescribeDomainRealtimeLogDeliveryResult(); + explicit DescribeDomainRealtimeLogDeliveryResult(const std::string &payload); + ~DescribeDomainRealtimeLogDeliveryResult(); + std::string getStatus()const; + std::string getProject()const; + std::string getLogstore()const; + std::string getRegion()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string project_; + std::string logstore_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h new file mode 100644 index 000000000..205c406fb --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDomainSrcHttpCodeDataRequest(); + ~DescribeDomainSrcHttpCodeDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h new file mode 100644 index 000000000..f5ca587d7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcHttpCodeDataResult : public ServiceResult + { + public: + struct UsageData + { + struct CodeProportionData + { + std::string proportion; + std::string count; + std::string code; + }; + std::vector value; + std::string timeStamp; + }; + + + DescribeDomainSrcHttpCodeDataResult(); + explicit DescribeDomainSrcHttpCodeDataResult(const std::string &payload); + ~DescribeDomainSrcHttpCodeDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getHttpCodeData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector httpCodeData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataRequest.h new file mode 100644 index 000000000..cbb00c209 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcQpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainSrcQpsDataRequest(); + ~DescribeDomainSrcQpsDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h new file mode 100644 index 000000000..754579293 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcQpsDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainSrcQpsDataResult(); + explicit DescribeDomainSrcQpsDataResult(const std::string &payload); + ~DescribeDomainSrcQpsDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getSrcQpsDataPerInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector srcQpsDataPerInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h new file mode 100644 index 000000000..b771eadf5 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcTopUrlVisitRequest : public RpcServiceRequest { +public: + DescribeDomainSrcTopUrlVisitRequest(); + ~DescribeDomainSrcTopUrlVisitRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h new file mode 100644 index 000000000..668b8a2d4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcTopUrlVisitResult : public ServiceResult + { + public: + struct UrlList + { + std::string visitData; + float visitProportion; + float flowProportion; + std::string urlDetail; + std::string flow; + }; + + + DescribeDomainSrcTopUrlVisitResult(); + explicit DescribeDomainSrcTopUrlVisitResult(const std::string &payload); + ~DescribeDomainSrcTopUrlVisitResult(); + std::vector getUrl200List()const; + std::vector getUrl500List()const; + std::vector getUrl400List()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::vector getUrl300List()const; + std::vector getAllUrlList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector url200List_; + std::vector url500List_; + std::vector url400List_; + std::string domainName_; + std::string startTime_; + std::vector url300List_; + std::vector allUrlList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h new file mode 100644 index 000000000..55e8634c0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDomainSrcTrafficDataRequest(); + ~DescribeDomainSrcTrafficDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h new file mode 100644 index 000000000..e29f401cc --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcTrafficDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string httpsValue; + std::string value; + std::string timeStamp; + }; + + + DescribeDomainSrcTrafficDataResult(); + explicit DescribeDomainSrcTrafficDataResult(const std::string &payload); + ~DescribeDomainSrcTrafficDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getSrcTrafficDataPerInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector srcTrafficDataPerInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h new file mode 100644 index 000000000..0afac2fe0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopClientIpVisitRequest : public RpcServiceRequest { +public: + DescribeDomainTopClientIpVisitRequest(); + ~DescribeDomainTopClientIpVisitRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getLimit() const; + void setLimit(const std::string &limit); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string limit_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h new file mode 100644 index 000000000..41dc2474a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopClientIpVisitResult : public ServiceResult + { + public: + struct ClientIp + { + long acc; + long traffic; + int rank; + std::string clientIp; + }; + + + DescribeDomainTopClientIpVisitResult(); + explicit DescribeDomainTopClientIpVisitResult(const std::string &payload); + ~DescribeDomainTopClientIpVisitResult(); + std::vector getClientIpList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector clientIpList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h new file mode 100644 index 000000000..67b798356 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopReferVisitRequest : public RpcServiceRequest { +public: + DescribeDomainTopReferVisitRequest(); + ~DescribeDomainTopReferVisitRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h new file mode 100644 index 000000000..4a32c3032 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopReferVisitResult : public ServiceResult + { + public: + struct ReferList + { + std::string visitData; + float visitProportion; + float flowProportion; + std::string referDetail; + std::string flow; + }; + + + DescribeDomainTopReferVisitResult(); + explicit DescribeDomainTopReferVisitResult(const std::string &payload); + ~DescribeDomainTopReferVisitResult(); + std::string getDomainName()const; + std::string getStartTime()const; + std::vector getTopReferList()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::string startTime_; + std::vector topReferList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h new file mode 100644 index 000000000..efb72fd2d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopUrlVisitRequest : public RpcServiceRequest { +public: + DescribeDomainTopUrlVisitRequest(); + ~DescribeDomainTopUrlVisitRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h new file mode 100644 index 000000000..2f1bce857 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopUrlVisitResult : public ServiceResult + { + public: + struct UrlList + { + std::string visitData; + float visitProportion; + float flowProportion; + std::string urlDetail; + std::string flow; + }; + + + DescribeDomainTopUrlVisitResult(); + explicit DescribeDomainTopUrlVisitResult(const std::string &payload); + ~DescribeDomainTopUrlVisitResult(); + std::vector getUrl200List()const; + std::vector getUrl500List()const; + std::vector getUrl400List()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::vector getUrl300List()const; + std::vector getAllUrlList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector url200List_; + std::vector url500List_; + std::vector url400List_; + std::string domainName_; + std::string startTime_; + std::vector url300List_; + std::vector allUrlList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h new file mode 100644 index 000000000..9d0cdc9bb --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDomainTrafficDataRequest(); + ~DescribeDomainTrafficDataRequest(); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h new file mode 100644 index 000000000..8125e84fb --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainTrafficDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string overseasValue; + std::string httpsValue; + std::string value; + std::string httpsDomesticValue; + std::string httpsOverseasValue; + std::string timeStamp; + std::string domesticValue; + }; + + + DescribeDomainTrafficDataResult(); + explicit DescribeDomainTrafficDataResult(const std::string &payload); + ~DescribeDomainTrafficDataResult(); + std::string getEndTime()const; + std::vector getTrafficDataPerInterval()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::vector trafficDataPerInterval_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h new file mode 100644 index 000000000..0da2181b1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainUsageDataRequest : public RpcServiceRequest { +public: + DescribeDomainUsageDataRequest(); + ~DescribeDomainUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getType() const; + void setType(const std::string &type); + std::string getDataProtocol() const; + void setDataProtocol(const std::string &dataProtocol); + std::string getArea() const; + void setArea(const std::string &area); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getField() const; + void setField(const std::string &field); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string type_; + std::string dataProtocol_; + std::string area_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string field_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h new file mode 100644 index 000000000..59efabfe6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainUsageDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string peakTime; + std::string specialValue; + std::string timeStamp; + }; + + + DescribeDomainUsageDataResult(); + explicit DescribeDomainUsageDataResult(const std::string &payload); + ~DescribeDomainUsageDataResult(); + std::vector getUsageDataPerInterval()const; + std::string getType()const; + std::string getArea()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector usageDataPerInterval_; + std::string type_; + std::string area_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h new file mode 100644 index 000000000..0286a456f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeEsExceptionDataRequest : public RpcServiceRequest { +public: + DescribeEsExceptionDataRequest(); + ~DescribeEsExceptionDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRuleId() const; + void setRuleId(const std::string &ruleId); + +private: + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string ruleId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h new file mode 100644 index 000000000..62c8dfb24 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeEsExceptionDataResult : public ServiceResult + { + public: + struct Content + { + std::vector points; + std::vector columns; + std::string name; + }; + + + DescribeEsExceptionDataResult(); + explicit DescribeEsExceptionDataResult(const std::string &payload); + ~DescribeEsExceptionDataResult(); + std::vector getContents()const; + + protected: + void parse(const std::string &payload); + private: + std::vector contents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h new file mode 100644 index 000000000..2451a148f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeEsExecuteDataRequest : public RpcServiceRequest { +public: + DescribeEsExecuteDataRequest(); + ~DescribeEsExecuteDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRuleId() const; + void setRuleId(const std::string &ruleId); + +private: + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string ruleId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h new file mode 100644 index 000000000..05a5ffea5 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeEsExecuteDataResult : public ServiceResult + { + public: + struct Content + { + std::vector points; + std::vector columns; + std::string name; + }; + + + DescribeEsExecuteDataResult(); + explicit DescribeEsExecuteDataResult(const std::string &payload); + ~DescribeEsExecuteDataResult(); + std::vector getContents()const; + + protected: + void parse(const std::string &payload); + private: + std::vector contents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h new file mode 100644 index 000000000..55ebfe765 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeFCTriggerRequest : public RpcServiceRequest { +public: + DescribeFCTriggerRequest(); + ~DescribeFCTriggerRequest(); + std::string getTriggerARN() const; + void setTriggerARN(const std::string &triggerARN); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string triggerARN_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h new file mode 100644 index 000000000..a9b64441c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeFCTriggerResult : public ServiceResult + { + public: + struct FCTrigger + { + std::string triggerARN; + std::string sourceArn; + std::string eventMetaName; + std::string eventMetaVersion; + std::string roleARN; + std::string notes; + }; + + + DescribeFCTriggerResult(); + explicit DescribeFCTriggerResult(const std::string &payload); + ~DescribeFCTriggerResult(); + FCTrigger getFCTrigger()const; + + protected: + void parse(const std::string &payload); + private: + FCTrigger fCTrigger_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h new file mode 100644 index 000000000..a7a4a2e45 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeIllegalUrlExportTaskRequest : public RpcServiceRequest { +public: + DescribeIllegalUrlExportTaskRequest(); + ~DescribeIllegalUrlExportTaskRequest(); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string taskId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h new file mode 100644 index 000000000..864daa2ed --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeIllegalUrlExportTaskResult : public ServiceResult + { + public: + + + DescribeIllegalUrlExportTaskResult(); + explicit DescribeIllegalUrlExportTaskResult(const std::string &payload); + ~DescribeIllegalUrlExportTaskResult(); + std::string getStatus()const; + std::string getDownloadUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string downloadUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIpInfoRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeIpInfoRequest.h new file mode 100644 index 000000000..778f0323f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeIpInfoRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFOREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeIpInfoRequest : public RpcServiceRequest { +public: + DescribeIpInfoRequest(); + ~DescribeIpInfoRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFOREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h b/cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h new file mode 100644 index 000000000..7f479091c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFORESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeIpInfoResult : public ServiceResult + { + public: + + + DescribeIpInfoResult(); + explicit DescribeIpInfoResult(const std::string &payload); + ~DescribeIpInfoResult(); + std::string getISP()const; + std::string getRegion()const; + std::string getIspEname()const; + std::string getCdnIp()const; + std::string getRegionEname()const; + + protected: + void parse(const std::string &payload); + private: + std::string iSP_; + std::string region_; + std::string ispEname_; + std::string cdnIp_; + std::string regionEname_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFORESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIpStatusRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeIpStatusRequest.h new file mode 100644 index 000000000..fa3886ed7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeIpStatusRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEIPSTATUSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEIPSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeIpStatusRequest : public RpcServiceRequest { +public: + DescribeIpStatusRequest(); + ~DescribeIpStatusRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getIps() const; + void setIps(const std::string &ips); + +private: + long ownerId_; + std::string ips_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEIPSTATUSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIpStatusResult.h b/cdn/include/alibabacloud/cdn/model/DescribeIpStatusResult.h new file mode 100644 index 000000000..50273dbfe --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeIpStatusResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEIPSTATUSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEIPSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeIpStatusResult : public ServiceResult + { + public: + struct UsageData + { + std::string status; + std::string ip; + }; + + + DescribeIpStatusResult(); + explicit DescribeIpStatusResult(const std::string &payload); + ~DescribeIpStatusResult(); + std::vector getIpStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::vector ipStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEIPSTATUSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h new file mode 100644 index 000000000..f20ef07b6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeL2VipsByDomainRequest : public RpcServiceRequest { +public: + DescribeL2VipsByDomainRequest(); + ~DescribeL2VipsByDomainRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h new file mode 100644 index 000000000..f3084a4af --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeL2VipsByDomainResult : public ServiceResult + { + public: + + + DescribeL2VipsByDomainResult(); + explicit DescribeL2VipsByDomainResult(const std::string &payload); + ~DescribeL2VipsByDomainResult(); + std::string getDomainName()const; + std::vector getVips()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::vector vips_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceRequest.h new file mode 100644 index 000000000..a08942473 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeRangeDataByLocateAndIspServiceRequest : public RpcServiceRequest { +public: + DescribeRangeDataByLocateAndIspServiceRequest(); + ~DescribeRangeDataByLocateAndIspServiceRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getLocationNames() const; + void setLocationNames(const std::string &locationNames); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNames() const; + void setIspNames(const std::string &ispNames); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainNames_; + std::string locationNames_; + std::string startTime_; + std::string ispNames_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h new file mode 100644 index 000000000..2eab5bb62 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeRangeDataByLocateAndIspServiceResult : public ServiceResult + { + public: + + + DescribeRangeDataByLocateAndIspServiceResult(); + explicit DescribeRangeDataByLocateAndIspServiceResult(const std::string &payload); + ~DescribeRangeDataByLocateAndIspServiceResult(); + std::string getJsonResult()const; + + protected: + void parse(const std::string &payload); + private: + std::string jsonResult_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h new file mode 100644 index 000000000..fc298d000 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeRealtimeDeliveryAccRequest : public RpcServiceRequest { +public: + DescribeRealtimeDeliveryAccRequest(); + ~DescribeRealtimeDeliveryAccRequest(); + std::string getProject() const; + void setProject(const std::string &project); + 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); + std::string getLogStore() const; + void setLogStore(const std::string &logStore); + +private: + std::string project_; + std::string startTime_; + std::string endTime_; + long ownerId_; + std::string interval_; + std::string logStore_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h new file mode 100644 index 000000000..2bc2eed0f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeRealtimeDeliveryAccResult : public ServiceResult + { + public: + struct AccData + { + int successNum; + int failedNum; + std::string timeStamp; + }; + + + DescribeRealtimeDeliveryAccResult(); + explicit DescribeRealtimeDeliveryAccResult(const std::string &payload); + ~DescribeRealtimeDeliveryAccResult(); + std::vector getReatTimeDeliveryAccData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector reatTimeDeliveryAccData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedRequest.h new file mode 100644 index 000000000..013517302 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMELOGAUTHORIZEDREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMELOGAUTHORIZEDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeRealtimeLogAuthorizedRequest : public RpcServiceRequest { +public: + DescribeRealtimeLogAuthorizedRequest(); + ~DescribeRealtimeLogAuthorizedRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMELOGAUTHORIZEDREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedResult.h new file mode 100644 index 000000000..bb9eb92b0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeLogAuthorizedResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMELOGAUTHORIZEDRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMELOGAUTHORIZEDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeRealtimeLogAuthorizedResult : public ServiceResult + { + public: + + + DescribeRealtimeLogAuthorizedResult(); + explicit DescribeRealtimeLogAuthorizedResult(const std::string &payload); + ~DescribeRealtimeLogAuthorizedResult(); + std::string getAuthorizedStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::string authorizedStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMELOGAUTHORIZEDRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h new file mode 100644 index 000000000..9ee9836e4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdRequest : public RpcServiceRequest { +public: + DescribeRefreshTaskByIdRequest(); + ~DescribeRefreshTaskByIdRequest(); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string taskId_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h new file mode 100644 index 000000000..b2de11881 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdResult : public ServiceResult + { + public: + struct CDNTask + { + std::string status; + std::string objectType; + std::string objectPath; + std::string description; + std::string taskId; + std::string creationTime; + std::string process; + }; + + + DescribeRefreshTaskByIdResult(); + explicit DescribeRefreshTaskByIdResult(const std::string &payload); + ~DescribeRefreshTaskByIdResult(); + long getTotalCount()const; + std::vector getTasks()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector tasks_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h new file mode 100644 index 000000000..b4ce1bd3e --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTasksRequest : public RpcServiceRequest { +public: + DescribeRefreshTasksRequest(); + ~DescribeRefreshTasksRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string objectPath_; + std::string startTime_; + int pageNumber_; + std::string resourceGroupId_; + std::string securityToken_; + int pageSize_; + std::string objectType_; + std::string taskId_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string status_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h new file mode 100644 index 000000000..29eeb41f0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTasksResult : public ServiceResult + { + public: + struct CDNTask + { + std::string status; + std::string objectType; + std::string objectPath; + std::string description; + std::string taskId; + std::string creationTime; + std::string process; + }; + + + DescribeRefreshTasksResult(); + explicit DescribeRefreshTasksResult(const std::string &payload); + ~DescribeRefreshTasksResult(); + long getTotalCount()const; + std::vector getTasks()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector tasks_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeStagingIpRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeStagingIpRequest.h new file mode 100644 index 000000000..93bccdc77 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeStagingIpRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeStagingIpRequest : public RpcServiceRequest { +public: + DescribeStagingIpRequest(); + ~DescribeStagingIpRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h b/cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h new file mode 100644 index 000000000..952fabb1a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeStagingIpResult : public ServiceResult + { + public: + + + DescribeStagingIpResult(); + explicit DescribeStagingIpResult(const std::string &payload); + ~DescribeStagingIpResult(); + std::vector getIPV4s()const; + + protected: + void parse(const std::string &payload); + private: + std::vector iPV4s_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h new file mode 100644 index 000000000..70f23f397 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeTagResourcesRequest : public RpcServiceRequest { +public: + struct Tag { + std::string key; + std::string value; + }; + DescribeTagResourcesRequest(); + ~DescribeTagResourcesRequest(); + std::string getScope() const; + void setScope(const std::string &scope); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::vector getResourceId() const; + void setResourceId(const std::vector &resourceId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + +private: + std::string scope_; + std::vector tag_; + std::vector resourceId_; + long ownerId_; + std::string resourceType_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h new file mode 100644 index 000000000..034d0aae3 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeTagResourcesResult : public ServiceResult + { + public: + struct TagResource + { + struct TagItem + { + std::string value; + std::string key; + }; + std::string resourceId; + std::vector tag; + }; + + + DescribeTagResourcesResult(); + explicit DescribeTagResourcesResult(const std::string &payload); + ~DescribeTagResourcesResult(); + std::vector getTagResources()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tagResources_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h new file mode 100644 index 000000000..2fefab383 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserCertificateExpireCountRequest : public RpcServiceRequest { +public: + DescribeUserCertificateExpireCountRequest(); + ~DescribeUserCertificateExpireCountRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h new file mode 100644 index 000000000..55adb8b39 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeUserCertificateExpireCountResult : public ServiceResult + { + public: + + + DescribeUserCertificateExpireCountResult(); + explicit DescribeUserCertificateExpireCountResult(const std::string &payload); + ~DescribeUserCertificateExpireCountResult(); + int getExpireWithin30DaysCount()const; + int getExpiredCount()const; + + protected: + void parse(const std::string &payload); + private: + int expireWithin30DaysCount_; + int expiredCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h new file mode 100644 index 000000000..22a78d7c0 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserConfigsRequest : public RpcServiceRequest { +public: + DescribeUserConfigsRequest(); + ~DescribeUserConfigsRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfig() const; + void setConfig(const std::string &config); + +private: + std::string securityToken_; + long ownerId_; + std::string config_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h new file mode 100644 index 000000000..6b903db23 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeUserConfigsResult : public ServiceResult + { + public: + struct Configs + { + struct OssLogConfig + { + std::string bucket; + std::string enable; + std::string prefix; + }; + struct WafConfig + { + std::string enable; + }; + OssLogConfig ossLogConfig; + WafConfig wafConfig; + }; + + + DescribeUserConfigsResult(); + explicit DescribeUserConfigsResult(const std::string &payload); + ~DescribeUserConfigsResult(); + Configs getConfigs()const; + + protected: + void parse(const std::string &payload); + private: + Configs configs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h new file mode 100644 index 000000000..ca2263807 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserTagsRequest : public RpcServiceRequest { +public: + DescribeUserTagsRequest(); + ~DescribeUserTagsRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h new file mode 100644 index 000000000..399c1f5b6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeUserTagsResult : public ServiceResult + { + public: + struct Tag + { + std::vector value; + std::string key; + }; + + + DescribeUserTagsResult(); + explicit DescribeUserTagsResult(const std::string &payload); + ~DescribeUserTagsResult(); + std::vector getTags()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tags_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h new file mode 100644 index 000000000..eb97ebbc5 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserUsageDataExportTaskRequest : public RpcServiceRequest { +public: + DescribeUserUsageDataExportTaskRequest(); + ~DescribeUserUsageDataExportTaskRequest(); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string pageNumber_; + std::string pageSize_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h new file mode 100644 index 000000000..566749677 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeUserUsageDataExportTaskResult : public ServiceResult + { + public: + struct UsageDataPerPage + { + struct DataItem + { + struct TaskConfig + { + std::string endTime; + std::string startTime; + }; + std::string status; + std::string taskId; + std::string taskName; + std::string createTime; + std::string updateTime; + TaskConfig taskConfig; + std::string downloadUrl; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector data; + }; + + + DescribeUserUsageDataExportTaskResult(); + explicit DescribeUserUsageDataExportTaskResult(const std::string &payload); + ~DescribeUserUsageDataExportTaskResult(); + UsageDataPerPage getUsageDataPerPage()const; + + protected: + void parse(const std::string &payload); + private: + UsageDataPerPage usageDataPerPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h new file mode 100644 index 000000000..4165def95 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserUsageDetailDataExportTaskRequest : public RpcServiceRequest { +public: + DescribeUserUsageDetailDataExportTaskRequest(); + ~DescribeUserUsageDetailDataExportTaskRequest(); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string pageNumber_; + std::string pageSize_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h new file mode 100644 index 000000000..510ef5cf4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeUserUsageDetailDataExportTaskResult : public ServiceResult + { + public: + struct UsageDataPerPage + { + struct DataItem + { + struct TaskConfig + { + std::string endTime; + std::string startTime; + }; + std::string status; + std::string taskId; + std::string taskName; + std::string createTime; + std::string updateTime; + TaskConfig taskConfig; + std::string downloadUrl; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector data; + }; + + + DescribeUserUsageDetailDataExportTaskResult(); + explicit DescribeUserUsageDetailDataExportTaskResult(const std::string &payload); + ~DescribeUserUsageDetailDataExportTaskResult(); + UsageDataPerPage getUsageDataPerPage()const; + + protected: + void parse(const std::string &payload); + private: + UsageDataPerPage usageDataPerPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h new file mode 100644 index 000000000..eaf856963 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserVipsByDomainRequest : public RpcServiceRequest { +public: + DescribeUserVipsByDomainRequest(); + ~DescribeUserVipsByDomainRequest(); + std::string getAvailable() const; + void setAvailable(const std::string &available); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string available_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h new file mode 100644 index 000000000..151b0a18e --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeUserVipsByDomainResult : public ServiceResult + { + public: + + + DescribeUserVipsByDomainResult(); + explicit DescribeUserVipsByDomainResult(const std::string &payload); + ~DescribeUserVipsByDomainResult(); + std::string getDomainName()const; + std::vector getVips()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::vector vips_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h new file mode 100644 index 000000000..4d342161c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeVerifyContentRequest : public RpcServiceRequest { +public: + DescribeVerifyContentRequest(); + ~DescribeVerifyContentRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h b/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h new file mode 100644 index 000000000..83202043c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeVerifyContentResult : public ServiceResult + { + public: + + + DescribeVerifyContentResult(); + explicit DescribeVerifyContentResult(const std::string &payload); + ~DescribeVerifyContentResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..b46634085 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DisableRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DisableRealtimeLogDeliveryRequest(); + ~DisableRealtimeLogDeliveryRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..ba39f7f24 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DisableRealtimeLogDeliveryResult : public ServiceResult + { + public: + + + DisableRealtimeLogDeliveryResult(); + explicit DisableRealtimeLogDeliveryResult(const std::string &payload); + ~DisableRealtimeLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..7aba956f1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT EnableRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + EnableRealtimeLogDeliveryRequest(); + ~EnableRealtimeLogDeliveryRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..dcffbec79 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT EnableRealtimeLogDeliveryResult : public ServiceResult + { + public: + + + EnableRealtimeLogDeliveryResult(); + explicit EnableRealtimeLogDeliveryResult(const std::string &payload); + ~EnableRealtimeLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h b/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h new file mode 100644 index 000000000..302f2ac9a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ListDomainsByLogConfigIdRequest : public RpcServiceRequest { +public: + ListDomainsByLogConfigIdRequest(); + ~ListDomainsByLogConfigIdRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h b/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h new file mode 100644 index 000000000..097d255c4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ListDomainsByLogConfigIdResult : public ServiceResult + { + public: + + + ListDomainsByLogConfigIdResult(); + explicit ListDomainsByLogConfigIdResult(const std::string &payload); + ~ListDomainsByLogConfigIdResult(); + std::vector getDomains()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListFCTriggerRequest.h b/cdn/include/alibabacloud/cdn/model/ListFCTriggerRequest.h new file mode 100644 index 000000000..bad13d322 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListFCTriggerRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ListFCTriggerRequest : public RpcServiceRequest { +public: + ListFCTriggerRequest(); + ~ListFCTriggerRequest(); + std::string getEventMetaVersion() const; + void setEventMetaVersion(const std::string &eventMetaVersion); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getEventMetaName() const; + void setEventMetaName(const std::string &eventMetaName); + +private: + std::string eventMetaVersion_; + long ownerId_; + std::string eventMetaName_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h new file mode 100644 index 000000000..ffeff6971 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ListFCTriggerResult : public ServiceResult + { + public: + struct FCTrigger + { + std::string triggerARN; + std::string sourceArn; + std::string eventMetaName; + std::string eventMetaVersion; + std::string roleARN; + std::string notes; + }; + + + ListFCTriggerResult(); + explicit ListFCTriggerResult(const std::string &payload); + ~ListFCTriggerResult(); + std::vector getFCTriggers()const; + + protected: + void parse(const std::string &payload); + private: + std::vector fCTriggers_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h new file mode 100644 index 000000000..f11dc5861 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ListRealtimeLogDeliveryDomainsRequest : public RpcServiceRequest { +public: + ListRealtimeLogDeliveryDomainsRequest(); + ~ListRealtimeLogDeliveryDomainsRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h new file mode 100644 index 000000000..5e59da65a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ListRealtimeLogDeliveryDomainsResult : public ServiceResult + { + public: + struct Domains + { + std::string status; + std::string domainName; + }; + + + ListRealtimeLogDeliveryDomainsResult(); + explicit ListRealtimeLogDeliveryDomainsResult(const std::string &payload); + ~ListRealtimeLogDeliveryDomainsResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h new file mode 100644 index 000000000..20846381b --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ListRealtimeLogDeliveryInfosRequest : public RpcServiceRequest { +public: + ListRealtimeLogDeliveryInfosRequest(); + ~ListRealtimeLogDeliveryInfosRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h new file mode 100644 index 000000000..096138ed7 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ListRealtimeLogDeliveryInfosResult : public ServiceResult + { + public: + struct RealtimeLogDeliveryInfos + { + std::string project; + std::string logstore; + std::string region; + }; + + + ListRealtimeLogDeliveryInfosResult(); + explicit ListRealtimeLogDeliveryInfosResult(const std::string &payload); + ~ListRealtimeLogDeliveryInfosResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h b/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h new file mode 100644 index 000000000..4918e65c6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ListUserCustomLogConfigRequest : public RpcServiceRequest { +public: + ListUserCustomLogConfigRequest(); + ~ListUserCustomLogConfigRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h new file mode 100644 index 000000000..196d589a9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ListUserCustomLogConfigResult : public ServiceResult + { + public: + + + ListUserCustomLogConfigResult(); + explicit ListUserCustomLogConfigResult(const std::string &payload); + ~ListUserCustomLogConfigResult(); + std::vector getConfigIds()const; + + protected: + void parse(const std::string &payload); + private: + std::vector configIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h new file mode 100644 index 000000000..150b61118 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ModifyCdnDomainRequest : public RpcServiceRequest { +public: + ModifyCdnDomainRequest(); + ~ModifyCdnDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string sources_; + std::string resourceGroupId_; + std::string securityToken_; + std::string topLevelDomain_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h new file mode 100644 index 000000000..3c0374599 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ModifyCdnDomainResult : public ServiceResult + { + public: + + + ModifyCdnDomainResult(); + explicit ModifyCdnDomainResult(const std::string &payload); + ~ModifyCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h new file mode 100644 index 000000000..149347bcb --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ModifyCdnDomainSchdmByPropertyRequest : public RpcServiceRequest { +public: + ModifyCdnDomainSchdmByPropertyRequest(); + ~ModifyCdnDomainSchdmByPropertyRequest(); + std::string getProperty() const; + void setProperty(const std::string &property); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string property_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h new file mode 100644 index 000000000..3d3ee746f --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ModifyCdnDomainSchdmByPropertyResult : public ServiceResult + { + public: + + + ModifyCdnDomainSchdmByPropertyResult(); + explicit ModifyCdnDomainSchdmByPropertyResult(const std::string &payload); + ~ModifyCdnDomainSchdmByPropertyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..b5e9bfbc4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT ModifyRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + ModifyRealtimeLogDeliveryRequest(); + ~ModifyRealtimeLogDeliveryRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string domain_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..e353b0f74 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT ModifyRealtimeLogDeliveryResult : public ServiceResult + { + public: + + + ModifyRealtimeLogDeliveryResult(); + explicit ModifyRealtimeLogDeliveryResult(const std::string &payload); + ~ModifyRealtimeLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h b/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h new file mode 100644 index 000000000..a68148b7c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT PublishStagingConfigToProductionRequest : public RpcServiceRequest { +public: + PublishStagingConfigToProductionRequest(); + ~PublishStagingConfigToProductionRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h b/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h new file mode 100644 index 000000000..8629ee695 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT PublishStagingConfigToProductionResult : public ServiceResult + { + public: + + + PublishStagingConfigToProductionResult(); + explicit PublishStagingConfigToProductionResult(const std::string &payload); + ~PublishStagingConfigToProductionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h b/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h new file mode 100644 index 000000000..37d87e798 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT RollbackStagingConfigRequest : public RpcServiceRequest { +public: + RollbackStagingConfigRequest(); + ~RollbackStagingConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h new file mode 100644 index 000000000..62e3702d6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT RollbackStagingConfigResult : public ServiceResult + { + public: + + + RollbackStagingConfigResult(); + explicit RollbackStagingConfigResult(const std::string &payload); + ~RollbackStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h new file mode 100644 index 000000000..9d8fce182 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetCdnDomainCSRCertificateRequest : public RpcServiceRequest { +public: + SetCdnDomainCSRCertificateRequest(); + ~SetCdnDomainCSRCertificateRequest(); + std::string getServerCertificate() const; + void setServerCertificate(const std::string &serverCertificate); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string serverCertificate_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h new file mode 100644 index 000000000..736456c2e --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetCdnDomainCSRCertificateResult : public ServiceResult + { + public: + + + SetCdnDomainCSRCertificateResult(); + explicit SetCdnDomainCSRCertificateResult(const std::string &payload); + ~SetCdnDomainCSRCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateRequest.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateRequest.h new file mode 100644 index 000000000..5a3b20bcd --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetCdnDomainSMCertificateRequest : public RpcServiceRequest { +public: + SetCdnDomainSMCertificateRequest(); + ~SetCdnDomainSMCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + +private: + std::string sSLProtocol_; + std::string domainName_; + long ownerId_; + std::string securityToken_; + std::string certIdentifier_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h new file mode 100644 index 000000000..6d19b3a87 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetCdnDomainSMCertificateResult : public ServiceResult + { + public: + + + SetCdnDomainSMCertificateResult(); + explicit SetCdnDomainSMCertificateResult(const std::string &payload); + ~SetCdnDomainSMCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigRequest.h new file mode 100644 index 000000000..f65762d4d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetCdnDomainStagingConfigRequest : public RpcServiceRequest { +public: + SetCdnDomainStagingConfigRequest(); + ~SetCdnDomainStagingConfigRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h new file mode 100644 index 000000000..d081787f1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetCdnDomainStagingConfigResult : public ServiceResult + { + public: + + + SetCdnDomainStagingConfigResult(); + explicit SetCdnDomainStagingConfigResult(const std::string &payload); + ~SetCdnDomainStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h b/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h new file mode 100644 index 000000000..15939d53c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetConfigOfVersionRequest : public RpcServiceRequest { +public: + SetConfigOfVersionRequest(); + ~SetConfigOfVersionRequest(); + 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_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h b/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h new file mode 100644 index 000000000..d25193738 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetConfigOfVersionResult : public ServiceResult + { + public: + + + SetConfigOfVersionResult(); + explicit SetConfigOfVersionResult(const std::string &payload); + ~SetConfigOfVersionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h new file mode 100644 index 000000000..bb94f2767 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetDomainServerCertificateRequest : public RpcServiceRequest { +public: + SetDomainServerCertificateRequest(); + ~SetDomainServerCertificateRequest(); + std::string getServerCertificate() const; + void setServerCertificate(const std::string &serverCertificate); + std::string getPrivateKey() const; + void setPrivateKey(const std::string &privateKey); + std::string getServerCertificateStatus() const; + void setServerCertificateStatus(const std::string &serverCertificateStatus); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertType() const; + void setCertType(const std::string &certType); + std::string getForceSet() const; + void setForceSet(const std::string &forceSet); + std::string getCertName() const; + void setCertName(const std::string &certName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string serverCertificate_; + std::string privateKey_; + std::string serverCertificateStatus_; + std::string securityToken_; + std::string certType_; + std::string forceSet_; + std::string certName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h new file mode 100644 index 000000000..200c256c3 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetDomainServerCertificateResult : public ServiceResult + { + public: + + + SetDomainServerCertificateResult(); + explicit SetDomainServerCertificateResult(const std::string &payload); + ~SetDomainServerCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h new file mode 100644 index 000000000..d867bc84c --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetReqHeaderConfigRequest : public RpcServiceRequest { +public: + SetReqHeaderConfigRequest(); + ~SetReqHeaderConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getValue() const; + void setValue(const std::string &value); + std::string getKey() const; + void setKey(const std::string &key); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + long getConfigId() const; + void setConfigId(long configId); + +private: + std::string securityToken_; + std::string value_; + std::string key_; + std::string domainName_; + long ownerId_; + long configId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h new file mode 100644 index 000000000..bd7628ed1 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetReqHeaderConfigResult : public ServiceResult + { + public: + + + SetReqHeaderConfigResult(); + explicit SetReqHeaderConfigResult(const std::string &payload); + ~SetReqHeaderConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h new file mode 100644 index 000000000..3d0d5c838 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT SetWaitingRoomConfigRequest : public RpcServiceRequest { +public: + SetWaitingRoomConfigRequest(); + ~SetWaitingRoomConfigRequest(); + std::string getWaitUrl() const; + void setWaitUrl(const std::string &waitUrl); + std::string getWaitUri() const; + void setWaitUri(const std::string &waitUri); + int getMaxTimeWait() const; + void setMaxTimeWait(int maxTimeWait); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + int getAllowPct() const; + void setAllowPct(int allowPct); + int getGapTime() const; + void setGapTime(int gapTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string waitUrl_; + std::string waitUri_; + int maxTimeWait_; + std::string domainName_; + int allowPct_; + int gapTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h new file mode 100644 index 000000000..73c1a8b02 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT SetWaitingRoomConfigResult : public ServiceResult + { + public: + + + SetWaitingRoomConfigResult(); + explicit SetWaitingRoomConfigResult(const std::string &payload); + ~SetWaitingRoomConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StartCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/StartCdnDomainRequest.h new file mode 100644 index 000000000..e66b51e74 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/StartCdnDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT StartCdnDomainRequest : public RpcServiceRequest { +public: + StartCdnDomainRequest(); + ~StartCdnDomainRequest(); + 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); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h new file mode 100644 index 000000000..5b8e12e4a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT StartCdnDomainResult : public ServiceResult + { + public: + + + StartCdnDomainResult(); + explicit StartCdnDomainResult(const std::string &payload); + ~StartCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StopCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/StopCdnDomainRequest.h new file mode 100644 index 000000000..ac2dbd7b9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/StopCdnDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT StopCdnDomainRequest : public RpcServiceRequest { +public: + StopCdnDomainRequest(); + ~StopCdnDomainRequest(); + 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); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h new file mode 100644 index 000000000..346f3c2f5 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT StopCdnDomainResult : public ServiceResult + { + public: + + + StopCdnDomainResult(); + explicit StopCdnDomainResult(const std::string &payload); + ~StopCdnDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/TagResourcesRequest.h b/cdn/include/alibabacloud/cdn/model/TagResourcesRequest.h new file mode 100644 index 000000000..9c25a522a --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/TagResourcesRequest.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_TAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_TAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT TagResourcesRequest : public RpcServiceRequest { +public: + struct Tag { + std::string key; + std::string value; + }; + TagResourcesRequest(); + ~TagResourcesRequest(); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::vector getResourceId() const; + void setResourceId(const std::vector &resourceId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + +private: + std::vector tag_; + std::vector resourceId_; + long ownerId_; + std::string resourceType_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_TAGRESOURCESREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/TagResourcesResult.h b/cdn/include/alibabacloud/cdn/model/TagResourcesResult.h new file mode 100644 index 000000000..f5a68d326 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/TagResourcesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_TAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_TAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT TagResourcesResult : public ServiceResult + { + public: + + + TagResourcesResult(); + explicit TagResourcesResult(const std::string &payload); + ~TagResourcesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_TAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UntagResourcesRequest.h b/cdn/include/alibabacloud/cdn/model/UntagResourcesRequest.h new file mode 100644 index 000000000..f90dc8e69 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UntagResourcesRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT UntagResourcesRequest : public RpcServiceRequest { +public: + UntagResourcesRequest(); + ~UntagResourcesRequest(); + bool getAll() const; + void setAll(bool all); + std::vector getResourceId() const; + void setResourceId(const std::vector &resourceId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::vector getTagKey() const; + void setTagKey(const std::vector &tagKey); + +private: + bool all_; + std::vector resourceId_; + long ownerId_; + std::string resourceType_; + std::vector tagKey_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h b/cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h new file mode 100644 index 000000000..f6e9a9710 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UntagResourcesResult : public ServiceResult + { + public: + + + UntagResourcesResult(); + explicit UntagResourcesResult(const std::string &payload); + ~UntagResourcesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h new file mode 100644 index 000000000..9799d32c6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT UpdateCdnDeliverTaskRequest : public RpcServiceRequest { +public: + UpdateCdnDeliverTaskRequest(); + ~UpdateCdnDeliverTaskRequest(); + std::string getReports() const; + void setReports(const std::string &reports); + std::string getDeliver() const; + void setDeliver(const std::string &deliver); + long getDeliverId() const; + void setDeliverId(long deliverId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSchedule() const; + void setSchedule(const std::string &schedule); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string reports_; + std::string deliver_; + long deliverId_; + std::string domainName_; + long ownerId_; + std::string schedule_; + std::string name_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h new file mode 100644 index 000000000..a9482fae6 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UpdateCdnDeliverTaskResult : public ServiceResult + { + public: + + + UpdateCdnDeliverTaskResult(); + explicit UpdateCdnDeliverTaskResult(const std::string &payload); + ~UpdateCdnDeliverTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h new file mode 100644 index 000000000..72ee9cc03 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT UpdateCdnSubTaskRequest : public RpcServiceRequest { +public: + UpdateCdnSubTaskRequest(); + ~UpdateCdnSubTaskRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getReportIds() const; + void setReportIds(const std::string &reportIds); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string reportIds_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h new file mode 100644 index 000000000..071c3efa9 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UpdateCdnSubTaskResult : public ServiceResult + { + public: + + + UpdateCdnSubTaskResult(); + explicit UpdateCdnSubTaskResult(const std::string &payload); + ~UpdateCdnSubTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h b/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h new file mode 100644 index 000000000..6dc8270bd --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT UpdateFCTriggerRequest : public RpcServiceRequest { +public: + UpdateFCTriggerRequest(); + ~UpdateFCTriggerRequest(); + std::string getNotes() const; + void setNotes(const std::string ¬es); + std::string getTriggerARN() const; + void setTriggerARN(const std::string &triggerARN); + std::string getSourceARN() const; + void setSourceARN(const std::string &sourceARN); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoleARN() const; + void setRoleARN(const std::string &roleARN); + std::string getFunctionARN() const; + void setFunctionARN(const std::string &functionARN); + +private: + std::string notes_; + std::string triggerARN_; + std::string sourceARN_; + long ownerId_; + std::string roleARN_; + std::string functionARN_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h new file mode 100644 index 000000000..84e54e182 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT UpdateFCTriggerResult : public ServiceResult + { + public: + + + UpdateFCTriggerResult(); + explicit UpdateFCTriggerResult(const std::string &payload); + ~UpdateFCTriggerResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h b/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h new file mode 100644 index 000000000..a2c6f3bfb --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT VerifyDomainOwnerRequest : public RpcServiceRequest { +public: + VerifyDomainOwnerRequest(); + ~VerifyDomainOwnerRequest(); + std::string getVerifyType() const; + void setVerifyType(const std::string &verifyType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string verifyType_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h b/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h new file mode 100644 index 000000000..e22765645 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT VerifyDomainOwnerResult : public ServiceResult + { + public: + + + VerifyDomainOwnerResult(); + explicit VerifyDomainOwnerResult(const std::string &payload); + ~VerifyDomainOwnerResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERRESULT_H_ \ No newline at end of file diff --git a/cdn/src/CdnClient.cc b/cdn/src/CdnClient.cc index 7d1da0631..1ac9f3bde 100644 --- a/cdn/src/CdnClient.cc +++ b/cdn/src/CdnClient.cc @@ -87,6 +87,1194 @@ CdnClient::AddCdnDomainOutcomeCallable CdnClient::addCdnDomainCallable(const Add return task->get_future(); } +CdnClient::AddFCTriggerOutcome CdnClient::addFCTrigger(const AddFCTriggerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddFCTriggerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddFCTriggerOutcome(AddFCTriggerResult(outcome.result())); + else + return AddFCTriggerOutcome(outcome.error()); +} + +void CdnClient::addFCTriggerAsync(const AddFCTriggerRequest& request, const AddFCTriggerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addFCTrigger(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::AddFCTriggerOutcomeCallable CdnClient::addFCTriggerCallable(const AddFCTriggerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addFCTrigger(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchAddCdnDomainOutcome CdnClient::batchAddCdnDomain(const BatchAddCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchAddCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchAddCdnDomainOutcome(BatchAddCdnDomainResult(outcome.result())); + else + return BatchAddCdnDomainOutcome(outcome.error()); +} + +void CdnClient::batchAddCdnDomainAsync(const BatchAddCdnDomainRequest& request, const BatchAddCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchAddCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchAddCdnDomainOutcomeCallable CdnClient::batchAddCdnDomainCallable(const BatchAddCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchAddCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchDeleteCdnDomainConfigOutcome CdnClient::batchDeleteCdnDomainConfig(const BatchDeleteCdnDomainConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteCdnDomainConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteCdnDomainConfigOutcome(BatchDeleteCdnDomainConfigResult(outcome.result())); + else + return BatchDeleteCdnDomainConfigOutcome(outcome.error()); +} + +void CdnClient::batchDeleteCdnDomainConfigAsync(const BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteCdnDomainConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchDeleteCdnDomainConfigOutcomeCallable CdnClient::batchDeleteCdnDomainConfigCallable(const BatchDeleteCdnDomainConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteCdnDomainConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchSetCdnDomainConfigOutcome CdnClient::batchSetCdnDomainConfig(const BatchSetCdnDomainConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchSetCdnDomainConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchSetCdnDomainConfigOutcome(BatchSetCdnDomainConfigResult(outcome.result())); + else + return BatchSetCdnDomainConfigOutcome(outcome.error()); +} + +void CdnClient::batchSetCdnDomainConfigAsync(const BatchSetCdnDomainConfigRequest& request, const BatchSetCdnDomainConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchSetCdnDomainConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchSetCdnDomainConfigOutcomeCallable CdnClient::batchSetCdnDomainConfigCallable(const BatchSetCdnDomainConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchSetCdnDomainConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchSetCdnDomainServerCertificateOutcome CdnClient::batchSetCdnDomainServerCertificate(const BatchSetCdnDomainServerCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchSetCdnDomainServerCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchSetCdnDomainServerCertificateOutcome(BatchSetCdnDomainServerCertificateResult(outcome.result())); + else + return BatchSetCdnDomainServerCertificateOutcome(outcome.error()); +} + +void CdnClient::batchSetCdnDomainServerCertificateAsync(const BatchSetCdnDomainServerCertificateRequest& request, const BatchSetCdnDomainServerCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchSetCdnDomainServerCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchSetCdnDomainServerCertificateOutcomeCallable CdnClient::batchSetCdnDomainServerCertificateCallable(const BatchSetCdnDomainServerCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchSetCdnDomainServerCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchStartCdnDomainOutcome CdnClient::batchStartCdnDomain(const BatchStartCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchStartCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchStartCdnDomainOutcome(BatchStartCdnDomainResult(outcome.result())); + else + return BatchStartCdnDomainOutcome(outcome.error()); +} + +void CdnClient::batchStartCdnDomainAsync(const BatchStartCdnDomainRequest& request, const BatchStartCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchStartCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchStartCdnDomainOutcomeCallable CdnClient::batchStartCdnDomainCallable(const BatchStartCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchStartCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchStopCdnDomainOutcome CdnClient::batchStopCdnDomain(const BatchStopCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchStopCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchStopCdnDomainOutcome(BatchStopCdnDomainResult(outcome.result())); + else + return BatchStopCdnDomainOutcome(outcome.error()); +} + +void CdnClient::batchStopCdnDomainAsync(const BatchStopCdnDomainRequest& request, const BatchStopCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchStopCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchStopCdnDomainOutcomeCallable CdnClient::batchStopCdnDomainCallable(const BatchStopCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchStopCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::BatchUpdateCdnDomainOutcome CdnClient::batchUpdateCdnDomain(const BatchUpdateCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUpdateCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUpdateCdnDomainOutcome(BatchUpdateCdnDomainResult(outcome.result())); + else + return BatchUpdateCdnDomainOutcome(outcome.error()); +} + +void CdnClient::batchUpdateCdnDomainAsync(const BatchUpdateCdnDomainRequest& request, const BatchUpdateCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUpdateCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::BatchUpdateCdnDomainOutcomeCallable CdnClient::batchUpdateCdnDomainCallable(const BatchUpdateCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUpdateCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateCdnCertificateSigningRequestOutcome CdnClient::createCdnCertificateSigningRequest(const CreateCdnCertificateSigningRequestRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdnCertificateSigningRequestOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdnCertificateSigningRequestOutcome(CreateCdnCertificateSigningRequestResult(outcome.result())); + else + return CreateCdnCertificateSigningRequestOutcome(outcome.error()); +} + +void CdnClient::createCdnCertificateSigningRequestAsync(const CreateCdnCertificateSigningRequestRequest& request, const CreateCdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdnCertificateSigningRequest(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateCdnCertificateSigningRequestOutcomeCallable CdnClient::createCdnCertificateSigningRequestCallable(const CreateCdnCertificateSigningRequestRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdnCertificateSigningRequest(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateCdnDeliverTaskOutcome CdnClient::createCdnDeliverTask(const CreateCdnDeliverTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdnDeliverTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdnDeliverTaskOutcome(CreateCdnDeliverTaskResult(outcome.result())); + else + return CreateCdnDeliverTaskOutcome(outcome.error()); +} + +void CdnClient::createCdnDeliverTaskAsync(const CreateCdnDeliverTaskRequest& request, const CreateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdnDeliverTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateCdnDeliverTaskOutcomeCallable CdnClient::createCdnDeliverTaskCallable(const CreateCdnDeliverTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdnDeliverTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateCdnSubTaskOutcome CdnClient::createCdnSubTask(const CreateCdnSubTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdnSubTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdnSubTaskOutcome(CreateCdnSubTaskResult(outcome.result())); + else + return CreateCdnSubTaskOutcome(outcome.error()); +} + +void CdnClient::createCdnSubTaskAsync(const CreateCdnSubTaskRequest& request, const CreateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdnSubTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateCdnSubTaskOutcomeCallable CdnClient::createCdnSubTaskCallable(const CreateCdnSubTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdnSubTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateIllegalUrlExportTaskOutcome CdnClient::createIllegalUrlExportTask(const CreateIllegalUrlExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateIllegalUrlExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateIllegalUrlExportTaskOutcome(CreateIllegalUrlExportTaskResult(outcome.result())); + else + return CreateIllegalUrlExportTaskOutcome(outcome.error()); +} + +void CdnClient::createIllegalUrlExportTaskAsync(const CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createIllegalUrlExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateIllegalUrlExportTaskOutcomeCallable CdnClient::createIllegalUrlExportTaskCallable(const CreateIllegalUrlExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createIllegalUrlExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateRealTimeLogDeliveryOutcome CdnClient::createRealTimeLogDelivery(const CreateRealTimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateRealTimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateRealTimeLogDeliveryOutcome(CreateRealTimeLogDeliveryResult(outcome.result())); + else + return CreateRealTimeLogDeliveryOutcome(outcome.error()); +} + +void CdnClient::createRealTimeLogDeliveryAsync(const CreateRealTimeLogDeliveryRequest& request, const CreateRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createRealTimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateRealTimeLogDeliveryOutcomeCallable CdnClient::createRealTimeLogDeliveryCallable(const CreateRealTimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createRealTimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateUsageDetailDataExportTaskOutcome CdnClient::createUsageDetailDataExportTask(const CreateUsageDetailDataExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUsageDetailDataExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUsageDetailDataExportTaskOutcome(CreateUsageDetailDataExportTaskResult(outcome.result())); + else + return CreateUsageDetailDataExportTaskOutcome(outcome.error()); +} + +void CdnClient::createUsageDetailDataExportTaskAsync(const CreateUsageDetailDataExportTaskRequest& request, const CreateUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUsageDetailDataExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateUsageDetailDataExportTaskOutcomeCallable CdnClient::createUsageDetailDataExportTaskCallable(const CreateUsageDetailDataExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUsageDetailDataExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::CreateUserUsageDataExportTaskOutcome CdnClient::createUserUsageDataExportTask(const CreateUserUsageDataExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserUsageDataExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserUsageDataExportTaskOutcome(CreateUserUsageDataExportTaskResult(outcome.result())); + else + return CreateUserUsageDataExportTaskOutcome(outcome.error()); +} + +void CdnClient::createUserUsageDataExportTaskAsync(const CreateUserUsageDataExportTaskRequest& request, const CreateUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserUsageDataExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::CreateUserUsageDataExportTaskOutcomeCallable CdnClient::createUserUsageDataExportTaskCallable(const CreateUserUsageDataExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserUsageDataExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteCdnDeliverTaskOutcome CdnClient::deleteCdnDeliverTask(const DeleteCdnDeliverTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCdnDeliverTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCdnDeliverTaskOutcome(DeleteCdnDeliverTaskResult(outcome.result())); + else + return DeleteCdnDeliverTaskOutcome(outcome.error()); +} + +void CdnClient::deleteCdnDeliverTaskAsync(const DeleteCdnDeliverTaskRequest& request, const DeleteCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCdnDeliverTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteCdnDeliverTaskOutcomeCallable CdnClient::deleteCdnDeliverTaskCallable(const DeleteCdnDeliverTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCdnDeliverTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteCdnDomainOutcome CdnClient::deleteCdnDomain(const DeleteCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCdnDomainOutcome(DeleteCdnDomainResult(outcome.result())); + else + return DeleteCdnDomainOutcome(outcome.error()); +} + +void CdnClient::deleteCdnDomainAsync(const DeleteCdnDomainRequest& request, const DeleteCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteCdnDomainOutcomeCallable CdnClient::deleteCdnDomainCallable(const DeleteCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteCdnSubTaskOutcome CdnClient::deleteCdnSubTask(const DeleteCdnSubTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCdnSubTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCdnSubTaskOutcome(DeleteCdnSubTaskResult(outcome.result())); + else + return DeleteCdnSubTaskOutcome(outcome.error()); +} + +void CdnClient::deleteCdnSubTaskAsync(const DeleteCdnSubTaskRequest& request, const DeleteCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCdnSubTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteCdnSubTaskOutcomeCallable CdnClient::deleteCdnSubTaskCallable(const DeleteCdnSubTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCdnSubTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteFCTriggerOutcome CdnClient::deleteFCTrigger(const DeleteFCTriggerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFCTriggerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFCTriggerOutcome(DeleteFCTriggerResult(outcome.result())); + else + return DeleteFCTriggerOutcome(outcome.error()); +} + +void CdnClient::deleteFCTriggerAsync(const DeleteFCTriggerRequest& request, const DeleteFCTriggerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFCTrigger(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteFCTriggerOutcomeCallable CdnClient::deleteFCTriggerCallable(const DeleteFCTriggerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFCTrigger(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteRealTimeLogLogstoreOutcome CdnClient::deleteRealTimeLogLogstore(const DeleteRealTimeLogLogstoreRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRealTimeLogLogstoreOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRealTimeLogLogstoreOutcome(DeleteRealTimeLogLogstoreResult(outcome.result())); + else + return DeleteRealTimeLogLogstoreOutcome(outcome.error()); +} + +void CdnClient::deleteRealTimeLogLogstoreAsync(const DeleteRealTimeLogLogstoreRequest& request, const DeleteRealTimeLogLogstoreAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRealTimeLogLogstore(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteRealTimeLogLogstoreOutcomeCallable CdnClient::deleteRealTimeLogLogstoreCallable(const DeleteRealTimeLogLogstoreRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRealTimeLogLogstore(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRealtimeLogDeliveryOutcome(DeleteRealtimeLogDeliveryResult(outcome.result())); + else + return DeleteRealtimeLogDeliveryOutcome(outcome.error()); +} + +void CdnClient::deleteRealtimeLogDeliveryAsync(const DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteRealtimeLogDeliveryOutcomeCallable CdnClient::deleteRealtimeLogDeliveryCallable(const DeleteRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteSpecificConfigOutcome CdnClient::deleteSpecificConfig(const DeleteSpecificConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSpecificConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSpecificConfigOutcome(DeleteSpecificConfigResult(outcome.result())); + else + return DeleteSpecificConfigOutcome(outcome.error()); +} + +void CdnClient::deleteSpecificConfigAsync(const DeleteSpecificConfigRequest& request, const DeleteSpecificConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSpecificConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteSpecificConfigOutcomeCallable CdnClient::deleteSpecificConfigCallable(const DeleteSpecificConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSpecificConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteSpecificStagingConfigOutcome CdnClient::deleteSpecificStagingConfig(const DeleteSpecificStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSpecificStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSpecificStagingConfigOutcome(DeleteSpecificStagingConfigResult(outcome.result())); + else + return DeleteSpecificStagingConfigOutcome(outcome.error()); +} + +void CdnClient::deleteSpecificStagingConfigAsync(const DeleteSpecificStagingConfigRequest& request, const DeleteSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSpecificStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteSpecificStagingConfigOutcomeCallable CdnClient::deleteSpecificStagingConfigCallable(const DeleteSpecificStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSpecificStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteUsageDetailDataExportTaskOutcome CdnClient::deleteUsageDetailDataExportTask(const DeleteUsageDetailDataExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUsageDetailDataExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUsageDetailDataExportTaskOutcome(DeleteUsageDetailDataExportTaskResult(outcome.result())); + else + return DeleteUsageDetailDataExportTaskOutcome(outcome.error()); +} + +void CdnClient::deleteUsageDetailDataExportTaskAsync(const DeleteUsageDetailDataExportTaskRequest& request, const DeleteUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUsageDetailDataExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteUsageDetailDataExportTaskOutcomeCallable CdnClient::deleteUsageDetailDataExportTaskCallable(const DeleteUsageDetailDataExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUsageDetailDataExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DeleteUserUsageDataExportTaskOutcome CdnClient::deleteUserUsageDataExportTask(const DeleteUserUsageDataExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserUsageDataExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserUsageDataExportTaskOutcome(DeleteUserUsageDataExportTaskResult(outcome.result())); + else + return DeleteUserUsageDataExportTaskOutcome(outcome.error()); +} + +void CdnClient::deleteUserUsageDataExportTaskAsync(const DeleteUserUsageDataExportTaskRequest& request, const DeleteUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUserUsageDataExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DeleteUserUsageDataExportTaskOutcomeCallable CdnClient::deleteUserUsageDataExportTaskCallable(const DeleteUserUsageDataExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUserUsageDataExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeActiveVersionOfConfigGroupOutcome CdnClient::describeActiveVersionOfConfigGroup(const DescribeActiveVersionOfConfigGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeActiveVersionOfConfigGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeActiveVersionOfConfigGroupOutcome(DescribeActiveVersionOfConfigGroupResult(outcome.result())); + else + return DescribeActiveVersionOfConfigGroupOutcome(outcome.error()); +} + +void CdnClient::describeActiveVersionOfConfigGroupAsync(const DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeActiveVersionOfConfigGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeActiveVersionOfConfigGroupOutcomeCallable CdnClient::describeActiveVersionOfConfigGroupCallable(const DescribeActiveVersionOfConfigGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeActiveVersionOfConfigGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeBlockedRegionsOutcome CdnClient::describeBlockedRegions(const DescribeBlockedRegionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBlockedRegionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBlockedRegionsOutcome(DescribeBlockedRegionsResult(outcome.result())); + else + return DescribeBlockedRegionsOutcome(outcome.error()); +} + +void CdnClient::describeBlockedRegionsAsync(const DescribeBlockedRegionsRequest& request, const DescribeBlockedRegionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBlockedRegions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeBlockedRegionsOutcomeCallable CdnClient::describeBlockedRegionsCallable(const DescribeBlockedRegionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBlockedRegions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnCertificateDetailOutcome CdnClient::describeCdnCertificateDetail(const DescribeCdnCertificateDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnCertificateDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnCertificateDetailOutcome(DescribeCdnCertificateDetailResult(outcome.result())); + else + return DescribeCdnCertificateDetailOutcome(outcome.error()); +} + +void CdnClient::describeCdnCertificateDetailAsync(const DescribeCdnCertificateDetailRequest& request, const DescribeCdnCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnCertificateDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnCertificateDetailOutcomeCallable CdnClient::describeCdnCertificateDetailCallable(const DescribeCdnCertificateDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnCertificateDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnCertificateListOutcome CdnClient::describeCdnCertificateList(const DescribeCdnCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnCertificateListOutcome(DescribeCdnCertificateListResult(outcome.result())); + else + return DescribeCdnCertificateListOutcome(outcome.error()); +} + +void CdnClient::describeCdnCertificateListAsync(const DescribeCdnCertificateListRequest& request, const DescribeCdnCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnCertificateListOutcomeCallable CdnClient::describeCdnCertificateListCallable(const DescribeCdnCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnCertificateList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnDeletedDomainsOutcome CdnClient::describeCdnDeletedDomains(const DescribeCdnDeletedDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnDeletedDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnDeletedDomainsOutcome(DescribeCdnDeletedDomainsResult(outcome.result())); + else + return DescribeCdnDeletedDomainsOutcome(outcome.error()); +} + +void CdnClient::describeCdnDeletedDomainsAsync(const DescribeCdnDeletedDomainsRequest& request, const DescribeCdnDeletedDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnDeletedDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnDeletedDomainsOutcomeCallable CdnClient::describeCdnDeletedDomainsCallable(const DescribeCdnDeletedDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnDeletedDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnDeliverListOutcome CdnClient::describeCdnDeliverList(const DescribeCdnDeliverListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnDeliverListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnDeliverListOutcome(DescribeCdnDeliverListResult(outcome.result())); + else + return DescribeCdnDeliverListOutcome(outcome.error()); +} + +void CdnClient::describeCdnDeliverListAsync(const DescribeCdnDeliverListRequest& request, const DescribeCdnDeliverListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnDeliverList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnDeliverListOutcomeCallable CdnClient::describeCdnDeliverListCallable(const DescribeCdnDeliverListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnDeliverList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnDomainByCertificateOutcome CdnClient::describeCdnDomainByCertificate(const DescribeCdnDomainByCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnDomainByCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnDomainByCertificateOutcome(DescribeCdnDomainByCertificateResult(outcome.result())); + else + return DescribeCdnDomainByCertificateOutcome(outcome.error()); +} + +void CdnClient::describeCdnDomainByCertificateAsync(const DescribeCdnDomainByCertificateRequest& request, const DescribeCdnDomainByCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnDomainByCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnDomainByCertificateOutcomeCallable CdnClient::describeCdnDomainByCertificateCallable(const DescribeCdnDomainByCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnDomainByCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnDomainConfigsOutcome CdnClient::describeCdnDomainConfigs(const DescribeCdnDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnDomainConfigsOutcome(DescribeCdnDomainConfigsResult(outcome.result())); + else + return DescribeCdnDomainConfigsOutcome(outcome.error()); +} + +void CdnClient::describeCdnDomainConfigsAsync(const DescribeCdnDomainConfigsRequest& request, const DescribeCdnDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnDomainConfigsOutcomeCallable CdnClient::describeCdnDomainConfigsCallable(const DescribeCdnDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnDomainDetailOutcome CdnClient::describeCdnDomainDetail(const DescribeCdnDomainDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -159,6 +1347,294 @@ CdnClient::DescribeCdnDomainLogsOutcomeCallable CdnClient::describeCdnDomainLogs return task->get_future(); } +CdnClient::DescribeCdnDomainStagingConfigOutcome CdnClient::describeCdnDomainStagingConfig(const DescribeCdnDomainStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnDomainStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnDomainStagingConfigOutcome(DescribeCdnDomainStagingConfigResult(outcome.result())); + else + return DescribeCdnDomainStagingConfigOutcome(outcome.error()); +} + +void CdnClient::describeCdnDomainStagingConfigAsync(const DescribeCdnDomainStagingConfigRequest& request, const DescribeCdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnDomainStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnDomainStagingConfigOutcomeCallable CdnClient::describeCdnDomainStagingConfigCallable(const DescribeCdnDomainStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnDomainStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnHttpsDomainListOutcome CdnClient::describeCdnHttpsDomainList(const DescribeCdnHttpsDomainListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnHttpsDomainListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnHttpsDomainListOutcome(DescribeCdnHttpsDomainListResult(outcome.result())); + else + return DescribeCdnHttpsDomainListOutcome(outcome.error()); +} + +void CdnClient::describeCdnHttpsDomainListAsync(const DescribeCdnHttpsDomainListRequest& request, const DescribeCdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnHttpsDomainList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnHttpsDomainListOutcomeCallable CdnClient::describeCdnHttpsDomainListCallable(const DescribeCdnHttpsDomainListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnHttpsDomainList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnOrderCommodityCodeOutcome CdnClient::describeCdnOrderCommodityCode(const DescribeCdnOrderCommodityCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnOrderCommodityCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnOrderCommodityCodeOutcome(DescribeCdnOrderCommodityCodeResult(outcome.result())); + else + return DescribeCdnOrderCommodityCodeOutcome(outcome.error()); +} + +void CdnClient::describeCdnOrderCommodityCodeAsync(const DescribeCdnOrderCommodityCodeRequest& request, const DescribeCdnOrderCommodityCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnOrderCommodityCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnOrderCommodityCodeOutcomeCallable CdnClient::describeCdnOrderCommodityCodeCallable(const DescribeCdnOrderCommodityCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnOrderCommodityCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnRegionAndIspOutcome CdnClient::describeCdnRegionAndIsp(const DescribeCdnRegionAndIspRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnRegionAndIspOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnRegionAndIspOutcome(DescribeCdnRegionAndIspResult(outcome.result())); + else + return DescribeCdnRegionAndIspOutcome(outcome.error()); +} + +void CdnClient::describeCdnRegionAndIspAsync(const DescribeCdnRegionAndIspRequest& request, const DescribeCdnRegionAndIspAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnRegionAndIsp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnRegionAndIspOutcomeCallable CdnClient::describeCdnRegionAndIspCallable(const DescribeCdnRegionAndIspRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnRegionAndIsp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnReportOutcome CdnClient::describeCdnReport(const DescribeCdnReportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnReportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnReportOutcome(DescribeCdnReportResult(outcome.result())); + else + return DescribeCdnReportOutcome(outcome.error()); +} + +void CdnClient::describeCdnReportAsync(const DescribeCdnReportRequest& request, const DescribeCdnReportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnReport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnReportOutcomeCallable CdnClient::describeCdnReportCallable(const DescribeCdnReportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnReport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnReportListOutcome CdnClient::describeCdnReportList(const DescribeCdnReportListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnReportListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnReportListOutcome(DescribeCdnReportListResult(outcome.result())); + else + return DescribeCdnReportListOutcome(outcome.error()); +} + +void CdnClient::describeCdnReportListAsync(const DescribeCdnReportListRequest& request, const DescribeCdnReportListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnReportList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnReportListOutcomeCallable CdnClient::describeCdnReportListCallable(const DescribeCdnReportListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnReportList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnSMCertificateDetailOutcome CdnClient::describeCdnSMCertificateDetail(const DescribeCdnSMCertificateDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnSMCertificateDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnSMCertificateDetailOutcome(DescribeCdnSMCertificateDetailResult(outcome.result())); + else + return DescribeCdnSMCertificateDetailOutcome(outcome.error()); +} + +void CdnClient::describeCdnSMCertificateDetailAsync(const DescribeCdnSMCertificateDetailRequest& request, const DescribeCdnSMCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnSMCertificateDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnSMCertificateDetailOutcomeCallable CdnClient::describeCdnSMCertificateDetailCallable(const DescribeCdnSMCertificateDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnSMCertificateDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnSMCertificateListOutcome CdnClient::describeCdnSMCertificateList(const DescribeCdnSMCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnSMCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnSMCertificateListOutcome(DescribeCdnSMCertificateListResult(outcome.result())); + else + return DescribeCdnSMCertificateListOutcome(outcome.error()); +} + +void CdnClient::describeCdnSMCertificateListAsync(const DescribeCdnSMCertificateListRequest& request, const DescribeCdnSMCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnSMCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnSMCertificateListOutcomeCallable CdnClient::describeCdnSMCertificateListCallable(const DescribeCdnSMCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnSMCertificateList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnServiceOutcome CdnClient::describeCdnService(const DescribeCdnServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +1671,510 @@ CdnClient::DescribeCdnServiceOutcomeCallable CdnClient::describeCdnServiceCallab return task->get_future(); } +CdnClient::DescribeCdnSubListOutcome CdnClient::describeCdnSubList(const DescribeCdnSubListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnSubListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnSubListOutcome(DescribeCdnSubListResult(outcome.result())); + else + return DescribeCdnSubListOutcome(outcome.error()); +} + +void CdnClient::describeCdnSubListAsync(const DescribeCdnSubListRequest& request, const DescribeCdnSubListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnSubList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnSubListOutcomeCallable CdnClient::describeCdnSubListCallable(const DescribeCdnSubListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnSubList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserBillHistoryOutcome CdnClient::describeCdnUserBillHistory(const DescribeCdnUserBillHistoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserBillHistoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserBillHistoryOutcome(DescribeCdnUserBillHistoryResult(outcome.result())); + else + return DescribeCdnUserBillHistoryOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserBillHistoryAsync(const DescribeCdnUserBillHistoryRequest& request, const DescribeCdnUserBillHistoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserBillHistory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserBillHistoryOutcomeCallable CdnClient::describeCdnUserBillHistoryCallable(const DescribeCdnUserBillHistoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserBillHistory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserBillPredictionOutcome CdnClient::describeCdnUserBillPrediction(const DescribeCdnUserBillPredictionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserBillPredictionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserBillPredictionOutcome(DescribeCdnUserBillPredictionResult(outcome.result())); + else + return DescribeCdnUserBillPredictionOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserBillPredictionAsync(const DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserBillPrediction(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserBillPredictionOutcomeCallable CdnClient::describeCdnUserBillPredictionCallable(const DescribeCdnUserBillPredictionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserBillPrediction(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserBillTypeOutcome CdnClient::describeCdnUserBillType(const DescribeCdnUserBillTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserBillTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserBillTypeOutcome(DescribeCdnUserBillTypeResult(outcome.result())); + else + return DescribeCdnUserBillTypeOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserBillTypeAsync(const DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserBillType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserBillTypeOutcomeCallable CdnClient::describeCdnUserBillTypeCallable(const DescribeCdnUserBillTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserBillType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserConfigsOutcome CdnClient::describeCdnUserConfigs(const DescribeCdnUserConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserConfigsOutcome(DescribeCdnUserConfigsResult(outcome.result())); + else + return DescribeCdnUserConfigsOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserConfigsAsync(const DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserConfigsOutcomeCallable CdnClient::describeCdnUserConfigsCallable(const DescribeCdnUserConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserDomainsByFuncOutcome CdnClient::describeCdnUserDomainsByFunc(const DescribeCdnUserDomainsByFuncRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserDomainsByFuncOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserDomainsByFuncOutcome(DescribeCdnUserDomainsByFuncResult(outcome.result())); + else + return DescribeCdnUserDomainsByFuncOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserDomainsByFuncAsync(const DescribeCdnUserDomainsByFuncRequest& request, const DescribeCdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserDomainsByFunc(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserDomainsByFuncOutcomeCallable CdnClient::describeCdnUserDomainsByFuncCallable(const DescribeCdnUserDomainsByFuncRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserDomainsByFunc(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserQuotaOutcome CdnClient::describeCdnUserQuota(const DescribeCdnUserQuotaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserQuotaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserQuotaOutcome(DescribeCdnUserQuotaResult(outcome.result())); + else + return DescribeCdnUserQuotaOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserQuotaAsync(const DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserQuota(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserQuotaOutcomeCallable CdnClient::describeCdnUserQuotaCallable(const DescribeCdnUserQuotaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserQuota(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserResourcePackageOutcome CdnClient::describeCdnUserResourcePackage(const DescribeCdnUserResourcePackageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserResourcePackageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserResourcePackageOutcome(DescribeCdnUserResourcePackageResult(outcome.result())); + else + return DescribeCdnUserResourcePackageOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserResourcePackageAsync(const DescribeCdnUserResourcePackageRequest& request, const DescribeCdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserResourcePackage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserResourcePackageOutcomeCallable CdnClient::describeCdnUserResourcePackageCallable(const DescribeCdnUserResourcePackageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserResourcePackage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnWafDomainOutcome CdnClient::describeCdnWafDomain(const DescribeCdnWafDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnWafDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnWafDomainOutcome(DescribeCdnWafDomainResult(outcome.result())); + else + return DescribeCdnWafDomainOutcome(outcome.error()); +} + +void CdnClient::describeCdnWafDomainAsync(const DescribeCdnWafDomainRequest& request, const DescribeCdnWafDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnWafDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnWafDomainOutcomeCallable CdnClient::describeCdnWafDomainCallable(const DescribeCdnWafDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnWafDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCertificateInfoByIDOutcome CdnClient::describeCertificateInfoByID(const DescribeCertificateInfoByIDRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCertificateInfoByIDOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCertificateInfoByIDOutcome(DescribeCertificateInfoByIDResult(outcome.result())); + else + return DescribeCertificateInfoByIDOutcome(outcome.error()); +} + +void CdnClient::describeCertificateInfoByIDAsync(const DescribeCertificateInfoByIDRequest& request, const DescribeCertificateInfoByIDAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCertificateInfoByID(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCertificateInfoByIDOutcomeCallable CdnClient::describeCertificateInfoByIDCallable(const DescribeCertificateInfoByIDRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCertificateInfoByID(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeConfigGroupDetailOutcome CdnClient::describeConfigGroupDetail(const DescribeConfigGroupDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeConfigGroupDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeConfigGroupDetailOutcome(DescribeConfigGroupDetailResult(outcome.result())); + else + return DescribeConfigGroupDetailOutcome(outcome.error()); +} + +void CdnClient::describeConfigGroupDetailAsync(const DescribeConfigGroupDetailRequest& request, const DescribeConfigGroupDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeConfigGroupDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeConfigGroupDetailOutcomeCallable CdnClient::describeConfigGroupDetailCallable(const DescribeConfigGroupDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeConfigGroupDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeConfigOfVersionOutcome CdnClient::describeConfigOfVersion(const DescribeConfigOfVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeConfigOfVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeConfigOfVersionOutcome(DescribeConfigOfVersionResult(outcome.result())); + else + return DescribeConfigOfVersionOutcome(outcome.error()); +} + +void CdnClient::describeConfigOfVersionAsync(const DescribeConfigOfVersionRequest& request, const DescribeConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeConfigOfVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeConfigOfVersionOutcomeCallable CdnClient::describeConfigOfVersionCallable(const DescribeConfigOfVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeConfigOfVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCustomLogConfigOutcome CdnClient::describeCustomLogConfig(const DescribeCustomLogConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCustomLogConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCustomLogConfigOutcome(DescribeCustomLogConfigResult(outcome.result())); + else + return DescribeCustomLogConfigOutcome(outcome.error()); +} + +void CdnClient::describeCustomLogConfigAsync(const DescribeCustomLogConfigRequest& request, const DescribeCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCustomLogConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCustomLogConfigOutcomeCallable CdnClient::describeCustomLogConfigCallable(const DescribeCustomLogConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCustomLogConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainAverageResponseTimeOutcome CdnClient::describeDomainAverageResponseTime(const DescribeDomainAverageResponseTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainAverageResponseTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainAverageResponseTimeOutcome(DescribeDomainAverageResponseTimeResult(outcome.result())); + else + return DescribeDomainAverageResponseTimeOutcome(outcome.error()); +} + +void CdnClient::describeDomainAverageResponseTimeAsync(const DescribeDomainAverageResponseTimeRequest& request, const DescribeDomainAverageResponseTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainAverageResponseTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainAverageResponseTimeOutcomeCallable CdnClient::describeDomainAverageResponseTimeCallable(const DescribeDomainAverageResponseTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainAverageResponseTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainBpsDataOutcome CdnClient::describeDomainBpsData(const DescribeDomainBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +2211,42 @@ CdnClient::DescribeDomainBpsDataOutcomeCallable CdnClient::describeDomainBpsData return task->get_future(); } +CdnClient::DescribeDomainBpsDataByLayerOutcome CdnClient::describeDomainBpsDataByLayer(const DescribeDomainBpsDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainBpsDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainBpsDataByLayerOutcome(DescribeDomainBpsDataByLayerResult(outcome.result())); + else + return DescribeDomainBpsDataByLayerOutcome(outcome.error()); +} + +void CdnClient::describeDomainBpsDataByLayerAsync(const DescribeDomainBpsDataByLayerRequest& request, const DescribeDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainBpsDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainBpsDataByLayerOutcomeCallable CdnClient::describeDomainBpsDataByLayerCallable(const DescribeDomainBpsDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainBpsDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainBpsDataByTimeStampOutcome CdnClient::describeDomainBpsDataByTimeStamp(const DescribeDomainBpsDataByTimeStampRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,6 +2283,150 @@ CdnClient::DescribeDomainBpsDataByTimeStampOutcomeCallable CdnClient::describeDo return task->get_future(); } +CdnClient::DescribeDomainCcActivityLogOutcome CdnClient::describeDomainCcActivityLog(const DescribeDomainCcActivityLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainCcActivityLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainCcActivityLogOutcome(DescribeDomainCcActivityLogResult(outcome.result())); + else + return DescribeDomainCcActivityLogOutcome(outcome.error()); +} + +void CdnClient::describeDomainCcActivityLogAsync(const DescribeDomainCcActivityLogRequest& request, const DescribeDomainCcActivityLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainCcActivityLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainCcActivityLogOutcomeCallable CdnClient::describeDomainCcActivityLogCallable(const DescribeDomainCcActivityLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainCcActivityLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainCertificateInfoOutcome CdnClient::describeDomainCertificateInfo(const DescribeDomainCertificateInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainCertificateInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainCertificateInfoOutcome(DescribeDomainCertificateInfoResult(outcome.result())); + else + return DescribeDomainCertificateInfoOutcome(outcome.error()); +} + +void CdnClient::describeDomainCertificateInfoAsync(const DescribeDomainCertificateInfoRequest& request, const DescribeDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainCertificateInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainCertificateInfoOutcomeCallable CdnClient::describeDomainCertificateInfoCallable(const DescribeDomainCertificateInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainCertificateInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainCustomLogConfigOutcome CdnClient::describeDomainCustomLogConfig(const DescribeDomainCustomLogConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainCustomLogConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainCustomLogConfigOutcome(DescribeDomainCustomLogConfigResult(outcome.result())); + else + return DescribeDomainCustomLogConfigOutcome(outcome.error()); +} + +void CdnClient::describeDomainCustomLogConfigAsync(const DescribeDomainCustomLogConfigRequest& request, const DescribeDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainCustomLogConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainCustomLogConfigOutcomeCallable CdnClient::describeDomainCustomLogConfigCallable(const DescribeDomainCustomLogConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainCustomLogConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainDetailDataByLayerOutcome CdnClient::describeDomainDetailDataByLayer(const DescribeDomainDetailDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainDetailDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainDetailDataByLayerOutcome(DescribeDomainDetailDataByLayerResult(outcome.result())); + else + return DescribeDomainDetailDataByLayerOutcome(outcome.error()); +} + +void CdnClient::describeDomainDetailDataByLayerAsync(const DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainDetailDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainDetailDataByLayerOutcomeCallable CdnClient::describeDomainDetailDataByLayerCallable(const DescribeDomainDetailDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainDetailDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainFileSizeProportionDataOutcome CdnClient::describeDomainFileSizeProportionData(const DescribeDomainFileSizeProportionDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,6 +2571,42 @@ CdnClient::DescribeDomainHttpCodeDataOutcomeCallable CdnClient::describeDomainHt return task->get_future(); } +CdnClient::DescribeDomainHttpCodeDataByLayerOutcome CdnClient::describeDomainHttpCodeDataByLayer(const DescribeDomainHttpCodeDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainHttpCodeDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainHttpCodeDataByLayerOutcome(DescribeDomainHttpCodeDataByLayerResult(outcome.result())); + else + return DescribeDomainHttpCodeDataByLayerOutcome(outcome.error()); +} + +void CdnClient::describeDomainHttpCodeDataByLayerAsync(const DescribeDomainHttpCodeDataByLayerRequest& request, const DescribeDomainHttpCodeDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainHttpCodeDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainHttpCodeDataByLayerOutcomeCallable CdnClient::describeDomainHttpCodeDataByLayerCallable(const DescribeDomainHttpCodeDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainHttpCodeDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainISPDataOutcome CdnClient::describeDomainISPData(const DescribeDomainISPDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +2643,186 @@ CdnClient::DescribeDomainISPDataOutcomeCallable CdnClient::describeDomainISPData return task->get_future(); } +CdnClient::DescribeDomainMax95BpsDataOutcome CdnClient::describeDomainMax95BpsData(const DescribeDomainMax95BpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainMax95BpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainMax95BpsDataOutcome(DescribeDomainMax95BpsDataResult(outcome.result())); + else + return DescribeDomainMax95BpsDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainMax95BpsDataAsync(const DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainMax95BpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainMax95BpsDataOutcomeCallable CdnClient::describeDomainMax95BpsDataCallable(const DescribeDomainMax95BpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainMax95BpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainMultiUsageDataOutcome CdnClient::describeDomainMultiUsageData(const DescribeDomainMultiUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainMultiUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainMultiUsageDataOutcome(DescribeDomainMultiUsageDataResult(outcome.result())); + else + return DescribeDomainMultiUsageDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainMultiUsageDataAsync(const DescribeDomainMultiUsageDataRequest& request, const DescribeDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainMultiUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainMultiUsageDataOutcomeCallable CdnClient::describeDomainMultiUsageDataCallable(const DescribeDomainMultiUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainMultiUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainNamesOfVersionOutcome CdnClient::describeDomainNamesOfVersion(const DescribeDomainNamesOfVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainNamesOfVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainNamesOfVersionOutcome(DescribeDomainNamesOfVersionResult(outcome.result())); + else + return DescribeDomainNamesOfVersionOutcome(outcome.error()); +} + +void CdnClient::describeDomainNamesOfVersionAsync(const DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainNamesOfVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainNamesOfVersionOutcomeCallable CdnClient::describeDomainNamesOfVersionCallable(const DescribeDomainNamesOfVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainNamesOfVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainPathDataOutcome CdnClient::describeDomainPathData(const DescribeDomainPathDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainPathDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainPathDataOutcome(DescribeDomainPathDataResult(outcome.result())); + else + return DescribeDomainPathDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainPathDataAsync(const DescribeDomainPathDataRequest& request, const DescribeDomainPathDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainPathData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainPathDataOutcomeCallable CdnClient::describeDomainPathDataCallable(const DescribeDomainPathDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainPathData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainPvDataOutcome CdnClient::describeDomainPvData(const DescribeDomainPvDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainPvDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainPvDataOutcome(DescribeDomainPvDataResult(outcome.result())); + else + return DescribeDomainPvDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainPvDataAsync(const DescribeDomainPvDataRequest& request, const DescribeDomainPvDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainPvData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainPvDataOutcomeCallable CdnClient::describeDomainPvDataCallable(const DescribeDomainPvDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainPvData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainQpsDataOutcome CdnClient::describeDomainQpsData(const DescribeDomainQpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +2859,438 @@ CdnClient::DescribeDomainQpsDataOutcomeCallable CdnClient::describeDomainQpsData return task->get_future(); } +CdnClient::DescribeDomainQpsDataByLayerOutcome CdnClient::describeDomainQpsDataByLayer(const DescribeDomainQpsDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainQpsDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainQpsDataByLayerOutcome(DescribeDomainQpsDataByLayerResult(outcome.result())); + else + return DescribeDomainQpsDataByLayerOutcome(outcome.error()); +} + +void CdnClient::describeDomainQpsDataByLayerAsync(const DescribeDomainQpsDataByLayerRequest& request, const DescribeDomainQpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainQpsDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainQpsDataByLayerOutcomeCallable CdnClient::describeDomainQpsDataByLayerCallable(const DescribeDomainQpsDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainQpsDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeBpsDataOutcome CdnClient::describeDomainRealTimeBpsData(const DescribeDomainRealTimeBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeBpsDataOutcome(DescribeDomainRealTimeBpsDataResult(outcome.result())); + else + return DescribeDomainRealTimeBpsDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeBpsDataAsync(const DescribeDomainRealTimeBpsDataRequest& request, const DescribeDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeBpsDataOutcomeCallable CdnClient::describeDomainRealTimeBpsDataCallable(const DescribeDomainRealTimeBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeByteHitRateDataOutcome CdnClient::describeDomainRealTimeByteHitRateData(const DescribeDomainRealTimeByteHitRateDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeByteHitRateDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeByteHitRateDataOutcome(DescribeDomainRealTimeByteHitRateDataResult(outcome.result())); + else + return DescribeDomainRealTimeByteHitRateDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeByteHitRateDataAsync(const DescribeDomainRealTimeByteHitRateDataRequest& request, const DescribeDomainRealTimeByteHitRateDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeByteHitRateData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeByteHitRateDataOutcomeCallable CdnClient::describeDomainRealTimeByteHitRateDataCallable(const DescribeDomainRealTimeByteHitRateDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeByteHitRateData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeDetailDataOutcome CdnClient::describeDomainRealTimeDetailData(const DescribeDomainRealTimeDetailDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeDetailDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeDetailDataOutcome(DescribeDomainRealTimeDetailDataResult(outcome.result())); + else + return DescribeDomainRealTimeDetailDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeDetailDataAsync(const DescribeDomainRealTimeDetailDataRequest& request, const DescribeDomainRealTimeDetailDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeDetailData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeDetailDataOutcomeCallable CdnClient::describeDomainRealTimeDetailDataCallable(const DescribeDomainRealTimeDetailDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeDetailData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeHttpCodeDataOutcome CdnClient::describeDomainRealTimeHttpCodeData(const DescribeDomainRealTimeHttpCodeDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeHttpCodeDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeHttpCodeDataOutcome(DescribeDomainRealTimeHttpCodeDataResult(outcome.result())); + else + return DescribeDomainRealTimeHttpCodeDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeHttpCodeDataAsync(const DescribeDomainRealTimeHttpCodeDataRequest& request, const DescribeDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeHttpCodeData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeHttpCodeDataOutcomeCallable CdnClient::describeDomainRealTimeHttpCodeDataCallable(const DescribeDomainRealTimeHttpCodeDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeHttpCodeData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeQpsDataOutcome CdnClient::describeDomainRealTimeQpsData(const DescribeDomainRealTimeQpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeQpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeQpsDataOutcome(DescribeDomainRealTimeQpsDataResult(outcome.result())); + else + return DescribeDomainRealTimeQpsDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeQpsDataAsync(const DescribeDomainRealTimeQpsDataRequest& request, const DescribeDomainRealTimeQpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeQpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeQpsDataOutcomeCallable CdnClient::describeDomainRealTimeQpsDataCallable(const DescribeDomainRealTimeQpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeQpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeReqHitRateDataOutcome CdnClient::describeDomainRealTimeReqHitRateData(const DescribeDomainRealTimeReqHitRateDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeReqHitRateDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeReqHitRateDataOutcome(DescribeDomainRealTimeReqHitRateDataResult(outcome.result())); + else + return DescribeDomainRealTimeReqHitRateDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeReqHitRateDataAsync(const DescribeDomainRealTimeReqHitRateDataRequest& request, const DescribeDomainRealTimeReqHitRateDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeReqHitRateData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeReqHitRateDataOutcomeCallable CdnClient::describeDomainRealTimeReqHitRateDataCallable(const DescribeDomainRealTimeReqHitRateDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeReqHitRateData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeSrcBpsDataOutcome CdnClient::describeDomainRealTimeSrcBpsData(const DescribeDomainRealTimeSrcBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeSrcBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeSrcBpsDataOutcome(DescribeDomainRealTimeSrcBpsDataResult(outcome.result())); + else + return DescribeDomainRealTimeSrcBpsDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeSrcBpsDataAsync(const DescribeDomainRealTimeSrcBpsDataRequest& request, const DescribeDomainRealTimeSrcBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeSrcBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeSrcBpsDataOutcomeCallable CdnClient::describeDomainRealTimeSrcBpsDataCallable(const DescribeDomainRealTimeSrcBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeSrcBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeSrcHttpCodeDataOutcome CdnClient::describeDomainRealTimeSrcHttpCodeData(const DescribeDomainRealTimeSrcHttpCodeDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeSrcHttpCodeDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeSrcHttpCodeDataOutcome(DescribeDomainRealTimeSrcHttpCodeDataResult(outcome.result())); + else + return DescribeDomainRealTimeSrcHttpCodeDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeSrcHttpCodeDataAsync(const DescribeDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeSrcHttpCodeData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeSrcHttpCodeDataOutcomeCallable CdnClient::describeDomainRealTimeSrcHttpCodeDataCallable(const DescribeDomainRealTimeSrcHttpCodeDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeSrcHttpCodeData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeSrcTrafficDataOutcome CdnClient::describeDomainRealTimeSrcTrafficData(const DescribeDomainRealTimeSrcTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeSrcTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeSrcTrafficDataOutcome(DescribeDomainRealTimeSrcTrafficDataResult(outcome.result())); + else + return DescribeDomainRealTimeSrcTrafficDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeSrcTrafficDataAsync(const DescribeDomainRealTimeSrcTrafficDataRequest& request, const DescribeDomainRealTimeSrcTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeSrcTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeSrcTrafficDataOutcomeCallable CdnClient::describeDomainRealTimeSrcTrafficDataCallable(const DescribeDomainRealTimeSrcTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeSrcTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealTimeTrafficDataOutcome CdnClient::describeDomainRealTimeTrafficData(const DescribeDomainRealTimeTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealTimeTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealTimeTrafficDataOutcome(DescribeDomainRealTimeTrafficDataResult(outcome.result())); + else + return DescribeDomainRealTimeTrafficDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealTimeTrafficDataAsync(const DescribeDomainRealTimeTrafficDataRequest& request, const DescribeDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealTimeTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealTimeTrafficDataOutcomeCallable CdnClient::describeDomainRealTimeTrafficDataCallable(const DescribeDomainRealTimeTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealTimeTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainRealtimeLogDeliveryOutcome CdnClient::describeDomainRealtimeLogDelivery(const DescribeDomainRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRealtimeLogDeliveryOutcome(DescribeDomainRealtimeLogDeliveryResult(outcome.result())); + else + return DescribeDomainRealtimeLogDeliveryOutcome(outcome.error()); +} + +void CdnClient::describeDomainRealtimeLogDeliveryAsync(const DescribeDomainRealtimeLogDeliveryRequest& request, const DescribeDomainRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainRealtimeLogDeliveryOutcomeCallable CdnClient::describeDomainRealtimeLogDeliveryCallable(const DescribeDomainRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainRegionDataOutcome CdnClient::describeDomainRegionData(const DescribeDomainRegionDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -627,6 +3435,330 @@ CdnClient::DescribeDomainSrcFlowDataOutcomeCallable CdnClient::describeDomainSrc return task->get_future(); } +CdnClient::DescribeDomainSrcHttpCodeDataOutcome CdnClient::describeDomainSrcHttpCodeData(const DescribeDomainSrcHttpCodeDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainSrcHttpCodeDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainSrcHttpCodeDataOutcome(DescribeDomainSrcHttpCodeDataResult(outcome.result())); + else + return DescribeDomainSrcHttpCodeDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainSrcHttpCodeDataAsync(const DescribeDomainSrcHttpCodeDataRequest& request, const DescribeDomainSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainSrcHttpCodeData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainSrcHttpCodeDataOutcomeCallable CdnClient::describeDomainSrcHttpCodeDataCallable(const DescribeDomainSrcHttpCodeDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainSrcHttpCodeData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainSrcQpsDataOutcome CdnClient::describeDomainSrcQpsData(const DescribeDomainSrcQpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainSrcQpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainSrcQpsDataOutcome(DescribeDomainSrcQpsDataResult(outcome.result())); + else + return DescribeDomainSrcQpsDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainSrcQpsDataAsync(const DescribeDomainSrcQpsDataRequest& request, const DescribeDomainSrcQpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainSrcQpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainSrcQpsDataOutcomeCallable CdnClient::describeDomainSrcQpsDataCallable(const DescribeDomainSrcQpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainSrcQpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainSrcTopUrlVisitOutcome CdnClient::describeDomainSrcTopUrlVisit(const DescribeDomainSrcTopUrlVisitRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainSrcTopUrlVisitOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainSrcTopUrlVisitOutcome(DescribeDomainSrcTopUrlVisitResult(outcome.result())); + else + return DescribeDomainSrcTopUrlVisitOutcome(outcome.error()); +} + +void CdnClient::describeDomainSrcTopUrlVisitAsync(const DescribeDomainSrcTopUrlVisitRequest& request, const DescribeDomainSrcTopUrlVisitAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainSrcTopUrlVisit(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainSrcTopUrlVisitOutcomeCallable CdnClient::describeDomainSrcTopUrlVisitCallable(const DescribeDomainSrcTopUrlVisitRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainSrcTopUrlVisit(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainSrcTrafficDataOutcome CdnClient::describeDomainSrcTrafficData(const DescribeDomainSrcTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainSrcTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainSrcTrafficDataOutcome(DescribeDomainSrcTrafficDataResult(outcome.result())); + else + return DescribeDomainSrcTrafficDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainSrcTrafficDataAsync(const DescribeDomainSrcTrafficDataRequest& request, const DescribeDomainSrcTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainSrcTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainSrcTrafficDataOutcomeCallable CdnClient::describeDomainSrcTrafficDataCallable(const DescribeDomainSrcTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainSrcTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainTopClientIpVisitOutcome CdnClient::describeDomainTopClientIpVisit(const DescribeDomainTopClientIpVisitRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainTopClientIpVisitOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainTopClientIpVisitOutcome(DescribeDomainTopClientIpVisitResult(outcome.result())); + else + return DescribeDomainTopClientIpVisitOutcome(outcome.error()); +} + +void CdnClient::describeDomainTopClientIpVisitAsync(const DescribeDomainTopClientIpVisitRequest& request, const DescribeDomainTopClientIpVisitAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainTopClientIpVisit(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainTopClientIpVisitOutcomeCallable CdnClient::describeDomainTopClientIpVisitCallable(const DescribeDomainTopClientIpVisitRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainTopClientIpVisit(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainTopReferVisitOutcome CdnClient::describeDomainTopReferVisit(const DescribeDomainTopReferVisitRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainTopReferVisitOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainTopReferVisitOutcome(DescribeDomainTopReferVisitResult(outcome.result())); + else + return DescribeDomainTopReferVisitOutcome(outcome.error()); +} + +void CdnClient::describeDomainTopReferVisitAsync(const DescribeDomainTopReferVisitRequest& request, const DescribeDomainTopReferVisitAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainTopReferVisit(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainTopReferVisitOutcomeCallable CdnClient::describeDomainTopReferVisitCallable(const DescribeDomainTopReferVisitRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainTopReferVisit(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainTopUrlVisitOutcome CdnClient::describeDomainTopUrlVisit(const DescribeDomainTopUrlVisitRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainTopUrlVisitOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainTopUrlVisitOutcome(DescribeDomainTopUrlVisitResult(outcome.result())); + else + return DescribeDomainTopUrlVisitOutcome(outcome.error()); +} + +void CdnClient::describeDomainTopUrlVisitAsync(const DescribeDomainTopUrlVisitRequest& request, const DescribeDomainTopUrlVisitAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainTopUrlVisit(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainTopUrlVisitOutcomeCallable CdnClient::describeDomainTopUrlVisitCallable(const DescribeDomainTopUrlVisitRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainTopUrlVisit(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainTrafficDataOutcome CdnClient::describeDomainTrafficData(const DescribeDomainTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainTrafficDataOutcome(DescribeDomainTrafficDataResult(outcome.result())); + else + return DescribeDomainTrafficDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainTrafficDataAsync(const DescribeDomainTrafficDataRequest& request, const DescribeDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainTrafficDataOutcomeCallable CdnClient::describeDomainTrafficDataCallable(const DescribeDomainTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeDomainUsageDataOutcome CdnClient::describeDomainUsageData(const DescribeDomainUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainUsageDataOutcome(DescribeDomainUsageDataResult(outcome.result())); + else + return DescribeDomainUsageDataOutcome(outcome.error()); +} + +void CdnClient::describeDomainUsageDataAsync(const DescribeDomainUsageDataRequest& request, const DescribeDomainUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainUsageDataOutcomeCallable CdnClient::describeDomainUsageDataCallable(const DescribeDomainUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainUvDataOutcome CdnClient::describeDomainUvData(const DescribeDomainUvDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +3867,366 @@ CdnClient::DescribeDomainsUsageByDayOutcomeCallable CdnClient::describeDomainsUs return task->get_future(); } +CdnClient::DescribeEsExceptionDataOutcome CdnClient::describeEsExceptionData(const DescribeEsExceptionDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEsExceptionDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEsExceptionDataOutcome(DescribeEsExceptionDataResult(outcome.result())); + else + return DescribeEsExceptionDataOutcome(outcome.error()); +} + +void CdnClient::describeEsExceptionDataAsync(const DescribeEsExceptionDataRequest& request, const DescribeEsExceptionDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEsExceptionData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeEsExceptionDataOutcomeCallable CdnClient::describeEsExceptionDataCallable(const DescribeEsExceptionDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEsExceptionData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeEsExecuteDataOutcome CdnClient::describeEsExecuteData(const DescribeEsExecuteDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEsExecuteDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEsExecuteDataOutcome(DescribeEsExecuteDataResult(outcome.result())); + else + return DescribeEsExecuteDataOutcome(outcome.error()); +} + +void CdnClient::describeEsExecuteDataAsync(const DescribeEsExecuteDataRequest& request, const DescribeEsExecuteDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEsExecuteData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeEsExecuteDataOutcomeCallable CdnClient::describeEsExecuteDataCallable(const DescribeEsExecuteDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEsExecuteData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeFCTriggerOutcome CdnClient::describeFCTrigger(const DescribeFCTriggerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeFCTriggerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeFCTriggerOutcome(DescribeFCTriggerResult(outcome.result())); + else + return DescribeFCTriggerOutcome(outcome.error()); +} + +void CdnClient::describeFCTriggerAsync(const DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeFCTrigger(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeFCTriggerOutcomeCallable CdnClient::describeFCTriggerCallable(const DescribeFCTriggerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeFCTrigger(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeIllegalUrlExportTaskOutcome CdnClient::describeIllegalUrlExportTask(const DescribeIllegalUrlExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeIllegalUrlExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeIllegalUrlExportTaskOutcome(DescribeIllegalUrlExportTaskResult(outcome.result())); + else + return DescribeIllegalUrlExportTaskOutcome(outcome.error()); +} + +void CdnClient::describeIllegalUrlExportTaskAsync(const DescribeIllegalUrlExportTaskRequest& request, const DescribeIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeIllegalUrlExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeIllegalUrlExportTaskOutcomeCallable CdnClient::describeIllegalUrlExportTaskCallable(const DescribeIllegalUrlExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeIllegalUrlExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeIpInfoOutcome CdnClient::describeIpInfo(const DescribeIpInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeIpInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeIpInfoOutcome(DescribeIpInfoResult(outcome.result())); + else + return DescribeIpInfoOutcome(outcome.error()); +} + +void CdnClient::describeIpInfoAsync(const DescribeIpInfoRequest& request, const DescribeIpInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeIpInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeIpInfoOutcomeCallable CdnClient::describeIpInfoCallable(const DescribeIpInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeIpInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeIpStatusOutcome CdnClient::describeIpStatus(const DescribeIpStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeIpStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeIpStatusOutcome(DescribeIpStatusResult(outcome.result())); + else + return DescribeIpStatusOutcome(outcome.error()); +} + +void CdnClient::describeIpStatusAsync(const DescribeIpStatusRequest& request, const DescribeIpStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeIpStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeIpStatusOutcomeCallable CdnClient::describeIpStatusCallable(const DescribeIpStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeIpStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeL2VipsByDomainOutcome CdnClient::describeL2VipsByDomain(const DescribeL2VipsByDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeL2VipsByDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeL2VipsByDomainOutcome(DescribeL2VipsByDomainResult(outcome.result())); + else + return DescribeL2VipsByDomainOutcome(outcome.error()); +} + +void CdnClient::describeL2VipsByDomainAsync(const DescribeL2VipsByDomainRequest& request, const DescribeL2VipsByDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeL2VipsByDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeL2VipsByDomainOutcomeCallable CdnClient::describeL2VipsByDomainCallable(const DescribeL2VipsByDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeL2VipsByDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeRangeDataByLocateAndIspServiceOutcome CdnClient::describeRangeDataByLocateAndIspService(const DescribeRangeDataByLocateAndIspServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRangeDataByLocateAndIspServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRangeDataByLocateAndIspServiceOutcome(DescribeRangeDataByLocateAndIspServiceResult(outcome.result())); + else + return DescribeRangeDataByLocateAndIspServiceOutcome(outcome.error()); +} + +void CdnClient::describeRangeDataByLocateAndIspServiceAsync(const DescribeRangeDataByLocateAndIspServiceRequest& request, const DescribeRangeDataByLocateAndIspServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRangeDataByLocateAndIspService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeRangeDataByLocateAndIspServiceOutcomeCallable CdnClient::describeRangeDataByLocateAndIspServiceCallable(const DescribeRangeDataByLocateAndIspServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRangeDataByLocateAndIspService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeRealtimeDeliveryAccOutcome CdnClient::describeRealtimeDeliveryAcc(const DescribeRealtimeDeliveryAccRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRealtimeDeliveryAccOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRealtimeDeliveryAccOutcome(DescribeRealtimeDeliveryAccResult(outcome.result())); + else + return DescribeRealtimeDeliveryAccOutcome(outcome.error()); +} + +void CdnClient::describeRealtimeDeliveryAccAsync(const DescribeRealtimeDeliveryAccRequest& request, const DescribeRealtimeDeliveryAccAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRealtimeDeliveryAcc(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeRealtimeDeliveryAccOutcomeCallable CdnClient::describeRealtimeDeliveryAccCallable(const DescribeRealtimeDeliveryAccRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRealtimeDeliveryAcc(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeRealtimeLogAuthorizedOutcome CdnClient::describeRealtimeLogAuthorized(const DescribeRealtimeLogAuthorizedRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRealtimeLogAuthorizedOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRealtimeLogAuthorizedOutcome(DescribeRealtimeLogAuthorizedResult(outcome.result())); + else + return DescribeRealtimeLogAuthorizedOutcome(outcome.error()); +} + +void CdnClient::describeRealtimeLogAuthorizedAsync(const DescribeRealtimeLogAuthorizedRequest& request, const DescribeRealtimeLogAuthorizedAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRealtimeLogAuthorized(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeRealtimeLogAuthorizedOutcomeCallable CdnClient::describeRealtimeLogAuthorizedCallable(const DescribeRealtimeLogAuthorizedRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRealtimeLogAuthorized(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeRefreshQuotaOutcome CdnClient::describeRefreshQuota(const DescribeRefreshQuotaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +4263,150 @@ CdnClient::DescribeRefreshQuotaOutcomeCallable CdnClient::describeRefreshQuotaCa return task->get_future(); } +CdnClient::DescribeRefreshTaskByIdOutcome CdnClient::describeRefreshTaskById(const DescribeRefreshTaskByIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRefreshTaskByIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRefreshTaskByIdOutcome(DescribeRefreshTaskByIdResult(outcome.result())); + else + return DescribeRefreshTaskByIdOutcome(outcome.error()); +} + +void CdnClient::describeRefreshTaskByIdAsync(const DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRefreshTaskById(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeRefreshTaskByIdOutcomeCallable CdnClient::describeRefreshTaskByIdCallable(const DescribeRefreshTaskByIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRefreshTaskById(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeRefreshTasksOutcome CdnClient::describeRefreshTasks(const DescribeRefreshTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRefreshTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRefreshTasksOutcome(DescribeRefreshTasksResult(outcome.result())); + else + return DescribeRefreshTasksOutcome(outcome.error()); +} + +void CdnClient::describeRefreshTasksAsync(const DescribeRefreshTasksRequest& request, const DescribeRefreshTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRefreshTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeRefreshTasksOutcomeCallable CdnClient::describeRefreshTasksCallable(const DescribeRefreshTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRefreshTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeStagingIpOutcome CdnClient::describeStagingIp(const DescribeStagingIpRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStagingIpOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStagingIpOutcome(DescribeStagingIpResult(outcome.result())); + else + return DescribeStagingIpOutcome(outcome.error()); +} + +void CdnClient::describeStagingIpAsync(const DescribeStagingIpRequest& request, const DescribeStagingIpAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStagingIp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeStagingIpOutcomeCallable CdnClient::describeStagingIpCallable(const DescribeStagingIpRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStagingIp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeTagResourcesOutcome CdnClient::describeTagResources(const DescribeTagResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTagResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTagResourcesOutcome(DescribeTagResourcesResult(outcome.result())); + else + return DescribeTagResourcesOutcome(outcome.error()); +} + +void CdnClient::describeTagResourcesAsync(const DescribeTagResourcesRequest& request, const DescribeTagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTagResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeTagResourcesOutcomeCallable CdnClient::describeTagResourcesCallable(const DescribeTagResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTagResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeTopDomainsByFlowOutcome CdnClient::describeTopDomainsByFlow(const DescribeTopDomainsByFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -807,6 +4443,78 @@ CdnClient::DescribeTopDomainsByFlowOutcomeCallable CdnClient::describeTopDomains return task->get_future(); } +CdnClient::DescribeUserCertificateExpireCountOutcome CdnClient::describeUserCertificateExpireCount(const DescribeUserCertificateExpireCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserCertificateExpireCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserCertificateExpireCountOutcome(DescribeUserCertificateExpireCountResult(outcome.result())); + else + return DescribeUserCertificateExpireCountOutcome(outcome.error()); +} + +void CdnClient::describeUserCertificateExpireCountAsync(const DescribeUserCertificateExpireCountRequest& request, const DescribeUserCertificateExpireCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserCertificateExpireCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeUserCertificateExpireCountOutcomeCallable CdnClient::describeUserCertificateExpireCountCallable(const DescribeUserCertificateExpireCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserCertificateExpireCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeUserConfigsOutcome CdnClient::describeUserConfigs(const DescribeUserConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserConfigsOutcome(DescribeUserConfigsResult(outcome.result())); + else + return DescribeUserConfigsOutcome(outcome.error()); +} + +void CdnClient::describeUserConfigsAsync(const DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeUserConfigsOutcomeCallable CdnClient::describeUserConfigsCallable(const DescribeUserConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeUserDomainsOutcome CdnClient::describeUserDomains(const DescribeUserDomainsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -843,6 +4551,546 @@ CdnClient::DescribeUserDomainsOutcomeCallable CdnClient::describeUserDomainsCall return task->get_future(); } +CdnClient::DescribeUserTagsOutcome CdnClient::describeUserTags(const DescribeUserTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserTagsOutcome(DescribeUserTagsResult(outcome.result())); + else + return DescribeUserTagsOutcome(outcome.error()); +} + +void CdnClient::describeUserTagsAsync(const DescribeUserTagsRequest& request, const DescribeUserTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeUserTagsOutcomeCallable CdnClient::describeUserTagsCallable(const DescribeUserTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeUserUsageDataExportTaskOutcome CdnClient::describeUserUsageDataExportTask(const DescribeUserUsageDataExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserUsageDataExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserUsageDataExportTaskOutcome(DescribeUserUsageDataExportTaskResult(outcome.result())); + else + return DescribeUserUsageDataExportTaskOutcome(outcome.error()); +} + +void CdnClient::describeUserUsageDataExportTaskAsync(const DescribeUserUsageDataExportTaskRequest& request, const DescribeUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserUsageDataExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeUserUsageDataExportTaskOutcomeCallable CdnClient::describeUserUsageDataExportTaskCallable(const DescribeUserUsageDataExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserUsageDataExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeUserUsageDetailDataExportTaskOutcome CdnClient::describeUserUsageDetailDataExportTask(const DescribeUserUsageDetailDataExportTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserUsageDetailDataExportTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserUsageDetailDataExportTaskOutcome(DescribeUserUsageDetailDataExportTaskResult(outcome.result())); + else + return DescribeUserUsageDetailDataExportTaskOutcome(outcome.error()); +} + +void CdnClient::describeUserUsageDetailDataExportTaskAsync(const DescribeUserUsageDetailDataExportTaskRequest& request, const DescribeUserUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserUsageDetailDataExportTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeUserUsageDetailDataExportTaskOutcomeCallable CdnClient::describeUserUsageDetailDataExportTaskCallable(const DescribeUserUsageDetailDataExportTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserUsageDetailDataExportTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeUserVipsByDomainOutcome CdnClient::describeUserVipsByDomain(const DescribeUserVipsByDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserVipsByDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserVipsByDomainOutcome(DescribeUserVipsByDomainResult(outcome.result())); + else + return DescribeUserVipsByDomainOutcome(outcome.error()); +} + +void CdnClient::describeUserVipsByDomainAsync(const DescribeUserVipsByDomainRequest& request, const DescribeUserVipsByDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserVipsByDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeUserVipsByDomainOutcomeCallable CdnClient::describeUserVipsByDomainCallable(const DescribeUserVipsByDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserVipsByDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeVerifyContentOutcome CdnClient::describeVerifyContent(const DescribeVerifyContentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVerifyContentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVerifyContentOutcome(DescribeVerifyContentResult(outcome.result())); + else + return DescribeVerifyContentOutcome(outcome.error()); +} + +void CdnClient::describeVerifyContentAsync(const DescribeVerifyContentRequest& request, const DescribeVerifyContentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVerifyContent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeVerifyContentOutcomeCallable CdnClient::describeVerifyContentCallable(const DescribeVerifyContentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVerifyContent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DisableRealtimeLogDeliveryOutcome CdnClient::disableRealtimeLogDelivery(const DisableRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DisableRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DisableRealtimeLogDeliveryOutcome(DisableRealtimeLogDeliveryResult(outcome.result())); + else + return DisableRealtimeLogDeliveryOutcome(outcome.error()); +} + +void CdnClient::disableRealtimeLogDeliveryAsync(const DisableRealtimeLogDeliveryRequest& request, const DisableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, disableRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DisableRealtimeLogDeliveryOutcomeCallable CdnClient::disableRealtimeLogDeliveryCallable(const DisableRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->disableRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::EnableRealtimeLogDeliveryOutcome CdnClient::enableRealtimeLogDelivery(const EnableRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EnableRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EnableRealtimeLogDeliveryOutcome(EnableRealtimeLogDeliveryResult(outcome.result())); + else + return EnableRealtimeLogDeliveryOutcome(outcome.error()); +} + +void CdnClient::enableRealtimeLogDeliveryAsync(const EnableRealtimeLogDeliveryRequest& request, const EnableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, enableRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::EnableRealtimeLogDeliveryOutcomeCallable CdnClient::enableRealtimeLogDeliveryCallable(const EnableRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->enableRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ListDomainsByLogConfigIdOutcome CdnClient::listDomainsByLogConfigId(const ListDomainsByLogConfigIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDomainsByLogConfigIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDomainsByLogConfigIdOutcome(ListDomainsByLogConfigIdResult(outcome.result())); + else + return ListDomainsByLogConfigIdOutcome(outcome.error()); +} + +void CdnClient::listDomainsByLogConfigIdAsync(const ListDomainsByLogConfigIdRequest& request, const ListDomainsByLogConfigIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDomainsByLogConfigId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ListDomainsByLogConfigIdOutcomeCallable CdnClient::listDomainsByLogConfigIdCallable(const ListDomainsByLogConfigIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDomainsByLogConfigId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ListFCTriggerOutcome CdnClient::listFCTrigger(const ListFCTriggerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFCTriggerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFCTriggerOutcome(ListFCTriggerResult(outcome.result())); + else + return ListFCTriggerOutcome(outcome.error()); +} + +void CdnClient::listFCTriggerAsync(const ListFCTriggerRequest& request, const ListFCTriggerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFCTrigger(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ListFCTriggerOutcomeCallable CdnClient::listFCTriggerCallable(const ListFCTriggerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFCTrigger(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ListRealtimeLogDeliveryDomainsOutcome CdnClient::listRealtimeLogDeliveryDomains(const ListRealtimeLogDeliveryDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRealtimeLogDeliveryDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRealtimeLogDeliveryDomainsOutcome(ListRealtimeLogDeliveryDomainsResult(outcome.result())); + else + return ListRealtimeLogDeliveryDomainsOutcome(outcome.error()); +} + +void CdnClient::listRealtimeLogDeliveryDomainsAsync(const ListRealtimeLogDeliveryDomainsRequest& request, const ListRealtimeLogDeliveryDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRealtimeLogDeliveryDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ListRealtimeLogDeliveryDomainsOutcomeCallable CdnClient::listRealtimeLogDeliveryDomainsCallable(const ListRealtimeLogDeliveryDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRealtimeLogDeliveryDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ListRealtimeLogDeliveryInfosOutcome CdnClient::listRealtimeLogDeliveryInfos(const ListRealtimeLogDeliveryInfosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRealtimeLogDeliveryInfosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRealtimeLogDeliveryInfosOutcome(ListRealtimeLogDeliveryInfosResult(outcome.result())); + else + return ListRealtimeLogDeliveryInfosOutcome(outcome.error()); +} + +void CdnClient::listRealtimeLogDeliveryInfosAsync(const ListRealtimeLogDeliveryInfosRequest& request, const ListRealtimeLogDeliveryInfosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRealtimeLogDeliveryInfos(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ListRealtimeLogDeliveryInfosOutcomeCallable CdnClient::listRealtimeLogDeliveryInfosCallable(const ListRealtimeLogDeliveryInfosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRealtimeLogDeliveryInfos(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ListUserCustomLogConfigOutcome CdnClient::listUserCustomLogConfig(const ListUserCustomLogConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListUserCustomLogConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListUserCustomLogConfigOutcome(ListUserCustomLogConfigResult(outcome.result())); + else + return ListUserCustomLogConfigOutcome(outcome.error()); +} + +void CdnClient::listUserCustomLogConfigAsync(const ListUserCustomLogConfigRequest& request, const ListUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listUserCustomLogConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ListUserCustomLogConfigOutcomeCallable CdnClient::listUserCustomLogConfigCallable(const ListUserCustomLogConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listUserCustomLogConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ModifyCdnDomainOutcome CdnClient::modifyCdnDomain(const ModifyCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCdnDomainOutcome(ModifyCdnDomainResult(outcome.result())); + else + return ModifyCdnDomainOutcome(outcome.error()); +} + +void CdnClient::modifyCdnDomainAsync(const ModifyCdnDomainRequest& request, const ModifyCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ModifyCdnDomainOutcomeCallable CdnClient::modifyCdnDomainCallable(const ModifyCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ModifyCdnDomainSchdmByPropertyOutcome CdnClient::modifyCdnDomainSchdmByProperty(const ModifyCdnDomainSchdmByPropertyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCdnDomainSchdmByPropertyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCdnDomainSchdmByPropertyOutcome(ModifyCdnDomainSchdmByPropertyResult(outcome.result())); + else + return ModifyCdnDomainSchdmByPropertyOutcome(outcome.error()); +} + +void CdnClient::modifyCdnDomainSchdmByPropertyAsync(const ModifyCdnDomainSchdmByPropertyRequest& request, const ModifyCdnDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCdnDomainSchdmByProperty(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ModifyCdnDomainSchdmByPropertyOutcomeCallable CdnClient::modifyCdnDomainSchdmByPropertyCallable(const ModifyCdnDomainSchdmByPropertyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCdnDomainSchdmByProperty(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::ModifyRealtimeLogDeliveryOutcome CdnClient::modifyRealtimeLogDelivery(const ModifyRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyRealtimeLogDeliveryOutcome(ModifyRealtimeLogDeliveryResult(outcome.result())); + else + return ModifyRealtimeLogDeliveryOutcome(outcome.error()); +} + +void CdnClient::modifyRealtimeLogDeliveryAsync(const ModifyRealtimeLogDeliveryRequest& request, const ModifyRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::ModifyRealtimeLogDeliveryOutcomeCallable CdnClient::modifyRealtimeLogDeliveryCallable(const ModifyRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::OpenCdnServiceOutcome CdnClient::openCdnService(const OpenCdnServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,6 +5127,42 @@ CdnClient::OpenCdnServiceOutcomeCallable CdnClient::openCdnServiceCallable(const return task->get_future(); } +CdnClient::PublishStagingConfigToProductionOutcome CdnClient::publishStagingConfigToProduction(const PublishStagingConfigToProductionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PublishStagingConfigToProductionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PublishStagingConfigToProductionOutcome(PublishStagingConfigToProductionResult(outcome.result())); + else + return PublishStagingConfigToProductionOutcome(outcome.error()); +} + +void CdnClient::publishStagingConfigToProductionAsync(const PublishStagingConfigToProductionRequest& request, const PublishStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, publishStagingConfigToProduction(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::PublishStagingConfigToProductionOutcomeCallable CdnClient::publishStagingConfigToProductionCallable(const PublishStagingConfigToProductionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->publishStagingConfigToProduction(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::PushObjectCacheOutcome CdnClient::pushObjectCache(const PushObjectCacheRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -951,6 +5235,402 @@ CdnClient::RefreshObjectCachesOutcomeCallable CdnClient::refreshObjectCachesCall return task->get_future(); } +CdnClient::RollbackStagingConfigOutcome CdnClient::rollbackStagingConfig(const RollbackStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RollbackStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RollbackStagingConfigOutcome(RollbackStagingConfigResult(outcome.result())); + else + return RollbackStagingConfigOutcome(outcome.error()); +} + +void CdnClient::rollbackStagingConfigAsync(const RollbackStagingConfigRequest& request, const RollbackStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rollbackStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::RollbackStagingConfigOutcomeCallable CdnClient::rollbackStagingConfigCallable(const RollbackStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rollbackStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetCdnDomainCSRCertificateOutcome CdnClient::setCdnDomainCSRCertificate(const SetCdnDomainCSRCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCdnDomainCSRCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCdnDomainCSRCertificateOutcome(SetCdnDomainCSRCertificateResult(outcome.result())); + else + return SetCdnDomainCSRCertificateOutcome(outcome.error()); +} + +void CdnClient::setCdnDomainCSRCertificateAsync(const SetCdnDomainCSRCertificateRequest& request, const SetCdnDomainCSRCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCdnDomainCSRCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetCdnDomainCSRCertificateOutcomeCallable CdnClient::setCdnDomainCSRCertificateCallable(const SetCdnDomainCSRCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCdnDomainCSRCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetCdnDomainSMCertificateOutcome CdnClient::setCdnDomainSMCertificate(const SetCdnDomainSMCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCdnDomainSMCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCdnDomainSMCertificateOutcome(SetCdnDomainSMCertificateResult(outcome.result())); + else + return SetCdnDomainSMCertificateOutcome(outcome.error()); +} + +void CdnClient::setCdnDomainSMCertificateAsync(const SetCdnDomainSMCertificateRequest& request, const SetCdnDomainSMCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCdnDomainSMCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetCdnDomainSMCertificateOutcomeCallable CdnClient::setCdnDomainSMCertificateCallable(const SetCdnDomainSMCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCdnDomainSMCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetCdnDomainStagingConfigOutcome CdnClient::setCdnDomainStagingConfig(const SetCdnDomainStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCdnDomainStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCdnDomainStagingConfigOutcome(SetCdnDomainStagingConfigResult(outcome.result())); + else + return SetCdnDomainStagingConfigOutcome(outcome.error()); +} + +void CdnClient::setCdnDomainStagingConfigAsync(const SetCdnDomainStagingConfigRequest& request, const SetCdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCdnDomainStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetCdnDomainStagingConfigOutcomeCallable CdnClient::setCdnDomainStagingConfigCallable(const SetCdnDomainStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCdnDomainStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetConfigOfVersionOutcome CdnClient::setConfigOfVersion(const SetConfigOfVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetConfigOfVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetConfigOfVersionOutcome(SetConfigOfVersionResult(outcome.result())); + else + return SetConfigOfVersionOutcome(outcome.error()); +} + +void CdnClient::setConfigOfVersionAsync(const SetConfigOfVersionRequest& request, const SetConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setConfigOfVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetConfigOfVersionOutcomeCallable CdnClient::setConfigOfVersionCallable(const SetConfigOfVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setConfigOfVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetDomainServerCertificateOutcome CdnClient::setDomainServerCertificate(const SetDomainServerCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDomainServerCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDomainServerCertificateOutcome(SetDomainServerCertificateResult(outcome.result())); + else + return SetDomainServerCertificateOutcome(outcome.error()); +} + +void CdnClient::setDomainServerCertificateAsync(const SetDomainServerCertificateRequest& request, const SetDomainServerCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDomainServerCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetDomainServerCertificateOutcomeCallable CdnClient::setDomainServerCertificateCallable(const SetDomainServerCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDomainServerCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetReqHeaderConfigOutcome CdnClient::setReqHeaderConfig(const SetReqHeaderConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetReqHeaderConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetReqHeaderConfigOutcome(SetReqHeaderConfigResult(outcome.result())); + else + return SetReqHeaderConfigOutcome(outcome.error()); +} + +void CdnClient::setReqHeaderConfigAsync(const SetReqHeaderConfigRequest& request, const SetReqHeaderConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setReqHeaderConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetReqHeaderConfigOutcomeCallable CdnClient::setReqHeaderConfigCallable(const SetReqHeaderConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setReqHeaderConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::SetWaitingRoomConfigOutcome CdnClient::setWaitingRoomConfig(const SetWaitingRoomConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetWaitingRoomConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetWaitingRoomConfigOutcome(SetWaitingRoomConfigResult(outcome.result())); + else + return SetWaitingRoomConfigOutcome(outcome.error()); +} + +void CdnClient::setWaitingRoomConfigAsync(const SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setWaitingRoomConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::SetWaitingRoomConfigOutcomeCallable CdnClient::setWaitingRoomConfigCallable(const SetWaitingRoomConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setWaitingRoomConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::StartCdnDomainOutcome CdnClient::startCdnDomain(const StartCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartCdnDomainOutcome(StartCdnDomainResult(outcome.result())); + else + return StartCdnDomainOutcome(outcome.error()); +} + +void CdnClient::startCdnDomainAsync(const StartCdnDomainRequest& request, const StartCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::StartCdnDomainOutcomeCallable CdnClient::startCdnDomainCallable(const StartCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::StopCdnDomainOutcome CdnClient::stopCdnDomain(const StopCdnDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopCdnDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopCdnDomainOutcome(StopCdnDomainResult(outcome.result())); + else + return StopCdnDomainOutcome(outcome.error()); +} + +void CdnClient::stopCdnDomainAsync(const StopCdnDomainRequest& request, const StopCdnDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopCdnDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::StopCdnDomainOutcomeCallable CdnClient::stopCdnDomainCallable(const StopCdnDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopCdnDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::TagResourcesOutcome CdnClient::tagResources(const TagResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TagResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TagResourcesOutcome(TagResourcesResult(outcome.result())); + else + return TagResourcesOutcome(outcome.error()); +} + +void CdnClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, tagResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::TagResourcesOutcomeCallable CdnClient::tagResourcesCallable(const TagResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->tagResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::TestDescribeDomainBpsDataOutcome CdnClient::testDescribeDomainBpsData(const TestDescribeDomainBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,3 +5667,183 @@ CdnClient::TestDescribeDomainBpsDataOutcomeCallable CdnClient::testDescribeDomai return task->get_future(); } +CdnClient::UntagResourcesOutcome CdnClient::untagResources(const UntagResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UntagResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UntagResourcesOutcome(UntagResourcesResult(outcome.result())); + else + return UntagResourcesOutcome(outcome.error()); +} + +void CdnClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, untagResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::UntagResourcesOutcomeCallable CdnClient::untagResourcesCallable(const UntagResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->untagResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::UpdateCdnDeliverTaskOutcome CdnClient::updateCdnDeliverTask(const UpdateCdnDeliverTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCdnDeliverTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCdnDeliverTaskOutcome(UpdateCdnDeliverTaskResult(outcome.result())); + else + return UpdateCdnDeliverTaskOutcome(outcome.error()); +} + +void CdnClient::updateCdnDeliverTaskAsync(const UpdateCdnDeliverTaskRequest& request, const UpdateCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCdnDeliverTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::UpdateCdnDeliverTaskOutcomeCallable CdnClient::updateCdnDeliverTaskCallable(const UpdateCdnDeliverTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCdnDeliverTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::UpdateCdnSubTaskOutcome CdnClient::updateCdnSubTask(const UpdateCdnSubTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCdnSubTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCdnSubTaskOutcome(UpdateCdnSubTaskResult(outcome.result())); + else + return UpdateCdnSubTaskOutcome(outcome.error()); +} + +void CdnClient::updateCdnSubTaskAsync(const UpdateCdnSubTaskRequest& request, const UpdateCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCdnSubTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::UpdateCdnSubTaskOutcomeCallable CdnClient::updateCdnSubTaskCallable(const UpdateCdnSubTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCdnSubTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::UpdateFCTriggerOutcome CdnClient::updateFCTrigger(const UpdateFCTriggerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateFCTriggerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateFCTriggerOutcome(UpdateFCTriggerResult(outcome.result())); + else + return UpdateFCTriggerOutcome(outcome.error()); +} + +void CdnClient::updateFCTriggerAsync(const UpdateFCTriggerRequest& request, const UpdateFCTriggerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateFCTrigger(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::UpdateFCTriggerOutcomeCallable CdnClient::updateFCTriggerCallable(const UpdateFCTriggerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateFCTrigger(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::VerifyDomainOwnerOutcome CdnClient::verifyDomainOwner(const VerifyDomainOwnerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VerifyDomainOwnerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VerifyDomainOwnerOutcome(VerifyDomainOwnerResult(outcome.result())); + else + return VerifyDomainOwnerOutcome(outcome.error()); +} + +void CdnClient::verifyDomainOwnerAsync(const VerifyDomainOwnerRequest& request, const VerifyDomainOwnerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, verifyDomainOwner(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::VerifyDomainOwnerOutcomeCallable CdnClient::verifyDomainOwnerCallable(const VerifyDomainOwnerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->verifyDomainOwner(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/cdn/src/model/AddFCTriggerRequest.cc b/cdn/src/model/AddFCTriggerRequest.cc new file mode 100644 index 000000000..6e7cdba4f --- /dev/null +++ b/cdn/src/model/AddFCTriggerRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::AddFCTriggerRequest; + +AddFCTriggerRequest::AddFCTriggerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "AddFCTrigger") { + setMethod(HttpRequest::Method::Post); +} + +AddFCTriggerRequest::~AddFCTriggerRequest() {} + +std::string AddFCTriggerRequest::getNotes() const { + return notes_; +} + +void AddFCTriggerRequest::setNotes(const std::string ¬es) { + notes_ = notes; + setBodyParameter(std::string("Notes"), notes); +} + +std::string AddFCTriggerRequest::getEventMetaVersion() const { + return eventMetaVersion_; +} + +void AddFCTriggerRequest::setEventMetaVersion(const std::string &eventMetaVersion) { + eventMetaVersion_ = eventMetaVersion; + setBodyParameter(std::string("EventMetaVersion"), eventMetaVersion); +} + +std::string AddFCTriggerRequest::getTriggerARN() const { + return triggerARN_; +} + +void AddFCTriggerRequest::setTriggerARN(const std::string &triggerARN) { + triggerARN_ = triggerARN; + setParameter(std::string("TriggerARN"), triggerARN); +} + +std::string AddFCTriggerRequest::getSourceARN() const { + return sourceARN_; +} + +void AddFCTriggerRequest::setSourceARN(const std::string &sourceARN) { + sourceARN_ = sourceARN; + setBodyParameter(std::string("SourceARN"), sourceARN); +} + +long AddFCTriggerRequest::getOwnerId() const { + return ownerId_; +} + +void AddFCTriggerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string AddFCTriggerRequest::getRoleARN() const { + return roleARN_; +} + +void AddFCTriggerRequest::setRoleARN(const std::string &roleARN) { + roleARN_ = roleARN; + setBodyParameter(std::string("RoleARN"), roleARN); +} + +std::string AddFCTriggerRequest::getEventMetaName() const { + return eventMetaName_; +} + +void AddFCTriggerRequest::setEventMetaName(const std::string &eventMetaName) { + eventMetaName_ = eventMetaName; + setBodyParameter(std::string("EventMetaName"), eventMetaName); +} + +std::string AddFCTriggerRequest::getFunctionARN() const { + return functionARN_; +} + +void AddFCTriggerRequest::setFunctionARN(const std::string &functionARN) { + functionARN_ = functionARN; + setBodyParameter(std::string("FunctionARN"), functionARN); +} + diff --git a/cdn/src/model/AddFCTriggerResult.cc b/cdn/src/model/AddFCTriggerResult.cc new file mode 100644 index 000000000..878ca86fc --- /dev/null +++ b/cdn/src/model/AddFCTriggerResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +AddFCTriggerResult::AddFCTriggerResult() : + ServiceResult() +{} + +AddFCTriggerResult::AddFCTriggerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddFCTriggerResult::~AddFCTriggerResult() +{} + +void AddFCTriggerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/BatchAddCdnDomainRequest.cc b/cdn/src/model/BatchAddCdnDomainRequest.cc new file mode 100644 index 000000000..2782da1fe --- /dev/null +++ b/cdn/src/model/BatchAddCdnDomainRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchAddCdnDomainRequest; + +BatchAddCdnDomainRequest::BatchAddCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchAddCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +BatchAddCdnDomainRequest::~BatchAddCdnDomainRequest() {} + +std::string BatchAddCdnDomainRequest::getSources() const { + return sources_; +} + +void BatchAddCdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); +} + +std::string BatchAddCdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void BatchAddCdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +std::string BatchAddCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchAddCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string BatchAddCdnDomainRequest::getCdnType() const { + return cdnType_; +} + +void BatchAddCdnDomainRequest::setCdnType(const std::string &cdnType) { + cdnType_ = cdnType; + setParameter(std::string("CdnType"), cdnType); +} + +std::string BatchAddCdnDomainRequest::getScope() const { + return scope_; +} + +void BatchAddCdnDomainRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + +std::string BatchAddCdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; +} + +void BatchAddCdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); +} + +std::string BatchAddCdnDomainRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void BatchAddCdnDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string BatchAddCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void BatchAddCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long BatchAddCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void BatchAddCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string BatchAddCdnDomainRequest::getCheckUrl() const { + return checkUrl_; +} + +void BatchAddCdnDomainRequest::setCheckUrl(const std::string &checkUrl) { + checkUrl_ = checkUrl; + setParameter(std::string("CheckUrl"), checkUrl); +} + diff --git a/cdn/src/model/BatchAddCdnDomainResult.cc b/cdn/src/model/BatchAddCdnDomainResult.cc new file mode 100644 index 000000000..83aa48f5e --- /dev/null +++ b/cdn/src/model/BatchAddCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchAddCdnDomainResult::BatchAddCdnDomainResult() : + ServiceResult() +{} + +BatchAddCdnDomainResult::BatchAddCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchAddCdnDomainResult::~BatchAddCdnDomainResult() +{} + +void BatchAddCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc b/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc new file mode 100644 index 000000000..6068c8f50 --- /dev/null +++ b/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest; + +BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchDeleteCdnDomainConfig") { + setMethod(HttpRequest::Method::Post); +} + +BatchDeleteCdnDomainConfigRequest::~BatchDeleteCdnDomainConfigRequest() {} + +std::string BatchDeleteCdnDomainConfigRequest::getFunctionNames() const { + return functionNames_; +} + +void BatchDeleteCdnDomainConfigRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); +} + +std::string BatchDeleteCdnDomainConfigRequest::getDomainNames() const { + return domainNames_; +} + +void BatchDeleteCdnDomainConfigRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); +} + +std::string BatchDeleteCdnDomainConfigRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void BatchDeleteCdnDomainConfigRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long BatchDeleteCdnDomainConfigRequest::getOwnerId() const { + return ownerId_; +} + +void BatchDeleteCdnDomainConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string BatchDeleteCdnDomainConfigRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchDeleteCdnDomainConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc b/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc new file mode 100644 index 000000000..bb5c6f91a --- /dev/null +++ b/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult() : + ServiceResult() +{} + +BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteCdnDomainConfigResult::~BatchDeleteCdnDomainConfigResult() +{} + +void BatchDeleteCdnDomainConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/BatchSetCdnDomainConfigRequest.cc b/cdn/src/model/BatchSetCdnDomainConfigRequest.cc new file mode 100644 index 000000000..fa4978194 --- /dev/null +++ b/cdn/src/model/BatchSetCdnDomainConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchSetCdnDomainConfigRequest; + +BatchSetCdnDomainConfigRequest::BatchSetCdnDomainConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchSetCdnDomainConfig") { + setMethod(HttpRequest::Method::Post); +} + +BatchSetCdnDomainConfigRequest::~BatchSetCdnDomainConfigRequest() {} + +std::string BatchSetCdnDomainConfigRequest::getFunctions() const { + return functions_; +} + +void BatchSetCdnDomainConfigRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); +} + +std::string BatchSetCdnDomainConfigRequest::getDomainNames() const { + return domainNames_; +} + +void BatchSetCdnDomainConfigRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); +} + +std::string BatchSetCdnDomainConfigRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchSetCdnDomainConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string BatchSetCdnDomainConfigRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void BatchSetCdnDomainConfigRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long BatchSetCdnDomainConfigRequest::getOwnerId() const { + return ownerId_; +} + +void BatchSetCdnDomainConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/BatchSetCdnDomainConfigResult.cc b/cdn/src/model/BatchSetCdnDomainConfigResult.cc new file mode 100644 index 000000000..97e5bcfca --- /dev/null +++ b/cdn/src/model/BatchSetCdnDomainConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchSetCdnDomainConfigResult::BatchSetCdnDomainConfigResult() : + ServiceResult() +{} + +BatchSetCdnDomainConfigResult::BatchSetCdnDomainConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchSetCdnDomainConfigResult::~BatchSetCdnDomainConfigResult() +{} + +void BatchSetCdnDomainConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainConfigListNode = value["DomainConfigList"]["DomainConfigModel"]; + for (auto valueDomainConfigListDomainConfigModel : allDomainConfigListNode) + { + DomainConfigModel domainConfigListObject; + if(!valueDomainConfigListDomainConfigModel["ConfigId"].isNull()) + domainConfigListObject.configId = std::stol(valueDomainConfigListDomainConfigModel["ConfigId"].asString()); + if(!valueDomainConfigListDomainConfigModel["DomainName"].isNull()) + domainConfigListObject.domainName = valueDomainConfigListDomainConfigModel["DomainName"].asString(); + if(!valueDomainConfigListDomainConfigModel["FunctionName"].isNull()) + domainConfigListObject.functionName = valueDomainConfigListDomainConfigModel["FunctionName"].asString(); + domainConfigList_.push_back(domainConfigListObject); + } + +} + +std::vector BatchSetCdnDomainConfigResult::getDomainConfigList()const +{ + return domainConfigList_; +} + diff --git a/cdn/src/model/BatchSetCdnDomainServerCertificateRequest.cc b/cdn/src/model/BatchSetCdnDomainServerCertificateRequest.cc new file mode 100644 index 000000000..641965276 --- /dev/null +++ b/cdn/src/model/BatchSetCdnDomainServerCertificateRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchSetCdnDomainServerCertificateRequest; + +BatchSetCdnDomainServerCertificateRequest::BatchSetCdnDomainServerCertificateRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchSetCdnDomainServerCertificate") { + setMethod(HttpRequest::Method::Post); +} + +BatchSetCdnDomainServerCertificateRequest::~BatchSetCdnDomainServerCertificateRequest() {} + +std::string BatchSetCdnDomainServerCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; +} + +void BatchSetCdnDomainServerCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchSetCdnDomainServerCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getCertType() const { + return certType_; +} + +void BatchSetCdnDomainServerCertificateRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getSSLPri() const { + return sSLPri_; +} + +void BatchSetCdnDomainServerCertificateRequest::setSSLPri(const std::string &sSLPri) { + sSLPri_ = sSLPri; + setParameter(std::string("SSLPri"), sSLPri); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getForceSet() const { + return forceSet_; +} + +void BatchSetCdnDomainServerCertificateRequest::setForceSet(const std::string &forceSet) { + forceSet_ = forceSet; + setParameter(std::string("ForceSet"), forceSet); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getCertName() const { + return certName_; +} + +void BatchSetCdnDomainServerCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getDomainName() const { + return domainName_; +} + +void BatchSetCdnDomainServerCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long BatchSetCdnDomainServerCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void BatchSetCdnDomainServerCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getSSLPub() const { + return sSLPub_; +} + +void BatchSetCdnDomainServerCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); +} + +std::string BatchSetCdnDomainServerCertificateRequest::getRegion() const { + return region_; +} + +void BatchSetCdnDomainServerCertificateRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + diff --git a/cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc b/cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc new file mode 100644 index 000000000..f4db7ee6c --- /dev/null +++ b/cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchSetCdnDomainServerCertificateResult::BatchSetCdnDomainServerCertificateResult() : + ServiceResult() +{} + +BatchSetCdnDomainServerCertificateResult::BatchSetCdnDomainServerCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchSetCdnDomainServerCertificateResult::~BatchSetCdnDomainServerCertificateResult() +{} + +void BatchSetCdnDomainServerCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/BatchStartCdnDomainRequest.cc b/cdn/src/model/BatchStartCdnDomainRequest.cc new file mode 100644 index 000000000..729a8f235 --- /dev/null +++ b/cdn/src/model/BatchStartCdnDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchStartCdnDomainRequest; + +BatchStartCdnDomainRequest::BatchStartCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchStartCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +BatchStartCdnDomainRequest::~BatchStartCdnDomainRequest() {} + +std::string BatchStartCdnDomainRequest::getDomainNames() const { + return domainNames_; +} + +void BatchStartCdnDomainRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); +} + +std::string BatchStartCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchStartCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +long BatchStartCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void BatchStartCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/BatchStartCdnDomainResult.cc b/cdn/src/model/BatchStartCdnDomainResult.cc new file mode 100644 index 000000000..7340423bc --- /dev/null +++ b/cdn/src/model/BatchStartCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchStartCdnDomainResult::BatchStartCdnDomainResult() : + ServiceResult() +{} + +BatchStartCdnDomainResult::BatchStartCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchStartCdnDomainResult::~BatchStartCdnDomainResult() +{} + +void BatchStartCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/BatchStopCdnDomainRequest.cc b/cdn/src/model/BatchStopCdnDomainRequest.cc new file mode 100644 index 000000000..cff409dd2 --- /dev/null +++ b/cdn/src/model/BatchStopCdnDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchStopCdnDomainRequest; + +BatchStopCdnDomainRequest::BatchStopCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchStopCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +BatchStopCdnDomainRequest::~BatchStopCdnDomainRequest() {} + +std::string BatchStopCdnDomainRequest::getDomainNames() const { + return domainNames_; +} + +void BatchStopCdnDomainRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); +} + +std::string BatchStopCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchStopCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +long BatchStopCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void BatchStopCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/BatchStopCdnDomainResult.cc b/cdn/src/model/BatchStopCdnDomainResult.cc new file mode 100644 index 000000000..cfe32e26b --- /dev/null +++ b/cdn/src/model/BatchStopCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchStopCdnDomainResult::BatchStopCdnDomainResult() : + ServiceResult() +{} + +BatchStopCdnDomainResult::BatchStopCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchStopCdnDomainResult::~BatchStopCdnDomainResult() +{} + +void BatchStopCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/BatchUpdateCdnDomainRequest.cc b/cdn/src/model/BatchUpdateCdnDomainRequest.cc new file mode 100644 index 000000000..a674267dc --- /dev/null +++ b/cdn/src/model/BatchUpdateCdnDomainRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::BatchUpdateCdnDomainRequest; + +BatchUpdateCdnDomainRequest::BatchUpdateCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "BatchUpdateCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +BatchUpdateCdnDomainRequest::~BatchUpdateCdnDomainRequest() {} + +std::string BatchUpdateCdnDomainRequest::getSources() const { + return sources_; +} + +void BatchUpdateCdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); +} + +std::string BatchUpdateCdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void BatchUpdateCdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +std::string BatchUpdateCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchUpdateCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string BatchUpdateCdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; +} + +void BatchUpdateCdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); +} + +std::string BatchUpdateCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void BatchUpdateCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long BatchUpdateCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void BatchUpdateCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/BatchUpdateCdnDomainResult.cc b/cdn/src/model/BatchUpdateCdnDomainResult.cc new file mode 100644 index 000000000..5d0d7a8ed --- /dev/null +++ b/cdn/src/model/BatchUpdateCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +BatchUpdateCdnDomainResult::BatchUpdateCdnDomainResult() : + ServiceResult() +{} + +BatchUpdateCdnDomainResult::BatchUpdateCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUpdateCdnDomainResult::~BatchUpdateCdnDomainResult() +{} + +void BatchUpdateCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/CreateCdnCertificateSigningRequestRequest.cc b/cdn/src/model/CreateCdnCertificateSigningRequestRequest.cc new file mode 100644 index 000000000..767590d9c --- /dev/null +++ b/cdn/src/model/CreateCdnCertificateSigningRequestRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateCdnCertificateSigningRequestRequest; + +CreateCdnCertificateSigningRequestRequest::CreateCdnCertificateSigningRequestRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateCdnCertificateSigningRequest") { + setMethod(HttpRequest::Method::Post); +} + +CreateCdnCertificateSigningRequestRequest::~CreateCdnCertificateSigningRequestRequest() {} + +std::string CreateCdnCertificateSigningRequestRequest::getCountry() const { + return country_; +} + +void CreateCdnCertificateSigningRequestRequest::setCountry(const std::string &country) { + country_ = country; + setParameter(std::string("Country"), country); +} + +std::string CreateCdnCertificateSigningRequestRequest::getCity() const { + return city_; +} + +void CreateCdnCertificateSigningRequestRequest::setCity(const std::string &city) { + city_ = city; + setParameter(std::string("City"), city); +} + +std::string CreateCdnCertificateSigningRequestRequest::getCommonName() const { + return commonName_; +} + +void CreateCdnCertificateSigningRequestRequest::setCommonName(const std::string &commonName) { + commonName_ = commonName; + setParameter(std::string("CommonName"), commonName); +} + +std::string CreateCdnCertificateSigningRequestRequest::getState() const { + return state_; +} + +void CreateCdnCertificateSigningRequestRequest::setState(const std::string &state) { + state_ = state; + setParameter(std::string("State"), state); +} + +std::string CreateCdnCertificateSigningRequestRequest::getEmail() const { + return email_; +} + +void CreateCdnCertificateSigningRequestRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); +} + +std::string CreateCdnCertificateSigningRequestRequest::getSANs() const { + return sANs_; +} + +void CreateCdnCertificateSigningRequestRequest::setSANs(const std::string &sANs) { + sANs_ = sANs; + setParameter(std::string("SANs"), sANs); +} + +long CreateCdnCertificateSigningRequestRequest::getOwnerId() const { + return ownerId_; +} + +void CreateCdnCertificateSigningRequestRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateCdnCertificateSigningRequestRequest::getOrganization() const { + return organization_; +} + +void CreateCdnCertificateSigningRequestRequest::setOrganization(const std::string &organization) { + organization_ = organization; + setParameter(std::string("Organization"), organization); +} + +std::string CreateCdnCertificateSigningRequestRequest::getOrganizationUnit() const { + return organizationUnit_; +} + +void CreateCdnCertificateSigningRequestRequest::setOrganizationUnit(const std::string &organizationUnit) { + organizationUnit_ = organizationUnit; + setParameter(std::string("OrganizationUnit"), organizationUnit); +} + diff --git a/cdn/src/model/CreateCdnCertificateSigningRequestResult.cc b/cdn/src/model/CreateCdnCertificateSigningRequestResult.cc new file mode 100644 index 000000000..a594ede0b --- /dev/null +++ b/cdn/src/model/CreateCdnCertificateSigningRequestResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateCdnCertificateSigningRequestResult::CreateCdnCertificateSigningRequestResult() : + ServiceResult() +{} + +CreateCdnCertificateSigningRequestResult::CreateCdnCertificateSigningRequestResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdnCertificateSigningRequestResult::~CreateCdnCertificateSigningRequestResult() +{} + +void CreateCdnCertificateSigningRequestResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["PubMd5"].isNull()) + pubMd5_ = value["PubMd5"].asString(); + if(!value["Csr"].isNull()) + csr_ = value["Csr"].asString(); + if(!value["CommonName"].isNull()) + commonName_ = value["CommonName"].asString(); + +} + +std::string CreateCdnCertificateSigningRequestResult::getPubMd5()const +{ + return pubMd5_; +} + +std::string CreateCdnCertificateSigningRequestResult::getCsr()const +{ + return csr_; +} + +std::string CreateCdnCertificateSigningRequestResult::getCommonName()const +{ + return commonName_; +} + diff --git a/cdn/src/model/CreateCdnDeliverTaskRequest.cc b/cdn/src/model/CreateCdnDeliverTaskRequest.cc new file mode 100644 index 000000000..4a57a887f --- /dev/null +++ b/cdn/src/model/CreateCdnDeliverTaskRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateCdnDeliverTaskRequest; + +CreateCdnDeliverTaskRequest::CreateCdnDeliverTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateCdnDeliverTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateCdnDeliverTaskRequest::~CreateCdnDeliverTaskRequest() {} + +std::string CreateCdnDeliverTaskRequest::getReports() const { + return reports_; +} + +void CreateCdnDeliverTaskRequest::setReports(const std::string &reports) { + reports_ = reports; + setBodyParameter(std::string("Reports"), reports); +} + +std::string CreateCdnDeliverTaskRequest::getDeliver() const { + return deliver_; +} + +void CreateCdnDeliverTaskRequest::setDeliver(const std::string &deliver) { + deliver_ = deliver; + setBodyParameter(std::string("Deliver"), deliver); +} + +std::string CreateCdnDeliverTaskRequest::getDomainName() const { + return domainName_; +} + +void CreateCdnDeliverTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); +} + +long CreateCdnDeliverTaskRequest::getOwnerId() const { + return ownerId_; +} + +void CreateCdnDeliverTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateCdnDeliverTaskRequest::getSchedule() const { + return schedule_; +} + +void CreateCdnDeliverTaskRequest::setSchedule(const std::string &schedule) { + schedule_ = schedule; + setBodyParameter(std::string("Schedule"), schedule); +} + +std::string CreateCdnDeliverTaskRequest::getName() const { + return name_; +} + +void CreateCdnDeliverTaskRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); +} + diff --git a/cdn/src/model/CreateCdnDeliverTaskResult.cc b/cdn/src/model/CreateCdnDeliverTaskResult.cc new file mode 100644 index 000000000..2be03537d --- /dev/null +++ b/cdn/src/model/CreateCdnDeliverTaskResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateCdnDeliverTaskResult::CreateCdnDeliverTaskResult() : + ServiceResult() +{} + +CreateCdnDeliverTaskResult::CreateCdnDeliverTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdnDeliverTaskResult::~CreateCdnDeliverTaskResult() +{} + +void CreateCdnDeliverTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DeliverId"].isNull()) + deliverId_ = value["DeliverId"].asString(); + +} + +std::string CreateCdnDeliverTaskResult::getDeliverId()const +{ + return deliverId_; +} + diff --git a/cdn/src/model/CreateCdnSubTaskRequest.cc b/cdn/src/model/CreateCdnSubTaskRequest.cc new file mode 100644 index 000000000..4cdeed832 --- /dev/null +++ b/cdn/src/model/CreateCdnSubTaskRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateCdnSubTaskRequest; + +CreateCdnSubTaskRequest::CreateCdnSubTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateCdnSubTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateCdnSubTaskRequest::~CreateCdnSubTaskRequest() {} + +std::string CreateCdnSubTaskRequest::getDomainName() const { + return domainName_; +} + +void CreateCdnSubTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); +} + +long CreateCdnSubTaskRequest::getOwnerId() const { + return ownerId_; +} + +void CreateCdnSubTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateCdnSubTaskRequest::getReportIds() const { + return reportIds_; +} + +void CreateCdnSubTaskRequest::setReportIds(const std::string &reportIds) { + reportIds_ = reportIds; + setBodyParameter(std::string("ReportIds"), reportIds); +} + diff --git a/cdn/src/model/CreateCdnSubTaskResult.cc b/cdn/src/model/CreateCdnSubTaskResult.cc new file mode 100644 index 000000000..e10a1850d --- /dev/null +++ b/cdn/src/model/CreateCdnSubTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateCdnSubTaskResult::CreateCdnSubTaskResult() : + ServiceResult() +{} + +CreateCdnSubTaskResult::CreateCdnSubTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdnSubTaskResult::~CreateCdnSubTaskResult() +{} + +void CreateCdnSubTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/CreateIllegalUrlExportTaskRequest.cc b/cdn/src/model/CreateIllegalUrlExportTaskRequest.cc new file mode 100644 index 000000000..9c437d5b6 --- /dev/null +++ b/cdn/src/model/CreateIllegalUrlExportTaskRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateIllegalUrlExportTaskRequest; + +CreateIllegalUrlExportTaskRequest::CreateIllegalUrlExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateIllegalUrlExportTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateIllegalUrlExportTaskRequest::~CreateIllegalUrlExportTaskRequest() {} + +std::string CreateIllegalUrlExportTaskRequest::getTaskName() const { + return taskName_; +} + +void CreateIllegalUrlExportTaskRequest::setTaskName(const std::string &taskName) { + taskName_ = taskName; + setParameter(std::string("TaskName"), taskName); +} + +long CreateIllegalUrlExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void CreateIllegalUrlExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateIllegalUrlExportTaskRequest::getTimePoint() const { + return timePoint_; +} + +void CreateIllegalUrlExportTaskRequest::setTimePoint(const std::string &timePoint) { + timePoint_ = timePoint; + setParameter(std::string("TimePoint"), timePoint); +} + diff --git a/cdn/src/model/CreateIllegalUrlExportTaskResult.cc b/cdn/src/model/CreateIllegalUrlExportTaskResult.cc new file mode 100644 index 000000000..6da922c8d --- /dev/null +++ b/cdn/src/model/CreateIllegalUrlExportTaskResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateIllegalUrlExportTaskResult::CreateIllegalUrlExportTaskResult() : + ServiceResult() +{} + +CreateIllegalUrlExportTaskResult::CreateIllegalUrlExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateIllegalUrlExportTaskResult::~CreateIllegalUrlExportTaskResult() +{} + +void CreateIllegalUrlExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + +} + +std::string CreateIllegalUrlExportTaskResult::getTaskId()const +{ + return taskId_; +} + diff --git a/cdn/src/model/CreateRealTimeLogDeliveryRequest.cc b/cdn/src/model/CreateRealTimeLogDeliveryRequest.cc new file mode 100644 index 000000000..d008c3e99 --- /dev/null +++ b/cdn/src/model/CreateRealTimeLogDeliveryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateRealTimeLogDeliveryRequest; + +CreateRealTimeLogDeliveryRequest::CreateRealTimeLogDeliveryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateRealTimeLogDelivery") { + setMethod(HttpRequest::Method::Get); +} + +CreateRealTimeLogDeliveryRequest::~CreateRealTimeLogDeliveryRequest() {} + +std::string CreateRealTimeLogDeliveryRequest::getProject() const { + return project_; +} + +void CreateRealTimeLogDeliveryRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); +} + +long CreateRealTimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void CreateRealTimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateRealTimeLogDeliveryRequest::getDomain() const { + return domain_; +} + +void CreateRealTimeLogDeliveryRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + +std::string CreateRealTimeLogDeliveryRequest::getRegion() const { + return region_; +} + +void CreateRealTimeLogDeliveryRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + +std::string CreateRealTimeLogDeliveryRequest::getLogstore() const { + return logstore_; +} + +void CreateRealTimeLogDeliveryRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); +} + diff --git a/cdn/src/model/CreateRealTimeLogDeliveryResult.cc b/cdn/src/model/CreateRealTimeLogDeliveryResult.cc new file mode 100644 index 000000000..bf14d1b3f --- /dev/null +++ b/cdn/src/model/CreateRealTimeLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateRealTimeLogDeliveryResult::CreateRealTimeLogDeliveryResult() : + ServiceResult() +{} + +CreateRealTimeLogDeliveryResult::CreateRealTimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateRealTimeLogDeliveryResult::~CreateRealTimeLogDeliveryResult() +{} + +void CreateRealTimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/CreateUsageDetailDataExportTaskRequest.cc b/cdn/src/model/CreateUsageDetailDataExportTaskRequest.cc new file mode 100644 index 000000000..b714c296e --- /dev/null +++ b/cdn/src/model/CreateUsageDetailDataExportTaskRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateUsageDetailDataExportTaskRequest; + +CreateUsageDetailDataExportTaskRequest::CreateUsageDetailDataExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateUsageDetailDataExportTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateUsageDetailDataExportTaskRequest::~CreateUsageDetailDataExportTaskRequest() {} + +std::string CreateUsageDetailDataExportTaskRequest::getDomainNames() const { + return domainNames_; +} + +void CreateUsageDetailDataExportTaskRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); +} + +std::string CreateUsageDetailDataExportTaskRequest::getTaskName() const { + return taskName_; +} + +void CreateUsageDetailDataExportTaskRequest::setTaskName(const std::string &taskName) { + taskName_ = taskName; + setParameter(std::string("TaskName"), taskName); +} + +std::string CreateUsageDetailDataExportTaskRequest::getLanguage() const { + return language_; +} + +void CreateUsageDetailDataExportTaskRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + +std::string CreateUsageDetailDataExportTaskRequest::getStartTime() const { + return startTime_; +} + +void CreateUsageDetailDataExportTaskRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string CreateUsageDetailDataExportTaskRequest::getType() const { + return type_; +} + +void CreateUsageDetailDataExportTaskRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string CreateUsageDetailDataExportTaskRequest::getGroup() const { + return group_; +} + +void CreateUsageDetailDataExportTaskRequest::setGroup(const std::string &group) { + group_ = group; + setParameter(std::string("Group"), group); +} + +std::string CreateUsageDetailDataExportTaskRequest::getEndTime() const { + return endTime_; +} + +void CreateUsageDetailDataExportTaskRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long CreateUsageDetailDataExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void CreateUsageDetailDataExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/CreateUsageDetailDataExportTaskResult.cc b/cdn/src/model/CreateUsageDetailDataExportTaskResult.cc new file mode 100644 index 000000000..912b29089 --- /dev/null +++ b/cdn/src/model/CreateUsageDetailDataExportTaskResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateUsageDetailDataExportTaskResult::CreateUsageDetailDataExportTaskResult() : + ServiceResult() +{} + +CreateUsageDetailDataExportTaskResult::CreateUsageDetailDataExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUsageDetailDataExportTaskResult::~CreateUsageDetailDataExportTaskResult() +{} + +void CreateUsageDetailDataExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + +} + +std::string CreateUsageDetailDataExportTaskResult::getTaskId()const +{ + return taskId_; +} + +std::string CreateUsageDetailDataExportTaskResult::getEndTime()const +{ + return endTime_; +} + +std::string CreateUsageDetailDataExportTaskResult::getStartTime()const +{ + return startTime_; +} + diff --git a/cdn/src/model/CreateUserUsageDataExportTaskRequest.cc b/cdn/src/model/CreateUserUsageDataExportTaskRequest.cc new file mode 100644 index 000000000..a0004e0f3 --- /dev/null +++ b/cdn/src/model/CreateUserUsageDataExportTaskRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::CreateUserUsageDataExportTaskRequest; + +CreateUserUsageDataExportTaskRequest::CreateUserUsageDataExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "CreateUserUsageDataExportTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateUserUsageDataExportTaskRequest::~CreateUserUsageDataExportTaskRequest() {} + +std::string CreateUserUsageDataExportTaskRequest::getTaskName() const { + return taskName_; +} + +void CreateUserUsageDataExportTaskRequest::setTaskName(const std::string &taskName) { + taskName_ = taskName; + setParameter(std::string("TaskName"), taskName); +} + +std::string CreateUserUsageDataExportTaskRequest::getLanguage() const { + return language_; +} + +void CreateUserUsageDataExportTaskRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + +std::string CreateUserUsageDataExportTaskRequest::getStartTime() const { + return startTime_; +} + +void CreateUserUsageDataExportTaskRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string CreateUserUsageDataExportTaskRequest::getEndTime() const { + return endTime_; +} + +void CreateUserUsageDataExportTaskRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long CreateUserUsageDataExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void CreateUserUsageDataExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/CreateUserUsageDataExportTaskResult.cc b/cdn/src/model/CreateUserUsageDataExportTaskResult.cc new file mode 100644 index 000000000..ba4cc9104 --- /dev/null +++ b/cdn/src/model/CreateUserUsageDataExportTaskResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +CreateUserUsageDataExportTaskResult::CreateUserUsageDataExportTaskResult() : + ServiceResult() +{} + +CreateUserUsageDataExportTaskResult::CreateUserUsageDataExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserUsageDataExportTaskResult::~CreateUserUsageDataExportTaskResult() +{} + +void CreateUserUsageDataExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + +} + +std::string CreateUserUsageDataExportTaskResult::getTaskId()const +{ + return taskId_; +} + +std::string CreateUserUsageDataExportTaskResult::getEndTime()const +{ + return endTime_; +} + +std::string CreateUserUsageDataExportTaskResult::getStartTime()const +{ + return startTime_; +} + diff --git a/cdn/src/model/DeleteCdnDeliverTaskRequest.cc b/cdn/src/model/DeleteCdnDeliverTaskRequest.cc new file mode 100644 index 000000000..b39184c2a --- /dev/null +++ b/cdn/src/model/DeleteCdnDeliverTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteCdnDeliverTaskRequest; + +DeleteCdnDeliverTaskRequest::DeleteCdnDeliverTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnDeliverTask") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCdnDeliverTaskRequest::~DeleteCdnDeliverTaskRequest() {} + +long DeleteCdnDeliverTaskRequest::getDeliverId() const { + return deliverId_; +} + +void DeleteCdnDeliverTaskRequest::setDeliverId(long deliverId) { + deliverId_ = deliverId; + setParameter(std::string("DeliverId"), std::to_string(deliverId)); +} + +long DeleteCdnDeliverTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCdnDeliverTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DeleteCdnDeliverTaskResult.cc b/cdn/src/model/DeleteCdnDeliverTaskResult.cc new file mode 100644 index 000000000..7156c3752 --- /dev/null +++ b/cdn/src/model/DeleteCdnDeliverTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteCdnDeliverTaskResult::DeleteCdnDeliverTaskResult() : + ServiceResult() +{} + +DeleteCdnDeliverTaskResult::DeleteCdnDeliverTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCdnDeliverTaskResult::~DeleteCdnDeliverTaskResult() +{} + +void DeleteCdnDeliverTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteCdnDomainRequest.cc b/cdn/src/model/DeleteCdnDomainRequest.cc new file mode 100644 index 000000000..a049f85ec --- /dev/null +++ b/cdn/src/model/DeleteCdnDomainRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteCdnDomainRequest; + +DeleteCdnDomainRequest::DeleteCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCdnDomainRequest::~DeleteCdnDomainRequest() {} + +std::string DeleteCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void DeleteCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DeleteCdnDomainRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void DeleteCdnDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string DeleteCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void DeleteCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DeleteCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DeleteCdnDomainResult.cc b/cdn/src/model/DeleteCdnDomainResult.cc new file mode 100644 index 000000000..b0f812847 --- /dev/null +++ b/cdn/src/model/DeleteCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteCdnDomainResult::DeleteCdnDomainResult() : + ServiceResult() +{} + +DeleteCdnDomainResult::DeleteCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCdnDomainResult::~DeleteCdnDomainResult() +{} + +void DeleteCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteCdnSubTaskRequest.cc b/cdn/src/model/DeleteCdnSubTaskRequest.cc new file mode 100644 index 000000000..1f71f7c7b --- /dev/null +++ b/cdn/src/model/DeleteCdnSubTaskRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteCdnSubTaskRequest; + +DeleteCdnSubTaskRequest::DeleteCdnSubTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnSubTask") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCdnSubTaskRequest::~DeleteCdnSubTaskRequest() {} + +long DeleteCdnSubTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCdnSubTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DeleteCdnSubTaskResult.cc b/cdn/src/model/DeleteCdnSubTaskResult.cc new file mode 100644 index 000000000..45e569fd6 --- /dev/null +++ b/cdn/src/model/DeleteCdnSubTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteCdnSubTaskResult::DeleteCdnSubTaskResult() : + ServiceResult() +{} + +DeleteCdnSubTaskResult::DeleteCdnSubTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCdnSubTaskResult::~DeleteCdnSubTaskResult() +{} + +void DeleteCdnSubTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteFCTriggerRequest.cc b/cdn/src/model/DeleteFCTriggerRequest.cc new file mode 100644 index 000000000..dbac94506 --- /dev/null +++ b/cdn/src/model/DeleteFCTriggerRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteFCTriggerRequest; + +DeleteFCTriggerRequest::DeleteFCTriggerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteFCTrigger") { + setMethod(HttpRequest::Method::Post); +} + +DeleteFCTriggerRequest::~DeleteFCTriggerRequest() {} + +std::string DeleteFCTriggerRequest::getTriggerARN() const { + return triggerARN_; +} + +void DeleteFCTriggerRequest::setTriggerARN(const std::string &triggerARN) { + triggerARN_ = triggerARN; + setParameter(std::string("TriggerARN"), triggerARN); +} + +long DeleteFCTriggerRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteFCTriggerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DeleteFCTriggerResult.cc b/cdn/src/model/DeleteFCTriggerResult.cc new file mode 100644 index 000000000..0fa48fb37 --- /dev/null +++ b/cdn/src/model/DeleteFCTriggerResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteFCTriggerResult::DeleteFCTriggerResult() : + ServiceResult() +{} + +DeleteFCTriggerResult::DeleteFCTriggerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFCTriggerResult::~DeleteFCTriggerResult() +{} + +void DeleteFCTriggerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteRealTimeLogLogstoreRequest.cc b/cdn/src/model/DeleteRealTimeLogLogstoreRequest.cc new file mode 100644 index 000000000..26c7f8297 --- /dev/null +++ b/cdn/src/model/DeleteRealTimeLogLogstoreRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteRealTimeLogLogstoreRequest; + +DeleteRealTimeLogLogstoreRequest::DeleteRealTimeLogLogstoreRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteRealTimeLogLogstore") { + setMethod(HttpRequest::Method::Get); +} + +DeleteRealTimeLogLogstoreRequest::~DeleteRealTimeLogLogstoreRequest() {} + +std::string DeleteRealTimeLogLogstoreRequest::getProject() const { + return project_; +} + +void DeleteRealTimeLogLogstoreRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); +} + +long DeleteRealTimeLogLogstoreRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteRealTimeLogLogstoreRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DeleteRealTimeLogLogstoreRequest::getRegion() const { + return region_; +} + +void DeleteRealTimeLogLogstoreRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + +std::string DeleteRealTimeLogLogstoreRequest::getLogstore() const { + return logstore_; +} + +void DeleteRealTimeLogLogstoreRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); +} + diff --git a/cdn/src/model/DeleteRealTimeLogLogstoreResult.cc b/cdn/src/model/DeleteRealTimeLogLogstoreResult.cc new file mode 100644 index 000000000..f27c6c811 --- /dev/null +++ b/cdn/src/model/DeleteRealTimeLogLogstoreResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteRealTimeLogLogstoreResult::DeleteRealTimeLogLogstoreResult() : + ServiceResult() +{} + +DeleteRealTimeLogLogstoreResult::DeleteRealTimeLogLogstoreResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRealTimeLogLogstoreResult::~DeleteRealTimeLogLogstoreResult() +{} + +void DeleteRealTimeLogLogstoreResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteRealtimeLogDeliveryRequest.cc b/cdn/src/model/DeleteRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..56be4be54 --- /dev/null +++ b/cdn/src/model/DeleteRealtimeLogDeliveryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteRealtimeLogDeliveryRequest; + +DeleteRealtimeLogDeliveryRequest::DeleteRealtimeLogDeliveryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); +} + +DeleteRealtimeLogDeliveryRequest::~DeleteRealtimeLogDeliveryRequest() {} + +std::string DeleteRealtimeLogDeliveryRequest::getProject() const { + return project_; +} + +void DeleteRealtimeLogDeliveryRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); +} + +long DeleteRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DeleteRealtimeLogDeliveryRequest::getDomain() const { + return domain_; +} + +void DeleteRealtimeLogDeliveryRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + +std::string DeleteRealtimeLogDeliveryRequest::getRegion() const { + return region_; +} + +void DeleteRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + +std::string DeleteRealtimeLogDeliveryRequest::getLogstore() const { + return logstore_; +} + +void DeleteRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); +} + diff --git a/cdn/src/model/DeleteRealtimeLogDeliveryResult.cc b/cdn/src/model/DeleteRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..edda4976c --- /dev/null +++ b/cdn/src/model/DeleteRealtimeLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteRealtimeLogDeliveryResult::DeleteRealtimeLogDeliveryResult() : + ServiceResult() +{} + +DeleteRealtimeLogDeliveryResult::DeleteRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRealtimeLogDeliveryResult::~DeleteRealtimeLogDeliveryResult() +{} + +void DeleteRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteSpecificConfigRequest.cc b/cdn/src/model/DeleteSpecificConfigRequest.cc new file mode 100644 index 000000000..a6f6cbc06 --- /dev/null +++ b/cdn/src/model/DeleteSpecificConfigRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteSpecificConfigRequest; + +DeleteSpecificConfigRequest::DeleteSpecificConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteSpecificConfig") { + setMethod(HttpRequest::Method::Post); +} + +DeleteSpecificConfigRequest::~DeleteSpecificConfigRequest() {} + +std::string DeleteSpecificConfigRequest::getDomainName() const { + return domainName_; +} + +void DeleteSpecificConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DeleteSpecificConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteSpecificConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DeleteSpecificConfigRequest::getSecurityToken() const { + return securityToken_; +} + +void DeleteSpecificConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DeleteSpecificConfigRequest::getConfigId() const { + return configId_; +} + +void DeleteSpecificConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); +} + diff --git a/cdn/src/model/DeleteSpecificConfigResult.cc b/cdn/src/model/DeleteSpecificConfigResult.cc new file mode 100644 index 000000000..96da4f345 --- /dev/null +++ b/cdn/src/model/DeleteSpecificConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteSpecificConfigResult::DeleteSpecificConfigResult() : + ServiceResult() +{} + +DeleteSpecificConfigResult::DeleteSpecificConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSpecificConfigResult::~DeleteSpecificConfigResult() +{} + +void DeleteSpecificConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteSpecificStagingConfigRequest.cc b/cdn/src/model/DeleteSpecificStagingConfigRequest.cc new file mode 100644 index 000000000..b079ec749 --- /dev/null +++ b/cdn/src/model/DeleteSpecificStagingConfigRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteSpecificStagingConfigRequest; + +DeleteSpecificStagingConfigRequest::DeleteSpecificStagingConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteSpecificStagingConfig") { + setMethod(HttpRequest::Method::Post); +} + +DeleteSpecificStagingConfigRequest::~DeleteSpecificStagingConfigRequest() {} + +std::string DeleteSpecificStagingConfigRequest::getSecurityToken() const { + return securityToken_; +} + +void DeleteSpecificStagingConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DeleteSpecificStagingConfigRequest::getDomainName() const { + return domainName_; +} + +void DeleteSpecificStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DeleteSpecificStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteSpecificStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DeleteSpecificStagingConfigRequest::getConfigId() const { + return configId_; +} + +void DeleteSpecificStagingConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); +} + diff --git a/cdn/src/model/DeleteSpecificStagingConfigResult.cc b/cdn/src/model/DeleteSpecificStagingConfigResult.cc new file mode 100644 index 000000000..3b3369e3f --- /dev/null +++ b/cdn/src/model/DeleteSpecificStagingConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteSpecificStagingConfigResult::DeleteSpecificStagingConfigResult() : + ServiceResult() +{} + +DeleteSpecificStagingConfigResult::DeleteSpecificStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSpecificStagingConfigResult::~DeleteSpecificStagingConfigResult() +{} + +void DeleteSpecificStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteUsageDetailDataExportTaskRequest.cc b/cdn/src/model/DeleteUsageDetailDataExportTaskRequest.cc new file mode 100644 index 000000000..40a1a21d9 --- /dev/null +++ b/cdn/src/model/DeleteUsageDetailDataExportTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteUsageDetailDataExportTaskRequest; + +DeleteUsageDetailDataExportTaskRequest::DeleteUsageDetailDataExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteUsageDetailDataExportTask") { + setMethod(HttpRequest::Method::Post); +} + +DeleteUsageDetailDataExportTaskRequest::~DeleteUsageDetailDataExportTaskRequest() {} + +std::string DeleteUsageDetailDataExportTaskRequest::getTaskId() const { + return taskId_; +} + +void DeleteUsageDetailDataExportTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +long DeleteUsageDetailDataExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteUsageDetailDataExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc b/cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc new file mode 100644 index 000000000..dc9fc4983 --- /dev/null +++ b/cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteUsageDetailDataExportTaskResult::DeleteUsageDetailDataExportTaskResult() : + ServiceResult() +{} + +DeleteUsageDetailDataExportTaskResult::DeleteUsageDetailDataExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUsageDetailDataExportTaskResult::~DeleteUsageDetailDataExportTaskResult() +{} + +void DeleteUsageDetailDataExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DeleteUserUsageDataExportTaskRequest.cc b/cdn/src/model/DeleteUserUsageDataExportTaskRequest.cc new file mode 100644 index 000000000..548fbb8bf --- /dev/null +++ b/cdn/src/model/DeleteUserUsageDataExportTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DeleteUserUsageDataExportTaskRequest; + +DeleteUserUsageDataExportTaskRequest::DeleteUserUsageDataExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DeleteUserUsageDataExportTask") { + setMethod(HttpRequest::Method::Post); +} + +DeleteUserUsageDataExportTaskRequest::~DeleteUserUsageDataExportTaskRequest() {} + +std::string DeleteUserUsageDataExportTaskRequest::getTaskId() const { + return taskId_; +} + +void DeleteUserUsageDataExportTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +long DeleteUserUsageDataExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteUserUsageDataExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DeleteUserUsageDataExportTaskResult.cc b/cdn/src/model/DeleteUserUsageDataExportTaskResult.cc new file mode 100644 index 000000000..25db6e837 --- /dev/null +++ b/cdn/src/model/DeleteUserUsageDataExportTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DeleteUserUsageDataExportTaskResult::DeleteUserUsageDataExportTaskResult() : + ServiceResult() +{} + +DeleteUserUsageDataExportTaskResult::DeleteUserUsageDataExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserUsageDataExportTaskResult::~DeleteUserUsageDataExportTaskResult() +{} + +void DeleteUserUsageDataExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc b/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc new file mode 100644 index 000000000..7c8d468df --- /dev/null +++ b/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeActiveVersionOfConfigGroupRequest; + +DescribeActiveVersionOfConfigGroupRequest::DescribeActiveVersionOfConfigGroupRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeActiveVersionOfConfigGroup") { + setMethod(HttpRequest::Method::Post); +} + +DescribeActiveVersionOfConfigGroupRequest::~DescribeActiveVersionOfConfigGroupRequest() {} + +long DescribeActiveVersionOfConfigGroupRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeActiveVersionOfConfigGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeActiveVersionOfConfigGroupRequest::getEnv() const { + return env_; +} + +void DescribeActiveVersionOfConfigGroupRequest::setEnv(const std::string &env) { + env_ = env; + setParameter(std::string("Env"), env); +} + +std::string DescribeActiveVersionOfConfigGroupRequest::getConfigGroupId() const { + return configGroupId_; +} + +void DescribeActiveVersionOfConfigGroupRequest::setConfigGroupId(const std::string &configGroupId) { + configGroupId_ = configGroupId; + setParameter(std::string("ConfigGroupId"), configGroupId); +} + diff --git a/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc b/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc new file mode 100644 index 000000000..d99c811d0 --- /dev/null +++ b/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeActiveVersionOfConfigGroupResult::DescribeActiveVersionOfConfigGroupResult() : + ServiceResult() +{} + +DescribeActiveVersionOfConfigGroupResult::DescribeActiveVersionOfConfigGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeActiveVersionOfConfigGroupResult::~DescribeActiveVersionOfConfigGroupResult() +{} + +void DescribeActiveVersionOfConfigGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["UpdateTime"].isNull()) + updateTime_ = value["UpdateTime"].asString(); + if(!value["SeqId"].isNull()) + seqId_ = std::stol(value["SeqId"].asString()); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["VersionId"].isNull()) + versionId_ = value["VersionId"].asString(); + if(!value["ConfigGroupId"].isNull()) + configGroupId_ = value["ConfigGroupId"].asString(); + if(!value["Operator"].isNull()) + _operator_ = value["Operator"].asString(); + if(!value["BaseVersionId"].isNull()) + baseVersionId_ = value["BaseVersionId"].asString(); + +} + +std::string DescribeActiveVersionOfConfigGroupResult::getStatus()const +{ + return status_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getVersionId()const +{ + return versionId_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getConfigGroupId()const +{ + return configGroupId_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getBaseVersionId()const +{ + return baseVersionId_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getDescription()const +{ + return description_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getUpdateTime()const +{ + return updateTime_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::get_Operator()const +{ + return _operator_; +} + +long DescribeActiveVersionOfConfigGroupResult::getSeqId()const +{ + return seqId_; +} + diff --git a/cdn/src/model/DescribeBlockedRegionsRequest.cc b/cdn/src/model/DescribeBlockedRegionsRequest.cc new file mode 100644 index 000000000..c63e3beff --- /dev/null +++ b/cdn/src/model/DescribeBlockedRegionsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeBlockedRegionsRequest; + +DescribeBlockedRegionsRequest::DescribeBlockedRegionsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeBlockedRegions") { + setMethod(HttpRequest::Method::Get); +} + +DescribeBlockedRegionsRequest::~DescribeBlockedRegionsRequest() {} + +std::string DescribeBlockedRegionsRequest::getLanguage() const { + return language_; +} + +void DescribeBlockedRegionsRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + +long DescribeBlockedRegionsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeBlockedRegionsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeBlockedRegionsResult.cc b/cdn/src/model/DescribeBlockedRegionsResult.cc new file mode 100644 index 000000000..acc63d201 --- /dev/null +++ b/cdn/src/model/DescribeBlockedRegionsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeBlockedRegionsResult::DescribeBlockedRegionsResult() : + ServiceResult() +{} + +DescribeBlockedRegionsResult::DescribeBlockedRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBlockedRegionsResult::~DescribeBlockedRegionsResult() +{} + +void DescribeBlockedRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allInfoListNode = value["InfoList"]["InfoItem"]; + for (auto valueInfoListInfoItem : allInfoListNode) + { + InfoItem infoListObject; + if(!valueInfoListInfoItem["CountriesAndRegions"].isNull()) + infoListObject.countriesAndRegions = valueInfoListInfoItem["CountriesAndRegions"].asString(); + if(!valueInfoListInfoItem["Continent"].isNull()) + infoListObject.continent = valueInfoListInfoItem["Continent"].asString(); + if(!valueInfoListInfoItem["CountriesAndRegionsName"].isNull()) + infoListObject.countriesAndRegionsName = valueInfoListInfoItem["CountriesAndRegionsName"].asString(); + infoList_.push_back(infoListObject); + } + +} + +std::vector DescribeBlockedRegionsResult::getInfoList()const +{ + return infoList_; +} + diff --git a/cdn/src/model/DescribeCdnCertificateDetailRequest.cc b/cdn/src/model/DescribeCdnCertificateDetailRequest.cc new file mode 100644 index 000000000..75b6d915e --- /dev/null +++ b/cdn/src/model/DescribeCdnCertificateDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnCertificateDetailRequest; + +DescribeCdnCertificateDetailRequest::DescribeCdnCertificateDetailRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnCertificateDetail") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnCertificateDetailRequest::~DescribeCdnCertificateDetailRequest() {} + +std::string DescribeCdnCertificateDetailRequest::getCertName() const { + return certName_; +} + +void DescribeCdnCertificateDetailRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); +} + +long DescribeCdnCertificateDetailRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnCertificateDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnCertificateDetailRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnCertificateDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/DescribeCdnCertificateDetailResult.cc b/cdn/src/model/DescribeCdnCertificateDetailResult.cc new file mode 100644 index 000000000..c6052ff7a --- /dev/null +++ b/cdn/src/model/DescribeCdnCertificateDetailResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnCertificateDetailResult::DescribeCdnCertificateDetailResult() : + ServiceResult() +{} + +DescribeCdnCertificateDetailResult::DescribeCdnCertificateDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnCertificateDetailResult::~DescribeCdnCertificateDetailResult() +{} + +void DescribeCdnCertificateDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["CertName"].isNull()) + certName_ = value["CertName"].asString(); + if(!value["Key"].isNull()) + key_ = value["Key"].asString(); + if(!value["Cert"].isNull()) + cert_ = value["Cert"].asString(); + if(!value["CertId"].isNull()) + certId_ = std::stol(value["CertId"].asString()); + +} + +long DescribeCdnCertificateDetailResult::getCertId()const +{ + return certId_; +} + +std::string DescribeCdnCertificateDetailResult::getCertName()const +{ + return certName_; +} + +std::string DescribeCdnCertificateDetailResult::getCert()const +{ + return cert_; +} + +std::string DescribeCdnCertificateDetailResult::getKey()const +{ + return key_; +} + diff --git a/cdn/src/model/DescribeCdnCertificateListRequest.cc b/cdn/src/model/DescribeCdnCertificateListRequest.cc new file mode 100644 index 000000000..5ee5ad305 --- /dev/null +++ b/cdn/src/model/DescribeCdnCertificateListRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnCertificateListRequest; + +DescribeCdnCertificateListRequest::DescribeCdnCertificateListRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnCertificateList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnCertificateListRequest::~DescribeCdnCertificateListRequest() {} + +std::string DescribeCdnCertificateListRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnCertificateListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DescribeCdnCertificateListRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnCertificateListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeCdnCertificateListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnCertificateListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnCertificateListResult.cc b/cdn/src/model/DescribeCdnCertificateListResult.cc new file mode 100644 index 000000000..293e9bc33 --- /dev/null +++ b/cdn/src/model/DescribeCdnCertificateListResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnCertificateListResult::DescribeCdnCertificateListResult() : + ServiceResult() +{} + +DescribeCdnCertificateListResult::DescribeCdnCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnCertificateListResult::~DescribeCdnCertificateListResult() +{} + +void DescribeCdnCertificateListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto certificateListModelNode = value["CertificateListModel"]; + if(!certificateListModelNode["Count"].isNull()) + certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString()); + auto allCertListNode = certificateListModelNode["CertList"]["Cert"]; + for (auto certificateListModelNodeCertListCert : allCertListNode) + { + CertificateListModel::Cert certObject; + if(!certificateListModelNodeCertListCert["LastTime"].isNull()) + certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].asString()); + if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) + certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + if(!certificateListModelNodeCertListCert["CertId"].isNull()) + certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); + certificateListModel_.certList.push_back(certObject); + } + +} + +DescribeCdnCertificateListResult::CertificateListModel DescribeCdnCertificateListResult::getCertificateListModel()const +{ + return certificateListModel_; +} + diff --git a/cdn/src/model/DescribeCdnDeletedDomainsRequest.cc b/cdn/src/model/DescribeCdnDeletedDomainsRequest.cc new file mode 100644 index 000000000..cf93d9a00 --- /dev/null +++ b/cdn/src/model/DescribeCdnDeletedDomainsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDeletedDomainsRequest; + +DescribeCdnDeletedDomainsRequest::DescribeCdnDeletedDomainsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDeletedDomains") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnDeletedDomainsRequest::~DescribeCdnDeletedDomainsRequest() {} + +int DescribeCdnDeletedDomainsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeCdnDeletedDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +int DescribeCdnDeletedDomainsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeCdnDeletedDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +long DescribeCdnDeletedDomainsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnDeletedDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnDeletedDomainsResult.cc b/cdn/src/model/DescribeCdnDeletedDomainsResult.cc new file mode 100644 index 000000000..35b663c4c --- /dev/null +++ b/cdn/src/model/DescribeCdnDeletedDomainsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnDeletedDomainsResult::DescribeCdnDeletedDomainsResult() : + ServiceResult() +{} + +DescribeCdnDeletedDomainsResult::DescribeCdnDeletedDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnDeletedDomainsResult::~DescribeCdnDeletedDomainsResult() +{} + +void DescribeCdnDeletedDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["PageData"]; + for (auto valueDomainsPageData : allDomainsNode) + { + PageData domainsObject; + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); + domains_.push_back(domainsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeCdnDeletedDomainsResult::getDomains()const +{ + return domains_; +} + +long DescribeCdnDeletedDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeCdnDeletedDomainsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeCdnDeletedDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cdn/src/model/DescribeCdnDeliverListRequest.cc b/cdn/src/model/DescribeCdnDeliverListRequest.cc new file mode 100644 index 000000000..c5bed921a --- /dev/null +++ b/cdn/src/model/DescribeCdnDeliverListRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDeliverListRequest; + +DescribeCdnDeliverListRequest::DescribeCdnDeliverListRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDeliverList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnDeliverListRequest::~DescribeCdnDeliverListRequest() {} + +long DescribeCdnDeliverListRequest::getDeliverId() const { + return deliverId_; +} + +void DescribeCdnDeliverListRequest::setDeliverId(long deliverId) { + deliverId_ = deliverId; + setParameter(std::string("DeliverId"), std::to_string(deliverId)); +} + +long DescribeCdnDeliverListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnDeliverListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnDeliverListResult.cc b/cdn/src/model/DescribeCdnDeliverListResult.cc new file mode 100644 index 000000000..e2cc78396 --- /dev/null +++ b/cdn/src/model/DescribeCdnDeliverListResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnDeliverListResult::DescribeCdnDeliverListResult() : + ServiceResult() +{} + +DescribeCdnDeliverListResult::DescribeCdnDeliverListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnDeliverListResult::~DescribeCdnDeliverListResult() +{} + +void DescribeCdnDeliverListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnDeliverListResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnDomainByCertificateRequest.cc b/cdn/src/model/DescribeCdnDomainByCertificateRequest.cc new file mode 100644 index 000000000..be9cb4a95 --- /dev/null +++ b/cdn/src/model/DescribeCdnDomainByCertificateRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDomainByCertificateRequest; + +DescribeCdnDomainByCertificateRequest::DescribeCdnDomainByCertificateRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDomainByCertificate") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnDomainByCertificateRequest::~DescribeCdnDomainByCertificateRequest() {} + +long DescribeCdnDomainByCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnDomainByCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnDomainByCertificateRequest::getSSLPub() const { + return sSLPub_; +} + +void DescribeCdnDomainByCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); +} + diff --git a/cdn/src/model/DescribeCdnDomainByCertificateResult.cc b/cdn/src/model/DescribeCdnDomainByCertificateResult.cc new file mode 100644 index 000000000..b54c09af2 --- /dev/null +++ b/cdn/src/model/DescribeCdnDomainByCertificateResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnDomainByCertificateResult::DescribeCdnDomainByCertificateResult() : + ServiceResult() +{} + +DescribeCdnDomainByCertificateResult::DescribeCdnDomainByCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnDomainByCertificateResult::~DescribeCdnDomainByCertificateResult() +{} + +void DescribeCdnDomainByCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["CertStartTime"].isNull()) + certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CertCaIsLegacy"].isNull()) + certInfosObject.certCaIsLegacy = valueCertInfosCertInfo["CertCaIsLegacy"].asString(); + if(!valueCertInfosCertInfo["CertSubjectCommonName"].isNull()) + certInfosObject.certSubjectCommonName = valueCertInfosCertInfo["CertSubjectCommonName"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["DomainNames"].isNull()) + certInfosObject.domainNames = valueCertInfosCertInfo["DomainNames"].asString(); + if(!valueCertInfosCertInfo["CertExpired"].isNull()) + certInfosObject.certExpired = valueCertInfosCertInfo["CertExpired"].asString(); + if(!valueCertInfosCertInfo["Issuer"].isNull()) + certInfosObject.issuer = valueCertInfosCertInfo["Issuer"].asString(); + if(!valueCertInfosCertInfo["DomainList"].isNull()) + certInfosObject.domainList = valueCertInfosCertInfo["DomainList"].asString(); + certInfos_.push_back(certInfosObject); + } + +} + +std::vector DescribeCdnDomainByCertificateResult::getCertInfos()const +{ + return certInfos_; +} + diff --git a/cdn/src/model/DescribeCdnDomainConfigsRequest.cc b/cdn/src/model/DescribeCdnDomainConfigsRequest.cc new file mode 100644 index 000000000..d5da20a35 --- /dev/null +++ b/cdn/src/model/DescribeCdnDomainConfigsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDomainConfigsRequest; + +DescribeCdnDomainConfigsRequest::DescribeCdnDomainConfigsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDomainConfigs") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnDomainConfigsRequest::~DescribeCdnDomainConfigsRequest() {} + +std::string DescribeCdnDomainConfigsRequest::getFunctionNames() const { + return functionNames_; +} + +void DescribeCdnDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); +} + +std::string DescribeCdnDomainConfigsRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DescribeCdnDomainConfigsRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnDomainConfigsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeCdnDomainConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnDomainConfigsRequest::getConfigId() const { + return configId_; +} + +void DescribeCdnDomainConfigsRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); +} + diff --git a/cdn/src/model/DescribeCdnDomainConfigsResult.cc b/cdn/src/model/DescribeCdnDomainConfigsResult.cc new file mode 100644 index 000000000..82276f895 --- /dev/null +++ b/cdn/src/model/DescribeCdnDomainConfigsResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnDomainConfigsResult::DescribeCdnDomainConfigsResult() : + ServiceResult() +{} + +DescribeCdnDomainConfigsResult::DescribeCdnDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnDomainConfigsResult::~DescribeCdnDomainConfigsResult() +{} + +void DescribeCdnDomainConfigsResult::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["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + if(!valueDomainConfigsDomainConfig["ParentId"].isNull()) + domainConfigsObject.parentId = valueDomainConfigsDomainConfig["ParentId"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); + auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; + for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) + { + DomainConfig::FunctionArg functionArgsObject; + if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString(); + if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString(); + domainConfigsObject.functionArgs.push_back(functionArgsObject); + } + domainConfigs_.push_back(domainConfigsObject); + } + +} + +std::vector DescribeCdnDomainConfigsResult::getDomainConfigs()const +{ + return domainConfigs_; +} + diff --git a/cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc b/cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc new file mode 100644 index 000000000..6911444a6 --- /dev/null +++ b/cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDomainStagingConfigRequest; + +DescribeCdnDomainStagingConfigRequest::DescribeCdnDomainStagingConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDomainStagingConfig") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnDomainStagingConfigRequest::~DescribeCdnDomainStagingConfigRequest() {} + +std::string DescribeCdnDomainStagingConfigRequest::getFunctionNames() const { + return functionNames_; +} + +void DescribeCdnDomainStagingConfigRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); +} + +std::string DescribeCdnDomainStagingConfigRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnDomainStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeCdnDomainStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnDomainStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnDomainStagingConfigResult.cc b/cdn/src/model/DescribeCdnDomainStagingConfigResult.cc new file mode 100644 index 000000000..793d3513c --- /dev/null +++ b/cdn/src/model/DescribeCdnDomainStagingConfigResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnDomainStagingConfigResult::DescribeCdnDomainStagingConfigResult() : + ServiceResult() +{} + +DescribeCdnDomainStagingConfigResult::DescribeCdnDomainStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnDomainStagingConfigResult::~DescribeCdnDomainStagingConfigResult() +{} + +void DescribeCdnDomainStagingConfigResult::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["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + if(!valueDomainConfigsDomainConfig["ParentId"].isNull()) + domainConfigsObject.parentId = valueDomainConfigsDomainConfig["ParentId"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); + auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; + for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) + { + DomainConfig::FunctionArg functionArgsObject; + if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString(); + if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString(); + domainConfigsObject.functionArgs.push_back(functionArgsObject); + } + domainConfigs_.push_back(domainConfigsObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeCdnDomainStagingConfigResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeCdnDomainStagingConfigResult::getDomainConfigs()const +{ + return domainConfigs_; +} + diff --git a/cdn/src/model/DescribeCdnHttpsDomainListRequest.cc b/cdn/src/model/DescribeCdnHttpsDomainListRequest.cc new file mode 100644 index 000000000..9e2fb436e --- /dev/null +++ b/cdn/src/model/DescribeCdnHttpsDomainListRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnHttpsDomainListRequest; + +DescribeCdnHttpsDomainListRequest::DescribeCdnHttpsDomainListRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnHttpsDomainList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnHttpsDomainListRequest::~DescribeCdnHttpsDomainListRequest() {} + +int DescribeCdnHttpsDomainListRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeCdnHttpsDomainListRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +int DescribeCdnHttpsDomainListRequest::getPageSize() const { + return pageSize_; +} + +void DescribeCdnHttpsDomainListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeCdnHttpsDomainListRequest::getKeyword() const { + return keyword_; +} + +void DescribeCdnHttpsDomainListRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); +} + +long DescribeCdnHttpsDomainListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnHttpsDomainListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnHttpsDomainListResult.cc b/cdn/src/model/DescribeCdnHttpsDomainListResult.cc new file mode 100644 index 000000000..17e8c4da7 --- /dev/null +++ b/cdn/src/model/DescribeCdnHttpsDomainListResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnHttpsDomainListResult::DescribeCdnHttpsDomainListResult() : + ServiceResult() +{} + +DescribeCdnHttpsDomainListResult::DescribeCdnHttpsDomainListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnHttpsDomainListResult::~DescribeCdnHttpsDomainListResult() +{} + +void DescribeCdnHttpsDomainListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["CertStartTime"].isNull()) + certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CertUpdateTime"].isNull()) + certInfosObject.certUpdateTime = valueCertInfosCertInfo["CertUpdateTime"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertStatus"].isNull()) + certInfosObject.certStatus = valueCertInfosCertInfo["CertStatus"].asString(); + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); + if(!valueCertInfosCertInfo["CertCommonName"].isNull()) + certInfosObject.certCommonName = valueCertInfosCertInfo["CertCommonName"].asString(); + certInfos_.push_back(certInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeCdnHttpsDomainListResult::getCertInfos()const +{ + return certInfos_; +} + +int DescribeCdnHttpsDomainListResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/cdn/src/model/DescribeCdnOrderCommodityCodeRequest.cc b/cdn/src/model/DescribeCdnOrderCommodityCodeRequest.cc new file mode 100644 index 000000000..31bffa0bd --- /dev/null +++ b/cdn/src/model/DescribeCdnOrderCommodityCodeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnOrderCommodityCodeRequest; + +DescribeCdnOrderCommodityCodeRequest::DescribeCdnOrderCommodityCodeRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnOrderCommodityCode") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnOrderCommodityCodeRequest::~DescribeCdnOrderCommodityCodeRequest() {} + +std::string DescribeCdnOrderCommodityCodeRequest::getCommodityCode() const { + return commodityCode_; +} + +void DescribeCdnOrderCommodityCodeRequest::setCommodityCode(const std::string &commodityCode) { + commodityCode_ = commodityCode; + setParameter(std::string("CommodityCode"), commodityCode); +} + +long DescribeCdnOrderCommodityCodeRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnOrderCommodityCodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnOrderCommodityCodeRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnOrderCommodityCodeRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/DescribeCdnOrderCommodityCodeResult.cc b/cdn/src/model/DescribeCdnOrderCommodityCodeResult.cc new file mode 100644 index 000000000..cabb034b2 --- /dev/null +++ b/cdn/src/model/DescribeCdnOrderCommodityCodeResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnOrderCommodityCodeResult::DescribeCdnOrderCommodityCodeResult() : + ServiceResult() +{} + +DescribeCdnOrderCommodityCodeResult::DescribeCdnOrderCommodityCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnOrderCommodityCodeResult::~DescribeCdnOrderCommodityCodeResult() +{} + +void DescribeCdnOrderCommodityCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["OrderCommodityCode"].isNull()) + orderCommodityCode_ = value["OrderCommodityCode"].asString(); + +} + +std::string DescribeCdnOrderCommodityCodeResult::getOrderCommodityCode()const +{ + return orderCommodityCode_; +} + diff --git a/cdn/src/model/DescribeCdnRegionAndIspRequest.cc b/cdn/src/model/DescribeCdnRegionAndIspRequest.cc new file mode 100644 index 000000000..a62d7f8a6 --- /dev/null +++ b/cdn/src/model/DescribeCdnRegionAndIspRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnRegionAndIspRequest; + +DescribeCdnRegionAndIspRequest::DescribeCdnRegionAndIspRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnRegionAndIsp") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnRegionAndIspRequest::~DescribeCdnRegionAndIspRequest() {} + +long DescribeCdnRegionAndIspRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnRegionAndIspRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnRegionAndIspRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnRegionAndIspRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/DescribeCdnRegionAndIspResult.cc b/cdn/src/model/DescribeCdnRegionAndIspResult.cc new file mode 100644 index 000000000..feef74728 --- /dev/null +++ b/cdn/src/model/DescribeCdnRegionAndIspResult.cc @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnRegionAndIspResult::DescribeCdnRegionAndIspResult() : + ServiceResult() +{} + +DescribeCdnRegionAndIspResult::DescribeCdnRegionAndIspResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnRegionAndIspResult::~DescribeCdnRegionAndIspResult() +{} + +void DescribeCdnRegionAndIspResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRegionsNode = value["Regions"]["Region"]; + for (auto valueRegionsRegion : allRegionsNode) + { + Region regionsObject; + if(!valueRegionsRegion["NameEn"].isNull()) + regionsObject.nameEn = valueRegionsRegion["NameEn"].asString(); + if(!valueRegionsRegion["NameZh"].isNull()) + regionsObject.nameZh = valueRegionsRegion["NameZh"].asString(); + regions_.push_back(regionsObject); + } + auto allIspsNode = value["Isps"]["Isp"]; + for (auto valueIspsIsp : allIspsNode) + { + Isp ispsObject; + if(!valueIspsIsp["NameEn"].isNull()) + ispsObject.nameEn = valueIspsIsp["NameEn"].asString(); + if(!valueIspsIsp["NameZh"].isNull()) + ispsObject.nameZh = valueIspsIsp["NameZh"].asString(); + isps_.push_back(ispsObject); + } + +} + +std::vector DescribeCdnRegionAndIspResult::getRegions()const +{ + return regions_; +} + +std::vector DescribeCdnRegionAndIspResult::getIsps()const +{ + return isps_; +} + diff --git a/cdn/src/model/DescribeCdnReportListRequest.cc b/cdn/src/model/DescribeCdnReportListRequest.cc new file mode 100644 index 000000000..3e1f9fc83 --- /dev/null +++ b/cdn/src/model/DescribeCdnReportListRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnReportListRequest; + +DescribeCdnReportListRequest::DescribeCdnReportListRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReportList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnReportListRequest::~DescribeCdnReportListRequest() {} + +long DescribeCdnReportListRequest::getReportId() const { + return reportId_; +} + +void DescribeCdnReportListRequest::setReportId(long reportId) { + reportId_ = reportId; + setParameter(std::string("ReportId"), std::to_string(reportId)); +} + +long DescribeCdnReportListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnReportListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnReportListResult.cc b/cdn/src/model/DescribeCdnReportListResult.cc new file mode 100644 index 000000000..69fd8c616 --- /dev/null +++ b/cdn/src/model/DescribeCdnReportListResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnReportListResult::DescribeCdnReportListResult() : + ServiceResult() +{} + +DescribeCdnReportListResult::DescribeCdnReportListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnReportListResult::~DescribeCdnReportListResult() +{} + +void DescribeCdnReportListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnReportListResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnReportRequest.cc b/cdn/src/model/DescribeCdnReportRequest.cc new file mode 100644 index 000000000..dc099c44b --- /dev/null +++ b/cdn/src/model/DescribeCdnReportRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnReportRequest; + +DescribeCdnReportRequest::DescribeCdnReportRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReport") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnReportRequest::~DescribeCdnReportRequest() {} + +long DescribeCdnReportRequest::getReportId() const { + return reportId_; +} + +void DescribeCdnReportRequest::setReportId(long reportId) { + reportId_ = reportId; + setParameter(std::string("ReportId"), std::to_string(reportId)); +} + +std::string DescribeCdnReportRequest::getStartTime() const { + return startTime_; +} + +void DescribeCdnReportRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeCdnReportRequest::getArea() const { + return area_; +} + +void DescribeCdnReportRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); +} + +std::string DescribeCdnReportRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnReportRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeCdnReportRequest::getEndTime() const { + return endTime_; +} + +void DescribeCdnReportRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeCdnReportRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnReportRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnReportRequest::getHttpCode() const { + return httpCode_; +} + +void DescribeCdnReportRequest::setHttpCode(const std::string &httpCode) { + httpCode_ = httpCode; + setParameter(std::string("HttpCode"), httpCode); +} + +std::string DescribeCdnReportRequest::getIsOverseas() const { + return isOverseas_; +} + +void DescribeCdnReportRequest::setIsOverseas(const std::string &isOverseas) { + isOverseas_ = isOverseas; + setParameter(std::string("IsOverseas"), isOverseas); +} + diff --git a/cdn/src/model/DescribeCdnReportResult.cc b/cdn/src/model/DescribeCdnReportResult.cc new file mode 100644 index 000000000..e6193edda --- /dev/null +++ b/cdn/src/model/DescribeCdnReportResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnReportResult::DescribeCdnReportResult() : + ServiceResult() +{} + +DescribeCdnReportResult::DescribeCdnReportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnReportResult::~DescribeCdnReportResult() +{} + +void DescribeCdnReportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnReportResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnSMCertificateDetailRequest.cc b/cdn/src/model/DescribeCdnSMCertificateDetailRequest.cc new file mode 100644 index 000000000..a94c10dec --- /dev/null +++ b/cdn/src/model/DescribeCdnSMCertificateDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnSMCertificateDetailRequest; + +DescribeCdnSMCertificateDetailRequest::DescribeCdnSMCertificateDetailRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSMCertificateDetail") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnSMCertificateDetailRequest::~DescribeCdnSMCertificateDetailRequest() {} + +long DescribeCdnSMCertificateDetailRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnSMCertificateDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnSMCertificateDetailRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnSMCertificateDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DescribeCdnSMCertificateDetailRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void DescribeCdnSMCertificateDetailRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); +} + diff --git a/cdn/src/model/DescribeCdnSMCertificateDetailResult.cc b/cdn/src/model/DescribeCdnSMCertificateDetailResult.cc new file mode 100644 index 000000000..fefc26ba1 --- /dev/null +++ b/cdn/src/model/DescribeCdnSMCertificateDetailResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnSMCertificateDetailResult::DescribeCdnSMCertificateDetailResult() : + ServiceResult() +{} + +DescribeCdnSMCertificateDetailResult::DescribeCdnSMCertificateDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnSMCertificateDetailResult::~DescribeCdnSMCertificateDetailResult() +{} + +void DescribeCdnSMCertificateDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["CertExpireTime"].isNull()) + certExpireTime_ = value["CertExpireTime"].asString(); + if(!value["CertIdentifier"].isNull()) + certIdentifier_ = value["CertIdentifier"].asString(); + if(!value["CommonName"].isNull()) + commonName_ = value["CommonName"].asString(); + if(!value["CertName"].isNull()) + certName_ = value["CertName"].asString(); + if(!value["Sans"].isNull()) + sans_ = value["Sans"].asString(); + if(!value["SignCertificate"].isNull()) + signCertificate_ = value["SignCertificate"].asString(); + if(!value["CertOrg"].isNull()) + certOrg_ = value["CertOrg"].asString(); + if(!value["EncryptCertificate"].isNull()) + encryptCertificate_ = value["EncryptCertificate"].asString(); + +} + +std::string DescribeCdnSMCertificateDetailResult::getSans()const +{ + return sans_; +} + +std::string DescribeCdnSMCertificateDetailResult::getCertOrg()const +{ + return certOrg_; +} + +std::string DescribeCdnSMCertificateDetailResult::getCertIdentifier()const +{ + return certIdentifier_; +} + +std::string DescribeCdnSMCertificateDetailResult::getCertExpireTime()const +{ + return certExpireTime_; +} + +std::string DescribeCdnSMCertificateDetailResult::getSignCertificate()const +{ + return signCertificate_; +} + +std::string DescribeCdnSMCertificateDetailResult::getCertName()const +{ + return certName_; +} + +std::string DescribeCdnSMCertificateDetailResult::getEncryptCertificate()const +{ + return encryptCertificate_; +} + +std::string DescribeCdnSMCertificateDetailResult::getCommonName()const +{ + return commonName_; +} + diff --git a/cdn/src/model/DescribeCdnSMCertificateListRequest.cc b/cdn/src/model/DescribeCdnSMCertificateListRequest.cc new file mode 100644 index 000000000..0494a3952 --- /dev/null +++ b/cdn/src/model/DescribeCdnSMCertificateListRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnSMCertificateListRequest; + +DescribeCdnSMCertificateListRequest::DescribeCdnSMCertificateListRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSMCertificateList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnSMCertificateListRequest::~DescribeCdnSMCertificateListRequest() {} + +std::string DescribeCdnSMCertificateListRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnSMCertificateListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DescribeCdnSMCertificateListRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnSMCertificateListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeCdnSMCertificateListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnSMCertificateListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnSMCertificateListResult.cc b/cdn/src/model/DescribeCdnSMCertificateListResult.cc new file mode 100644 index 000000000..bba77868f --- /dev/null +++ b/cdn/src/model/DescribeCdnSMCertificateListResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnSMCertificateListResult::DescribeCdnSMCertificateListResult() : + ServiceResult() +{} + +DescribeCdnSMCertificateListResult::DescribeCdnSMCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnSMCertificateListResult::~DescribeCdnSMCertificateListResult() +{} + +void DescribeCdnSMCertificateListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto certificateListModelNode = value["CertificateListModel"]; + if(!certificateListModelNode["Count"].isNull()) + certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString()); + auto allCertListNode = certificateListModelNode["CertList"]["Cert"]; + for (auto certificateListModelNodeCertListCert : allCertListNode) + { + CertificateListModel::Cert certObject; + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + if(!certificateListModelNodeCertListCert["CertIdentifier"].isNull()) + certObject.certIdentifier = certificateListModelNodeCertListCert["CertIdentifier"].asString(); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); + certificateListModel_.certList.push_back(certObject); + } + +} + +DescribeCdnSMCertificateListResult::CertificateListModel DescribeCdnSMCertificateListResult::getCertificateListModel()const +{ + return certificateListModel_; +} + diff --git a/cdn/src/model/DescribeCdnSubListRequest.cc b/cdn/src/model/DescribeCdnSubListRequest.cc new file mode 100644 index 000000000..73bda27ee --- /dev/null +++ b/cdn/src/model/DescribeCdnSubListRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnSubListRequest; + +DescribeCdnSubListRequest::DescribeCdnSubListRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSubList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnSubListRequest::~DescribeCdnSubListRequest() {} + +long DescribeCdnSubListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnSubListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnSubListResult.cc b/cdn/src/model/DescribeCdnSubListResult.cc new file mode 100644 index 000000000..e5dbae828 --- /dev/null +++ b/cdn/src/model/DescribeCdnSubListResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnSubListResult::DescribeCdnSubListResult() : + ServiceResult() +{} + +DescribeCdnSubListResult::DescribeCdnSubListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnSubListResult::~DescribeCdnSubListResult() +{} + +void DescribeCdnSubListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeCdnSubListResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DescribeCdnUserBillHistoryRequest.cc b/cdn/src/model/DescribeCdnUserBillHistoryRequest.cc new file mode 100644 index 000000000..5441fa3c0 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillHistoryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserBillHistoryRequest; + +DescribeCdnUserBillHistoryRequest::DescribeCdnUserBillHistoryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillHistory") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserBillHistoryRequest::~DescribeCdnUserBillHistoryRequest() {} + +std::string DescribeCdnUserBillHistoryRequest::getStartTime() const { + return startTime_; +} + +void DescribeCdnUserBillHistoryRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeCdnUserBillHistoryRequest::getEndTime() const { + return endTime_; +} + +void DescribeCdnUserBillHistoryRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeCdnUserBillHistoryRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserBillHistoryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnUserBillHistoryResult.cc b/cdn/src/model/DescribeCdnUserBillHistoryResult.cc new file mode 100644 index 000000000..8a00f9d15 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillHistoryResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserBillHistoryResult::DescribeCdnUserBillHistoryResult() : + ServiceResult() +{} + +DescribeCdnUserBillHistoryResult::DescribeCdnUserBillHistoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserBillHistoryResult::~DescribeCdnUserBillHistoryResult() +{} + +void DescribeCdnUserBillHistoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBillHistoryDataNode = value["BillHistoryData"]["BillHistoryDataItem"]; + for (auto valueBillHistoryDataBillHistoryDataItem : allBillHistoryDataNode) + { + BillHistoryDataItem billHistoryDataObject; + if(!valueBillHistoryDataBillHistoryDataItem["Dimension"].isNull()) + billHistoryDataObject.dimension = valueBillHistoryDataBillHistoryDataItem["Dimension"].asString(); + if(!valueBillHistoryDataBillHistoryDataItem["BillType"].isNull()) + billHistoryDataObject.billType = valueBillHistoryDataBillHistoryDataItem["BillType"].asString(); + if(!valueBillHistoryDataBillHistoryDataItem["BillTime"].isNull()) + billHistoryDataObject.billTime = valueBillHistoryDataBillHistoryDataItem["BillTime"].asString(); + auto allBillingDataNode = valueBillHistoryDataBillHistoryDataItem["BillingData"]["BillingDataItem"]; + for (auto valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem : allBillingDataNode) + { + BillHistoryDataItem::BillingDataItem billingDataObject; + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].isNull()) + billingDataObject.flow = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].asString()); + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].isNull()) + billingDataObject.bandwidth = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].asString()); + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].isNull()) + billingDataObject.count = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].asString()); + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].isNull()) + billingDataObject.cdnRegion = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].asString(); + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].isNull()) + billingDataObject.chargeType = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].asString(); + billHistoryDataObject.billingData.push_back(billingDataObject); + } + billHistoryData_.push_back(billHistoryDataObject); + } + +} + +std::vector DescribeCdnUserBillHistoryResult::getBillHistoryData()const +{ + return billHistoryData_; +} + diff --git a/cdn/src/model/DescribeCdnUserBillPredictionRequest.cc b/cdn/src/model/DescribeCdnUserBillPredictionRequest.cc new file mode 100644 index 000000000..71a7101d8 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillPredictionRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserBillPredictionRequest; + +DescribeCdnUserBillPredictionRequest::DescribeCdnUserBillPredictionRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillPrediction") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserBillPredictionRequest::~DescribeCdnUserBillPredictionRequest() {} + +std::string DescribeCdnUserBillPredictionRequest::getStartTime() const { + return startTime_; +} + +void DescribeCdnUserBillPredictionRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeCdnUserBillPredictionRequest::getDimension() const { + return dimension_; +} + +void DescribeCdnUserBillPredictionRequest::setDimension(const std::string &dimension) { + dimension_ = dimension; + setParameter(std::string("Dimension"), dimension); +} + +std::string DescribeCdnUserBillPredictionRequest::getArea() const { + return area_; +} + +void DescribeCdnUserBillPredictionRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); +} + +std::string DescribeCdnUserBillPredictionRequest::getEndTime() const { + return endTime_; +} + +void DescribeCdnUserBillPredictionRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeCdnUserBillPredictionRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserBillPredictionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnUserBillPredictionResult.cc b/cdn/src/model/DescribeCdnUserBillPredictionResult.cc new file mode 100644 index 000000000..d5b542354 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillPredictionResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserBillPredictionResult::DescribeCdnUserBillPredictionResult() : + ServiceResult() +{} + +DescribeCdnUserBillPredictionResult::DescribeCdnUserBillPredictionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserBillPredictionResult::~DescribeCdnUserBillPredictionResult() +{} + +void DescribeCdnUserBillPredictionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBillPredictionDataNode = value["BillPredictionData"]["BillPredictionDataItem"]; + for (auto valueBillPredictionDataBillPredictionDataItem : allBillPredictionDataNode) + { + BillPredictionDataItem billPredictionDataObject; + if(!valueBillPredictionDataBillPredictionDataItem["Value"].isNull()) + billPredictionDataObject.value = std::stof(valueBillPredictionDataBillPredictionDataItem["Value"].asString()); + if(!valueBillPredictionDataBillPredictionDataItem["TimeStp"].isNull()) + billPredictionDataObject.timeStp = valueBillPredictionDataBillPredictionDataItem["TimeStp"].asString(); + if(!valueBillPredictionDataBillPredictionDataItem["Area"].isNull()) + billPredictionDataObject.area = valueBillPredictionDataBillPredictionDataItem["Area"].asString(); + billPredictionData_.push_back(billPredictionDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["BillType"].isNull()) + billType_ = value["BillType"].asString(); + +} + +std::string DescribeCdnUserBillPredictionResult::getBillType()const +{ + return billType_; +} + +std::string DescribeCdnUserBillPredictionResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeCdnUserBillPredictionResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeCdnUserBillPredictionResult::getBillPredictionData()const +{ + return billPredictionData_; +} + diff --git a/cdn/src/model/DescribeCdnUserBillTypeRequest.cc b/cdn/src/model/DescribeCdnUserBillTypeRequest.cc new file mode 100644 index 000000000..f07d02f8f --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillTypeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserBillTypeRequest; + +DescribeCdnUserBillTypeRequest::DescribeCdnUserBillTypeRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillType") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserBillTypeRequest::~DescribeCdnUserBillTypeRequest() {} + +std::string DescribeCdnUserBillTypeRequest::getStartTime() const { + return startTime_; +} + +void DescribeCdnUserBillTypeRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeCdnUserBillTypeRequest::getEndTime() const { + return endTime_; +} + +void DescribeCdnUserBillTypeRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeCdnUserBillTypeRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserBillTypeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnUserBillTypeResult.cc b/cdn/src/model/DescribeCdnUserBillTypeResult.cc new file mode 100644 index 000000000..11cb61e64 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillTypeResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserBillTypeResult::DescribeCdnUserBillTypeResult() : + ServiceResult() +{} + +DescribeCdnUserBillTypeResult::DescribeCdnUserBillTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserBillTypeResult::~DescribeCdnUserBillTypeResult() +{} + +void DescribeCdnUserBillTypeResult::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["EndTime"].isNull()) + billTypeDataObject.endTime = valueBillTypeDataBillTypeDataItem["EndTime"].asString(); + if(!valueBillTypeDataBillTypeDataItem["StartTime"].isNull()) + billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull()) + billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Product"].isNull()) + billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull()) + billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull()) + billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString(); + billTypeData_.push_back(billTypeDataObject); + } + +} + +std::vector DescribeCdnUserBillTypeResult::getBillTypeData()const +{ + return billTypeData_; +} + diff --git a/cdn/src/model/DescribeCdnUserConfigsRequest.cc b/cdn/src/model/DescribeCdnUserConfigsRequest.cc new file mode 100644 index 000000000..9521c7bb6 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserConfigsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserConfigsRequest; + +DescribeCdnUserConfigsRequest::DescribeCdnUserConfigsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserConfigs") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserConfigsRequest::~DescribeCdnUserConfigsRequest() {} + +std::string DescribeCdnUserConfigsRequest::getFunctionName() const { + return functionName_; +} + +void DescribeCdnUserConfigsRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); +} + +long DescribeCdnUserConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnUserConfigsResult.cc b/cdn/src/model/DescribeCdnUserConfigsResult.cc new file mode 100644 index 000000000..1e0365baf --- /dev/null +++ b/cdn/src/model/DescribeCdnUserConfigsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserConfigsResult::DescribeCdnUserConfigsResult() : + ServiceResult() +{} + +DescribeCdnUserConfigsResult::DescribeCdnUserConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserConfigsResult::~DescribeCdnUserConfigsResult() +{} + +void DescribeCdnUserConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConfigsNode = value["Configs"]["Config"]; + for (auto valueConfigsConfig : allConfigsNode) + { + Config configsObject; + if(!valueConfigsConfig["ArgValue"].isNull()) + configsObject.argValue = valueConfigsConfig["ArgValue"].asString(); + if(!valueConfigsConfig["ArgName"].isNull()) + configsObject.argName = valueConfigsConfig["ArgName"].asString(); + if(!valueConfigsConfig["FunctionName"].isNull()) + configsObject.functionName = valueConfigsConfig["FunctionName"].asString(); + configs_.push_back(configsObject); + } + +} + +std::vector DescribeCdnUserConfigsResult::getConfigs()const +{ + return configs_; +} + diff --git a/cdn/src/model/DescribeCdnUserDomainsByFuncRequest.cc b/cdn/src/model/DescribeCdnUserDomainsByFuncRequest.cc new file mode 100644 index 000000000..f183e8606 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserDomainsByFuncRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserDomainsByFuncRequest; + +DescribeCdnUserDomainsByFuncRequest::DescribeCdnUserDomainsByFuncRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserDomainsByFunc") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserDomainsByFuncRequest::~DescribeCdnUserDomainsByFuncRequest() {} + +int DescribeCdnUserDomainsByFuncRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeCdnUserDomainsByFuncRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string DescribeCdnUserDomainsByFuncRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void DescribeCdnUserDomainsByFuncRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +int DescribeCdnUserDomainsByFuncRequest::getPageSize() const { + return pageSize_; +} + +void DescribeCdnUserDomainsByFuncRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +long DescribeCdnUserDomainsByFuncRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserDomainsByFuncRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +int DescribeCdnUserDomainsByFuncRequest::getFuncId() const { + return funcId_; +} + +void DescribeCdnUserDomainsByFuncRequest::setFuncId(int funcId) { + funcId_ = funcId; + setParameter(std::string("FuncId"), std::to_string(funcId)); +} + diff --git a/cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc b/cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc new file mode 100644 index 000000000..fd8685e52 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserDomainsByFuncResult::DescribeCdnUserDomainsByFuncResult() : + ServiceResult() +{} + +DescribeCdnUserDomainsByFuncResult::DescribeCdnUserDomainsByFuncResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserDomainsByFuncResult::~DescribeCdnUserDomainsByFuncResult() +{} + +void DescribeCdnUserDomainsByFuncResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["PageData"]; + for (auto valueDomainsPageData : allDomainsNode) + { + PageData domainsObject; + if(!valueDomainsPageData["GmtCreated"].isNull()) + domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); + if(!valueDomainsPageData["SslProtocol"].isNull()) + domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString(); + if(!valueDomainsPageData["Description"].isNull()) + domainsObject.description = valueDomainsPageData["Description"].asString(); + if(!valueDomainsPageData["ResourceGroupId"].isNull()) + domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); + if(!valueDomainsPageData["DomainStatus"].isNull()) + domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["CdnType"].isNull()) + domainsObject.cdnType = valueDomainsPageData["CdnType"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); + auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; + for (auto valueDomainsPageDataSourcesSource : allSourcesNode) + { + PageData::Source sourcesObject; + if(!valueDomainsPageDataSourcesSource["Type"].isNull()) + sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); + if(!valueDomainsPageDataSourcesSource["Weight"].isNull()) + sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString(); + if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) + sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); + if(!valueDomainsPageDataSourcesSource["Port"].isNull()) + sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); + if(!valueDomainsPageDataSourcesSource["Content"].isNull()) + sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); + domainsObject.sources.push_back(sourcesObject); + } + domains_.push_back(domainsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeCdnUserDomainsByFuncResult::getDomains()const +{ + return domains_; +} + +long DescribeCdnUserDomainsByFuncResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeCdnUserDomainsByFuncResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeCdnUserDomainsByFuncResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cdn/src/model/DescribeCdnUserQuotaRequest.cc b/cdn/src/model/DescribeCdnUserQuotaRequest.cc new file mode 100644 index 000000000..308473f28 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserQuotaRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserQuotaRequest; + +DescribeCdnUserQuotaRequest::DescribeCdnUserQuotaRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserQuota") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserQuotaRequest::~DescribeCdnUserQuotaRequest() {} + +long DescribeCdnUserQuotaRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserQuotaRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnUserQuotaRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnUserQuotaRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/DescribeCdnUserQuotaResult.cc b/cdn/src/model/DescribeCdnUserQuotaResult.cc new file mode 100644 index 000000000..befad827e --- /dev/null +++ b/cdn/src/model/DescribeCdnUserQuotaResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserQuotaResult::DescribeCdnUserQuotaResult() : + ServiceResult() +{} + +DescribeCdnUserQuotaResult::DescribeCdnUserQuotaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserQuotaResult::~DescribeCdnUserQuotaResult() +{} + +void DescribeCdnUserQuotaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["BlockQuota"].isNull()) + blockQuota_ = std::stoi(value["BlockQuota"].asString()); + if(!value["RefreshUrlRemain"].isNull()) + refreshUrlRemain_ = std::stoi(value["RefreshUrlRemain"].asString()); + if(!value["DomainQuota"].isNull()) + domainQuota_ = std::stoi(value["DomainQuota"].asString()); + if(!value["BlockRemain"].isNull()) + blockRemain_ = std::stoi(value["BlockRemain"].asString()); + if(!value["PreloadRemain"].isNull()) + preloadRemain_ = std::stoi(value["PreloadRemain"].asString()); + if(!value["RefreshUrlQuota"].isNull()) + refreshUrlQuota_ = std::stoi(value["RefreshUrlQuota"].asString()); + if(!value["PreloadQuota"].isNull()) + preloadQuota_ = std::stoi(value["PreloadQuota"].asString()); + if(!value["RefreshDirQuota"].isNull()) + refreshDirQuota_ = std::stoi(value["RefreshDirQuota"].asString()); + if(!value["RefreshDirRemain"].isNull()) + refreshDirRemain_ = std::stoi(value["RefreshDirRemain"].asString()); + +} + +int DescribeCdnUserQuotaResult::getRefreshUrlQuota()const +{ + return refreshUrlQuota_; +} + +int DescribeCdnUserQuotaResult::getBlockRemain()const +{ + return blockRemain_; +} + +int DescribeCdnUserQuotaResult::getPreloadRemain()const +{ + return preloadRemain_; +} + +int DescribeCdnUserQuotaResult::getRefreshDirRemain()const +{ + return refreshDirRemain_; +} + +int DescribeCdnUserQuotaResult::getBlockQuota()const +{ + return blockQuota_; +} + +int DescribeCdnUserQuotaResult::getRefreshDirQuota()const +{ + return refreshDirQuota_; +} + +int DescribeCdnUserQuotaResult::getDomainQuota()const +{ + return domainQuota_; +} + +int DescribeCdnUserQuotaResult::getRefreshUrlRemain()const +{ + return refreshUrlRemain_; +} + +int DescribeCdnUserQuotaResult::getPreloadQuota()const +{ + return preloadQuota_; +} + diff --git a/cdn/src/model/DescribeCdnUserResourcePackageRequest.cc b/cdn/src/model/DescribeCdnUserResourcePackageRequest.cc new file mode 100644 index 000000000..fcd177c1a --- /dev/null +++ b/cdn/src/model/DescribeCdnUserResourcePackageRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnUserResourcePackageRequest; + +DescribeCdnUserResourcePackageRequest::DescribeCdnUserResourcePackageRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserResourcePackage") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserResourcePackageRequest::~DescribeCdnUserResourcePackageRequest() {} + +std::string DescribeCdnUserResourcePackageRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnUserResourcePackageRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +long DescribeCdnUserResourcePackageRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnUserResourcePackageRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCdnUserResourcePackageRequest::getStatus() const { + return status_; +} + +void DescribeCdnUserResourcePackageRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/cdn/src/model/DescribeCdnUserResourcePackageResult.cc b/cdn/src/model/DescribeCdnUserResourcePackageResult.cc new file mode 100644 index 000000000..bc58cf4be --- /dev/null +++ b/cdn/src/model/DescribeCdnUserResourcePackageResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserResourcePackageResult::DescribeCdnUserResourcePackageResult() : + ServiceResult() +{} + +DescribeCdnUserResourcePackageResult::DescribeCdnUserResourcePackageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserResourcePackageResult::~DescribeCdnUserResourcePackageResult() +{} + +void DescribeCdnUserResourcePackageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResourcePackageInfosNode = value["ResourcePackageInfos"]["ResourcePackageInfo"]; + for (auto valueResourcePackageInfosResourcePackageInfo : allResourcePackageInfosNode) + { + ResourcePackageInfo resourcePackageInfosObject; + if(!valueResourcePackageInfosResourcePackageInfo["EndTime"].isNull()) + resourcePackageInfosObject.endTime = valueResourcePackageInfosResourcePackageInfo["EndTime"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["Status"].isNull()) + resourcePackageInfosObject.status = valueResourcePackageInfosResourcePackageInfo["Status"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["DisplayName"].isNull()) + resourcePackageInfosObject.displayName = valueResourcePackageInfosResourcePackageInfo["DisplayName"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["StartTime"].isNull()) + resourcePackageInfosObject.startTime = valueResourcePackageInfosResourcePackageInfo["StartTime"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["CommodityCode"].isNull()) + resourcePackageInfosObject.commodityCode = valueResourcePackageInfosResourcePackageInfo["CommodityCode"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].isNull()) + resourcePackageInfosObject.currCapacity = valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["InitCapacity"].isNull()) + resourcePackageInfosObject.initCapacity = valueResourcePackageInfosResourcePackageInfo["InitCapacity"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["InstanceId"].isNull()) + resourcePackageInfosObject.instanceId = valueResourcePackageInfosResourcePackageInfo["InstanceId"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["TemplateName"].isNull()) + resourcePackageInfosObject.templateName = valueResourcePackageInfosResourcePackageInfo["TemplateName"].asString(); + resourcePackageInfos_.push_back(resourcePackageInfosObject); + } + +} + +std::vector DescribeCdnUserResourcePackageResult::getResourcePackageInfos()const +{ + return resourcePackageInfos_; +} + diff --git a/cdn/src/model/DescribeCdnWafDomainRequest.cc b/cdn/src/model/DescribeCdnWafDomainRequest.cc new file mode 100644 index 000000000..5af7584f0 --- /dev/null +++ b/cdn/src/model/DescribeCdnWafDomainRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnWafDomainRequest; + +DescribeCdnWafDomainRequest::DescribeCdnWafDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnWafDomain") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnWafDomainRequest::~DescribeCdnWafDomainRequest() {} + +std::string DescribeCdnWafDomainRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void DescribeCdnWafDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +std::string DescribeCdnWafDomainRequest::getRegionId() const { + return regionId_; +} + +void DescribeCdnWafDomainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string DescribeCdnWafDomainRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnWafDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeCdnWafDomainRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnWafDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnWafDomainResult.cc b/cdn/src/model/DescribeCdnWafDomainResult.cc new file mode 100644 index 000000000..7b11c46f9 --- /dev/null +++ b/cdn/src/model/DescribeCdnWafDomainResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnWafDomainResult::DescribeCdnWafDomainResult() : + ServiceResult() +{} + +DescribeCdnWafDomainResult::DescribeCdnWafDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnWafDomainResult::~DescribeCdnWafDomainResult() +{} + +void DescribeCdnWafDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOutPutDomainsNode = value["OutPutDomains"]["OutPutDomain"]; + for (auto valueOutPutDomainsOutPutDomain : allOutPutDomainsNode) + { + OutPutDomain outPutDomainsObject; + if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull()) + outPutDomainsObject.aclStatus = valueOutPutDomainsOutPutDomain["AclStatus"].asString(); + if(!valueOutPutDomainsOutPutDomain["Status"].isNull()) + outPutDomainsObject.status = valueOutPutDomainsOutPutDomain["Status"].asString(); + if(!valueOutPutDomainsOutPutDomain["Domain"].isNull()) + outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString(); + if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull()) + outPutDomainsObject.ccStatus = valueOutPutDomainsOutPutDomain["CcStatus"].asString(); + if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull()) + outPutDomainsObject.wafStatus = valueOutPutDomainsOutPutDomain["WafStatus"].asString(); + outPutDomains_.push_back(outPutDomainsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeCdnWafDomainResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeCdnWafDomainResult::getOutPutDomains()const +{ + return outPutDomains_; +} + diff --git a/cdn/src/model/DescribeCertificateInfoByIDRequest.cc b/cdn/src/model/DescribeCertificateInfoByIDRequest.cc new file mode 100644 index 000000000..3567a15de --- /dev/null +++ b/cdn/src/model/DescribeCertificateInfoByIDRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCertificateInfoByIDRequest; + +DescribeCertificateInfoByIDRequest::DescribeCertificateInfoByIDRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCertificateInfoByID") { + setMethod(HttpRequest::Method::Get); +} + +DescribeCertificateInfoByIDRequest::~DescribeCertificateInfoByIDRequest() {} + +std::string DescribeCertificateInfoByIDRequest::getCertId() const { + return certId_; +} + +void DescribeCertificateInfoByIDRequest::setCertId(const std::string &certId) { + certId_ = certId; + setParameter(std::string("CertId"), certId); +} + +long DescribeCertificateInfoByIDRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCertificateInfoByIDRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCertificateInfoByIDResult.cc b/cdn/src/model/DescribeCertificateInfoByIDResult.cc new file mode 100644 index 000000000..d61fc3c6f --- /dev/null +++ b/cdn/src/model/DescribeCertificateInfoByIDResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCertificateInfoByIDResult::DescribeCertificateInfoByIDResult() : + ServiceResult() +{} + +DescribeCertificateInfoByIDResult::DescribeCertificateInfoByIDResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCertificateInfoByIDResult::~DescribeCertificateInfoByIDResult() +{} + +void DescribeCertificateInfoByIDResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CreateTime"].isNull()) + certInfosObject.createTime = valueCertInfosCertInfo["CreateTime"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertId"].isNull()) + certInfosObject.certId = valueCertInfosCertInfo["CertId"].asString(); + if(!valueCertInfosCertInfo["DomainList"].isNull()) + certInfosObject.domainList = valueCertInfosCertInfo["DomainList"].asString(); + if(!valueCertInfosCertInfo["HttpsCrt"].isNull()) + certInfosObject.httpsCrt = valueCertInfosCertInfo["HttpsCrt"].asString(); + certInfos_.push_back(certInfosObject); + } + +} + +std::vector DescribeCertificateInfoByIDResult::getCertInfos()const +{ + return certInfos_; +} + diff --git a/cdn/src/model/DescribeConfigGroupDetailRequest.cc b/cdn/src/model/DescribeConfigGroupDetailRequest.cc new file mode 100644 index 000000000..6ecfe8ff1 --- /dev/null +++ b/cdn/src/model/DescribeConfigGroupDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeConfigGroupDetailRequest; + +DescribeConfigGroupDetailRequest::DescribeConfigGroupDetailRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeConfigGroupDetail") { + setMethod(HttpRequest::Method::Post); +} + +DescribeConfigGroupDetailRequest::~DescribeConfigGroupDetailRequest() {} + +std::string DescribeConfigGroupDetailRequest::getConfigGroupName() const { + return configGroupName_; +} + +void DescribeConfigGroupDetailRequest::setConfigGroupName(const std::string &configGroupName) { + configGroupName_ = configGroupName; + setParameter(std::string("ConfigGroupName"), configGroupName); +} + +long DescribeConfigGroupDetailRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeConfigGroupDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeConfigGroupDetailRequest::getConfigGroupId() const { + return configGroupId_; +} + +void DescribeConfigGroupDetailRequest::setConfigGroupId(const std::string &configGroupId) { + configGroupId_ = configGroupId; + setParameter(std::string("ConfigGroupId"), configGroupId); +} + diff --git a/cdn/src/model/DescribeConfigGroupDetailResult.cc b/cdn/src/model/DescribeConfigGroupDetailResult.cc new file mode 100644 index 000000000..7850ae83b --- /dev/null +++ b/cdn/src/model/DescribeConfigGroupDetailResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeConfigGroupDetailResult::DescribeConfigGroupDetailResult() : + ServiceResult() +{} + +DescribeConfigGroupDetailResult::DescribeConfigGroupDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeConfigGroupDetailResult::~DescribeConfigGroupDetailResult() +{} + +void DescribeConfigGroupDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["UpdateTime"].isNull()) + updateTime_ = value["UpdateTime"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["ConfigGroupName"].isNull()) + configGroupName_ = value["ConfigGroupName"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["BizName"].isNull()) + bizName_ = value["BizName"].asString(); + if(!value["ConfigGroupId"].isNull()) + configGroupId_ = value["ConfigGroupId"].asString(); + +} + +std::string DescribeConfigGroupDetailResult::getConfigGroupId()const +{ + return configGroupId_; +} + +std::string DescribeConfigGroupDetailResult::getDescription()const +{ + return description_; +} + +std::string DescribeConfigGroupDetailResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeConfigGroupDetailResult::getUpdateTime()const +{ + return updateTime_; +} + +std::string DescribeConfigGroupDetailResult::getConfigGroupName()const +{ + return configGroupName_; +} + +std::string DescribeConfigGroupDetailResult::getBizName()const +{ + return bizName_; +} + diff --git a/cdn/src/model/DescribeConfigOfVersionRequest.cc b/cdn/src/model/DescribeConfigOfVersionRequest.cc new file mode 100644 index 000000000..15383166c --- /dev/null +++ b/cdn/src/model/DescribeConfigOfVersionRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeConfigOfVersionRequest; + +DescribeConfigOfVersionRequest::DescribeConfigOfVersionRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeConfigOfVersion") { + setMethod(HttpRequest::Method::Post); +} + +DescribeConfigOfVersionRequest::~DescribeConfigOfVersionRequest() {} + +std::string DescribeConfigOfVersionRequest::getVersionId() const { + return versionId_; +} + +void DescribeConfigOfVersionRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); +} + +std::string DescribeConfigOfVersionRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeConfigOfVersionRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string DescribeConfigOfVersionRequest::getFunctionName() const { + return functionName_; +} + +void DescribeConfigOfVersionRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); +} + +long DescribeConfigOfVersionRequest::getGroupId() const { + return groupId_; +} + +void DescribeConfigOfVersionRequest::setGroupId(long groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), std::to_string(groupId)); +} + +long DescribeConfigOfVersionRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeConfigOfVersionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +int DescribeConfigOfVersionRequest::getFunctionId() const { + return functionId_; +} + +void DescribeConfigOfVersionRequest::setFunctionId(int functionId) { + functionId_ = functionId; + setParameter(std::string("FunctionId"), std::to_string(functionId)); +} + diff --git a/cdn/src/model/DescribeConfigOfVersionResult.cc b/cdn/src/model/DescribeConfigOfVersionResult.cc new file mode 100644 index 000000000..585b235ae --- /dev/null +++ b/cdn/src/model/DescribeConfigOfVersionResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeConfigOfVersionResult::DescribeConfigOfVersionResult() : + ServiceResult() +{} + +DescribeConfigOfVersionResult::DescribeConfigOfVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeConfigOfVersionResult::~DescribeConfigOfVersionResult() +{} + +void DescribeConfigOfVersionResult::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 = valueVersionConfigsVersionConfig["FunctionArgs"]["FunctionArg"]; + for (auto valueVersionConfigsVersionConfigFunctionArgsFunctionArg : allFunctionArgsNode) + { + VersionConfig::FunctionArg functionArgsObject; + if(!valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgName"].asString(); + if(!valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgValue"].asString(); + versionConfigsObject.functionArgs.push_back(functionArgsObject); + } + versionConfigs_.push_back(versionConfigsObject); + } + +} + +std::vector DescribeConfigOfVersionResult::getVersionConfigs()const +{ + return versionConfigs_; +} + diff --git a/cdn/src/model/DescribeCustomLogConfigRequest.cc b/cdn/src/model/DescribeCustomLogConfigRequest.cc new file mode 100644 index 000000000..54677c723 --- /dev/null +++ b/cdn/src/model/DescribeCustomLogConfigRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCustomLogConfigRequest; + +DescribeCustomLogConfigRequest::DescribeCustomLogConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeCustomLogConfig") { + setMethod(HttpRequest::Method::Get); +} + +DescribeCustomLogConfigRequest::~DescribeCustomLogConfigRequest() {} + +long DescribeCustomLogConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCustomLogConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeCustomLogConfigRequest::getConfigId() const { + return configId_; +} + +void DescribeCustomLogConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); +} + diff --git a/cdn/src/model/DescribeCustomLogConfigResult.cc b/cdn/src/model/DescribeCustomLogConfigResult.cc new file mode 100644 index 000000000..b6dec436c --- /dev/null +++ b/cdn/src/model/DescribeCustomLogConfigResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCustomLogConfigResult::DescribeCustomLogConfigResult() : + ServiceResult() +{} + +DescribeCustomLogConfigResult::DescribeCustomLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCustomLogConfigResult::~DescribeCustomLogConfigResult() +{} + +void DescribeCustomLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Tag"].isNull()) + tag_ = value["Tag"].asString(); + if(!value["Remark"].isNull()) + remark_ = value["Remark"].asString(); + if(!value["Sample"].isNull()) + sample_ = value["Sample"].asString(); + +} + +std::string DescribeCustomLogConfigResult::getSample()const +{ + return sample_; +} + +std::string DescribeCustomLogConfigResult::getTag()const +{ + return tag_; +} + +std::string DescribeCustomLogConfigResult::getRemark()const +{ + return remark_; +} + diff --git a/cdn/src/model/DescribeDomainAverageResponseTimeRequest.cc b/cdn/src/model/DescribeDomainAverageResponseTimeRequest.cc new file mode 100644 index 000000000..21da23363 --- /dev/null +++ b/cdn/src/model/DescribeDomainAverageResponseTimeRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainAverageResponseTimeRequest; + +DescribeDomainAverageResponseTimeRequest::DescribeDomainAverageResponseTimeRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainAverageResponseTime") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainAverageResponseTimeRequest::~DescribeDomainAverageResponseTimeRequest() {} + +std::string DescribeDomainAverageResponseTimeRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainAverageResponseTimeRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainAverageResponseTimeRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainAverageResponseTimeRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainAverageResponseTimeRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainAverageResponseTimeRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainAverageResponseTimeRequest::getDomainType() const { + return domainType_; +} + +void DescribeDomainAverageResponseTimeRequest::setDomainType(const std::string &domainType) { + domainType_ = domainType; + setParameter(std::string("DomainType"), domainType); +} + +std::string DescribeDomainAverageResponseTimeRequest::getTimeMerge() const { + return timeMerge_; +} + +void DescribeDomainAverageResponseTimeRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); +} + +std::string DescribeDomainAverageResponseTimeRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainAverageResponseTimeRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainAverageResponseTimeRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainAverageResponseTimeRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainAverageResponseTimeRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainAverageResponseTimeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainAverageResponseTimeRequest::getInterval() const { + return interval_; +} + +void DescribeDomainAverageResponseTimeRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainAverageResponseTimeResult.cc b/cdn/src/model/DescribeDomainAverageResponseTimeResult.cc new file mode 100644 index 000000000..8761428e0 --- /dev/null +++ b/cdn/src/model/DescribeDomainAverageResponseTimeResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainAverageResponseTimeResult::DescribeDomainAverageResponseTimeResult() : + ServiceResult() +{} + +DescribeDomainAverageResponseTimeResult::DescribeDomainAverageResponseTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainAverageResponseTimeResult::~DescribeDomainAverageResponseTimeResult() +{} + +void DescribeDomainAverageResponseTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAvgRTPerIntervalNode = value["AvgRTPerInterval"]["DataModule"]; + for (auto valueAvgRTPerIntervalDataModule : allAvgRTPerIntervalNode) + { + DataModule avgRTPerIntervalObject; + if(!valueAvgRTPerIntervalDataModule["Value"].isNull()) + avgRTPerIntervalObject.value = valueAvgRTPerIntervalDataModule["Value"].asString(); + if(!valueAvgRTPerIntervalDataModule["TimeStamp"].isNull()) + avgRTPerIntervalObject.timeStamp = valueAvgRTPerIntervalDataModule["TimeStamp"].asString(); + avgRTPerInterval_.push_back(avgRTPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeDomainAverageResponseTimeResult::getAvgRTPerInterval()const +{ + return avgRTPerInterval_; +} + +std::string DescribeDomainAverageResponseTimeResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainAverageResponseTimeResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainAverageResponseTimeResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainAverageResponseTimeResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainBpsDataByLayerRequest.cc b/cdn/src/model/DescribeDomainBpsDataByLayerRequest.cc new file mode 100644 index 000000000..4b36861a2 --- /dev/null +++ b/cdn/src/model/DescribeDomainBpsDataByLayerRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainBpsDataByLayerRequest; + +DescribeDomainBpsDataByLayerRequest::DescribeDomainBpsDataByLayerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainBpsDataByLayer") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainBpsDataByLayerRequest::~DescribeDomainBpsDataByLayerRequest() {} + +std::string DescribeDomainBpsDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainBpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainBpsDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainBpsDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainBpsDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainBpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainBpsDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDomainBpsDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + +std::string DescribeDomainBpsDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainBpsDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainBpsDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainBpsDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainBpsDataByLayerRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainBpsDataByLayerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainBpsDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeDomainBpsDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainBpsDataByLayerResult.cc b/cdn/src/model/DescribeDomainBpsDataByLayerResult.cc new file mode 100644 index 000000000..0310a5d78 --- /dev/null +++ b/cdn/src/model/DescribeDomainBpsDataByLayerResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainBpsDataByLayerResult::DescribeDomainBpsDataByLayerResult() : + ServiceResult() +{} + +DescribeDomainBpsDataByLayerResult::DescribeDomainBpsDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainBpsDataByLayerResult::~DescribeDomainBpsDataByLayerResult() +{} + +void DescribeDomainBpsDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBpsDataIntervalNode = value["BpsDataInterval"]["DataModule"]; + for (auto valueBpsDataIntervalDataModule : allBpsDataIntervalNode) + { + DataModule bpsDataIntervalObject; + if(!valueBpsDataIntervalDataModule["Value"].isNull()) + bpsDataIntervalObject.value = valueBpsDataIntervalDataModule["Value"].asString(); + if(!valueBpsDataIntervalDataModule["TrafficValue"].isNull()) + bpsDataIntervalObject.trafficValue = valueBpsDataIntervalDataModule["TrafficValue"].asString(); + if(!valueBpsDataIntervalDataModule["TimeStamp"].isNull()) + bpsDataIntervalObject.timeStamp = valueBpsDataIntervalDataModule["TimeStamp"].asString(); + bpsDataInterval_.push_back(bpsDataIntervalObject); + } + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeDomainBpsDataByLayerResult::getBpsDataInterval()const +{ + return bpsDataInterval_; +} + +std::string DescribeDomainBpsDataByLayerResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainCcActivityLogRequest.cc b/cdn/src/model/DescribeDomainCcActivityLogRequest.cc new file mode 100644 index 000000000..a02d9b593 --- /dev/null +++ b/cdn/src/model/DescribeDomainCcActivityLogRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainCcActivityLogRequest; + +DescribeDomainCcActivityLogRequest::DescribeDomainCcActivityLogRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainCcActivityLog") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainCcActivityLogRequest::~DescribeDomainCcActivityLogRequest() {} + +std::string DescribeDomainCcActivityLogRequest::getRuleName() const { + return ruleName_; +} + +void DescribeDomainCcActivityLogRequest::setRuleName(const std::string &ruleName) { + ruleName_ = ruleName; + setParameter(std::string("RuleName"), ruleName); +} + +std::string DescribeDomainCcActivityLogRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainCcActivityLogRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainCcActivityLogRequest::getTriggerObject() const { + return triggerObject_; +} + +void DescribeDomainCcActivityLogRequest::setTriggerObject(const std::string &triggerObject) { + triggerObject_ = triggerObject; + setParameter(std::string("TriggerObject"), triggerObject); +} + +long DescribeDomainCcActivityLogRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDomainCcActivityLogRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +long DescribeDomainCcActivityLogRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDomainCcActivityLogRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDomainCcActivityLogRequest::getValue() const { + return value_; +} + +void DescribeDomainCcActivityLogRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); +} + +std::string DescribeDomainCcActivityLogRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainCcActivityLogRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainCcActivityLogRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainCcActivityLogRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainCcActivityLogRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainCcActivityLogRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainCcActivityLogResult.cc b/cdn/src/model/DescribeDomainCcActivityLogResult.cc new file mode 100644 index 000000000..f73986635 --- /dev/null +++ b/cdn/src/model/DescribeDomainCcActivityLogResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainCcActivityLogResult::DescribeDomainCcActivityLogResult() : + ServiceResult() +{} + +DescribeDomainCcActivityLogResult::DescribeDomainCcActivityLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainCcActivityLogResult::~DescribeDomainCcActivityLogResult() +{} + +void DescribeDomainCcActivityLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allActivityLogNode = value["ActivityLog"]["LogInfo"]; + for (auto valueActivityLogLogInfo : allActivityLogNode) + { + LogInfo activityLogObject; + if(!valueActivityLogLogInfo["Value"].isNull()) + activityLogObject.value = valueActivityLogLogInfo["Value"].asString(); + if(!valueActivityLogLogInfo["Ttl"].isNull()) + activityLogObject.ttl = std::stol(valueActivityLogLogInfo["Ttl"].asString()); + if(!valueActivityLogLogInfo["Action"].isNull()) + activityLogObject.action = valueActivityLogLogInfo["Action"].asString(); + if(!valueActivityLogLogInfo["TriggerObject"].isNull()) + activityLogObject.triggerObject = valueActivityLogLogInfo["TriggerObject"].asString(); + if(!valueActivityLogLogInfo["TimeStamp"].isNull()) + activityLogObject.timeStamp = valueActivityLogLogInfo["TimeStamp"].asString(); + if(!valueActivityLogLogInfo["DomainName"].isNull()) + activityLogObject.domainName = valueActivityLogLogInfo["DomainName"].asString(); + if(!valueActivityLogLogInfo["RuleName"].isNull()) + activityLogObject.ruleName = valueActivityLogLogInfo["RuleName"].asString(); + activityLog_.push_back(activityLogObject); + } + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stol(value["PageIndex"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); + +} + +long DescribeDomainCcActivityLogResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDomainCcActivityLogResult::getTotal()const +{ + return total_; +} + +std::vector DescribeDomainCcActivityLogResult::getActivityLog()const +{ + return activityLog_; +} + +long DescribeDomainCcActivityLogResult::getPageIndex()const +{ + return pageIndex_; +} + diff --git a/cdn/src/model/DescribeDomainCertificateInfoRequest.cc b/cdn/src/model/DescribeDomainCertificateInfoRequest.cc new file mode 100644 index 000000000..010fe6162 --- /dev/null +++ b/cdn/src/model/DescribeDomainCertificateInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainCertificateInfoRequest; + +DescribeDomainCertificateInfoRequest::DescribeDomainCertificateInfoRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainCertificateInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainCertificateInfoRequest::~DescribeDomainCertificateInfoRequest() {} + +std::string DescribeDomainCertificateInfoRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainCertificateInfoRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeDomainCertificateInfoRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainCertificateInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainCertificateInfoResult.cc b/cdn/src/model/DescribeDomainCertificateInfoResult.cc new file mode 100644 index 000000000..d6734adce --- /dev/null +++ b/cdn/src/model/DescribeDomainCertificateInfoResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainCertificateInfoResult::DescribeDomainCertificateInfoResult() : + ServiceResult() +{} + +DescribeDomainCertificateInfoResult::DescribeDomainCertificateInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainCertificateInfoResult::~DescribeDomainCertificateInfoResult() +{} + +void DescribeDomainCertificateInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CertLife"].isNull()) + certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString(); + if(!valueCertInfosCertInfo["Status"].isNull()) + certInfosObject.status = valueCertInfosCertInfo["Status"].asString(); + if(!valueCertInfosCertInfo["CertUpdateTime"].isNull()) + certInfosObject.certUpdateTime = valueCertInfosCertInfo["CertUpdateTime"].asString(); + if(!valueCertInfosCertInfo["CertDomainName"].isNull()) + certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString(); + if(!valueCertInfosCertInfo["ServerCertificateStatus"].isNull()) + certInfosObject.serverCertificateStatus = valueCertInfosCertInfo["ServerCertificateStatus"].asString(); + if(!valueCertInfosCertInfo["CertOrg"].isNull()) + certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString(); + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); + if(!valueCertInfosCertInfo["CertStartTime"].isNull()) + certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["DomainCnameStatus"].isNull()) + certInfosObject.domainCnameStatus = valueCertInfosCertInfo["DomainCnameStatus"].asString(); + if(!valueCertInfosCertInfo["ServerCertificate"].isNull()) + certInfosObject.serverCertificate = valueCertInfosCertInfo["ServerCertificate"].asString(); + certInfos_.push_back(certInfosObject); + } + +} + +std::vector DescribeDomainCertificateInfoResult::getCertInfos()const +{ + return certInfos_; +} + diff --git a/cdn/src/model/DescribeDomainCustomLogConfigRequest.cc b/cdn/src/model/DescribeDomainCustomLogConfigRequest.cc new file mode 100644 index 000000000..890b97d15 --- /dev/null +++ b/cdn/src/model/DescribeDomainCustomLogConfigRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainCustomLogConfigRequest; + +DescribeDomainCustomLogConfigRequest::DescribeDomainCustomLogConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainCustomLogConfig") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainCustomLogConfigRequest::~DescribeDomainCustomLogConfigRequest() {} + +std::string DescribeDomainCustomLogConfigRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainCustomLogConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeDomainCustomLogConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainCustomLogConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainCustomLogConfigResult.cc b/cdn/src/model/DescribeDomainCustomLogConfigResult.cc new file mode 100644 index 000000000..c015d2854 --- /dev/null +++ b/cdn/src/model/DescribeDomainCustomLogConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainCustomLogConfigResult::DescribeDomainCustomLogConfigResult() : + ServiceResult() +{} + +DescribeDomainCustomLogConfigResult::DescribeDomainCustomLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainCustomLogConfigResult::~DescribeDomainCustomLogConfigResult() +{} + +void DescribeDomainCustomLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ConfigId"].isNull()) + configId_ = value["ConfigId"].asString(); + if(!value["Tag"].isNull()) + tag_ = value["Tag"].asString(); + if(!value["Remark"].isNull()) + remark_ = value["Remark"].asString(); + if(!value["Sample"].isNull()) + sample_ = value["Sample"].asString(); + +} + +std::string DescribeDomainCustomLogConfigResult::getSample()const +{ + return sample_; +} + +std::string DescribeDomainCustomLogConfigResult::getConfigId()const +{ + return configId_; +} + +std::string DescribeDomainCustomLogConfigResult::getTag()const +{ + return tag_; +} + +std::string DescribeDomainCustomLogConfigResult::getRemark()const +{ + return remark_; +} + diff --git a/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc b/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc new file mode 100644 index 000000000..4e0d89139 --- /dev/null +++ b/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainDetailDataByLayerRequest; + +DescribeDomainDetailDataByLayerRequest::DescribeDomainDetailDataByLayerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainDetailDataByLayer") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainDetailDataByLayerRequest::~DescribeDomainDetailDataByLayerRequest() {} + +std::string DescribeDomainDetailDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainDetailDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainDetailDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainDetailDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainDetailDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainDetailDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainDetailDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDomainDetailDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + +std::string DescribeDomainDetailDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainDetailDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainDetailDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainDetailDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainDetailDataByLayerRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainDetailDataByLayerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainDetailDataByLayerRequest::getField() const { + return field_; +} + +void DescribeDomainDetailDataByLayerRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); +} + diff --git a/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc b/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc new file mode 100644 index 000000000..9cc96e112 --- /dev/null +++ b/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainDetailDataByLayerResult::DescribeDomainDetailDataByLayerResult() : + ServiceResult() +{} + +DescribeDomainDetailDataByLayerResult::DescribeDomainDetailDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainDetailDataByLayerResult::~DescribeDomainDetailDataByLayerResult() +{} + +void DescribeDomainDetailDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataModule"]; + for (auto valueDataDataModule : allDataNode) + { + DataModule dataObject; + if(!valueDataDataModule["Traf"].isNull()) + dataObject.traf = std::stol(valueDataDataModule["Traf"].asString()); + if(!valueDataDataModule["Qps"].isNull()) + dataObject.qps = std::stof(valueDataDataModule["Qps"].asString()); + if(!valueDataDataModule["Ipv6Qps"].isNull()) + dataObject.ipv6Qps = std::stof(valueDataDataModule["Ipv6Qps"].asString()); + if(!valueDataDataModule["Ipv6Bps"].isNull()) + dataObject.ipv6Bps = std::stof(valueDataDataModule["Ipv6Bps"].asString()); + if(!valueDataDataModule["Acc"].isNull()) + dataObject.acc = std::stol(valueDataDataModule["Acc"].asString()); + if(!valueDataDataModule["Ipv6Traf"].isNull()) + dataObject.ipv6Traf = std::stol(valueDataDataModule["Ipv6Traf"].asString()); + if(!valueDataDataModule["Ipv6Acc"].isNull()) + dataObject.ipv6Acc = std::stol(valueDataDataModule["Ipv6Acc"].asString()); + if(!valueDataDataModule["TimeStamp"].isNull()) + dataObject.timeStamp = valueDataDataModule["TimeStamp"].asString(); + if(!valueDataDataModule["HttpCode"].isNull()) + dataObject.httpCode = valueDataDataModule["HttpCode"].asString(); + if(!valueDataDataModule["Bps"].isNull()) + dataObject.bps = std::stof(valueDataDataModule["Bps"].asString()); + if(!valueDataDataModule["DomainName"].isNull()) + dataObject.domainName = valueDataDataModule["DomainName"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector DescribeDomainDetailDataByLayerResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc b/cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc new file mode 100644 index 000000000..1d80057b8 --- /dev/null +++ b/cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainHttpCodeDataByLayerRequest; + +DescribeDomainHttpCodeDataByLayerRequest::DescribeDomainHttpCodeDataByLayerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainHttpCodeDataByLayer") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainHttpCodeDataByLayerRequest::~DescribeDomainHttpCodeDataByLayerRequest() {} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainHttpCodeDataByLayerRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainHttpCodeDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeDomainHttpCodeDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc b/cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc new file mode 100644 index 000000000..996375bf5 --- /dev/null +++ b/cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainHttpCodeDataByLayerResult::DescribeDomainHttpCodeDataByLayerResult() : + ServiceResult() +{} + +DescribeDomainHttpCodeDataByLayerResult::DescribeDomainHttpCodeDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainHttpCodeDataByLayerResult::~DescribeDomainHttpCodeDataByLayerResult() +{} + +void DescribeDomainHttpCodeDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allHttpCodeDataIntervalNode = value["HttpCodeDataInterval"]["DataModule"]; + for (auto valueHttpCodeDataIntervalDataModule : allHttpCodeDataIntervalNode) + { + DataModule httpCodeDataIntervalObject; + if(!valueHttpCodeDataIntervalDataModule["Value"].isNull()) + httpCodeDataIntervalObject.value = valueHttpCodeDataIntervalDataModule["Value"].asString(); + if(!valueHttpCodeDataIntervalDataModule["TimeStamp"].isNull()) + httpCodeDataIntervalObject.timeStamp = valueHttpCodeDataIntervalDataModule["TimeStamp"].asString(); + if(!valueHttpCodeDataIntervalDataModule["TotalValue"].isNull()) + httpCodeDataIntervalObject.totalValue = valueHttpCodeDataIntervalDataModule["TotalValue"].asString(); + httpCodeDataInterval_.push_back(httpCodeDataIntervalObject); + } + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainHttpCodeDataByLayerResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainHttpCodeDataByLayerResult::getHttpCodeDataInterval()const +{ + return httpCodeDataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainMax95BpsDataRequest.cc b/cdn/src/model/DescribeDomainMax95BpsDataRequest.cc new file mode 100644 index 000000000..d1adf5157 --- /dev/null +++ b/cdn/src/model/DescribeDomainMax95BpsDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainMax95BpsDataRequest; + +DescribeDomainMax95BpsDataRequest::DescribeDomainMax95BpsDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainMax95BpsData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainMax95BpsDataRequest::~DescribeDomainMax95BpsDataRequest() {} + +std::string DescribeDomainMax95BpsDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainMax95BpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainMax95BpsDataRequest::getCycle() const { + return cycle_; +} + +void DescribeDomainMax95BpsDataRequest::setCycle(const std::string &cycle) { + cycle_ = cycle; + setParameter(std::string("Cycle"), cycle); +} + +std::string DescribeDomainMax95BpsDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainMax95BpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainMax95BpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainMax95BpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainMax95BpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainMax95BpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainMax95BpsDataRequest::getTimePoint() const { + return timePoint_; +} + +void DescribeDomainMax95BpsDataRequest::setTimePoint(const std::string &timePoint) { + timePoint_ = timePoint; + setParameter(std::string("TimePoint"), timePoint); +} + diff --git a/cdn/src/model/DescribeDomainMax95BpsDataResult.cc b/cdn/src/model/DescribeDomainMax95BpsDataResult.cc new file mode 100644 index 000000000..cf9c7a85f --- /dev/null +++ b/cdn/src/model/DescribeDomainMax95BpsDataResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainMax95BpsDataResult::DescribeDomainMax95BpsDataResult() : + ServiceResult() +{} + +DescribeDomainMax95BpsDataResult::DescribeDomainMax95BpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainMax95BpsDataResult::~DescribeDomainMax95BpsDataResult() +{} + +void DescribeDomainMax95BpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomesticMax95Bps"].isNull()) + domesticMax95Bps_ = value["DomesticMax95Bps"].asString(); + if(!value["OverseasMax95Bps"].isNull()) + overseasMax95Bps_ = value["OverseasMax95Bps"].asString(); + if(!value["Max95Bps"].isNull()) + max95Bps_ = value["Max95Bps"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeDomainMax95BpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainMax95BpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainMax95BpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainMax95BpsDataResult::getDomesticMax95Bps()const +{ + return domesticMax95Bps_; +} + +std::string DescribeDomainMax95BpsDataResult::getMax95Bps()const +{ + return max95Bps_; +} + +std::string DescribeDomainMax95BpsDataResult::getOverseasMax95Bps()const +{ + return overseasMax95Bps_; +} + diff --git a/cdn/src/model/DescribeDomainMultiUsageDataRequest.cc b/cdn/src/model/DescribeDomainMultiUsageDataRequest.cc new file mode 100644 index 000000000..c3a4715f4 --- /dev/null +++ b/cdn/src/model/DescribeDomainMultiUsageDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainMultiUsageDataRequest; + +DescribeDomainMultiUsageDataRequest::DescribeDomainMultiUsageDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainMultiUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainMultiUsageDataRequest::~DescribeDomainMultiUsageDataRequest() {} + +std::string DescribeDomainMultiUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainMultiUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainMultiUsageDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainMultiUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainMultiUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainMultiUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainMultiUsageDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainMultiUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainMultiUsageDataResult.cc b/cdn/src/model/DescribeDomainMultiUsageDataResult.cc new file mode 100644 index 000000000..844497695 --- /dev/null +++ b/cdn/src/model/DescribeDomainMultiUsageDataResult.cc @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainMultiUsageDataResult::DescribeDomainMultiUsageDataResult() : + ServiceResult() +{} + +DescribeDomainMultiUsageDataResult::DescribeDomainMultiUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainMultiUsageDataResult::~DescribeDomainMultiUsageDataResult() +{} + +void DescribeDomainMultiUsageDataResult::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["Type"].isNull()) + requestPerIntervalObject.type = valueRequestPerIntervalRequestDataModule["Type"].asString(); + 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()); + requestPerInterval_.push_back(requestPerIntervalObject); + } + auto allTrafficPerIntervalNode = value["TrafficPerInterval"]["TrafficDataModule"]; + for (auto valueTrafficPerIntervalTrafficDataModule : allTrafficPerIntervalNode) + { + TrafficDataModule trafficPerIntervalObject; + if(!valueTrafficPerIntervalTrafficDataModule["Type"].isNull()) + trafficPerIntervalObject.type = valueTrafficPerIntervalTrafficDataModule["Type"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Domain"].isNull()) + trafficPerIntervalObject.domain = valueTrafficPerIntervalTrafficDataModule["Domain"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["TimeStamp"].isNull()) + trafficPerIntervalObject.timeStamp = valueTrafficPerIntervalTrafficDataModule["TimeStamp"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Area"].isNull()) + trafficPerIntervalObject.area = valueTrafficPerIntervalTrafficDataModule["Area"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Bps"].isNull()) + trafficPerIntervalObject.bps = std::stof(valueTrafficPerIntervalTrafficDataModule["Bps"].asString()); + trafficPerInterval_.push_back(trafficPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::string DescribeDomainMultiUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainMultiUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDomainMultiUsageDataResult::getRequestPerInterval()const +{ + return requestPerInterval_; +} + +std::vector DescribeDomainMultiUsageDataResult::getTrafficPerInterval()const +{ + return trafficPerInterval_; +} + diff --git a/cdn/src/model/DescribeDomainNamesOfVersionRequest.cc b/cdn/src/model/DescribeDomainNamesOfVersionRequest.cc new file mode 100644 index 000000000..5b4754f73 --- /dev/null +++ b/cdn/src/model/DescribeDomainNamesOfVersionRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainNamesOfVersionRequest; + +DescribeDomainNamesOfVersionRequest::DescribeDomainNamesOfVersionRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainNamesOfVersion") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainNamesOfVersionRequest::~DescribeDomainNamesOfVersionRequest() {} + +std::string DescribeDomainNamesOfVersionRequest::getVersionId() const { + return versionId_; +} + +void DescribeDomainNamesOfVersionRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); +} + +std::string DescribeDomainNamesOfVersionRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDomainNamesOfVersionRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +int DescribeDomainNamesOfVersionRequest::getPageIndex() const { + return pageIndex_; +} + +void DescribeDomainNamesOfVersionRequest::setPageIndex(int pageIndex) { + pageIndex_ = pageIndex; + setParameter(std::string("PageIndex"), std::to_string(pageIndex)); +} + +long DescribeDomainNamesOfVersionRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainNamesOfVersionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainNamesOfVersionResult.cc b/cdn/src/model/DescribeDomainNamesOfVersionResult.cc new file mode 100644 index 000000000..79f2b1326 --- /dev/null +++ b/cdn/src/model/DescribeDomainNamesOfVersionResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainNamesOfVersionResult::DescribeDomainNamesOfVersionResult() : + ServiceResult() +{} + +DescribeDomainNamesOfVersionResult::DescribeDomainNamesOfVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainNamesOfVersionResult::~DescribeDomainNamesOfVersionResult() +{} + +void DescribeDomainNamesOfVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentsNode = value["Contents"]["content"]; + for (auto valueContentscontent : allContentsNode) + { + Content contentsObject; + if(!valueContentscontent["DomainName"].isNull()) + contentsObject.domainName = valueContentscontent["DomainName"].asString(); + if(!valueContentscontent["DomainId"].isNull()) + contentsObject.domainId = valueContentscontent["DomainId"].asString(); + contents_.push_back(contentsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeDomainNamesOfVersionResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeDomainNamesOfVersionResult::getContents()const +{ + return contents_; +} + diff --git a/cdn/src/model/DescribeDomainPathDataRequest.cc b/cdn/src/model/DescribeDomainPathDataRequest.cc new file mode 100644 index 000000000..26566a6f7 --- /dev/null +++ b/cdn/src/model/DescribeDomainPathDataRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainPathDataRequest; + +DescribeDomainPathDataRequest::DescribeDomainPathDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainPathData") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainPathDataRequest::~DescribeDomainPathDataRequest() {} + +std::string DescribeDomainPathDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainPathDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +int DescribeDomainPathDataRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDomainPathDataRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string DescribeDomainPathDataRequest::getPath() const { + return path_; +} + +void DescribeDomainPathDataRequest::setPath(const std::string &path) { + path_ = path; + setParameter(std::string("Path"), path); +} + +int DescribeDomainPathDataRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDomainPathDataRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDomainPathDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainPathDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainPathDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainPathDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainPathDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainPathDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainPathDataResult.cc b/cdn/src/model/DescribeDomainPathDataResult.cc new file mode 100644 index 000000000..e5afe4042 --- /dev/null +++ b/cdn/src/model/DescribeDomainPathDataResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainPathDataResult::DescribeDomainPathDataResult() : + ServiceResult() +{} + +DescribeDomainPathDataResult::DescribeDomainPathDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainPathDataResult::~DescribeDomainPathDataResult() +{} + +void DescribeDomainPathDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPathDataPerIntervalNode = value["PathDataPerInterval"]["UsageData"]; + for (auto valuePathDataPerIntervalUsageData : allPathDataPerIntervalNode) + { + UsageData pathDataPerIntervalObject; + if(!valuePathDataPerIntervalUsageData["Path"].isNull()) + pathDataPerIntervalObject.path = valuePathDataPerIntervalUsageData["Path"].asString(); + if(!valuePathDataPerIntervalUsageData["Time"].isNull()) + pathDataPerIntervalObject.time = valuePathDataPerIntervalUsageData["Time"].asString(); + if(!valuePathDataPerIntervalUsageData["Acc"].isNull()) + pathDataPerIntervalObject.acc = std::stoi(valuePathDataPerIntervalUsageData["Acc"].asString()); + if(!valuePathDataPerIntervalUsageData["Traffic"].isNull()) + pathDataPerIntervalObject.traffic = std::stoi(valuePathDataPerIntervalUsageData["Traffic"].asString()); + pathDataPerInterval_.push_back(pathDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +int DescribeDomainPathDataResult::getTotalCount()const +{ + return totalCount_; +} + +std::string DescribeDomainPathDataResult::getEndTime()const +{ + return endTime_; +} + +int DescribeDomainPathDataResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDomainPathDataResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeDomainPathDataResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeDomainPathDataResult::getPathDataPerInterval()const +{ + return pathDataPerInterval_; +} + +std::string DescribeDomainPathDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainPathDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainPvDataRequest.cc b/cdn/src/model/DescribeDomainPvDataRequest.cc new file mode 100644 index 000000000..45a12c4b6 --- /dev/null +++ b/cdn/src/model/DescribeDomainPvDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainPvDataRequest; + +DescribeDomainPvDataRequest::DescribeDomainPvDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainPvData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainPvDataRequest::~DescribeDomainPvDataRequest() {} + +std::string DescribeDomainPvDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainPvDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainPvDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainPvDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainPvDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainPvDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainPvDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainPvDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainPvDataResult.cc b/cdn/src/model/DescribeDomainPvDataResult.cc new file mode 100644 index 000000000..d372de954 --- /dev/null +++ b/cdn/src/model/DescribeDomainPvDataResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainPvDataResult::DescribeDomainPvDataResult() : + ServiceResult() +{} + +DescribeDomainPvDataResult::DescribeDomainPvDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainPvDataResult::~DescribeDomainPvDataResult() +{} + +void DescribeDomainPvDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPvDataIntervalNode = value["PvDataInterval"]["UsageData"]; + for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode) + { + UsageData pvDataIntervalObject; + if(!valuePvDataIntervalUsageData["Value"].isNull()) + pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString(); + if(!valuePvDataIntervalUsageData["TimeStamp"].isNull()) + pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString(); + pvDataInterval_.push_back(pvDataIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainPvDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainPvDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainPvDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainPvDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainPvDataResult::getPvDataInterval()const +{ + return pvDataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainQpsDataByLayerRequest.cc b/cdn/src/model/DescribeDomainQpsDataByLayerRequest.cc new file mode 100644 index 000000000..388ea8172 --- /dev/null +++ b/cdn/src/model/DescribeDomainQpsDataByLayerRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainQpsDataByLayerRequest; + +DescribeDomainQpsDataByLayerRequest::DescribeDomainQpsDataByLayerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainQpsDataByLayer") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainQpsDataByLayerRequest::~DescribeDomainQpsDataByLayerRequest() {} + +std::string DescribeDomainQpsDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainQpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainQpsDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainQpsDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainQpsDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainQpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainQpsDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDomainQpsDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + +std::string DescribeDomainQpsDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainQpsDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainQpsDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainQpsDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainQpsDataByLayerRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainQpsDataByLayerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainQpsDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeDomainQpsDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainQpsDataByLayerResult.cc b/cdn/src/model/DescribeDomainQpsDataByLayerResult.cc new file mode 100644 index 000000000..59ed3e34a --- /dev/null +++ b/cdn/src/model/DescribeDomainQpsDataByLayerResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainQpsDataByLayerResult::DescribeDomainQpsDataByLayerResult() : + ServiceResult() +{} + +DescribeDomainQpsDataByLayerResult::DescribeDomainQpsDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainQpsDataByLayerResult::~DescribeDomainQpsDataByLayerResult() +{} + +void DescribeDomainQpsDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allQpsDataIntervalNode = value["QpsDataInterval"]["DataModule"]; + for (auto valueQpsDataIntervalDataModule : allQpsDataIntervalNode) + { + DataModule qpsDataIntervalObject; + if(!valueQpsDataIntervalDataModule["Value"].isNull()) + qpsDataIntervalObject.value = valueQpsDataIntervalDataModule["Value"].asString(); + if(!valueQpsDataIntervalDataModule["AccValue"].isNull()) + qpsDataIntervalObject.accValue = valueQpsDataIntervalDataModule["AccValue"].asString(); + if(!valueQpsDataIntervalDataModule["AccDomesticValue"].isNull()) + qpsDataIntervalObject.accDomesticValue = valueQpsDataIntervalDataModule["AccDomesticValue"].asString(); + if(!valueQpsDataIntervalDataModule["OverseasValue"].isNull()) + qpsDataIntervalObject.overseasValue = valueQpsDataIntervalDataModule["OverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["AccOverseasValue"].isNull()) + qpsDataIntervalObject.accOverseasValue = valueQpsDataIntervalDataModule["AccOverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["TimeStamp"].isNull()) + qpsDataIntervalObject.timeStamp = valueQpsDataIntervalDataModule["TimeStamp"].asString(); + if(!valueQpsDataIntervalDataModule["DomesticValue"].isNull()) + qpsDataIntervalObject.domesticValue = valueQpsDataIntervalDataModule["DomesticValue"].asString(); + qpsDataInterval_.push_back(qpsDataIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["Layer"].isNull()) + layer_ = value["Layer"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainQpsDataByLayerResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainQpsDataByLayerResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainQpsDataByLayerResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainQpsDataByLayerResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainQpsDataByLayerResult::getQpsDataInterval()const +{ + return qpsDataInterval_; +} + +std::string DescribeDomainQpsDataByLayerResult::getLayer()const +{ + return layer_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc new file mode 100644 index 000000000..94f9ae2bf --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeBpsDataRequest; + +DescribeDomainRealTimeBpsDataRequest::DescribeDomainRealTimeBpsDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeBpsData") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainRealTimeBpsDataRequest::~DescribeDomainRealTimeBpsDataRequest() {} + +std::string DescribeDomainRealTimeBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainRealTimeBpsDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainRealTimeBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainRealTimeBpsDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeBpsDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeBpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeBpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc b/cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc new file mode 100644 index 000000000..c4c72d05b --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeBpsDataResult::DescribeDomainRealTimeBpsDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeBpsDataResult::DescribeDomainRealTimeBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeBpsDataResult::~DescribeDomainRealTimeBpsDataResult() +{} + +void DescribeDomainRealTimeBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BpsModel"]; + for (auto valueDataBpsModel : allDataNode) + { + BpsModel dataObject; + if(!valueDataBpsModel["Bps"].isNull()) + dataObject.bps = std::stof(valueDataBpsModel["Bps"].asString()); + if(!valueDataBpsModel["TimeStamp"].isNull()) + dataObject.timeStamp = valueDataBpsModel["TimeStamp"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector DescribeDomainRealTimeBpsDataResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc new file mode 100644 index 000000000..e2b5ce064 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeByteHitRateDataRequest; + +DescribeDomainRealTimeByteHitRateDataRequest::DescribeDomainRealTimeByteHitRateDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeByteHitRateData") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainRealTimeByteHitRateDataRequest::~DescribeDomainRealTimeByteHitRateDataRequest() {} + +std::string DescribeDomainRealTimeByteHitRateDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeByteHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeByteHitRateDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeByteHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeByteHitRateDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeByteHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeByteHitRateDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeByteHitRateDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc b/cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc new file mode 100644 index 000000000..0d0f1c794 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeByteHitRateDataResult::DescribeDomainRealTimeByteHitRateDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeByteHitRateDataResult::DescribeDomainRealTimeByteHitRateDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeByteHitRateDataResult::~DescribeDomainRealTimeByteHitRateDataResult() +{} + +void DescribeDomainRealTimeByteHitRateDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ByteHitRateDataModel"]; + for (auto valueDataByteHitRateDataModel : allDataNode) + { + ByteHitRateDataModel dataObject; + if(!valueDataByteHitRateDataModel["ByteHitRate"].isNull()) + dataObject.byteHitRate = std::stof(valueDataByteHitRateDataModel["ByteHitRate"].asString()); + if(!valueDataByteHitRateDataModel["TimeStamp"].isNull()) + dataObject.timeStamp = valueDataByteHitRateDataModel["TimeStamp"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector DescribeDomainRealTimeByteHitRateDataResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeDetailDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeDetailDataRequest.cc new file mode 100644 index 000000000..2ff55ef85 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeDetailDataRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeDetailDataRequest; + +DescribeDomainRealTimeDetailDataRequest::DescribeDomainRealTimeDetailDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeDetailData") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainRealTimeDetailDataRequest::~DescribeDomainRealTimeDetailDataRequest() {} + +std::string DescribeDomainRealTimeDetailDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainRealTimeDetailDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeDetailDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainRealTimeDetailDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getMerge() const { + return merge_; +} + +void DescribeDomainRealTimeDetailDataRequest::setMerge(const std::string &merge) { + merge_ = merge; + setParameter(std::string("Merge"), merge); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeDetailDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeDetailDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getMergeLocIsp() const { + return mergeLocIsp_; +} + +void DescribeDomainRealTimeDetailDataRequest::setMergeLocIsp(const std::string &mergeLocIsp) { + mergeLocIsp_ = mergeLocIsp; + setParameter(std::string("MergeLocIsp"), mergeLocIsp); +} + +long DescribeDomainRealTimeDetailDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeDetailDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainRealTimeDetailDataRequest::getField() const { + return field_; +} + +void DescribeDomainRealTimeDetailDataRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc b/cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc new file mode 100644 index 000000000..2b0c71651 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeDetailDataResult::DescribeDomainRealTimeDetailDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeDetailDataResult::DescribeDomainRealTimeDetailDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeDetailDataResult::~DescribeDomainRealTimeDetailDataResult() +{} + +void DescribeDomainRealTimeDetailDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string DescribeDomainRealTimeDetailDataResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc new file mode 100644 index 000000000..4f37f9d8a --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeHttpCodeDataRequest; + +DescribeDomainRealTimeHttpCodeDataRequest::DescribeDomainRealTimeHttpCodeDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeHttpCodeData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainRealTimeHttpCodeDataRequest::~DescribeDomainRealTimeHttpCodeDataRequest() {} + +std::string DescribeDomainRealTimeHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainRealTimeHttpCodeDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainRealTimeHttpCodeDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeHttpCodeDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeHttpCodeDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc new file mode 100644 index 000000000..73008cc21 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeHttpCodeDataResult::DescribeDomainRealTimeHttpCodeDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeHttpCodeDataResult::DescribeDomainRealTimeHttpCodeDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeHttpCodeDataResult::~DescribeDomainRealTimeHttpCodeDataResult() +{} + +void DescribeDomainRealTimeHttpCodeDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRealTimeHttpCodeDataNode = value["RealTimeHttpCodeData"]["UsageData"]; + for (auto valueRealTimeHttpCodeDataUsageData : allRealTimeHttpCodeDataNode) + { + UsageData realTimeHttpCodeDataObject; + if(!valueRealTimeHttpCodeDataUsageData["TimeStamp"].isNull()) + realTimeHttpCodeDataObject.timeStamp = valueRealTimeHttpCodeDataUsageData["TimeStamp"].asString(); + auto allValueNode = valueRealTimeHttpCodeDataUsageData["Value"]["RealTimeCodeProportionData"]; + for (auto valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData : allValueNode) + { + UsageData::RealTimeCodeProportionData valueObject; + if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Code"].isNull()) + valueObject.code = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Code"].asString(); + if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Proportion"].isNull()) + valueObject.proportion = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Proportion"].asString(); + if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Count"].isNull()) + valueObject.count = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Count"].asString(); + realTimeHttpCodeDataObject.value.push_back(valueObject); + } + realTimeHttpCodeData_.push_back(realTimeHttpCodeDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainRealTimeHttpCodeDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainRealTimeHttpCodeDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainRealTimeHttpCodeDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainRealTimeHttpCodeDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainRealTimeHttpCodeDataResult::getRealTimeHttpCodeData()const +{ + return realTimeHttpCodeData_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeQpsDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeQpsDataRequest.cc new file mode 100644 index 000000000..01502d0eb --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeQpsDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeQpsDataRequest; + +DescribeDomainRealTimeQpsDataRequest::DescribeDomainRealTimeQpsDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeQpsData") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainRealTimeQpsDataRequest::~DescribeDomainRealTimeQpsDataRequest() {} + +std::string DescribeDomainRealTimeQpsDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainRealTimeQpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainRealTimeQpsDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainRealTimeQpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainRealTimeQpsDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeQpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeQpsDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeQpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeQpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeQpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeQpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeQpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc b/cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc new file mode 100644 index 000000000..11a6f48a9 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeQpsDataResult::DescribeDomainRealTimeQpsDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeQpsDataResult::DescribeDomainRealTimeQpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeQpsDataResult::~DescribeDomainRealTimeQpsDataResult() +{} + +void DescribeDomainRealTimeQpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["QpsModel"]; + for (auto valueDataQpsModel : allDataNode) + { + QpsModel dataObject; + if(!valueDataQpsModel["Qps"].isNull()) + dataObject.qps = std::stof(valueDataQpsModel["Qps"].asString()); + if(!valueDataQpsModel["TimeStamp"].isNull()) + dataObject.timeStamp = valueDataQpsModel["TimeStamp"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector DescribeDomainRealTimeQpsDataResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc new file mode 100644 index 000000000..628a07ffa --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeReqHitRateDataRequest; + +DescribeDomainRealTimeReqHitRateDataRequest::DescribeDomainRealTimeReqHitRateDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeReqHitRateData") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainRealTimeReqHitRateDataRequest::~DescribeDomainRealTimeReqHitRateDataRequest() {} + +std::string DescribeDomainRealTimeReqHitRateDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeReqHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeReqHitRateDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeReqHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeReqHitRateDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeReqHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeReqHitRateDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeReqHitRateDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc b/cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc new file mode 100644 index 000000000..57860aa36 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeReqHitRateDataResult::DescribeDomainRealTimeReqHitRateDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeReqHitRateDataResult::DescribeDomainRealTimeReqHitRateDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeReqHitRateDataResult::~DescribeDomainRealTimeReqHitRateDataResult() +{} + +void DescribeDomainRealTimeReqHitRateDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ReqHitRateDataModel"]; + for (auto valueDataReqHitRateDataModel : allDataNode) + { + ReqHitRateDataModel dataObject; + if(!valueDataReqHitRateDataModel["ReqHitRate"].isNull()) + dataObject.reqHitRate = std::stof(valueDataReqHitRateDataModel["ReqHitRate"].asString()); + if(!valueDataReqHitRateDataModel["TimeStamp"].isNull()) + dataObject.timeStamp = valueDataReqHitRateDataModel["TimeStamp"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector DescribeDomainRealTimeReqHitRateDataResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc new file mode 100644 index 000000000..f19313d2a --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeSrcBpsDataRequest; + +DescribeDomainRealTimeSrcBpsDataRequest::DescribeDomainRealTimeSrcBpsDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeSrcBpsData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainRealTimeSrcBpsDataRequest::~DescribeDomainRealTimeSrcBpsDataRequest() {} + +std::string DescribeDomainRealTimeSrcBpsDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeSrcBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeSrcBpsDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeSrcBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeSrcBpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeSrcBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeSrcBpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeSrcBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc b/cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc new file mode 100644 index 000000000..91499bcd8 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeSrcBpsDataResult::DescribeDomainRealTimeSrcBpsDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeSrcBpsDataResult::DescribeDomainRealTimeSrcBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeSrcBpsDataResult::~DescribeDomainRealTimeSrcBpsDataResult() +{} + +void DescribeDomainRealTimeSrcBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRealTimeSrcBpsDataPerIntervalNode = value["RealTimeSrcBpsDataPerInterval"]["DataModule"]; + for (auto valueRealTimeSrcBpsDataPerIntervalDataModule : allRealTimeSrcBpsDataPerIntervalNode) + { + DataModule realTimeSrcBpsDataPerIntervalObject; + if(!valueRealTimeSrcBpsDataPerIntervalDataModule["Value"].isNull()) + realTimeSrcBpsDataPerIntervalObject.value = valueRealTimeSrcBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeSrcBpsDataPerIntervalObject.timeStamp = valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].asString(); + realTimeSrcBpsDataPerInterval_.push_back(realTimeSrcBpsDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainRealTimeSrcBpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeDomainRealTimeSrcBpsDataResult::getRealTimeSrcBpsDataPerInterval()const +{ + return realTimeSrcBpsDataPerInterval_; +} + +std::string DescribeDomainRealTimeSrcBpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainRealTimeSrcBpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainRealTimeSrcBpsDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc new file mode 100644 index 000000000..de03e018e --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeSrcHttpCodeDataRequest; + +DescribeDomainRealTimeSrcHttpCodeDataRequest::DescribeDomainRealTimeSrcHttpCodeDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeSrcHttpCodeData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainRealTimeSrcHttpCodeDataRequest::~DescribeDomainRealTimeSrcHttpCodeDataRequest() {} + +std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainRealTimeSrcHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeSrcHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainRealTimeSrcHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeSrcHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeSrcHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeSrcHttpCodeDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeSrcHttpCodeDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc new file mode 100644 index 000000000..9471388c8 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeSrcHttpCodeDataResult::DescribeDomainRealTimeSrcHttpCodeDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeSrcHttpCodeDataResult::DescribeDomainRealTimeSrcHttpCodeDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeSrcHttpCodeDataResult::~DescribeDomainRealTimeSrcHttpCodeDataResult() +{} + +void DescribeDomainRealTimeSrcHttpCodeDataResult::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 = valueRealTimeSrcHttpCodeDataUsageData["Value"]["RealTimeSrcCodeProportionData"]; + for (auto valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData : allValueNode) + { + UsageData::RealTimeSrcCodeProportionData valueObject; + if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Code"].isNull()) + valueObject.code = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Code"].asString(); + if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Proportion"].isNull()) + valueObject.proportion = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Proportion"].asString(); + if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Count"].isNull()) + valueObject.count = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Count"].asString(); + realTimeSrcHttpCodeDataObject.value.push_back(valueObject); + } + realTimeSrcHttpCodeData_.push_back(realTimeSrcHttpCodeDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainRealTimeSrcHttpCodeDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainRealTimeSrcHttpCodeDataResult::getRealTimeSrcHttpCodeData()const +{ + return realTimeSrcHttpCodeData_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc new file mode 100644 index 000000000..ed33ace73 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeSrcTrafficDataRequest; + +DescribeDomainRealTimeSrcTrafficDataRequest::DescribeDomainRealTimeSrcTrafficDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeSrcTrafficData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainRealTimeSrcTrafficDataRequest::~DescribeDomainRealTimeSrcTrafficDataRequest() {} + +std::string DescribeDomainRealTimeSrcTrafficDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeSrcTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeSrcTrafficDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeSrcTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeSrcTrafficDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeSrcTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeSrcTrafficDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeSrcTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc b/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc new file mode 100644 index 000000000..6e79bcedc --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeSrcTrafficDataResult::DescribeDomainRealTimeSrcTrafficDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeSrcTrafficDataResult::DescribeDomainRealTimeSrcTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeSrcTrafficDataResult::~DescribeDomainRealTimeSrcTrafficDataResult() +{} + +void DescribeDomainRealTimeSrcTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRealTimeSrcTrafficDataPerIntervalNode = value["RealTimeSrcTrafficDataPerInterval"]["DataModule"]; + for (auto valueRealTimeSrcTrafficDataPerIntervalDataModule : allRealTimeSrcTrafficDataPerIntervalNode) + { + DataModule realTimeSrcTrafficDataPerIntervalObject; + if(!valueRealTimeSrcTrafficDataPerIntervalDataModule["Value"].isNull()) + realTimeSrcTrafficDataPerIntervalObject.value = valueRealTimeSrcTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeSrcTrafficDataPerIntervalObject.timeStamp = valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + realTimeSrcTrafficDataPerInterval_.push_back(realTimeSrcTrafficDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainRealTimeSrcTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainRealTimeSrcTrafficDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainRealTimeSrcTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainRealTimeSrcTrafficDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainRealTimeSrcTrafficDataResult::getRealTimeSrcTrafficDataPerInterval()const +{ + return realTimeSrcTrafficDataPerInterval_; +} + diff --git a/cdn/src/model/DescribeDomainRealTimeTrafficDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeTrafficDataRequest.cc new file mode 100644 index 000000000..95ff7ba60 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeTrafficDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealTimeTrafficDataRequest; + +DescribeDomainRealTimeTrafficDataRequest::DescribeDomainRealTimeTrafficDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealTimeTrafficData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainRealTimeTrafficDataRequest::~DescribeDomainRealTimeTrafficDataRequest() {} + +std::string DescribeDomainRealTimeTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainRealTimeTrafficDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainRealTimeTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainRealTimeTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainRealTimeTrafficDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainRealTimeTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainRealTimeTrafficDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainRealTimeTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainRealTimeTrafficDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc b/cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc new file mode 100644 index 000000000..4cce50a9b --- /dev/null +++ b/cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealTimeTrafficDataResult::DescribeDomainRealTimeTrafficDataResult() : + ServiceResult() +{} + +DescribeDomainRealTimeTrafficDataResult::DescribeDomainRealTimeTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealTimeTrafficDataResult::~DescribeDomainRealTimeTrafficDataResult() +{} + +void DescribeDomainRealTimeTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRealTimeTrafficDataPerIntervalNode = value["RealTimeTrafficDataPerInterval"]["DataModule"]; + for (auto valueRealTimeTrafficDataPerIntervalDataModule : allRealTimeTrafficDataPerIntervalNode) + { + DataModule realTimeTrafficDataPerIntervalObject; + if(!valueRealTimeTrafficDataPerIntervalDataModule["Value"].isNull()) + realTimeTrafficDataPerIntervalObject.value = valueRealTimeTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + realTimeTrafficDataPerInterval_.push_back(realTimeTrafficDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainRealTimeTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeDomainRealTimeTrafficDataResult::getRealTimeTrafficDataPerInterval()const +{ + return realTimeTrafficDataPerInterval_; +} + +std::string DescribeDomainRealTimeTrafficDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainRealTimeTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainRealTimeTrafficDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainRealtimeLogDeliveryRequest.cc b/cdn/src/model/DescribeDomainRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..5ebd979ed --- /dev/null +++ b/cdn/src/model/DescribeDomainRealtimeLogDeliveryRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRealtimeLogDeliveryRequest; + +DescribeDomainRealtimeLogDeliveryRequest::DescribeDomainRealtimeLogDeliveryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainRealtimeLogDeliveryRequest::~DescribeDomainRealtimeLogDeliveryRequest() {} + +long DescribeDomainRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainRealtimeLogDeliveryRequest::getDomain() const { + return domain_; +} + +void DescribeDomainRealtimeLogDeliveryRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + diff --git a/cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc b/cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..5e4f38b35 --- /dev/null +++ b/cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainRealtimeLogDeliveryResult::DescribeDomainRealtimeLogDeliveryResult() : + ServiceResult() +{} + +DescribeDomainRealtimeLogDeliveryResult::DescribeDomainRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRealtimeLogDeliveryResult::~DescribeDomainRealtimeLogDeliveryResult() +{} + +void DescribeDomainRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Logstore"].isNull()) + logstore_ = value["Logstore"].asString(); + if(!value["Project"].isNull()) + project_ = value["Project"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + +} + +std::string DescribeDomainRealtimeLogDeliveryResult::getStatus()const +{ + return status_; +} + +std::string DescribeDomainRealtimeLogDeliveryResult::getProject()const +{ + return project_; +} + +std::string DescribeDomainRealtimeLogDeliveryResult::getLogstore()const +{ + return logstore_; +} + +std::string DescribeDomainRealtimeLogDeliveryResult::getRegion()const +{ + return region_; +} + diff --git a/cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc b/cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc new file mode 100644 index 000000000..e469acaf4 --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainSrcHttpCodeDataRequest; + +DescribeDomainSrcHttpCodeDataRequest::DescribeDomainSrcHttpCodeDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainSrcHttpCodeData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainSrcHttpCodeDataRequest::~DescribeDomainSrcHttpCodeDataRequest() {} + +std::string DescribeDomainSrcHttpCodeDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainSrcHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainSrcHttpCodeDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainSrcHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainSrcHttpCodeDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainSrcHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainSrcHttpCodeDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainSrcHttpCodeDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainSrcHttpCodeDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainSrcHttpCodeDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc new file mode 100644 index 000000000..b28513b7b --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainSrcHttpCodeDataResult::DescribeDomainSrcHttpCodeDataResult() : + ServiceResult() +{} + +DescribeDomainSrcHttpCodeDataResult::DescribeDomainSrcHttpCodeDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainSrcHttpCodeDataResult::~DescribeDomainSrcHttpCodeDataResult() +{} + +void DescribeDomainSrcHttpCodeDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allHttpCodeDataNode = value["HttpCodeData"]["UsageData"]; + for (auto valueHttpCodeDataUsageData : allHttpCodeDataNode) + { + UsageData httpCodeDataObject; + if(!valueHttpCodeDataUsageData["TimeStamp"].isNull()) + httpCodeDataObject.timeStamp = valueHttpCodeDataUsageData["TimeStamp"].asString(); + auto allValueNode = valueHttpCodeDataUsageData["Value"]["CodeProportionData"]; + for (auto valueHttpCodeDataUsageDataValueCodeProportionData : allValueNode) + { + UsageData::CodeProportionData valueObject; + if(!valueHttpCodeDataUsageDataValueCodeProportionData["Code"].isNull()) + valueObject.code = valueHttpCodeDataUsageDataValueCodeProportionData["Code"].asString(); + if(!valueHttpCodeDataUsageDataValueCodeProportionData["Proportion"].isNull()) + valueObject.proportion = valueHttpCodeDataUsageDataValueCodeProportionData["Proportion"].asString(); + if(!valueHttpCodeDataUsageDataValueCodeProportionData["Count"].isNull()) + valueObject.count = valueHttpCodeDataUsageDataValueCodeProportionData["Count"].asString(); + httpCodeDataObject.value.push_back(valueObject); + } + httpCodeData_.push_back(httpCodeDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainSrcHttpCodeDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainSrcHttpCodeDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainSrcHttpCodeDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainSrcHttpCodeDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainSrcHttpCodeDataResult::getHttpCodeData()const +{ + return httpCodeData_; +} + diff --git a/cdn/src/model/DescribeDomainSrcQpsDataRequest.cc b/cdn/src/model/DescribeDomainSrcQpsDataRequest.cc new file mode 100644 index 000000000..ec3303027 --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcQpsDataRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainSrcQpsDataRequest; + +DescribeDomainSrcQpsDataRequest::DescribeDomainSrcQpsDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainSrcQpsData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainSrcQpsDataRequest::~DescribeDomainSrcQpsDataRequest() {} + +std::string DescribeDomainSrcQpsDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainSrcQpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainSrcQpsDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainSrcQpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainSrcQpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainSrcQpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainSrcQpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainSrcQpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainSrcQpsDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainSrcQpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainSrcQpsDataResult.cc b/cdn/src/model/DescribeDomainSrcQpsDataResult.cc new file mode 100644 index 000000000..ebc129456 --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcQpsDataResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainSrcQpsDataResult::DescribeDomainSrcQpsDataResult() : + ServiceResult() +{} + +DescribeDomainSrcQpsDataResult::DescribeDomainSrcQpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainSrcQpsDataResult::~DescribeDomainSrcQpsDataResult() +{} + +void DescribeDomainSrcQpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSrcQpsDataPerIntervalNode = value["SrcQpsDataPerInterval"]["DataModule"]; + for (auto valueSrcQpsDataPerIntervalDataModule : allSrcQpsDataPerIntervalNode) + { + DataModule srcQpsDataPerIntervalObject; + if(!valueSrcQpsDataPerIntervalDataModule["Value"].isNull()) + srcQpsDataPerIntervalObject.value = valueSrcQpsDataPerIntervalDataModule["Value"].asString(); + if(!valueSrcQpsDataPerIntervalDataModule["TimeStamp"].isNull()) + srcQpsDataPerIntervalObject.timeStamp = valueSrcQpsDataPerIntervalDataModule["TimeStamp"].asString(); + srcQpsDataPerInterval_.push_back(srcQpsDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainSrcQpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainSrcQpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainSrcQpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainSrcQpsDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainSrcQpsDataResult::getSrcQpsDataPerInterval()const +{ + return srcQpsDataPerInterval_; +} + diff --git a/cdn/src/model/DescribeDomainSrcTopUrlVisitRequest.cc b/cdn/src/model/DescribeDomainSrcTopUrlVisitRequest.cc new file mode 100644 index 000000000..2c4dbefaf --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcTopUrlVisitRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainSrcTopUrlVisitRequest; + +DescribeDomainSrcTopUrlVisitRequest::DescribeDomainSrcTopUrlVisitRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainSrcTopUrlVisit") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainSrcTopUrlVisitRequest::~DescribeDomainSrcTopUrlVisitRequest() {} + +std::string DescribeDomainSrcTopUrlVisitRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainSrcTopUrlVisitRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainSrcTopUrlVisitRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainSrcTopUrlVisitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainSrcTopUrlVisitRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainSrcTopUrlVisitRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainSrcTopUrlVisitRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainSrcTopUrlVisitRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainSrcTopUrlVisitRequest::getSortBy() const { + return sortBy_; +} + +void DescribeDomainSrcTopUrlVisitRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + diff --git a/cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc b/cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc new file mode 100644 index 000000000..30f202f37 --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc @@ -0,0 +1,163 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainSrcTopUrlVisitResult::DescribeDomainSrcTopUrlVisitResult() : + ServiceResult() +{} + +DescribeDomainSrcTopUrlVisitResult::DescribeDomainSrcTopUrlVisitResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainSrcTopUrlVisitResult::~DescribeDomainSrcTopUrlVisitResult() +{} + +void DescribeDomainSrcTopUrlVisitResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAllUrlListNode = value["AllUrlList"]["UrlList"]; + for (auto valueAllUrlListUrlList : allAllUrlListNode) + { + UrlList allUrlListObject; + if(!valueAllUrlListUrlList["Flow"].isNull()) + allUrlListObject.flow = valueAllUrlListUrlList["Flow"].asString(); + if(!valueAllUrlListUrlList["UrlDetail"].isNull()) + allUrlListObject.urlDetail = valueAllUrlListUrlList["UrlDetail"].asString(); + if(!valueAllUrlListUrlList["FlowProportion"].isNull()) + allUrlListObject.flowProportion = std::stof(valueAllUrlListUrlList["FlowProportion"].asString()); + if(!valueAllUrlListUrlList["VisitData"].isNull()) + allUrlListObject.visitData = valueAllUrlListUrlList["VisitData"].asString(); + if(!valueAllUrlListUrlList["VisitProportion"].isNull()) + allUrlListObject.visitProportion = std::stof(valueAllUrlListUrlList["VisitProportion"].asString()); + allUrlList_.push_back(allUrlListObject); + } + auto allUrl200ListNode = value["Url200List"]["UrlList"]; + for (auto valueUrl200ListUrlList : allUrl200ListNode) + { + UrlList url200ListObject; + if(!valueUrl200ListUrlList["Flow"].isNull()) + url200ListObject.flow = valueUrl200ListUrlList["Flow"].asString(); + if(!valueUrl200ListUrlList["UrlDetail"].isNull()) + url200ListObject.urlDetail = valueUrl200ListUrlList["UrlDetail"].asString(); + if(!valueUrl200ListUrlList["FlowProportion"].isNull()) + url200ListObject.flowProportion = std::stof(valueUrl200ListUrlList["FlowProportion"].asString()); + if(!valueUrl200ListUrlList["VisitData"].isNull()) + url200ListObject.visitData = valueUrl200ListUrlList["VisitData"].asString(); + if(!valueUrl200ListUrlList["VisitProportion"].isNull()) + url200ListObject.visitProportion = std::stof(valueUrl200ListUrlList["VisitProportion"].asString()); + url200List_.push_back(url200ListObject); + } + auto allUrl300ListNode = value["Url300List"]["UrlList"]; + for (auto valueUrl300ListUrlList : allUrl300ListNode) + { + UrlList url300ListObject; + if(!valueUrl300ListUrlList["Flow"].isNull()) + url300ListObject.flow = valueUrl300ListUrlList["Flow"].asString(); + if(!valueUrl300ListUrlList["UrlDetail"].isNull()) + url300ListObject.urlDetail = valueUrl300ListUrlList["UrlDetail"].asString(); + if(!valueUrl300ListUrlList["FlowProportion"].isNull()) + url300ListObject.flowProportion = std::stof(valueUrl300ListUrlList["FlowProportion"].asString()); + if(!valueUrl300ListUrlList["VisitData"].isNull()) + url300ListObject.visitData = valueUrl300ListUrlList["VisitData"].asString(); + if(!valueUrl300ListUrlList["VisitProportion"].isNull()) + url300ListObject.visitProportion = std::stof(valueUrl300ListUrlList["VisitProportion"].asString()); + url300List_.push_back(url300ListObject); + } + auto allUrl400ListNode = value["Url400List"]["UrlList"]; + for (auto valueUrl400ListUrlList : allUrl400ListNode) + { + UrlList url400ListObject; + if(!valueUrl400ListUrlList["Flow"].isNull()) + url400ListObject.flow = valueUrl400ListUrlList["Flow"].asString(); + if(!valueUrl400ListUrlList["UrlDetail"].isNull()) + url400ListObject.urlDetail = valueUrl400ListUrlList["UrlDetail"].asString(); + if(!valueUrl400ListUrlList["FlowProportion"].isNull()) + url400ListObject.flowProportion = std::stof(valueUrl400ListUrlList["FlowProportion"].asString()); + if(!valueUrl400ListUrlList["VisitData"].isNull()) + url400ListObject.visitData = valueUrl400ListUrlList["VisitData"].asString(); + if(!valueUrl400ListUrlList["VisitProportion"].isNull()) + url400ListObject.visitProportion = std::stof(valueUrl400ListUrlList["VisitProportion"].asString()); + url400List_.push_back(url400ListObject); + } + auto allUrl500ListNode = value["Url500List"]["UrlList"]; + for (auto valueUrl500ListUrlList : allUrl500ListNode) + { + UrlList url500ListObject; + if(!valueUrl500ListUrlList["Flow"].isNull()) + url500ListObject.flow = valueUrl500ListUrlList["Flow"].asString(); + if(!valueUrl500ListUrlList["UrlDetail"].isNull()) + url500ListObject.urlDetail = valueUrl500ListUrlList["UrlDetail"].asString(); + if(!valueUrl500ListUrlList["FlowProportion"].isNull()) + url500ListObject.flowProportion = std::stof(valueUrl500ListUrlList["FlowProportion"].asString()); + if(!valueUrl500ListUrlList["VisitData"].isNull()) + url500ListObject.visitData = valueUrl500ListUrlList["VisitData"].asString(); + if(!valueUrl500ListUrlList["VisitProportion"].isNull()) + url500ListObject.visitProportion = std::stof(valueUrl500ListUrlList["VisitProportion"].asString()); + url500List_.push_back(url500ListObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::vector DescribeDomainSrcTopUrlVisitResult::getUrl200List()const +{ + return url200List_; +} + +std::vector DescribeDomainSrcTopUrlVisitResult::getUrl500List()const +{ + return url500List_; +} + +std::vector DescribeDomainSrcTopUrlVisitResult::getUrl400List()const +{ + return url400List_; +} + +std::string DescribeDomainSrcTopUrlVisitResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainSrcTopUrlVisitResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDomainSrcTopUrlVisitResult::getUrl300List()const +{ + return url300List_; +} + +std::vector DescribeDomainSrcTopUrlVisitResult::getAllUrlList()const +{ + return allUrlList_; +} + diff --git a/cdn/src/model/DescribeDomainSrcTrafficDataRequest.cc b/cdn/src/model/DescribeDomainSrcTrafficDataRequest.cc new file mode 100644 index 000000000..1db616580 --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcTrafficDataRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainSrcTrafficDataRequest; + +DescribeDomainSrcTrafficDataRequest::DescribeDomainSrcTrafficDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainSrcTrafficData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainSrcTrafficDataRequest::~DescribeDomainSrcTrafficDataRequest() {} + +std::string DescribeDomainSrcTrafficDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainSrcTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainSrcTrafficDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainSrcTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainSrcTrafficDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainSrcTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainSrcTrafficDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainSrcTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainSrcTrafficDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainSrcTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainSrcTrafficDataResult.cc b/cdn/src/model/DescribeDomainSrcTrafficDataResult.cc new file mode 100644 index 000000000..73b88ee7e --- /dev/null +++ b/cdn/src/model/DescribeDomainSrcTrafficDataResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainSrcTrafficDataResult::DescribeDomainSrcTrafficDataResult() : + ServiceResult() +{} + +DescribeDomainSrcTrafficDataResult::DescribeDomainSrcTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainSrcTrafficDataResult::~DescribeDomainSrcTrafficDataResult() +{} + +void DescribeDomainSrcTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSrcTrafficDataPerIntervalNode = value["SrcTrafficDataPerInterval"]["DataModule"]; + for (auto valueSrcTrafficDataPerIntervalDataModule : allSrcTrafficDataPerIntervalNode) + { + DataModule srcTrafficDataPerIntervalObject; + if(!valueSrcTrafficDataPerIntervalDataModule["Value"].isNull()) + srcTrafficDataPerIntervalObject.value = valueSrcTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueSrcTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + srcTrafficDataPerIntervalObject.timeStamp = valueSrcTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueSrcTrafficDataPerIntervalDataModule["HttpsValue"].isNull()) + srcTrafficDataPerIntervalObject.httpsValue = valueSrcTrafficDataPerIntervalDataModule["HttpsValue"].asString(); + srcTrafficDataPerInterval_.push_back(srcTrafficDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainSrcTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainSrcTrafficDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainSrcTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainSrcTrafficDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDomainSrcTrafficDataResult::getSrcTrafficDataPerInterval()const +{ + return srcTrafficDataPerInterval_; +} + diff --git a/cdn/src/model/DescribeDomainTopClientIpVisitRequest.cc b/cdn/src/model/DescribeDomainTopClientIpVisitRequest.cc new file mode 100644 index 000000000..458c0a730 --- /dev/null +++ b/cdn/src/model/DescribeDomainTopClientIpVisitRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainTopClientIpVisitRequest; + +DescribeDomainTopClientIpVisitRequest::DescribeDomainTopClientIpVisitRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainTopClientIpVisit") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainTopClientIpVisitRequest::~DescribeDomainTopClientIpVisitRequest() {} + +std::string DescribeDomainTopClientIpVisitRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainTopClientIpVisitRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainTopClientIpVisitRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainTopClientIpVisitRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainTopClientIpVisitRequest::getLimit() const { + return limit_; +} + +void DescribeDomainTopClientIpVisitRequest::setLimit(const std::string &limit) { + limit_ = limit; + setParameter(std::string("Limit"), limit); +} + +std::string DescribeDomainTopClientIpVisitRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainTopClientIpVisitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainTopClientIpVisitRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainTopClientIpVisitRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainTopClientIpVisitRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainTopClientIpVisitRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainTopClientIpVisitRequest::getSortBy() const { + return sortBy_; +} + +void DescribeDomainTopClientIpVisitRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + diff --git a/cdn/src/model/DescribeDomainTopClientIpVisitResult.cc b/cdn/src/model/DescribeDomainTopClientIpVisitResult.cc new file mode 100644 index 000000000..5a1e3d615 --- /dev/null +++ b/cdn/src/model/DescribeDomainTopClientIpVisitResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainTopClientIpVisitResult::DescribeDomainTopClientIpVisitResult() : + ServiceResult() +{} + +DescribeDomainTopClientIpVisitResult::DescribeDomainTopClientIpVisitResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainTopClientIpVisitResult::~DescribeDomainTopClientIpVisitResult() +{} + +void DescribeDomainTopClientIpVisitResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allClientIpListNode = value["ClientIpList"]["ClientIp"]; + for (auto valueClientIpListClientIp : allClientIpListNode) + { + ClientIp clientIpListObject; + if(!valueClientIpListClientIp["Rank"].isNull()) + clientIpListObject.rank = std::stoi(valueClientIpListClientIp["Rank"].asString()); + if(!valueClientIpListClientIp["ClientIp"].isNull()) + clientIpListObject.clientIp = valueClientIpListClientIp["ClientIp"].asString(); + if(!valueClientIpListClientIp["Acc"].isNull()) + clientIpListObject.acc = std::stol(valueClientIpListClientIp["Acc"].asString()); + if(!valueClientIpListClientIp["Traffic"].isNull()) + clientIpListObject.traffic = std::stol(valueClientIpListClientIp["Traffic"].asString()); + clientIpList_.push_back(clientIpListObject); + } + +} + +std::vector DescribeDomainTopClientIpVisitResult::getClientIpList()const +{ + return clientIpList_; +} + diff --git a/cdn/src/model/DescribeDomainTopReferVisitRequest.cc b/cdn/src/model/DescribeDomainTopReferVisitRequest.cc new file mode 100644 index 000000000..7bdb37568 --- /dev/null +++ b/cdn/src/model/DescribeDomainTopReferVisitRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainTopReferVisitRequest; + +DescribeDomainTopReferVisitRequest::DescribeDomainTopReferVisitRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainTopReferVisit") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainTopReferVisitRequest::~DescribeDomainTopReferVisitRequest() {} + +std::string DescribeDomainTopReferVisitRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainTopReferVisitRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainTopReferVisitRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainTopReferVisitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainTopReferVisitRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainTopReferVisitRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainTopReferVisitRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainTopReferVisitRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainTopReferVisitRequest::getSortBy() const { + return sortBy_; +} + +void DescribeDomainTopReferVisitRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + diff --git a/cdn/src/model/DescribeDomainTopReferVisitResult.cc b/cdn/src/model/DescribeDomainTopReferVisitResult.cc new file mode 100644 index 000000000..8119930b0 --- /dev/null +++ b/cdn/src/model/DescribeDomainTopReferVisitResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainTopReferVisitResult::DescribeDomainTopReferVisitResult() : + ServiceResult() +{} + +DescribeDomainTopReferVisitResult::DescribeDomainTopReferVisitResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainTopReferVisitResult::~DescribeDomainTopReferVisitResult() +{} + +void DescribeDomainTopReferVisitResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTopReferListNode = value["TopReferList"]["ReferList"]; + for (auto valueTopReferListReferList : allTopReferListNode) + { + ReferList topReferListObject; + if(!valueTopReferListReferList["Flow"].isNull()) + topReferListObject.flow = valueTopReferListReferList["Flow"].asString(); + if(!valueTopReferListReferList["FlowProportion"].isNull()) + topReferListObject.flowProportion = std::stof(valueTopReferListReferList["FlowProportion"].asString()); + if(!valueTopReferListReferList["VisitData"].isNull()) + topReferListObject.visitData = valueTopReferListReferList["VisitData"].asString(); + if(!valueTopReferListReferList["ReferDetail"].isNull()) + topReferListObject.referDetail = valueTopReferListReferList["ReferDetail"].asString(); + if(!valueTopReferListReferList["VisitProportion"].isNull()) + topReferListObject.visitProportion = std::stof(valueTopReferListReferList["VisitProportion"].asString()); + topReferList_.push_back(topReferListObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeDomainTopReferVisitResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainTopReferVisitResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDomainTopReferVisitResult::getTopReferList()const +{ + return topReferList_; +} + diff --git a/cdn/src/model/DescribeDomainTopUrlVisitRequest.cc b/cdn/src/model/DescribeDomainTopUrlVisitRequest.cc new file mode 100644 index 000000000..403ce21ea --- /dev/null +++ b/cdn/src/model/DescribeDomainTopUrlVisitRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainTopUrlVisitRequest; + +DescribeDomainTopUrlVisitRequest::DescribeDomainTopUrlVisitRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainTopUrlVisit") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainTopUrlVisitRequest::~DescribeDomainTopUrlVisitRequest() {} + +std::string DescribeDomainTopUrlVisitRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainTopUrlVisitRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainTopUrlVisitRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainTopUrlVisitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainTopUrlVisitRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainTopUrlVisitRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainTopUrlVisitRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainTopUrlVisitRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainTopUrlVisitRequest::getSortBy() const { + return sortBy_; +} + +void DescribeDomainTopUrlVisitRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + diff --git a/cdn/src/model/DescribeDomainTopUrlVisitResult.cc b/cdn/src/model/DescribeDomainTopUrlVisitResult.cc new file mode 100644 index 000000000..23c8f9441 --- /dev/null +++ b/cdn/src/model/DescribeDomainTopUrlVisitResult.cc @@ -0,0 +1,163 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainTopUrlVisitResult::DescribeDomainTopUrlVisitResult() : + ServiceResult() +{} + +DescribeDomainTopUrlVisitResult::DescribeDomainTopUrlVisitResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainTopUrlVisitResult::~DescribeDomainTopUrlVisitResult() +{} + +void DescribeDomainTopUrlVisitResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAllUrlListNode = value["AllUrlList"]["UrlList"]; + for (auto valueAllUrlListUrlList : allAllUrlListNode) + { + UrlList allUrlListObject; + if(!valueAllUrlListUrlList["Flow"].isNull()) + allUrlListObject.flow = valueAllUrlListUrlList["Flow"].asString(); + if(!valueAllUrlListUrlList["UrlDetail"].isNull()) + allUrlListObject.urlDetail = valueAllUrlListUrlList["UrlDetail"].asString(); + if(!valueAllUrlListUrlList["FlowProportion"].isNull()) + allUrlListObject.flowProportion = std::stof(valueAllUrlListUrlList["FlowProportion"].asString()); + if(!valueAllUrlListUrlList["VisitData"].isNull()) + allUrlListObject.visitData = valueAllUrlListUrlList["VisitData"].asString(); + if(!valueAllUrlListUrlList["VisitProportion"].isNull()) + allUrlListObject.visitProportion = std::stof(valueAllUrlListUrlList["VisitProportion"].asString()); + allUrlList_.push_back(allUrlListObject); + } + auto allUrl200ListNode = value["Url200List"]["UrlList"]; + for (auto valueUrl200ListUrlList : allUrl200ListNode) + { + UrlList url200ListObject; + if(!valueUrl200ListUrlList["Flow"].isNull()) + url200ListObject.flow = valueUrl200ListUrlList["Flow"].asString(); + if(!valueUrl200ListUrlList["UrlDetail"].isNull()) + url200ListObject.urlDetail = valueUrl200ListUrlList["UrlDetail"].asString(); + if(!valueUrl200ListUrlList["FlowProportion"].isNull()) + url200ListObject.flowProportion = std::stof(valueUrl200ListUrlList["FlowProportion"].asString()); + if(!valueUrl200ListUrlList["VisitData"].isNull()) + url200ListObject.visitData = valueUrl200ListUrlList["VisitData"].asString(); + if(!valueUrl200ListUrlList["VisitProportion"].isNull()) + url200ListObject.visitProportion = std::stof(valueUrl200ListUrlList["VisitProportion"].asString()); + url200List_.push_back(url200ListObject); + } + auto allUrl300ListNode = value["Url300List"]["UrlList"]; + for (auto valueUrl300ListUrlList : allUrl300ListNode) + { + UrlList url300ListObject; + if(!valueUrl300ListUrlList["Flow"].isNull()) + url300ListObject.flow = valueUrl300ListUrlList["Flow"].asString(); + if(!valueUrl300ListUrlList["UrlDetail"].isNull()) + url300ListObject.urlDetail = valueUrl300ListUrlList["UrlDetail"].asString(); + if(!valueUrl300ListUrlList["FlowProportion"].isNull()) + url300ListObject.flowProportion = std::stof(valueUrl300ListUrlList["FlowProportion"].asString()); + if(!valueUrl300ListUrlList["VisitData"].isNull()) + url300ListObject.visitData = valueUrl300ListUrlList["VisitData"].asString(); + if(!valueUrl300ListUrlList["VisitProportion"].isNull()) + url300ListObject.visitProportion = std::stof(valueUrl300ListUrlList["VisitProportion"].asString()); + url300List_.push_back(url300ListObject); + } + auto allUrl400ListNode = value["Url400List"]["UrlList"]; + for (auto valueUrl400ListUrlList : allUrl400ListNode) + { + UrlList url400ListObject; + if(!valueUrl400ListUrlList["Flow"].isNull()) + url400ListObject.flow = valueUrl400ListUrlList["Flow"].asString(); + if(!valueUrl400ListUrlList["UrlDetail"].isNull()) + url400ListObject.urlDetail = valueUrl400ListUrlList["UrlDetail"].asString(); + if(!valueUrl400ListUrlList["FlowProportion"].isNull()) + url400ListObject.flowProportion = std::stof(valueUrl400ListUrlList["FlowProportion"].asString()); + if(!valueUrl400ListUrlList["VisitData"].isNull()) + url400ListObject.visitData = valueUrl400ListUrlList["VisitData"].asString(); + if(!valueUrl400ListUrlList["VisitProportion"].isNull()) + url400ListObject.visitProportion = std::stof(valueUrl400ListUrlList["VisitProportion"].asString()); + url400List_.push_back(url400ListObject); + } + auto allUrl500ListNode = value["Url500List"]["UrlList"]; + for (auto valueUrl500ListUrlList : allUrl500ListNode) + { + UrlList url500ListObject; + if(!valueUrl500ListUrlList["Flow"].isNull()) + url500ListObject.flow = valueUrl500ListUrlList["Flow"].asString(); + if(!valueUrl500ListUrlList["UrlDetail"].isNull()) + url500ListObject.urlDetail = valueUrl500ListUrlList["UrlDetail"].asString(); + if(!valueUrl500ListUrlList["FlowProportion"].isNull()) + url500ListObject.flowProportion = std::stof(valueUrl500ListUrlList["FlowProportion"].asString()); + if(!valueUrl500ListUrlList["VisitData"].isNull()) + url500ListObject.visitData = valueUrl500ListUrlList["VisitData"].asString(); + if(!valueUrl500ListUrlList["VisitProportion"].isNull()) + url500ListObject.visitProportion = std::stof(valueUrl500ListUrlList["VisitProportion"].asString()); + url500List_.push_back(url500ListObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::vector DescribeDomainTopUrlVisitResult::getUrl200List()const +{ + return url200List_; +} + +std::vector DescribeDomainTopUrlVisitResult::getUrl500List()const +{ + return url500List_; +} + +std::vector DescribeDomainTopUrlVisitResult::getUrl400List()const +{ + return url400List_; +} + +std::string DescribeDomainTopUrlVisitResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainTopUrlVisitResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDomainTopUrlVisitResult::getUrl300List()const +{ + return url300List_; +} + +std::vector DescribeDomainTopUrlVisitResult::getAllUrlList()const +{ + return allUrlList_; +} + diff --git a/cdn/src/model/DescribeDomainTrafficDataRequest.cc b/cdn/src/model/DescribeDomainTrafficDataRequest.cc new file mode 100644 index 000000000..1e4ac0fbd --- /dev/null +++ b/cdn/src/model/DescribeDomainTrafficDataRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainTrafficDataRequest; + +DescribeDomainTrafficDataRequest::DescribeDomainTrafficDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainTrafficData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainTrafficDataRequest::~DescribeDomainTrafficDataRequest() {} + +std::string DescribeDomainTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDomainTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDomainTrafficDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDomainTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDomainTrafficDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainTrafficDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainTrafficDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainTrafficDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainTrafficDataResult.cc b/cdn/src/model/DescribeDomainTrafficDataResult.cc new file mode 100644 index 000000000..1c5936e77 --- /dev/null +++ b/cdn/src/model/DescribeDomainTrafficDataResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainTrafficDataResult::DescribeDomainTrafficDataResult() : + ServiceResult() +{} + +DescribeDomainTrafficDataResult::DescribeDomainTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainTrafficDataResult::~DescribeDomainTrafficDataResult() +{} + +void DescribeDomainTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTrafficDataPerIntervalNode = value["TrafficDataPerInterval"]["DataModule"]; + for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) + { + DataModule trafficDataPerIntervalObject; + if(!valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].isNull()) + trafficDataPerIntervalObject.httpsDomesticValue = valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].asString(); + if(!valueTrafficDataPerIntervalDataModule["Value"].isNull()) + trafficDataPerIntervalObject.value = valueTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueTrafficDataPerIntervalDataModule["OverseasValue"].isNull()) + trafficDataPerIntervalObject.overseasValue = valueTrafficDataPerIntervalDataModule["OverseasValue"].asString(); + if(!valueTrafficDataPerIntervalDataModule["HttpsValue"].isNull()) + trafficDataPerIntervalObject.httpsValue = valueTrafficDataPerIntervalDataModule["HttpsValue"].asString(); + if(!valueTrafficDataPerIntervalDataModule["HttpsOverseasValue"].isNull()) + trafficDataPerIntervalObject.httpsOverseasValue = valueTrafficDataPerIntervalDataModule["HttpsOverseasValue"].asString(); + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueTrafficDataPerIntervalDataModule["DomesticValue"].isNull()) + trafficDataPerIntervalObject.domesticValue = valueTrafficDataPerIntervalDataModule["DomesticValue"].asString(); + trafficDataPerInterval_.push_back(trafficDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDomainTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeDomainTrafficDataResult::getTrafficDataPerInterval()const +{ + return trafficDataPerInterval_; +} + +std::string DescribeDomainTrafficDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainTrafficDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainUsageDataRequest.cc b/cdn/src/model/DescribeDomainUsageDataRequest.cc new file mode 100644 index 000000000..f8ce28158 --- /dev/null +++ b/cdn/src/model/DescribeDomainUsageDataRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainUsageDataRequest; + +DescribeDomainUsageDataRequest::DescribeDomainUsageDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainUsageDataRequest::~DescribeDomainUsageDataRequest() {} + +std::string DescribeDomainUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDomainUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDomainUsageDataRequest::getType() const { + return type_; +} + +void DescribeDomainUsageDataRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string DescribeDomainUsageDataRequest::getDataProtocol() const { + return dataProtocol_; +} + +void DescribeDomainUsageDataRequest::setDataProtocol(const std::string &dataProtocol) { + dataProtocol_ = dataProtocol; + setParameter(std::string("DataProtocol"), dataProtocol); +} + +std::string DescribeDomainUsageDataRequest::getArea() const { + return area_; +} + +void DescribeDomainUsageDataRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); +} + +std::string DescribeDomainUsageDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainUsageDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainUsageDataRequest::getField() const { + return field_; +} + +void DescribeDomainUsageDataRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); +} + +std::string DescribeDomainUsageDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/cdn/src/model/DescribeDomainUsageDataResult.cc b/cdn/src/model/DescribeDomainUsageDataResult.cc new file mode 100644 index 000000000..6e517274e --- /dev/null +++ b/cdn/src/model/DescribeDomainUsageDataResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainUsageDataResult::DescribeDomainUsageDataResult() : + ServiceResult() +{} + +DescribeDomainUsageDataResult::DescribeDomainUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainUsageDataResult::~DescribeDomainUsageDataResult() +{} + +void DescribeDomainUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allUsageDataPerIntervalNode = value["UsageDataPerInterval"]["DataModule"]; + for (auto valueUsageDataPerIntervalDataModule : allUsageDataPerIntervalNode) + { + DataModule usageDataPerIntervalObject; + if(!valueUsageDataPerIntervalDataModule["Value"].isNull()) + usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString(); + if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull()) + usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueUsageDataPerIntervalDataModule["PeakTime"].isNull()) + usageDataPerIntervalObject.peakTime = valueUsageDataPerIntervalDataModule["PeakTime"].asString(); + if(!valueUsageDataPerIntervalDataModule["SpecialValue"].isNull()) + usageDataPerIntervalObject.specialValue = valueUsageDataPerIntervalDataModule["SpecialValue"].asString(); + usageDataPerInterval_.push_back(usageDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["Area"].isNull()) + area_ = value["Area"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeDomainUsageDataResult::getUsageDataPerInterval()const +{ + return usageDataPerInterval_; +} + +std::string DescribeDomainUsageDataResult::getType()const +{ + return type_; +} + +std::string DescribeDomainUsageDataResult::getArea()const +{ + return area_; +} + +std::string DescribeDomainUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainUsageDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainUsageDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeEsExceptionDataRequest.cc b/cdn/src/model/DescribeEsExceptionDataRequest.cc new file mode 100644 index 000000000..0451d1358 --- /dev/null +++ b/cdn/src/model/DescribeEsExceptionDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeEsExceptionDataRequest; + +DescribeEsExceptionDataRequest::DescribeEsExceptionDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExceptionData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeEsExceptionDataRequest::~DescribeEsExceptionDataRequest() {} + +std::string DescribeEsExceptionDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeEsExceptionDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeEsExceptionDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeEsExceptionDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeEsExceptionDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeEsExceptionDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeEsExceptionDataRequest::getRuleId() const { + return ruleId_; +} + +void DescribeEsExceptionDataRequest::setRuleId(const std::string &ruleId) { + ruleId_ = ruleId; + setParameter(std::string("RuleId"), ruleId); +} + diff --git a/cdn/src/model/DescribeEsExceptionDataResult.cc b/cdn/src/model/DescribeEsExceptionDataResult.cc new file mode 100644 index 000000000..a204f4f46 --- /dev/null +++ b/cdn/src/model/DescribeEsExceptionDataResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeEsExceptionDataResult::DescribeEsExceptionDataResult() : + ServiceResult() +{} + +DescribeEsExceptionDataResult::DescribeEsExceptionDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEsExceptionDataResult::~DescribeEsExceptionDataResult() +{} + +void DescribeEsExceptionDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentsNode = value["Contents"]["Content"]; + for (auto valueContentsContent : allContentsNode) + { + Content contentsObject; + if(!valueContentsContent["Name"].isNull()) + contentsObject.name = valueContentsContent["Name"].asString(); + auto allPoints = value["Points"]["points"]; + for (auto value : allPoints) + contentsObject.points.push_back(value.asString()); + auto allColumns = value["Columns"]["columns"]; + for (auto value : allColumns) + contentsObject.columns.push_back(value.asString()); + contents_.push_back(contentsObject); + } + +} + +std::vector DescribeEsExceptionDataResult::getContents()const +{ + return contents_; +} + diff --git a/cdn/src/model/DescribeEsExecuteDataRequest.cc b/cdn/src/model/DescribeEsExecuteDataRequest.cc new file mode 100644 index 000000000..acb3079fb --- /dev/null +++ b/cdn/src/model/DescribeEsExecuteDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeEsExecuteDataRequest; + +DescribeEsExecuteDataRequest::DescribeEsExecuteDataRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExecuteData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeEsExecuteDataRequest::~DescribeEsExecuteDataRequest() {} + +std::string DescribeEsExecuteDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeEsExecuteDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeEsExecuteDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeEsExecuteDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeEsExecuteDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeEsExecuteDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeEsExecuteDataRequest::getRuleId() const { + return ruleId_; +} + +void DescribeEsExecuteDataRequest::setRuleId(const std::string &ruleId) { + ruleId_ = ruleId; + setParameter(std::string("RuleId"), ruleId); +} + diff --git a/cdn/src/model/DescribeEsExecuteDataResult.cc b/cdn/src/model/DescribeEsExecuteDataResult.cc new file mode 100644 index 000000000..f1f5f1788 --- /dev/null +++ b/cdn/src/model/DescribeEsExecuteDataResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeEsExecuteDataResult::DescribeEsExecuteDataResult() : + ServiceResult() +{} + +DescribeEsExecuteDataResult::DescribeEsExecuteDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEsExecuteDataResult::~DescribeEsExecuteDataResult() +{} + +void DescribeEsExecuteDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentsNode = value["Contents"]["Content"]; + for (auto valueContentsContent : allContentsNode) + { + Content contentsObject; + if(!valueContentsContent["Name"].isNull()) + contentsObject.name = valueContentsContent["Name"].asString(); + auto allPoints = value["Points"]["points"]; + for (auto value : allPoints) + contentsObject.points.push_back(value.asString()); + auto allColumns = value["Columns"]["columns"]; + for (auto value : allColumns) + contentsObject.columns.push_back(value.asString()); + contents_.push_back(contentsObject); + } + +} + +std::vector DescribeEsExecuteDataResult::getContents()const +{ + return contents_; +} + diff --git a/cdn/src/model/DescribeFCTriggerRequest.cc b/cdn/src/model/DescribeFCTriggerRequest.cc new file mode 100644 index 000000000..9e54d89d7 --- /dev/null +++ b/cdn/src/model/DescribeFCTriggerRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeFCTriggerRequest; + +DescribeFCTriggerRequest::DescribeFCTriggerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeFCTrigger") { + setMethod(HttpRequest::Method::Get); +} + +DescribeFCTriggerRequest::~DescribeFCTriggerRequest() {} + +std::string DescribeFCTriggerRequest::getTriggerARN() const { + return triggerARN_; +} + +void DescribeFCTriggerRequest::setTriggerARN(const std::string &triggerARN) { + triggerARN_ = triggerARN; + setParameter(std::string("TriggerARN"), triggerARN); +} + +long DescribeFCTriggerRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeFCTriggerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeFCTriggerResult.cc b/cdn/src/model/DescribeFCTriggerResult.cc new file mode 100644 index 000000000..b59f85867 --- /dev/null +++ b/cdn/src/model/DescribeFCTriggerResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeFCTriggerResult::DescribeFCTriggerResult() : + ServiceResult() +{} + +DescribeFCTriggerResult::DescribeFCTriggerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeFCTriggerResult::~DescribeFCTriggerResult() +{} + +void DescribeFCTriggerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto fCTriggerNode = value["FCTrigger"]; + if(!fCTriggerNode["TriggerARN"].isNull()) + fCTrigger_.triggerARN = fCTriggerNode["TriggerARN"].asString(); + if(!fCTriggerNode["RoleARN"].isNull()) + fCTrigger_.roleARN = fCTriggerNode["RoleARN"].asString(); + if(!fCTriggerNode["SourceArn"].isNull()) + fCTrigger_.sourceArn = fCTriggerNode["SourceArn"].asString(); + if(!fCTriggerNode["Notes"].isNull()) + fCTrigger_.notes = fCTriggerNode["Notes"].asString(); + if(!fCTriggerNode["EventMetaName"].isNull()) + fCTrigger_.eventMetaName = fCTriggerNode["EventMetaName"].asString(); + if(!fCTriggerNode["EventMetaVersion"].isNull()) + fCTrigger_.eventMetaVersion = fCTriggerNode["EventMetaVersion"].asString(); + +} + +DescribeFCTriggerResult::FCTrigger DescribeFCTriggerResult::getFCTrigger()const +{ + return fCTrigger_; +} + diff --git a/cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc b/cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc new file mode 100644 index 000000000..d30d8a1ec --- /dev/null +++ b/cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeIllegalUrlExportTaskRequest; + +DescribeIllegalUrlExportTaskRequest::DescribeIllegalUrlExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeIllegalUrlExportTask") { + setMethod(HttpRequest::Method::Post); +} + +DescribeIllegalUrlExportTaskRequest::~DescribeIllegalUrlExportTaskRequest() {} + +std::string DescribeIllegalUrlExportTaskRequest::getTaskId() const { + return taskId_; +} + +void DescribeIllegalUrlExportTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +long DescribeIllegalUrlExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeIllegalUrlExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeIllegalUrlExportTaskResult.cc b/cdn/src/model/DescribeIllegalUrlExportTaskResult.cc new file mode 100644 index 000000000..e8cd39b4b --- /dev/null +++ b/cdn/src/model/DescribeIllegalUrlExportTaskResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeIllegalUrlExportTaskResult::DescribeIllegalUrlExportTaskResult() : + ServiceResult() +{} + +DescribeIllegalUrlExportTaskResult::DescribeIllegalUrlExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeIllegalUrlExportTaskResult::~DescribeIllegalUrlExportTaskResult() +{} + +void DescribeIllegalUrlExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["DownloadUrl"].isNull()) + downloadUrl_ = value["DownloadUrl"].asString(); + +} + +std::string DescribeIllegalUrlExportTaskResult::getStatus()const +{ + return status_; +} + +std::string DescribeIllegalUrlExportTaskResult::getDownloadUrl()const +{ + return downloadUrl_; +} + diff --git a/cdn/src/model/DescribeIpInfoRequest.cc b/cdn/src/model/DescribeIpInfoRequest.cc new file mode 100644 index 000000000..a9ba93833 --- /dev/null +++ b/cdn/src/model/DescribeIpInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeIpInfoRequest; + +DescribeIpInfoRequest::DescribeIpInfoRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeIpInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeIpInfoRequest::~DescribeIpInfoRequest() {} + +std::string DescribeIpInfoRequest::getIP() const { + return iP_; +} + +void DescribeIpInfoRequest::setIP(const std::string &iP) { + iP_ = iP; + setParameter(std::string("IP"), iP); +} + +long DescribeIpInfoRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeIpInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeIpInfoRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeIpInfoRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/DescribeIpInfoResult.cc b/cdn/src/model/DescribeIpInfoResult.cc new file mode 100644 index 000000000..97a2fabf7 --- /dev/null +++ b/cdn/src/model/DescribeIpInfoResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeIpInfoResult::DescribeIpInfoResult() : + ServiceResult() +{} + +DescribeIpInfoResult::DescribeIpInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeIpInfoResult::~DescribeIpInfoResult() +{} + +void DescribeIpInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["CdnIp"].isNull()) + cdnIp_ = value["CdnIp"].asString(); + if(!value["RegionEname"].isNull()) + regionEname_ = value["RegionEname"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["IspEname"].isNull()) + ispEname_ = value["IspEname"].asString(); + if(!value["ISP"].isNull()) + iSP_ = value["ISP"].asString(); + +} + +std::string DescribeIpInfoResult::getISP()const +{ + return iSP_; +} + +std::string DescribeIpInfoResult::getRegion()const +{ + return region_; +} + +std::string DescribeIpInfoResult::getIspEname()const +{ + return ispEname_; +} + +std::string DescribeIpInfoResult::getCdnIp()const +{ + return cdnIp_; +} + +std::string DescribeIpInfoResult::getRegionEname()const +{ + return regionEname_; +} + diff --git a/cdn/src/model/DescribeIpStatusRequest.cc b/cdn/src/model/DescribeIpStatusRequest.cc new file mode 100644 index 000000000..5871ec8a9 --- /dev/null +++ b/cdn/src/model/DescribeIpStatusRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeIpStatusRequest; + +DescribeIpStatusRequest::DescribeIpStatusRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeIpStatus") { + setMethod(HttpRequest::Method::Get); +} + +DescribeIpStatusRequest::~DescribeIpStatusRequest() {} + +long DescribeIpStatusRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeIpStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeIpStatusRequest::getIps() const { + return ips_; +} + +void DescribeIpStatusRequest::setIps(const std::string &ips) { + ips_ = ips; + setParameter(std::string("Ips"), ips); +} + diff --git a/cdn/src/model/DescribeIpStatusResult.cc b/cdn/src/model/DescribeIpStatusResult.cc new file mode 100644 index 000000000..f490aa112 --- /dev/null +++ b/cdn/src/model/DescribeIpStatusResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeIpStatusResult::DescribeIpStatusResult() : + ServiceResult() +{} + +DescribeIpStatusResult::DescribeIpStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeIpStatusResult::~DescribeIpStatusResult() +{} + +void DescribeIpStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allIpStatusNode = value["IpStatus"]["UsageData"]; + for (auto valueIpStatusUsageData : allIpStatusNode) + { + UsageData ipStatusObject; + if(!valueIpStatusUsageData["ip"].isNull()) + ipStatusObject.ip = valueIpStatusUsageData["ip"].asString(); + if(!valueIpStatusUsageData["status"].isNull()) + ipStatusObject.status = valueIpStatusUsageData["status"].asString(); + ipStatus_.push_back(ipStatusObject); + } + +} + +std::vector DescribeIpStatusResult::getIpStatus()const +{ + return ipStatus_; +} + diff --git a/cdn/src/model/DescribeL2VipsByDomainRequest.cc b/cdn/src/model/DescribeL2VipsByDomainRequest.cc new file mode 100644 index 000000000..8ce6455c8 --- /dev/null +++ b/cdn/src/model/DescribeL2VipsByDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeL2VipsByDomainRequest; + +DescribeL2VipsByDomainRequest::DescribeL2VipsByDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeL2VipsByDomain") { + setMethod(HttpRequest::Method::Post); +} + +DescribeL2VipsByDomainRequest::~DescribeL2VipsByDomainRequest() {} + +std::string DescribeL2VipsByDomainRequest::getDomainName() const { + return domainName_; +} + +void DescribeL2VipsByDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeL2VipsByDomainRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeL2VipsByDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeL2VipsByDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeL2VipsByDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/cdn/src/model/DescribeL2VipsByDomainResult.cc b/cdn/src/model/DescribeL2VipsByDomainResult.cc new file mode 100644 index 000000000..3bc0ff164 --- /dev/null +++ b/cdn/src/model/DescribeL2VipsByDomainResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeL2VipsByDomainResult::DescribeL2VipsByDomainResult() : + ServiceResult() +{} + +DescribeL2VipsByDomainResult::DescribeL2VipsByDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeL2VipsByDomainResult::~DescribeL2VipsByDomainResult() +{} + +void DescribeL2VipsByDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVips = value["Vips"]["Vip"]; + for (const auto &item : allVips) + vips_.push_back(item.asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeL2VipsByDomainResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeL2VipsByDomainResult::getVips()const +{ + return vips_; +} + diff --git a/cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc b/cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc new file mode 100644 index 000000000..7a756f606 --- /dev/null +++ b/cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeRangeDataByLocateAndIspServiceRequest; + +DescribeRangeDataByLocateAndIspServiceRequest::DescribeRangeDataByLocateAndIspServiceRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeRangeDataByLocateAndIspService") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRangeDataByLocateAndIspServiceRequest::~DescribeRangeDataByLocateAndIspServiceRequest() {} + +std::string DescribeRangeDataByLocateAndIspServiceRequest::getDomainNames() const { + return domainNames_; +} + +void DescribeRangeDataByLocateAndIspServiceRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); +} + +std::string DescribeRangeDataByLocateAndIspServiceRequest::getLocationNames() const { + return locationNames_; +} + +void DescribeRangeDataByLocateAndIspServiceRequest::setLocationNames(const std::string &locationNames) { + locationNames_ = locationNames; + setParameter(std::string("LocationNames"), locationNames); +} + +std::string DescribeRangeDataByLocateAndIspServiceRequest::getStartTime() const { + return startTime_; +} + +void DescribeRangeDataByLocateAndIspServiceRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeRangeDataByLocateAndIspServiceRequest::getIspNames() const { + return ispNames_; +} + +void DescribeRangeDataByLocateAndIspServiceRequest::setIspNames(const std::string &ispNames) { + ispNames_ = ispNames; + setParameter(std::string("IspNames"), ispNames); +} + +std::string DescribeRangeDataByLocateAndIspServiceRequest::getEndTime() const { + return endTime_; +} + +void DescribeRangeDataByLocateAndIspServiceRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeRangeDataByLocateAndIspServiceRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeRangeDataByLocateAndIspServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc b/cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc new file mode 100644 index 000000000..d86dc7a4c --- /dev/null +++ b/cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeRangeDataByLocateAndIspServiceResult::DescribeRangeDataByLocateAndIspServiceResult() : + ServiceResult() +{} + +DescribeRangeDataByLocateAndIspServiceResult::DescribeRangeDataByLocateAndIspServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRangeDataByLocateAndIspServiceResult::~DescribeRangeDataByLocateAndIspServiceResult() +{} + +void DescribeRangeDataByLocateAndIspServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["JsonResult"].isNull()) + jsonResult_ = value["JsonResult"].asString(); + +} + +std::string DescribeRangeDataByLocateAndIspServiceResult::getJsonResult()const +{ + return jsonResult_; +} + diff --git a/cdn/src/model/DescribeRealtimeDeliveryAccRequest.cc b/cdn/src/model/DescribeRealtimeDeliveryAccRequest.cc new file mode 100644 index 000000000..3035f1272 --- /dev/null +++ b/cdn/src/model/DescribeRealtimeDeliveryAccRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeRealtimeDeliveryAccRequest; + +DescribeRealtimeDeliveryAccRequest::DescribeRealtimeDeliveryAccRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeRealtimeDeliveryAcc") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRealtimeDeliveryAccRequest::~DescribeRealtimeDeliveryAccRequest() {} + +std::string DescribeRealtimeDeliveryAccRequest::getProject() const { + return project_; +} + +void DescribeRealtimeDeliveryAccRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); +} + +std::string DescribeRealtimeDeliveryAccRequest::getStartTime() const { + return startTime_; +} + +void DescribeRealtimeDeliveryAccRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeRealtimeDeliveryAccRequest::getEndTime() const { + return endTime_; +} + +void DescribeRealtimeDeliveryAccRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeRealtimeDeliveryAccRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeRealtimeDeliveryAccRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeRealtimeDeliveryAccRequest::getInterval() const { + return interval_; +} + +void DescribeRealtimeDeliveryAccRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeRealtimeDeliveryAccRequest::getLogStore() const { + return logStore_; +} + +void DescribeRealtimeDeliveryAccRequest::setLogStore(const std::string &logStore) { + logStore_ = logStore; + setParameter(std::string("LogStore"), logStore); +} + diff --git a/cdn/src/model/DescribeRealtimeDeliveryAccResult.cc b/cdn/src/model/DescribeRealtimeDeliveryAccResult.cc new file mode 100644 index 000000000..1d51e019c --- /dev/null +++ b/cdn/src/model/DescribeRealtimeDeliveryAccResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeRealtimeDeliveryAccResult::DescribeRealtimeDeliveryAccResult() : + ServiceResult() +{} + +DescribeRealtimeDeliveryAccResult::DescribeRealtimeDeliveryAccResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRealtimeDeliveryAccResult::~DescribeRealtimeDeliveryAccResult() +{} + +void DescribeRealtimeDeliveryAccResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allReatTimeDeliveryAccDataNode = value["ReatTimeDeliveryAccData"]["AccData"]; + for (auto valueReatTimeDeliveryAccDataAccData : allReatTimeDeliveryAccDataNode) + { + AccData reatTimeDeliveryAccDataObject; + if(!valueReatTimeDeliveryAccDataAccData["TimeStamp"].isNull()) + reatTimeDeliveryAccDataObject.timeStamp = valueReatTimeDeliveryAccDataAccData["TimeStamp"].asString(); + if(!valueReatTimeDeliveryAccDataAccData["FailedNum"].isNull()) + reatTimeDeliveryAccDataObject.failedNum = std::stoi(valueReatTimeDeliveryAccDataAccData["FailedNum"].asString()); + if(!valueReatTimeDeliveryAccDataAccData["SuccessNum"].isNull()) + reatTimeDeliveryAccDataObject.successNum = std::stoi(valueReatTimeDeliveryAccDataAccData["SuccessNum"].asString()); + reatTimeDeliveryAccData_.push_back(reatTimeDeliveryAccDataObject); + } + +} + +std::vector DescribeRealtimeDeliveryAccResult::getReatTimeDeliveryAccData()const +{ + return reatTimeDeliveryAccData_; +} + diff --git a/cdn/src/model/DescribeRealtimeLogAuthorizedRequest.cc b/cdn/src/model/DescribeRealtimeLogAuthorizedRequest.cc new file mode 100644 index 000000000..da3e61980 --- /dev/null +++ b/cdn/src/model/DescribeRealtimeLogAuthorizedRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeRealtimeLogAuthorizedRequest; + +DescribeRealtimeLogAuthorizedRequest::DescribeRealtimeLogAuthorizedRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeRealtimeLogAuthorized") { + setMethod(HttpRequest::Method::Get); +} + +DescribeRealtimeLogAuthorizedRequest::~DescribeRealtimeLogAuthorizedRequest() {} + +long DescribeRealtimeLogAuthorizedRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeRealtimeLogAuthorizedRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeRealtimeLogAuthorizedResult.cc b/cdn/src/model/DescribeRealtimeLogAuthorizedResult.cc new file mode 100644 index 000000000..51aca5629 --- /dev/null +++ b/cdn/src/model/DescribeRealtimeLogAuthorizedResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeRealtimeLogAuthorizedResult::DescribeRealtimeLogAuthorizedResult() : + ServiceResult() +{} + +DescribeRealtimeLogAuthorizedResult::DescribeRealtimeLogAuthorizedResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRealtimeLogAuthorizedResult::~DescribeRealtimeLogAuthorizedResult() +{} + +void DescribeRealtimeLogAuthorizedResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AuthorizedStatus"].isNull()) + authorizedStatus_ = value["AuthorizedStatus"].asString(); + +} + +std::string DescribeRealtimeLogAuthorizedResult::getAuthorizedStatus()const +{ + return authorizedStatus_; +} + diff --git a/cdn/src/model/DescribeRefreshTaskByIdRequest.cc b/cdn/src/model/DescribeRefreshTaskByIdRequest.cc new file mode 100644 index 000000000..7b9906fd1 --- /dev/null +++ b/cdn/src/model/DescribeRefreshTaskByIdRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeRefreshTaskByIdRequest; + +DescribeRefreshTaskByIdRequest::DescribeRefreshTaskByIdRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeRefreshTaskById") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRefreshTaskByIdRequest::~DescribeRefreshTaskByIdRequest() {} + +std::string DescribeRefreshTaskByIdRequest::getTaskId() const { + return taskId_; +} + +void DescribeRefreshTaskByIdRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +long DescribeRefreshTaskByIdRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeRefreshTaskByIdRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeRefreshTaskByIdResult.cc b/cdn/src/model/DescribeRefreshTaskByIdResult.cc new file mode 100644 index 000000000..4a5f396df --- /dev/null +++ b/cdn/src/model/DescribeRefreshTaskByIdResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeRefreshTaskByIdResult::DescribeRefreshTaskByIdResult() : + ServiceResult() +{} + +DescribeRefreshTaskByIdResult::DescribeRefreshTaskByIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRefreshTaskByIdResult::~DescribeRefreshTaskByIdResult() +{} + +void DescribeRefreshTaskByIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTasksNode = value["Tasks"]["CDNTask"]; + for (auto valueTasksCDNTask : allTasksNode) + { + CDNTask tasksObject; + if(!valueTasksCDNTask["Status"].isNull()) + tasksObject.status = valueTasksCDNTask["Status"].asString(); + if(!valueTasksCDNTask["CreationTime"].isNull()) + tasksObject.creationTime = valueTasksCDNTask["CreationTime"].asString(); + if(!valueTasksCDNTask["ObjectType"].isNull()) + tasksObject.objectType = valueTasksCDNTask["ObjectType"].asString(); + if(!valueTasksCDNTask["Process"].isNull()) + tasksObject.process = valueTasksCDNTask["Process"].asString(); + if(!valueTasksCDNTask["Description"].isNull()) + tasksObject.description = valueTasksCDNTask["Description"].asString(); + if(!valueTasksCDNTask["ObjectPath"].isNull()) + tasksObject.objectPath = valueTasksCDNTask["ObjectPath"].asString(); + if(!valueTasksCDNTask["TaskId"].isNull()) + tasksObject.taskId = valueTasksCDNTask["TaskId"].asString(); + tasks_.push_back(tasksObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeRefreshTaskByIdResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeRefreshTaskByIdResult::getTasks()const +{ + return tasks_; +} + diff --git a/cdn/src/model/DescribeRefreshTasksRequest.cc b/cdn/src/model/DescribeRefreshTasksRequest.cc new file mode 100644 index 000000000..dc8a93b46 --- /dev/null +++ b/cdn/src/model/DescribeRefreshTasksRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeRefreshTasksRequest; + +DescribeRefreshTasksRequest::DescribeRefreshTasksRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeRefreshTasks") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRefreshTasksRequest::~DescribeRefreshTasksRequest() {} + +std::string DescribeRefreshTasksRequest::getObjectPath() const { + return objectPath_; +} + +void DescribeRefreshTasksRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); +} + +std::string DescribeRefreshTasksRequest::getStartTime() const { + return startTime_; +} + +void DescribeRefreshTasksRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +int DescribeRefreshTasksRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeRefreshTasksRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string DescribeRefreshTasksRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void DescribeRefreshTasksRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +std::string DescribeRefreshTasksRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeRefreshTasksRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +int DescribeRefreshTasksRequest::getPageSize() const { + return pageSize_; +} + +void DescribeRefreshTasksRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeRefreshTasksRequest::getObjectType() const { + return objectType_; +} + +void DescribeRefreshTasksRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); +} + +std::string DescribeRefreshTasksRequest::getTaskId() const { + return taskId_; +} + +void DescribeRefreshTasksRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +std::string DescribeRefreshTasksRequest::getDomainName() const { + return domainName_; +} + +void DescribeRefreshTasksRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeRefreshTasksRequest::getEndTime() const { + return endTime_; +} + +void DescribeRefreshTasksRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeRefreshTasksRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeRefreshTasksRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeRefreshTasksRequest::getStatus() const { + return status_; +} + +void DescribeRefreshTasksRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/cdn/src/model/DescribeRefreshTasksResult.cc b/cdn/src/model/DescribeRefreshTasksResult.cc new file mode 100644 index 000000000..7503adb00 --- /dev/null +++ b/cdn/src/model/DescribeRefreshTasksResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeRefreshTasksResult::DescribeRefreshTasksResult() : + ServiceResult() +{} + +DescribeRefreshTasksResult::DescribeRefreshTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRefreshTasksResult::~DescribeRefreshTasksResult() +{} + +void DescribeRefreshTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTasksNode = value["Tasks"]["CDNTask"]; + for (auto valueTasksCDNTask : allTasksNode) + { + CDNTask tasksObject; + if(!valueTasksCDNTask["Status"].isNull()) + tasksObject.status = valueTasksCDNTask["Status"].asString(); + if(!valueTasksCDNTask["CreationTime"].isNull()) + tasksObject.creationTime = valueTasksCDNTask["CreationTime"].asString(); + if(!valueTasksCDNTask["ObjectType"].isNull()) + tasksObject.objectType = valueTasksCDNTask["ObjectType"].asString(); + if(!valueTasksCDNTask["Process"].isNull()) + tasksObject.process = valueTasksCDNTask["Process"].asString(); + if(!valueTasksCDNTask["Description"].isNull()) + tasksObject.description = valueTasksCDNTask["Description"].asString(); + if(!valueTasksCDNTask["ObjectPath"].isNull()) + tasksObject.objectPath = valueTasksCDNTask["ObjectPath"].asString(); + if(!valueTasksCDNTask["TaskId"].isNull()) + tasksObject.taskId = valueTasksCDNTask["TaskId"].asString(); + tasks_.push_back(tasksObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeRefreshTasksResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeRefreshTasksResult::getTasks()const +{ + return tasks_; +} + +long DescribeRefreshTasksResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeRefreshTasksResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cdn/src/model/DescribeStagingIpRequest.cc b/cdn/src/model/DescribeStagingIpRequest.cc new file mode 100644 index 000000000..209f10e4f --- /dev/null +++ b/cdn/src/model/DescribeStagingIpRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeStagingIpRequest; + +DescribeStagingIpRequest::DescribeStagingIpRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeStagingIp") { + setMethod(HttpRequest::Method::Post); +} + +DescribeStagingIpRequest::~DescribeStagingIpRequest() {} + +long DescribeStagingIpRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeStagingIpRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeStagingIpResult.cc b/cdn/src/model/DescribeStagingIpResult.cc new file mode 100644 index 000000000..1fa47cd5e --- /dev/null +++ b/cdn/src/model/DescribeStagingIpResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeStagingIpResult::DescribeStagingIpResult() : + ServiceResult() +{} + +DescribeStagingIpResult::DescribeStagingIpResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStagingIpResult::~DescribeStagingIpResult() +{} + +void DescribeStagingIpResult::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 DescribeStagingIpResult::getIPV4s()const +{ + return iPV4s_; +} + diff --git a/cdn/src/model/DescribeTagResourcesRequest.cc b/cdn/src/model/DescribeTagResourcesRequest.cc new file mode 100644 index 000000000..bb4340313 --- /dev/null +++ b/cdn/src/model/DescribeTagResourcesRequest.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeTagResourcesRequest; + +DescribeTagResourcesRequest::DescribeTagResourcesRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeTagResources") { + setMethod(HttpRequest::Method::Post); +} + +DescribeTagResourcesRequest::~DescribeTagResourcesRequest() {} + +std::string DescribeTagResourcesRequest::getScope() const { + return scope_; +} + +void DescribeTagResourcesRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + +std::vector DescribeTagResourcesRequest::getTag() const { + return tag_; +} + +void DescribeTagResourcesRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } +} + +std::vector DescribeTagResourcesRequest::getResourceId() const { + return resourceId_; +} + +void DescribeTagResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; +} + +long DescribeTagResourcesRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeTagResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeTagResourcesRequest::getResourceType() const { + return resourceType_; +} + +void DescribeTagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); +} + diff --git a/cdn/src/model/DescribeTagResourcesResult.cc b/cdn/src/model/DescribeTagResourcesResult.cc new file mode 100644 index 000000000..9e85b89d7 --- /dev/null +++ b/cdn/src/model/DescribeTagResourcesResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeTagResourcesResult::DescribeTagResourcesResult() : + ServiceResult() +{} + +DescribeTagResourcesResult::DescribeTagResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTagResourcesResult::~DescribeTagResourcesResult() +{} + +void DescribeTagResourcesResult::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 = valueTagResourcesTagResource["Tag"]["TagItem"]; + for (auto valueTagResourcesTagResourceTagTagItem : allTagNode) + { + TagResource::TagItem tagObject; + if(!valueTagResourcesTagResourceTagTagItem["Key"].isNull()) + tagObject.key = valueTagResourcesTagResourceTagTagItem["Key"].asString(); + if(!valueTagResourcesTagResourceTagTagItem["Value"].isNull()) + tagObject.value = valueTagResourcesTagResourceTagTagItem["Value"].asString(); + tagResourcesObject.tag.push_back(tagObject); + } + tagResources_.push_back(tagResourcesObject); + } + +} + +std::vector DescribeTagResourcesResult::getTagResources()const +{ + return tagResources_; +} + diff --git a/cdn/src/model/DescribeUserCertificateExpireCountRequest.cc b/cdn/src/model/DescribeUserCertificateExpireCountRequest.cc new file mode 100644 index 000000000..2ff9072b3 --- /dev/null +++ b/cdn/src/model/DescribeUserCertificateExpireCountRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserCertificateExpireCountRequest; + +DescribeUserCertificateExpireCountRequest::DescribeUserCertificateExpireCountRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeUserCertificateExpireCount") { + setMethod(HttpRequest::Method::Post); +} + +DescribeUserCertificateExpireCountRequest::~DescribeUserCertificateExpireCountRequest() {} + +long DescribeUserCertificateExpireCountRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeUserCertificateExpireCountRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeUserCertificateExpireCountResult.cc b/cdn/src/model/DescribeUserCertificateExpireCountResult.cc new file mode 100644 index 000000000..1f1f2852a --- /dev/null +++ b/cdn/src/model/DescribeUserCertificateExpireCountResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeUserCertificateExpireCountResult::DescribeUserCertificateExpireCountResult() : + ServiceResult() +{} + +DescribeUserCertificateExpireCountResult::DescribeUserCertificateExpireCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserCertificateExpireCountResult::~DescribeUserCertificateExpireCountResult() +{} + +void DescribeUserCertificateExpireCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ExpireWithin30DaysCount"].isNull()) + expireWithin30DaysCount_ = std::stoi(value["ExpireWithin30DaysCount"].asString()); + if(!value["ExpiredCount"].isNull()) + expiredCount_ = std::stoi(value["ExpiredCount"].asString()); + +} + +int DescribeUserCertificateExpireCountResult::getExpireWithin30DaysCount()const +{ + return expireWithin30DaysCount_; +} + +int DescribeUserCertificateExpireCountResult::getExpiredCount()const +{ + return expiredCount_; +} + diff --git a/cdn/src/model/DescribeUserConfigsRequest.cc b/cdn/src/model/DescribeUserConfigsRequest.cc new file mode 100644 index 000000000..04c0cdd0f --- /dev/null +++ b/cdn/src/model/DescribeUserConfigsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserConfigsRequest; + +DescribeUserConfigsRequest::DescribeUserConfigsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeUserConfigs") { + setMethod(HttpRequest::Method::Post); +} + +DescribeUserConfigsRequest::~DescribeUserConfigsRequest() {} + +std::string DescribeUserConfigsRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeUserConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +long DescribeUserConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeUserConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeUserConfigsRequest::getConfig() const { + return config_; +} + +void DescribeUserConfigsRequest::setConfig(const std::string &config) { + config_ = config; + setParameter(std::string("Config"), config); +} + diff --git a/cdn/src/model/DescribeUserConfigsResult.cc b/cdn/src/model/DescribeUserConfigsResult.cc new file mode 100644 index 000000000..20a3da0f3 --- /dev/null +++ b/cdn/src/model/DescribeUserConfigsResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeUserConfigsResult::DescribeUserConfigsResult() : + ServiceResult() +{} + +DescribeUserConfigsResult::DescribeUserConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserConfigsResult::~DescribeUserConfigsResult() +{} + +void DescribeUserConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto configsNode = value["Configs"]; + auto ossLogConfigNode = configsNode["OssLogConfig"]; + if(!ossLogConfigNode["Prefix"].isNull()) + configs_.ossLogConfig.prefix = ossLogConfigNode["Prefix"].asString(); + if(!ossLogConfigNode["Enable"].isNull()) + configs_.ossLogConfig.enable = ossLogConfigNode["Enable"].asString(); + if(!ossLogConfigNode["Bucket"].isNull()) + configs_.ossLogConfig.bucket = ossLogConfigNode["Bucket"].asString(); + auto wafConfigNode = configsNode["WafConfig"]; + if(!wafConfigNode["Enable"].isNull()) + configs_.wafConfig.enable = wafConfigNode["Enable"].asString(); + +} + +DescribeUserConfigsResult::Configs DescribeUserConfigsResult::getConfigs()const +{ + return configs_; +} + diff --git a/cdn/src/model/DescribeUserTagsRequest.cc b/cdn/src/model/DescribeUserTagsRequest.cc new file mode 100644 index 000000000..baf617c88 --- /dev/null +++ b/cdn/src/model/DescribeUserTagsRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserTagsRequest; + +DescribeUserTagsRequest::DescribeUserTagsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeUserTags") { + setMethod(HttpRequest::Method::Post); +} + +DescribeUserTagsRequest::~DescribeUserTagsRequest() {} + +long DescribeUserTagsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeUserTagsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeUserTagsResult.cc b/cdn/src/model/DescribeUserTagsResult.cc new file mode 100644 index 000000000..269cfc31e --- /dev/null +++ b/cdn/src/model/DescribeUserTagsResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeUserTagsResult::DescribeUserTagsResult() : + ServiceResult() +{} + +DescribeUserTagsResult::DescribeUserTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserTagsResult::~DescribeUserTagsResult() +{} + +void DescribeUserTagsResult::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 DescribeUserTagsResult::getTags()const +{ + return tags_; +} + diff --git a/cdn/src/model/DescribeUserUsageDataExportTaskRequest.cc b/cdn/src/model/DescribeUserUsageDataExportTaskRequest.cc new file mode 100644 index 000000000..b8b77b667 --- /dev/null +++ b/cdn/src/model/DescribeUserUsageDataExportTaskRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserUsageDataExportTaskRequest; + +DescribeUserUsageDataExportTaskRequest::DescribeUserUsageDataExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeUserUsageDataExportTask") { + setMethod(HttpRequest::Method::Post); +} + +DescribeUserUsageDataExportTaskRequest::~DescribeUserUsageDataExportTaskRequest() {} + +std::string DescribeUserUsageDataExportTaskRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeUserUsageDataExportTaskRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +std::string DescribeUserUsageDataExportTaskRequest::getPageSize() const { + return pageSize_; +} + +void DescribeUserUsageDataExportTaskRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +long DescribeUserUsageDataExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeUserUsageDataExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeUserUsageDataExportTaskResult.cc b/cdn/src/model/DescribeUserUsageDataExportTaskResult.cc new file mode 100644 index 000000000..f7722f612 --- /dev/null +++ b/cdn/src/model/DescribeUserUsageDataExportTaskResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeUserUsageDataExportTaskResult::DescribeUserUsageDataExportTaskResult() : + ServiceResult() +{} + +DescribeUserUsageDataExportTaskResult::DescribeUserUsageDataExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserUsageDataExportTaskResult::~DescribeUserUsageDataExportTaskResult() +{} + +void DescribeUserUsageDataExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto usageDataPerPageNode = value["UsageDataPerPage"]; + if(!usageDataPerPageNode["PageSize"].isNull()) + usageDataPerPage_.pageSize = std::stoi(usageDataPerPageNode["PageSize"].asString()); + if(!usageDataPerPageNode["PageNumber"].isNull()) + usageDataPerPage_.pageNumber = std::stoi(usageDataPerPageNode["PageNumber"].asString()); + if(!usageDataPerPageNode["TotalCount"].isNull()) + usageDataPerPage_.totalCount = std::stoi(usageDataPerPageNode["TotalCount"].asString()); + auto allDataNode = usageDataPerPageNode["Data"]["DataItem"]; + for (auto usageDataPerPageNodeDataDataItem : allDataNode) + { + UsageDataPerPage::DataItem dataItemObject; + if(!usageDataPerPageNodeDataDataItem["Status"].isNull()) + dataItemObject.status = usageDataPerPageNodeDataDataItem["Status"].asString(); + if(!usageDataPerPageNodeDataDataItem["UpdateTime"].isNull()) + dataItemObject.updateTime = usageDataPerPageNodeDataDataItem["UpdateTime"].asString(); + if(!usageDataPerPageNodeDataDataItem["DownloadUrl"].isNull()) + dataItemObject.downloadUrl = usageDataPerPageNodeDataDataItem["DownloadUrl"].asString(); + if(!usageDataPerPageNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = usageDataPerPageNodeDataDataItem["CreateTime"].asString(); + if(!usageDataPerPageNodeDataDataItem["TaskName"].isNull()) + dataItemObject.taskName = usageDataPerPageNodeDataDataItem["TaskName"].asString(); + if(!usageDataPerPageNodeDataDataItem["TaskId"].isNull()) + dataItemObject.taskId = usageDataPerPageNodeDataDataItem["TaskId"].asString(); + auto taskConfigNode = value["TaskConfig"]; + if(!taskConfigNode["EndTime"].isNull()) + dataItemObject.taskConfig.endTime = taskConfigNode["EndTime"].asString(); + if(!taskConfigNode["StartTime"].isNull()) + dataItemObject.taskConfig.startTime = taskConfigNode["StartTime"].asString(); + usageDataPerPage_.data.push_back(dataItemObject); + } + +} + +DescribeUserUsageDataExportTaskResult::UsageDataPerPage DescribeUserUsageDataExportTaskResult::getUsageDataPerPage()const +{ + return usageDataPerPage_; +} + diff --git a/cdn/src/model/DescribeUserUsageDetailDataExportTaskRequest.cc b/cdn/src/model/DescribeUserUsageDetailDataExportTaskRequest.cc new file mode 100644 index 000000000..957c2353f --- /dev/null +++ b/cdn/src/model/DescribeUserUsageDetailDataExportTaskRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserUsageDetailDataExportTaskRequest; + +DescribeUserUsageDetailDataExportTaskRequest::DescribeUserUsageDetailDataExportTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeUserUsageDetailDataExportTask") { + setMethod(HttpRequest::Method::Post); +} + +DescribeUserUsageDetailDataExportTaskRequest::~DescribeUserUsageDetailDataExportTaskRequest() {} + +std::string DescribeUserUsageDetailDataExportTaskRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeUserUsageDetailDataExportTaskRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +std::string DescribeUserUsageDetailDataExportTaskRequest::getPageSize() const { + return pageSize_; +} + +void DescribeUserUsageDetailDataExportTaskRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +long DescribeUserUsageDetailDataExportTaskRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeUserUsageDetailDataExportTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc b/cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc new file mode 100644 index 000000000..8d6d2bf7f --- /dev/null +++ b/cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeUserUsageDetailDataExportTaskResult::DescribeUserUsageDetailDataExportTaskResult() : + ServiceResult() +{} + +DescribeUserUsageDetailDataExportTaskResult::DescribeUserUsageDetailDataExportTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserUsageDetailDataExportTaskResult::~DescribeUserUsageDetailDataExportTaskResult() +{} + +void DescribeUserUsageDetailDataExportTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto usageDataPerPageNode = value["UsageDataPerPage"]; + if(!usageDataPerPageNode["PageSize"].isNull()) + usageDataPerPage_.pageSize = std::stoi(usageDataPerPageNode["PageSize"].asString()); + if(!usageDataPerPageNode["PageNumber"].isNull()) + usageDataPerPage_.pageNumber = std::stoi(usageDataPerPageNode["PageNumber"].asString()); + if(!usageDataPerPageNode["TotalCount"].isNull()) + usageDataPerPage_.totalCount = std::stoi(usageDataPerPageNode["TotalCount"].asString()); + auto allDataNode = usageDataPerPageNode["Data"]["DataItem"]; + for (auto usageDataPerPageNodeDataDataItem : allDataNode) + { + UsageDataPerPage::DataItem dataItemObject; + if(!usageDataPerPageNodeDataDataItem["Status"].isNull()) + dataItemObject.status = usageDataPerPageNodeDataDataItem["Status"].asString(); + if(!usageDataPerPageNodeDataDataItem["UpdateTime"].isNull()) + dataItemObject.updateTime = usageDataPerPageNodeDataDataItem["UpdateTime"].asString(); + if(!usageDataPerPageNodeDataDataItem["DownloadUrl"].isNull()) + dataItemObject.downloadUrl = usageDataPerPageNodeDataDataItem["DownloadUrl"].asString(); + if(!usageDataPerPageNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = usageDataPerPageNodeDataDataItem["CreateTime"].asString(); + if(!usageDataPerPageNodeDataDataItem["TaskName"].isNull()) + dataItemObject.taskName = usageDataPerPageNodeDataDataItem["TaskName"].asString(); + if(!usageDataPerPageNodeDataDataItem["TaskId"].isNull()) + dataItemObject.taskId = usageDataPerPageNodeDataDataItem["TaskId"].asString(); + auto taskConfigNode = value["TaskConfig"]; + if(!taskConfigNode["EndTime"].isNull()) + dataItemObject.taskConfig.endTime = taskConfigNode["EndTime"].asString(); + if(!taskConfigNode["StartTime"].isNull()) + dataItemObject.taskConfig.startTime = taskConfigNode["StartTime"].asString(); + usageDataPerPage_.data.push_back(dataItemObject); + } + +} + +DescribeUserUsageDetailDataExportTaskResult::UsageDataPerPage DescribeUserUsageDetailDataExportTaskResult::getUsageDataPerPage()const +{ + return usageDataPerPage_; +} + diff --git a/cdn/src/model/DescribeUserVipsByDomainRequest.cc b/cdn/src/model/DescribeUserVipsByDomainRequest.cc new file mode 100644 index 000000000..b395694ee --- /dev/null +++ b/cdn/src/model/DescribeUserVipsByDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserVipsByDomainRequest; + +DescribeUserVipsByDomainRequest::DescribeUserVipsByDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeUserVipsByDomain") { + setMethod(HttpRequest::Method::Get); +} + +DescribeUserVipsByDomainRequest::~DescribeUserVipsByDomainRequest() {} + +std::string DescribeUserVipsByDomainRequest::getAvailable() const { + return available_; +} + +void DescribeUserVipsByDomainRequest::setAvailable(const std::string &available) { + available_ = available; + setParameter(std::string("Available"), available); +} + +std::string DescribeUserVipsByDomainRequest::getDomainName() const { + return domainName_; +} + +void DescribeUserVipsByDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeUserVipsByDomainRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeUserVipsByDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeUserVipsByDomainResult.cc b/cdn/src/model/DescribeUserVipsByDomainResult.cc new file mode 100644 index 000000000..d2a1996a5 --- /dev/null +++ b/cdn/src/model/DescribeUserVipsByDomainResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeUserVipsByDomainResult::DescribeUserVipsByDomainResult() : + ServiceResult() +{} + +DescribeUserVipsByDomainResult::DescribeUserVipsByDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserVipsByDomainResult::~DescribeUserVipsByDomainResult() +{} + +void DescribeUserVipsByDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVips = value["Vips"]["Vip"]; + for (const auto &item : allVips) + vips_.push_back(item.asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeUserVipsByDomainResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeUserVipsByDomainResult::getVips()const +{ + return vips_; +} + diff --git a/cdn/src/model/DescribeVerifyContentRequest.cc b/cdn/src/model/DescribeVerifyContentRequest.cc new file mode 100644 index 000000000..d6b6a9d1e --- /dev/null +++ b/cdn/src/model/DescribeVerifyContentRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeVerifyContentRequest; + +DescribeVerifyContentRequest::DescribeVerifyContentRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DescribeVerifyContent") { + setMethod(HttpRequest::Method::Post); +} + +DescribeVerifyContentRequest::~DescribeVerifyContentRequest() {} + +std::string DescribeVerifyContentRequest::getDomainName() const { + return domainName_; +} + +void DescribeVerifyContentRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeVerifyContentRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeVerifyContentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeVerifyContentResult.cc b/cdn/src/model/DescribeVerifyContentResult.cc new file mode 100644 index 000000000..f02306719 --- /dev/null +++ b/cdn/src/model/DescribeVerifyContentResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeVerifyContentResult::DescribeVerifyContentResult() : + ServiceResult() +{} + +DescribeVerifyContentResult::DescribeVerifyContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVerifyContentResult::~DescribeVerifyContentResult() +{} + +void DescribeVerifyContentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string DescribeVerifyContentResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/DisableRealtimeLogDeliveryRequest.cc b/cdn/src/model/DisableRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..3ca225ee7 --- /dev/null +++ b/cdn/src/model/DisableRealtimeLogDeliveryRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DisableRealtimeLogDeliveryRequest; + +DisableRealtimeLogDeliveryRequest::DisableRealtimeLogDeliveryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "DisableRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); +} + +DisableRealtimeLogDeliveryRequest::~DisableRealtimeLogDeliveryRequest() {} + +long DisableRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void DisableRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DisableRealtimeLogDeliveryRequest::getDomain() const { + return domain_; +} + +void DisableRealtimeLogDeliveryRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + diff --git a/cdn/src/model/DisableRealtimeLogDeliveryResult.cc b/cdn/src/model/DisableRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..d753cd64e --- /dev/null +++ b/cdn/src/model/DisableRealtimeLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DisableRealtimeLogDeliveryResult::DisableRealtimeLogDeliveryResult() : + ServiceResult() +{} + +DisableRealtimeLogDeliveryResult::DisableRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DisableRealtimeLogDeliveryResult::~DisableRealtimeLogDeliveryResult() +{} + +void DisableRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/EnableRealtimeLogDeliveryRequest.cc b/cdn/src/model/EnableRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..4f44c0369 --- /dev/null +++ b/cdn/src/model/EnableRealtimeLogDeliveryRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::EnableRealtimeLogDeliveryRequest; + +EnableRealtimeLogDeliveryRequest::EnableRealtimeLogDeliveryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "EnableRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); +} + +EnableRealtimeLogDeliveryRequest::~EnableRealtimeLogDeliveryRequest() {} + +long EnableRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void EnableRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string EnableRealtimeLogDeliveryRequest::getDomain() const { + return domain_; +} + +void EnableRealtimeLogDeliveryRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + diff --git a/cdn/src/model/EnableRealtimeLogDeliveryResult.cc b/cdn/src/model/EnableRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..ad3020e6c --- /dev/null +++ b/cdn/src/model/EnableRealtimeLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +EnableRealtimeLogDeliveryResult::EnableRealtimeLogDeliveryResult() : + ServiceResult() +{} + +EnableRealtimeLogDeliveryResult::EnableRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EnableRealtimeLogDeliveryResult::~EnableRealtimeLogDeliveryResult() +{} + +void EnableRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/ListDomainsByLogConfigIdRequest.cc b/cdn/src/model/ListDomainsByLogConfigIdRequest.cc new file mode 100644 index 000000000..f283bfb9a --- /dev/null +++ b/cdn/src/model/ListDomainsByLogConfigIdRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::ListDomainsByLogConfigIdRequest; + +ListDomainsByLogConfigIdRequest::ListDomainsByLogConfigIdRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ListDomainsByLogConfigId") { + setMethod(HttpRequest::Method::Get); +} + +ListDomainsByLogConfigIdRequest::~ListDomainsByLogConfigIdRequest() {} + +long ListDomainsByLogConfigIdRequest::getOwnerId() const { + return ownerId_; +} + +void ListDomainsByLogConfigIdRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string ListDomainsByLogConfigIdRequest::getConfigId() const { + return configId_; +} + +void ListDomainsByLogConfigIdRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); +} + diff --git a/cdn/src/model/ListDomainsByLogConfigIdResult.cc b/cdn/src/model/ListDomainsByLogConfigIdResult.cc new file mode 100644 index 000000000..ef4a5f2c4 --- /dev/null +++ b/cdn/src/model/ListDomainsByLogConfigIdResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ListDomainsByLogConfigIdResult::ListDomainsByLogConfigIdResult() : + ServiceResult() +{} + +ListDomainsByLogConfigIdResult::ListDomainsByLogConfigIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDomainsByLogConfigIdResult::~ListDomainsByLogConfigIdResult() +{} + +void ListDomainsByLogConfigIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomains = value["Domains"]["Domain"]; + for (const auto &item : allDomains) + domains_.push_back(item.asString()); + +} + +std::vector ListDomainsByLogConfigIdResult::getDomains()const +{ + return domains_; +} + diff --git a/cdn/src/model/ListFCTriggerRequest.cc b/cdn/src/model/ListFCTriggerRequest.cc new file mode 100644 index 000000000..2841944ed --- /dev/null +++ b/cdn/src/model/ListFCTriggerRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::ListFCTriggerRequest; + +ListFCTriggerRequest::ListFCTriggerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ListFCTrigger") { + setMethod(HttpRequest::Method::Get); +} + +ListFCTriggerRequest::~ListFCTriggerRequest() {} + +std::string ListFCTriggerRequest::getEventMetaVersion() const { + return eventMetaVersion_; +} + +void ListFCTriggerRequest::setEventMetaVersion(const std::string &eventMetaVersion) { + eventMetaVersion_ = eventMetaVersion; + setParameter(std::string("EventMetaVersion"), eventMetaVersion); +} + +long ListFCTriggerRequest::getOwnerId() const { + return ownerId_; +} + +void ListFCTriggerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string ListFCTriggerRequest::getEventMetaName() const { + return eventMetaName_; +} + +void ListFCTriggerRequest::setEventMetaName(const std::string &eventMetaName) { + eventMetaName_ = eventMetaName; + setParameter(std::string("EventMetaName"), eventMetaName); +} + diff --git a/cdn/src/model/ListFCTriggerResult.cc b/cdn/src/model/ListFCTriggerResult.cc new file mode 100644 index 000000000..57140d2b0 --- /dev/null +++ b/cdn/src/model/ListFCTriggerResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ListFCTriggerResult::ListFCTriggerResult() : + ServiceResult() +{} + +ListFCTriggerResult::ListFCTriggerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFCTriggerResult::~ListFCTriggerResult() +{} + +void ListFCTriggerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFCTriggersNode = value["FCTriggers"]["FCTrigger"]; + for (auto valueFCTriggersFCTrigger : allFCTriggersNode) + { + FCTrigger fCTriggersObject; + if(!valueFCTriggersFCTrigger["TriggerARN"].isNull()) + fCTriggersObject.triggerARN = valueFCTriggersFCTrigger["TriggerARN"].asString(); + if(!valueFCTriggersFCTrigger["RoleARN"].isNull()) + fCTriggersObject.roleARN = valueFCTriggersFCTrigger["RoleARN"].asString(); + if(!valueFCTriggersFCTrigger["SourceArn"].isNull()) + fCTriggersObject.sourceArn = valueFCTriggersFCTrigger["SourceArn"].asString(); + if(!valueFCTriggersFCTrigger["Notes"].isNull()) + fCTriggersObject.notes = valueFCTriggersFCTrigger["Notes"].asString(); + if(!valueFCTriggersFCTrigger["EventMetaName"].isNull()) + fCTriggersObject.eventMetaName = valueFCTriggersFCTrigger["EventMetaName"].asString(); + if(!valueFCTriggersFCTrigger["EventMetaVersion"].isNull()) + fCTriggersObject.eventMetaVersion = valueFCTriggersFCTrigger["EventMetaVersion"].asString(); + fCTriggers_.push_back(fCTriggersObject); + } + +} + +std::vector ListFCTriggerResult::getFCTriggers()const +{ + return fCTriggers_; +} + diff --git a/cdn/src/model/ListRealtimeLogDeliveryDomainsRequest.cc b/cdn/src/model/ListRealtimeLogDeliveryDomainsRequest.cc new file mode 100644 index 000000000..8f5f5425e --- /dev/null +++ b/cdn/src/model/ListRealtimeLogDeliveryDomainsRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::ListRealtimeLogDeliveryDomainsRequest; + +ListRealtimeLogDeliveryDomainsRequest::ListRealtimeLogDeliveryDomainsRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ListRealtimeLogDeliveryDomains") { + setMethod(HttpRequest::Method::Get); +} + +ListRealtimeLogDeliveryDomainsRequest::~ListRealtimeLogDeliveryDomainsRequest() {} + +std::string ListRealtimeLogDeliveryDomainsRequest::getProject() const { + return project_; +} + +void ListRealtimeLogDeliveryDomainsRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); +} + +long ListRealtimeLogDeliveryDomainsRequest::getOwnerId() const { + return ownerId_; +} + +void ListRealtimeLogDeliveryDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string ListRealtimeLogDeliveryDomainsRequest::getRegion() const { + return region_; +} + +void ListRealtimeLogDeliveryDomainsRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + +std::string ListRealtimeLogDeliveryDomainsRequest::getLogstore() const { + return logstore_; +} + +void ListRealtimeLogDeliveryDomainsRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); +} + diff --git a/cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc b/cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc new file mode 100644 index 000000000..817ef794c --- /dev/null +++ b/cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ListRealtimeLogDeliveryDomainsResult::ListRealtimeLogDeliveryDomainsResult() : + ServiceResult() +{} + +ListRealtimeLogDeliveryDomainsResult::ListRealtimeLogDeliveryDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRealtimeLogDeliveryDomainsResult::~ListRealtimeLogDeliveryDomainsResult() +{} + +void ListRealtimeLogDeliveryDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Domains"]; + for (auto valueContentDomains : allContentNode) + { + Domains contentObject; + if(!valueContentDomains["Status"].isNull()) + contentObject.status = valueContentDomains["Status"].asString(); + if(!valueContentDomains["DomainName"].isNull()) + contentObject.domainName = valueContentDomains["DomainName"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector ListRealtimeLogDeliveryDomainsResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/ListRealtimeLogDeliveryInfosRequest.cc b/cdn/src/model/ListRealtimeLogDeliveryInfosRequest.cc new file mode 100644 index 000000000..75b41b783 --- /dev/null +++ b/cdn/src/model/ListRealtimeLogDeliveryInfosRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::ListRealtimeLogDeliveryInfosRequest; + +ListRealtimeLogDeliveryInfosRequest::ListRealtimeLogDeliveryInfosRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ListRealtimeLogDeliveryInfos") { + setMethod(HttpRequest::Method::Get); +} + +ListRealtimeLogDeliveryInfosRequest::~ListRealtimeLogDeliveryInfosRequest() {} + +long ListRealtimeLogDeliveryInfosRequest::getOwnerId() const { + return ownerId_; +} + +void ListRealtimeLogDeliveryInfosRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc b/cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc new file mode 100644 index 000000000..96c6539a3 --- /dev/null +++ b/cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ListRealtimeLogDeliveryInfosResult::ListRealtimeLogDeliveryInfosResult() : + ServiceResult() +{} + +ListRealtimeLogDeliveryInfosResult::ListRealtimeLogDeliveryInfosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRealtimeLogDeliveryInfosResult::~ListRealtimeLogDeliveryInfosResult() +{} + +void ListRealtimeLogDeliveryInfosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["RealtimeLogDeliveryInfos"]; + for (auto valueContentRealtimeLogDeliveryInfos : allContentNode) + { + RealtimeLogDeliveryInfos contentObject; + if(!valueContentRealtimeLogDeliveryInfos["Logstore"].isNull()) + contentObject.logstore = valueContentRealtimeLogDeliveryInfos["Logstore"].asString(); + if(!valueContentRealtimeLogDeliveryInfos["Project"].isNull()) + contentObject.project = valueContentRealtimeLogDeliveryInfos["Project"].asString(); + if(!valueContentRealtimeLogDeliveryInfos["Region"].isNull()) + contentObject.region = valueContentRealtimeLogDeliveryInfos["Region"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector ListRealtimeLogDeliveryInfosResult::getContent()const +{ + return content_; +} + diff --git a/cdn/src/model/ListUserCustomLogConfigRequest.cc b/cdn/src/model/ListUserCustomLogConfigRequest.cc new file mode 100644 index 000000000..fbf8c02bf --- /dev/null +++ b/cdn/src/model/ListUserCustomLogConfigRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::ListUserCustomLogConfigRequest; + +ListUserCustomLogConfigRequest::ListUserCustomLogConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ListUserCustomLogConfig") { + setMethod(HttpRequest::Method::Get); +} + +ListUserCustomLogConfigRequest::~ListUserCustomLogConfigRequest() {} + +long ListUserCustomLogConfigRequest::getOwnerId() const { + return ownerId_; +} + +void ListUserCustomLogConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/ListUserCustomLogConfigResult.cc b/cdn/src/model/ListUserCustomLogConfigResult.cc new file mode 100644 index 000000000..5b42a798f --- /dev/null +++ b/cdn/src/model/ListUserCustomLogConfigResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ListUserCustomLogConfigResult::ListUserCustomLogConfigResult() : + ServiceResult() +{} + +ListUserCustomLogConfigResult::ListUserCustomLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListUserCustomLogConfigResult::~ListUserCustomLogConfigResult() +{} + +void ListUserCustomLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConfigIds = value["ConfigIds"]["ConfigId"]; + for (const auto &item : allConfigIds) + configIds_.push_back(item.asString()); + +} + +std::vector ListUserCustomLogConfigResult::getConfigIds()const +{ + return configIds_; +} + diff --git a/cdn/src/model/ModifyCdnDomainRequest.cc b/cdn/src/model/ModifyCdnDomainRequest.cc new file mode 100644 index 000000000..445d92fbf --- /dev/null +++ b/cdn/src/model/ModifyCdnDomainRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::ModifyCdnDomainRequest; + +ModifyCdnDomainRequest::ModifyCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ModifyCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +ModifyCdnDomainRequest::~ModifyCdnDomainRequest() {} + +std::string ModifyCdnDomainRequest::getSources() const { + return sources_; +} + +void ModifyCdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); +} + +std::string ModifyCdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void ModifyCdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +std::string ModifyCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void ModifyCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string ModifyCdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; +} + +void ModifyCdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); +} + +std::string ModifyCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void ModifyCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long ModifyCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void ModifyCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/ModifyCdnDomainResult.cc b/cdn/src/model/ModifyCdnDomainResult.cc new file mode 100644 index 000000000..41bdca2eb --- /dev/null +++ b/cdn/src/model/ModifyCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ModifyCdnDomainResult::ModifyCdnDomainResult() : + ServiceResult() +{} + +ModifyCdnDomainResult::ModifyCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCdnDomainResult::~ModifyCdnDomainResult() +{} + +void ModifyCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/ModifyCdnDomainSchdmByPropertyRequest.cc b/cdn/src/model/ModifyCdnDomainSchdmByPropertyRequest.cc new file mode 100644 index 000000000..26da7888d --- /dev/null +++ b/cdn/src/model/ModifyCdnDomainSchdmByPropertyRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::ModifyCdnDomainSchdmByPropertyRequest; + +ModifyCdnDomainSchdmByPropertyRequest::ModifyCdnDomainSchdmByPropertyRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ModifyCdnDomainSchdmByProperty") { + setMethod(HttpRequest::Method::Post); +} + +ModifyCdnDomainSchdmByPropertyRequest::~ModifyCdnDomainSchdmByPropertyRequest() {} + +std::string ModifyCdnDomainSchdmByPropertyRequest::getProperty() const { + return property_; +} + +void ModifyCdnDomainSchdmByPropertyRequest::setProperty(const std::string &property) { + property_ = property; + setParameter(std::string("Property"), property); +} + +std::string ModifyCdnDomainSchdmByPropertyRequest::getDomainName() const { + return domainName_; +} + +void ModifyCdnDomainSchdmByPropertyRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long ModifyCdnDomainSchdmByPropertyRequest::getOwnerId() const { + return ownerId_; +} + +void ModifyCdnDomainSchdmByPropertyRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc b/cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc new file mode 100644 index 000000000..1d13626aa --- /dev/null +++ b/cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ModifyCdnDomainSchdmByPropertyResult::ModifyCdnDomainSchdmByPropertyResult() : + ServiceResult() +{} + +ModifyCdnDomainSchdmByPropertyResult::ModifyCdnDomainSchdmByPropertyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCdnDomainSchdmByPropertyResult::~ModifyCdnDomainSchdmByPropertyResult() +{} + +void ModifyCdnDomainSchdmByPropertyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/ModifyRealtimeLogDeliveryRequest.cc b/cdn/src/model/ModifyRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..3ef130c92 --- /dev/null +++ b/cdn/src/model/ModifyRealtimeLogDeliveryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::ModifyRealtimeLogDeliveryRequest; + +ModifyRealtimeLogDeliveryRequest::ModifyRealtimeLogDeliveryRequest() + : RpcServiceRequest("cdn", "2018-05-10", "ModifyRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); +} + +ModifyRealtimeLogDeliveryRequest::~ModifyRealtimeLogDeliveryRequest() {} + +std::string ModifyRealtimeLogDeliveryRequest::getProject() const { + return project_; +} + +void ModifyRealtimeLogDeliveryRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); +} + +long ModifyRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void ModifyRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string ModifyRealtimeLogDeliveryRequest::getDomain() const { + return domain_; +} + +void ModifyRealtimeLogDeliveryRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + +std::string ModifyRealtimeLogDeliveryRequest::getRegion() const { + return region_; +} + +void ModifyRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + +std::string ModifyRealtimeLogDeliveryRequest::getLogstore() const { + return logstore_; +} + +void ModifyRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); +} + diff --git a/cdn/src/model/ModifyRealtimeLogDeliveryResult.cc b/cdn/src/model/ModifyRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..ebe5dcf77 --- /dev/null +++ b/cdn/src/model/ModifyRealtimeLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +ModifyRealtimeLogDeliveryResult::ModifyRealtimeLogDeliveryResult() : + ServiceResult() +{} + +ModifyRealtimeLogDeliveryResult::ModifyRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyRealtimeLogDeliveryResult::~ModifyRealtimeLogDeliveryResult() +{} + +void ModifyRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/PublishStagingConfigToProductionRequest.cc b/cdn/src/model/PublishStagingConfigToProductionRequest.cc new file mode 100644 index 000000000..999d73b8b --- /dev/null +++ b/cdn/src/model/PublishStagingConfigToProductionRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::PublishStagingConfigToProductionRequest; + +PublishStagingConfigToProductionRequest::PublishStagingConfigToProductionRequest() + : RpcServiceRequest("cdn", "2018-05-10", "PublishStagingConfigToProduction") { + setMethod(HttpRequest::Method::Post); +} + +PublishStagingConfigToProductionRequest::~PublishStagingConfigToProductionRequest() {} + +std::string PublishStagingConfigToProductionRequest::getDomainName() const { + return domainName_; +} + +void PublishStagingConfigToProductionRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long PublishStagingConfigToProductionRequest::getOwnerId() const { + return ownerId_; +} + +void PublishStagingConfigToProductionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/PublishStagingConfigToProductionResult.cc b/cdn/src/model/PublishStagingConfigToProductionResult.cc new file mode 100644 index 000000000..14317a168 --- /dev/null +++ b/cdn/src/model/PublishStagingConfigToProductionResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +PublishStagingConfigToProductionResult::PublishStagingConfigToProductionResult() : + ServiceResult() +{} + +PublishStagingConfigToProductionResult::PublishStagingConfigToProductionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PublishStagingConfigToProductionResult::~PublishStagingConfigToProductionResult() +{} + +void PublishStagingConfigToProductionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/RollbackStagingConfigRequest.cc b/cdn/src/model/RollbackStagingConfigRequest.cc new file mode 100644 index 000000000..67d4c7b79 --- /dev/null +++ b/cdn/src/model/RollbackStagingConfigRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::RollbackStagingConfigRequest; + +RollbackStagingConfigRequest::RollbackStagingConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "RollbackStagingConfig") { + setMethod(HttpRequest::Method::Post); +} + +RollbackStagingConfigRequest::~RollbackStagingConfigRequest() {} + +std::string RollbackStagingConfigRequest::getDomainName() const { + return domainName_; +} + +void RollbackStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long RollbackStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void RollbackStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/RollbackStagingConfigResult.cc b/cdn/src/model/RollbackStagingConfigResult.cc new file mode 100644 index 000000000..20733500d --- /dev/null +++ b/cdn/src/model/RollbackStagingConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +RollbackStagingConfigResult::RollbackStagingConfigResult() : + ServiceResult() +{} + +RollbackStagingConfigResult::RollbackStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RollbackStagingConfigResult::~RollbackStagingConfigResult() +{} + +void RollbackStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetCdnDomainCSRCertificateRequest.cc b/cdn/src/model/SetCdnDomainCSRCertificateRequest.cc new file mode 100644 index 000000000..b5353cedb --- /dev/null +++ b/cdn/src/model/SetCdnDomainCSRCertificateRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetCdnDomainCSRCertificateRequest; + +SetCdnDomainCSRCertificateRequest::SetCdnDomainCSRCertificateRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetCdnDomainCSRCertificate") { + setMethod(HttpRequest::Method::Post); +} + +SetCdnDomainCSRCertificateRequest::~SetCdnDomainCSRCertificateRequest() {} + +std::string SetCdnDomainCSRCertificateRequest::getServerCertificate() const { + return serverCertificate_; +} + +void SetCdnDomainCSRCertificateRequest::setServerCertificate(const std::string &serverCertificate) { + serverCertificate_ = serverCertificate; + setParameter(std::string("ServerCertificate"), serverCertificate); +} + +std::string SetCdnDomainCSRCertificateRequest::getDomainName() const { + return domainName_; +} + +void SetCdnDomainCSRCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long SetCdnDomainCSRCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void SetCdnDomainCSRCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetCdnDomainCSRCertificateResult.cc b/cdn/src/model/SetCdnDomainCSRCertificateResult.cc new file mode 100644 index 000000000..e2970d236 --- /dev/null +++ b/cdn/src/model/SetCdnDomainCSRCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetCdnDomainCSRCertificateResult::SetCdnDomainCSRCertificateResult() : + ServiceResult() +{} + +SetCdnDomainCSRCertificateResult::SetCdnDomainCSRCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCdnDomainCSRCertificateResult::~SetCdnDomainCSRCertificateResult() +{} + +void SetCdnDomainCSRCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetCdnDomainSMCertificateRequest.cc b/cdn/src/model/SetCdnDomainSMCertificateRequest.cc new file mode 100644 index 000000000..54e07daf0 --- /dev/null +++ b/cdn/src/model/SetCdnDomainSMCertificateRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetCdnDomainSMCertificateRequest; + +SetCdnDomainSMCertificateRequest::SetCdnDomainSMCertificateRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetCdnDomainSMCertificate") { + setMethod(HttpRequest::Method::Post); +} + +SetCdnDomainSMCertificateRequest::~SetCdnDomainSMCertificateRequest() {} + +std::string SetCdnDomainSMCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; +} + +void SetCdnDomainSMCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); +} + +std::string SetCdnDomainSMCertificateRequest::getDomainName() const { + return domainName_; +} + +void SetCdnDomainSMCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long SetCdnDomainSMCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void SetCdnDomainSMCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string SetCdnDomainSMCertificateRequest::getSecurityToken() const { + return securityToken_; +} + +void SetCdnDomainSMCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string SetCdnDomainSMCertificateRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void SetCdnDomainSMCertificateRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); +} + diff --git a/cdn/src/model/SetCdnDomainSMCertificateResult.cc b/cdn/src/model/SetCdnDomainSMCertificateResult.cc new file mode 100644 index 000000000..2cc3d50cc --- /dev/null +++ b/cdn/src/model/SetCdnDomainSMCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetCdnDomainSMCertificateResult::SetCdnDomainSMCertificateResult() : + ServiceResult() +{} + +SetCdnDomainSMCertificateResult::SetCdnDomainSMCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCdnDomainSMCertificateResult::~SetCdnDomainSMCertificateResult() +{} + +void SetCdnDomainSMCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetCdnDomainStagingConfigRequest.cc b/cdn/src/model/SetCdnDomainStagingConfigRequest.cc new file mode 100644 index 000000000..2f08ab921 --- /dev/null +++ b/cdn/src/model/SetCdnDomainStagingConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetCdnDomainStagingConfigRequest; + +SetCdnDomainStagingConfigRequest::SetCdnDomainStagingConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetCdnDomainStagingConfig") { + setMethod(HttpRequest::Method::Post); +} + +SetCdnDomainStagingConfigRequest::~SetCdnDomainStagingConfigRequest() {} + +std::string SetCdnDomainStagingConfigRequest::getFunctions() const { + return functions_; +} + +void SetCdnDomainStagingConfigRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); +} + +std::string SetCdnDomainStagingConfigRequest::getDomainName() const { + return domainName_; +} + +void SetCdnDomainStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long SetCdnDomainStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void SetCdnDomainStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetCdnDomainStagingConfigResult.cc b/cdn/src/model/SetCdnDomainStagingConfigResult.cc new file mode 100644 index 000000000..bf4ce9fd7 --- /dev/null +++ b/cdn/src/model/SetCdnDomainStagingConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetCdnDomainStagingConfigResult::SetCdnDomainStagingConfigResult() : + ServiceResult() +{} + +SetCdnDomainStagingConfigResult::SetCdnDomainStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCdnDomainStagingConfigResult::~SetCdnDomainStagingConfigResult() +{} + +void SetCdnDomainStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetConfigOfVersionRequest.cc b/cdn/src/model/SetConfigOfVersionRequest.cc new file mode 100644 index 000000000..cde7decd8 --- /dev/null +++ b/cdn/src/model/SetConfigOfVersionRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetConfigOfVersionRequest; + +SetConfigOfVersionRequest::SetConfigOfVersionRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetConfigOfVersion") { + setMethod(HttpRequest::Method::Post); +} + +SetConfigOfVersionRequest::~SetConfigOfVersionRequest() {} + +std::string SetConfigOfVersionRequest::getVersionId() const { + return versionId_; +} + +void SetConfigOfVersionRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); +} + +std::string SetConfigOfVersionRequest::getSecurityToken() const { + return securityToken_; +} + +void SetConfigOfVersionRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string SetConfigOfVersionRequest::getFunctionName() const { + return functionName_; +} + +void SetConfigOfVersionRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); +} + +std::string SetConfigOfVersionRequest::getFunctionArgs() const { + return functionArgs_; +} + +void SetConfigOfVersionRequest::setFunctionArgs(const std::string &functionArgs) { + functionArgs_ = functionArgs; + setParameter(std::string("FunctionArgs"), functionArgs); +} + +std::string SetConfigOfVersionRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void SetConfigOfVersionRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +long SetConfigOfVersionRequest::getOwnerId() const { + return ownerId_; +} + +void SetConfigOfVersionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +long SetConfigOfVersionRequest::getFunctionId() const { + return functionId_; +} + +void SetConfigOfVersionRequest::setFunctionId(long functionId) { + functionId_ = functionId; + setParameter(std::string("FunctionId"), std::to_string(functionId)); +} + +std::string SetConfigOfVersionRequest::getConfigId() const { + return configId_; +} + +void SetConfigOfVersionRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); +} + diff --git a/cdn/src/model/SetConfigOfVersionResult.cc b/cdn/src/model/SetConfigOfVersionResult.cc new file mode 100644 index 000000000..497da4645 --- /dev/null +++ b/cdn/src/model/SetConfigOfVersionResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetConfigOfVersionResult::SetConfigOfVersionResult() : + ServiceResult() +{} + +SetConfigOfVersionResult::SetConfigOfVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetConfigOfVersionResult::~SetConfigOfVersionResult() +{} + +void SetConfigOfVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetDomainServerCertificateRequest.cc b/cdn/src/model/SetDomainServerCertificateRequest.cc new file mode 100644 index 000000000..501fd75d3 --- /dev/null +++ b/cdn/src/model/SetDomainServerCertificateRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetDomainServerCertificateRequest; + +SetDomainServerCertificateRequest::SetDomainServerCertificateRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetDomainServerCertificate") { + setMethod(HttpRequest::Method::Post); +} + +SetDomainServerCertificateRequest::~SetDomainServerCertificateRequest() {} + +std::string SetDomainServerCertificateRequest::getServerCertificate() const { + return serverCertificate_; +} + +void SetDomainServerCertificateRequest::setServerCertificate(const std::string &serverCertificate) { + serverCertificate_ = serverCertificate; + setParameter(std::string("ServerCertificate"), serverCertificate); +} + +std::string SetDomainServerCertificateRequest::getPrivateKey() const { + return privateKey_; +} + +void SetDomainServerCertificateRequest::setPrivateKey(const std::string &privateKey) { + privateKey_ = privateKey; + setParameter(std::string("PrivateKey"), privateKey); +} + +std::string SetDomainServerCertificateRequest::getServerCertificateStatus() const { + return serverCertificateStatus_; +} + +void SetDomainServerCertificateRequest::setServerCertificateStatus(const std::string &serverCertificateStatus) { + serverCertificateStatus_ = serverCertificateStatus; + setParameter(std::string("ServerCertificateStatus"), serverCertificateStatus); +} + +std::string SetDomainServerCertificateRequest::getSecurityToken() const { + return securityToken_; +} + +void SetDomainServerCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string SetDomainServerCertificateRequest::getCertType() const { + return certType_; +} + +void SetDomainServerCertificateRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); +} + +std::string SetDomainServerCertificateRequest::getForceSet() const { + return forceSet_; +} + +void SetDomainServerCertificateRequest::setForceSet(const std::string &forceSet) { + forceSet_ = forceSet; + setParameter(std::string("ForceSet"), forceSet); +} + +std::string SetDomainServerCertificateRequest::getCertName() const { + return certName_; +} + +void SetDomainServerCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); +} + +std::string SetDomainServerCertificateRequest::getDomainName() const { + return domainName_; +} + +void SetDomainServerCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long SetDomainServerCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void SetDomainServerCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetDomainServerCertificateResult.cc b/cdn/src/model/SetDomainServerCertificateResult.cc new file mode 100644 index 000000000..65b5efa96 --- /dev/null +++ b/cdn/src/model/SetDomainServerCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetDomainServerCertificateResult::SetDomainServerCertificateResult() : + ServiceResult() +{} + +SetDomainServerCertificateResult::SetDomainServerCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDomainServerCertificateResult::~SetDomainServerCertificateResult() +{} + +void SetDomainServerCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetReqHeaderConfigRequest.cc b/cdn/src/model/SetReqHeaderConfigRequest.cc new file mode 100644 index 000000000..4c8237889 --- /dev/null +++ b/cdn/src/model/SetReqHeaderConfigRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetReqHeaderConfigRequest; + +SetReqHeaderConfigRequest::SetReqHeaderConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetReqHeaderConfig") { + setMethod(HttpRequest::Method::Post); +} + +SetReqHeaderConfigRequest::~SetReqHeaderConfigRequest() {} + +std::string SetReqHeaderConfigRequest::getSecurityToken() const { + return securityToken_; +} + +void SetReqHeaderConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string SetReqHeaderConfigRequest::getValue() const { + return value_; +} + +void SetReqHeaderConfigRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); +} + +std::string SetReqHeaderConfigRequest::getKey() const { + return key_; +} + +void SetReqHeaderConfigRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + +std::string SetReqHeaderConfigRequest::getDomainName() const { + return domainName_; +} + +void SetReqHeaderConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long SetReqHeaderConfigRequest::getOwnerId() const { + return ownerId_; +} + +void SetReqHeaderConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +long SetReqHeaderConfigRequest::getConfigId() const { + return configId_; +} + +void SetReqHeaderConfigRequest::setConfigId(long configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), std::to_string(configId)); +} + diff --git a/cdn/src/model/SetReqHeaderConfigResult.cc b/cdn/src/model/SetReqHeaderConfigResult.cc new file mode 100644 index 000000000..4beaf7ce0 --- /dev/null +++ b/cdn/src/model/SetReqHeaderConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetReqHeaderConfigResult::SetReqHeaderConfigResult() : + ServiceResult() +{} + +SetReqHeaderConfigResult::SetReqHeaderConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetReqHeaderConfigResult::~SetReqHeaderConfigResult() +{} + +void SetReqHeaderConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/SetWaitingRoomConfigRequest.cc b/cdn/src/model/SetWaitingRoomConfigRequest.cc new file mode 100644 index 000000000..655ec562d --- /dev/null +++ b/cdn/src/model/SetWaitingRoomConfigRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::SetWaitingRoomConfigRequest; + +SetWaitingRoomConfigRequest::SetWaitingRoomConfigRequest() + : RpcServiceRequest("cdn", "2018-05-10", "SetWaitingRoomConfig") { + setMethod(HttpRequest::Method::Post); +} + +SetWaitingRoomConfigRequest::~SetWaitingRoomConfigRequest() {} + +std::string SetWaitingRoomConfigRequest::getWaitUrl() const { + return waitUrl_; +} + +void SetWaitingRoomConfigRequest::setWaitUrl(const std::string &waitUrl) { + waitUrl_ = waitUrl; + setParameter(std::string("WaitUrl"), waitUrl); +} + +std::string SetWaitingRoomConfigRequest::getWaitUri() const { + return waitUri_; +} + +void SetWaitingRoomConfigRequest::setWaitUri(const std::string &waitUri) { + waitUri_ = waitUri; + setParameter(std::string("WaitUri"), waitUri); +} + +int SetWaitingRoomConfigRequest::getMaxTimeWait() const { + return maxTimeWait_; +} + +void SetWaitingRoomConfigRequest::setMaxTimeWait(int maxTimeWait) { + maxTimeWait_ = maxTimeWait; + setParameter(std::string("MaxTimeWait"), std::to_string(maxTimeWait)); +} + +std::string SetWaitingRoomConfigRequest::getDomainName() const { + return domainName_; +} + +void SetWaitingRoomConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +int SetWaitingRoomConfigRequest::getAllowPct() const { + return allowPct_; +} + +void SetWaitingRoomConfigRequest::setAllowPct(int allowPct) { + allowPct_ = allowPct; + setParameter(std::string("AllowPct"), std::to_string(allowPct)); +} + +int SetWaitingRoomConfigRequest::getGapTime() const { + return gapTime_; +} + +void SetWaitingRoomConfigRequest::setGapTime(int gapTime) { + gapTime_ = gapTime; + setParameter(std::string("GapTime"), std::to_string(gapTime)); +} + +long SetWaitingRoomConfigRequest::getOwnerId() const { + return ownerId_; +} + +void SetWaitingRoomConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetWaitingRoomConfigResult.cc b/cdn/src/model/SetWaitingRoomConfigResult.cc new file mode 100644 index 000000000..cc297b26a --- /dev/null +++ b/cdn/src/model/SetWaitingRoomConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +SetWaitingRoomConfigResult::SetWaitingRoomConfigResult() : + ServiceResult() +{} + +SetWaitingRoomConfigResult::SetWaitingRoomConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetWaitingRoomConfigResult::~SetWaitingRoomConfigResult() +{} + +void SetWaitingRoomConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/StartCdnDomainRequest.cc b/cdn/src/model/StartCdnDomainRequest.cc new file mode 100644 index 000000000..2faa47d1e --- /dev/null +++ b/cdn/src/model/StartCdnDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::StartCdnDomainRequest; + +StartCdnDomainRequest::StartCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "StartCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +StartCdnDomainRequest::~StartCdnDomainRequest() {} + +std::string StartCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void StartCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string StartCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void StartCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long StartCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void StartCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/StartCdnDomainResult.cc b/cdn/src/model/StartCdnDomainResult.cc new file mode 100644 index 000000000..e769a14fe --- /dev/null +++ b/cdn/src/model/StartCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +StartCdnDomainResult::StartCdnDomainResult() : + ServiceResult() +{} + +StartCdnDomainResult::StartCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartCdnDomainResult::~StartCdnDomainResult() +{} + +void StartCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/StopCdnDomainRequest.cc b/cdn/src/model/StopCdnDomainRequest.cc new file mode 100644 index 000000000..d6be935a1 --- /dev/null +++ b/cdn/src/model/StopCdnDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::StopCdnDomainRequest; + +StopCdnDomainRequest::StopCdnDomainRequest() + : RpcServiceRequest("cdn", "2018-05-10", "StopCdnDomain") { + setMethod(HttpRequest::Method::Post); +} + +StopCdnDomainRequest::~StopCdnDomainRequest() {} + +std::string StopCdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void StopCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string StopCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void StopCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long StopCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void StopCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/StopCdnDomainResult.cc b/cdn/src/model/StopCdnDomainResult.cc new file mode 100644 index 000000000..e9747ab88 --- /dev/null +++ b/cdn/src/model/StopCdnDomainResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +StopCdnDomainResult::StopCdnDomainResult() : + ServiceResult() +{} + +StopCdnDomainResult::StopCdnDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopCdnDomainResult::~StopCdnDomainResult() +{} + +void StopCdnDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/TagResourcesRequest.cc b/cdn/src/model/TagResourcesRequest.cc new file mode 100644 index 000000000..a03cf3cfa --- /dev/null +++ b/cdn/src/model/TagResourcesRequest.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::TagResourcesRequest; + +TagResourcesRequest::TagResourcesRequest() + : RpcServiceRequest("cdn", "2018-05-10", "TagResources") { + setMethod(HttpRequest::Method::Post); +} + +TagResourcesRequest::~TagResourcesRequest() {} + +std::vector TagResourcesRequest::getTag() const { + return tag_; +} + +void TagResourcesRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } +} + +std::vector TagResourcesRequest::getResourceId() const { + return resourceId_; +} + +void TagResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; +} + +long TagResourcesRequest::getOwnerId() const { + return ownerId_; +} + +void TagResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string TagResourcesRequest::getResourceType() const { + return resourceType_; +} + +void TagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); +} + diff --git a/cdn/src/model/TagResourcesResult.cc b/cdn/src/model/TagResourcesResult.cc new file mode 100644 index 000000000..d8bf790e9 --- /dev/null +++ b/cdn/src/model/TagResourcesResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +TagResourcesResult::TagResourcesResult() : + ServiceResult() +{} + +TagResourcesResult::TagResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TagResourcesResult::~TagResourcesResult() +{} + +void TagResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/UntagResourcesRequest.cc b/cdn/src/model/UntagResourcesRequest.cc new file mode 100644 index 000000000..7b888fa1f --- /dev/null +++ b/cdn/src/model/UntagResourcesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::UntagResourcesRequest; + +UntagResourcesRequest::UntagResourcesRequest() + : RpcServiceRequest("cdn", "2018-05-10", "UntagResources") { + setMethod(HttpRequest::Method::Post); +} + +UntagResourcesRequest::~UntagResourcesRequest() {} + +bool UntagResourcesRequest::getAll() const { + return all_; +} + +void UntagResourcesRequest::setAll(bool all) { + all_ = all; + setParameter(std::string("All"), all ? "true" : "false"); +} + +std::vector UntagResourcesRequest::getResourceId() const { + return resourceId_; +} + +void UntagResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; +} + +long UntagResourcesRequest::getOwnerId() const { + return ownerId_; +} + +void UntagResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string UntagResourcesRequest::getResourceType() const { + return resourceType_; +} + +void UntagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); +} + +std::vector UntagResourcesRequest::getTagKey() const { + return tagKey_; +} + +void UntagResourcesRequest::setTagKey(const std::vector &tagKey) { + tagKey_ = tagKey; +} + diff --git a/cdn/src/model/UntagResourcesResult.cc b/cdn/src/model/UntagResourcesResult.cc new file mode 100644 index 000000000..7968f5b7c --- /dev/null +++ b/cdn/src/model/UntagResourcesResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +UntagResourcesResult::UntagResourcesResult() : + ServiceResult() +{} + +UntagResourcesResult::UntagResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UntagResourcesResult::~UntagResourcesResult() +{} + +void UntagResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/UpdateCdnDeliverTaskRequest.cc b/cdn/src/model/UpdateCdnDeliverTaskRequest.cc new file mode 100644 index 000000000..52ed805d2 --- /dev/null +++ b/cdn/src/model/UpdateCdnDeliverTaskRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::UpdateCdnDeliverTaskRequest; + +UpdateCdnDeliverTaskRequest::UpdateCdnDeliverTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnDeliverTask") { + setMethod(HttpRequest::Method::Post); +} + +UpdateCdnDeliverTaskRequest::~UpdateCdnDeliverTaskRequest() {} + +std::string UpdateCdnDeliverTaskRequest::getReports() const { + return reports_; +} + +void UpdateCdnDeliverTaskRequest::setReports(const std::string &reports) { + reports_ = reports; + setBodyParameter(std::string("Reports"), reports); +} + +std::string UpdateCdnDeliverTaskRequest::getDeliver() const { + return deliver_; +} + +void UpdateCdnDeliverTaskRequest::setDeliver(const std::string &deliver) { + deliver_ = deliver; + setBodyParameter(std::string("Deliver"), deliver); +} + +long UpdateCdnDeliverTaskRequest::getDeliverId() const { + return deliverId_; +} + +void UpdateCdnDeliverTaskRequest::setDeliverId(long deliverId) { + deliverId_ = deliverId; + setBodyParameter(std::string("DeliverId"), std::to_string(deliverId)); +} + +std::string UpdateCdnDeliverTaskRequest::getDomainName() const { + return domainName_; +} + +void UpdateCdnDeliverTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); +} + +long UpdateCdnDeliverTaskRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateCdnDeliverTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string UpdateCdnDeliverTaskRequest::getSchedule() const { + return schedule_; +} + +void UpdateCdnDeliverTaskRequest::setSchedule(const std::string &schedule) { + schedule_ = schedule; + setBodyParameter(std::string("Schedule"), schedule); +} + +std::string UpdateCdnDeliverTaskRequest::getName() const { + return name_; +} + +void UpdateCdnDeliverTaskRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); +} + diff --git a/cdn/src/model/UpdateCdnDeliverTaskResult.cc b/cdn/src/model/UpdateCdnDeliverTaskResult.cc new file mode 100644 index 000000000..e55b5f062 --- /dev/null +++ b/cdn/src/model/UpdateCdnDeliverTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +UpdateCdnDeliverTaskResult::UpdateCdnDeliverTaskResult() : + ServiceResult() +{} + +UpdateCdnDeliverTaskResult::UpdateCdnDeliverTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCdnDeliverTaskResult::~UpdateCdnDeliverTaskResult() +{} + +void UpdateCdnDeliverTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/UpdateCdnSubTaskRequest.cc b/cdn/src/model/UpdateCdnSubTaskRequest.cc new file mode 100644 index 000000000..010b75604 --- /dev/null +++ b/cdn/src/model/UpdateCdnSubTaskRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::UpdateCdnSubTaskRequest; + +UpdateCdnSubTaskRequest::UpdateCdnSubTaskRequest() + : RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnSubTask") { + setMethod(HttpRequest::Method::Post); +} + +UpdateCdnSubTaskRequest::~UpdateCdnSubTaskRequest() {} + +std::string UpdateCdnSubTaskRequest::getStartTime() const { + return startTime_; +} + +void UpdateCdnSubTaskRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), startTime); +} + +std::string UpdateCdnSubTaskRequest::getDomainName() const { + return domainName_; +} + +void UpdateCdnSubTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); +} + +std::string UpdateCdnSubTaskRequest::getEndTime() const { + return endTime_; +} + +void UpdateCdnSubTaskRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), endTime); +} + +long UpdateCdnSubTaskRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateCdnSubTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string UpdateCdnSubTaskRequest::getReportIds() const { + return reportIds_; +} + +void UpdateCdnSubTaskRequest::setReportIds(const std::string &reportIds) { + reportIds_ = reportIds; + setBodyParameter(std::string("ReportIds"), reportIds); +} + diff --git a/cdn/src/model/UpdateCdnSubTaskResult.cc b/cdn/src/model/UpdateCdnSubTaskResult.cc new file mode 100644 index 000000000..e6e72187b --- /dev/null +++ b/cdn/src/model/UpdateCdnSubTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +UpdateCdnSubTaskResult::UpdateCdnSubTaskResult() : + ServiceResult() +{} + +UpdateCdnSubTaskResult::UpdateCdnSubTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCdnSubTaskResult::~UpdateCdnSubTaskResult() +{} + +void UpdateCdnSubTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/UpdateFCTriggerRequest.cc b/cdn/src/model/UpdateFCTriggerRequest.cc new file mode 100644 index 000000000..c318cb6be --- /dev/null +++ b/cdn/src/model/UpdateFCTriggerRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::UpdateFCTriggerRequest; + +UpdateFCTriggerRequest::UpdateFCTriggerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "UpdateFCTrigger") { + setMethod(HttpRequest::Method::Post); +} + +UpdateFCTriggerRequest::~UpdateFCTriggerRequest() {} + +std::string UpdateFCTriggerRequest::getNotes() const { + return notes_; +} + +void UpdateFCTriggerRequest::setNotes(const std::string ¬es) { + notes_ = notes; + setBodyParameter(std::string("Notes"), notes); +} + +std::string UpdateFCTriggerRequest::getTriggerARN() const { + return triggerARN_; +} + +void UpdateFCTriggerRequest::setTriggerARN(const std::string &triggerARN) { + triggerARN_ = triggerARN; + setParameter(std::string("TriggerARN"), triggerARN); +} + +std::string UpdateFCTriggerRequest::getSourceARN() const { + return sourceARN_; +} + +void UpdateFCTriggerRequest::setSourceARN(const std::string &sourceARN) { + sourceARN_ = sourceARN; + setBodyParameter(std::string("SourceARN"), sourceARN); +} + +long UpdateFCTriggerRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateFCTriggerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string UpdateFCTriggerRequest::getRoleARN() const { + return roleARN_; +} + +void UpdateFCTriggerRequest::setRoleARN(const std::string &roleARN) { + roleARN_ = roleARN; + setBodyParameter(std::string("RoleARN"), roleARN); +} + +std::string UpdateFCTriggerRequest::getFunctionARN() const { + return functionARN_; +} + +void UpdateFCTriggerRequest::setFunctionARN(const std::string &functionARN) { + functionARN_ = functionARN; + setBodyParameter(std::string("FunctionARN"), functionARN); +} + diff --git a/cdn/src/model/UpdateFCTriggerResult.cc b/cdn/src/model/UpdateFCTriggerResult.cc new file mode 100644 index 000000000..6a0aab51a --- /dev/null +++ b/cdn/src/model/UpdateFCTriggerResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +UpdateFCTriggerResult::UpdateFCTriggerResult() : + ServiceResult() +{} + +UpdateFCTriggerResult::UpdateFCTriggerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateFCTriggerResult::~UpdateFCTriggerResult() +{} + +void UpdateFCTriggerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cdn/src/model/VerifyDomainOwnerRequest.cc b/cdn/src/model/VerifyDomainOwnerRequest.cc new file mode 100644 index 000000000..af48d7350 --- /dev/null +++ b/cdn/src/model/VerifyDomainOwnerRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cdn::Model::VerifyDomainOwnerRequest; + +VerifyDomainOwnerRequest::VerifyDomainOwnerRequest() + : RpcServiceRequest("cdn", "2018-05-10", "VerifyDomainOwner") { + setMethod(HttpRequest::Method::Post); +} + +VerifyDomainOwnerRequest::~VerifyDomainOwnerRequest() {} + +std::string VerifyDomainOwnerRequest::getVerifyType() const { + return verifyType_; +} + +void VerifyDomainOwnerRequest::setVerifyType(const std::string &verifyType) { + verifyType_ = verifyType; + setParameter(std::string("VerifyType"), verifyType); +} + +std::string VerifyDomainOwnerRequest::getDomainName() const { + return domainName_; +} + +void VerifyDomainOwnerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long VerifyDomainOwnerRequest::getOwnerId() const { + return ownerId_; +} + +void VerifyDomainOwnerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/cdn/src/model/VerifyDomainOwnerResult.cc b/cdn/src/model/VerifyDomainOwnerResult.cc new file mode 100644 index 000000000..0bd39e7a0 --- /dev/null +++ b/cdn/src/model/VerifyDomainOwnerResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +VerifyDomainOwnerResult::VerifyDomainOwnerResult() : + ServiceResult() +{} + +VerifyDomainOwnerResult::VerifyDomainOwnerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyDomainOwnerResult::~VerifyDomainOwnerResult() +{} + +void VerifyDomainOwnerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string VerifyDomainOwnerResult::getContent()const +{ + return content_; +} +