From 53cb186ca31a823d1fd807c7e74a00e8205a2721 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 31 Aug 2022 08:11:30 +0000 Subject: [PATCH] Init. --- VERSION | 2 +- cdn/CMakeLists.txt | 664 +- cdn/include/alibabacloud/cdn/CdnClient.h | 1328 +--- .../cdn/model/AddCdnDomainRequest.h | 134 +- .../cdn/model/AddFCTriggerRequest.h | 69 - .../cdn/model/AddFCTriggerResult.h | 49 - .../cdn/model/BatchAddCdnDomainRequest.h | 75 - .../cdn/model/BatchAddCdnDomainResult.h | 49 - .../model/BatchDeleteCdnDomainConfigRequest.h | 60 - .../model/BatchDeleteCdnDomainConfigResult.h | 49 - .../model/BatchSetCdnDomainConfigRequest.h | 60 - .../cdn/model/BatchSetCdnDomainConfigResult.h | 57 - ...atchSetCdnDomainServerCertificateRequest.h | 75 - ...BatchSetCdnDomainServerCertificateResult.h | 49 - .../cdn/model/BatchStartCdnDomainRequest.h | 54 - .../cdn/model/BatchStartCdnDomainResult.h | 49 - .../cdn/model/BatchStopCdnDomainRequest.h | 54 - .../cdn/model/BatchStopCdnDomainResult.h | 49 - .../cdn/model/BatchUpdateCdnDomainRequest.h | 63 - .../cdn/model/BatchUpdateCdnDomainResult.h | 49 - ...reateCdnCertificateSigningRequestRequest.h | 72 - ...CreateCdnCertificateSigningRequestResult.h | 55 - .../cdn/model/CreateCdnDeliverTaskRequest.h | 63 - .../cdn/model/CreateCdnDeliverTaskResult.h | 49 - .../cdn/model/CreateCdnSubTaskRequest.h | 54 - .../cdn/model/CreateCdnSubTaskResult.h | 49 - .../model/CreateIllegalUrlExportTaskRequest.h | 54 - .../model/CreateIllegalUrlExportTaskResult.h | 51 - .../CreateLiveStreamRecordIndexFilesRequest.h | 75 - .../CreateLiveStreamRecordIndexFilesResult.h | 60 - .../model/CreateRealTimeLogDeliveryRequest.h | 60 - .../model/CreateRealTimeLogDeliveryResult.h | 49 - .../CreateUsageDetailDataExportTaskRequest.h | 69 - .../CreateUsageDetailDataExportTaskResult.h | 55 - .../CreateUserUsageDataExportTaskRequest.h | 60 - .../CreateUserUsageDataExportTaskResult.h | 55 - .../model/DeleteCacheExpiredConfigRequest.h | 60 - .../model/DeleteCacheExpiredConfigResult.h | 49 - .../cdn/model/DeleteCdnDeliverTaskRequest.h | 51 - .../cdn/model/DeleteCdnDeliverTaskResult.h | 49 - .../cdn/model/DeleteCdnDomainRequest.h | 57 - .../cdn/model/DeleteCdnDomainResult.h | 49 - .../cdn/model/DeleteCdnSubTaskRequest.h | 48 - .../cdn/model/DeleteCdnSubTaskResult.h | 49 - .../cdn/model/DeleteFCTriggerRequest.h | 51 - .../cdn/model/DeleteFCTriggerResult.h | 49 - .../model/DeleteRealtimeLogDeliveryRequest.h | 60 - .../model/DeleteRealtimeLogDeliveryResult.h | 49 - .../cdn/model/DeleteSpecificConfigRequest.h | 57 - .../cdn/model/DeleteSpecificConfigResult.h | 49 - .../DeleteSpecificStagingConfigRequest.h | 57 - .../model/DeleteSpecificStagingConfigResult.h | 49 - .../DeleteUsageDetailDataExportTaskRequest.h | 51 - .../DeleteUsageDetailDataExportTaskResult.h | 49 - .../DeleteUserUsageDataExportTaskRequest.h | 51 - .../DeleteUserUsageDataExportTaskResult.h | 49 - ...escribeActiveVersionOfConfigGroupRequest.h | 54 - ...DescribeActiveVersionOfConfigGroupResult.h | 67 - .../cdn/model/DescribeBlockedRegionsRequest.h | 51 - .../cdn/model/DescribeBlockedRegionsResult.h | 57 - .../DescribeCdnCertificateDetailRequest.h | 54 - .../DescribeCdnCertificateDetailResult.h | 57 - .../model/DescribeCdnCertificateListRequest.h | 54 - .../model/DescribeCdnCertificateListResult.h | 65 - .../model/DescribeCdnDeletedDomainsRequest.h | 54 - .../model/DescribeCdnDeletedDomainsResult.h | 62 - .../cdn/model/DescribeCdnDeliverListRequest.h | 51 - .../cdn/model/DescribeCdnDeliverListResult.h | 51 - .../DescribeCdnDomainByCertificateRequest.h | 51 - .../DescribeCdnDomainByCertificateResult.h | 63 - .../model/DescribeCdnDomainConfigsRequest.h | 60 - .../model/DescribeCdnDomainConfigsResult.h | 63 - .../model/DescribeCdnDomainDetailRequest.h | 80 +- .../cdn/model/DescribeCdnDomainDetailResult.h | 13 +- .../cdn/model/DescribeCdnDomainLogsRequest.h | 104 +- .../cdn/model/DescribeCdnDomainLogsResult.h | 24 +- .../DescribeCdnDomainStagingConfigRequest.h | 54 - .../DescribeCdnDomainStagingConfigResult.h | 63 - .../model/DescribeCdnHttpsDomainListRequest.h | 57 - .../model/DescribeCdnHttpsDomainListResult.h | 64 - .../cdn/model/DescribeCdnMonitorDataRequest.h | 60 - .../cdn/model/DescribeCdnMonitorDataResult.h | 68 - .../model/DescribeCdnRegionAndIspRequest.h | 51 - .../cdn/model/DescribeCdnRegionAndIspResult.h | 63 - .../cdn/model/DescribeCdnReportListRequest.h | 51 - .../cdn/model/DescribeCdnReportListResult.h | 51 - .../cdn/model/DescribeCdnReportRequest.h | 69 - .../cdn/model/DescribeCdnReportResult.h | 51 - .../DescribeCdnSMCertificateDetailRequest.h | 54 - .../DescribeCdnSMCertificateDetailResult.h | 65 - .../DescribeCdnSMCertificateListRequest.h | 54 - .../DescribeCdnSMCertificateListResult.h | 63 - .../cdn/model/DescribeCdnServiceRequest.h | 74 +- .../cdn/model/DescribeCdnSubListRequest.h | 48 - .../cdn/model/DescribeCdnSubListResult.h | 51 - .../cdn/model/DescribeCdnTypesRequest.h | 54 - .../cdn/model/DescribeCdnTypesResult.h | 56 - .../model/DescribeCdnUserBillHistoryRequest.h | 54 - .../model/DescribeCdnUserBillHistoryResult.h | 66 - .../DescribeCdnUserBillPredictionRequest.h | 60 - .../DescribeCdnUserBillPredictionResult.h | 63 - .../model/DescribeCdnUserBillTypeRequest.h | 54 - .../cdn/model/DescribeCdnUserBillTypeResult.h | 60 - .../cdn/model/DescribeCdnUserConfigsRequest.h | 51 - .../cdn/model/DescribeCdnUserConfigsResult.h | 57 - .../DescribeCdnUserDomainsByFuncRequest.h | 60 - .../DescribeCdnUserDomainsByFuncResult.h | 78 - .../cdn/model/DescribeCdnUserQuotaRequest.h | 51 - .../cdn/model/DescribeCdnUserQuotaResult.h | 67 - .../DescribeCdnUserResourcePackageRequest.h | 54 - .../DescribeCdnUserResourcePackageResult.h | 63 - .../cdn/model/DescribeCdnWafDomainRequest.h | 57 - .../cdn/model/DescribeCdnWafDomainResult.h | 61 - .../DescribeCertificateInfoByIDRequest.h | 51 - .../model/DescribeCertificateInfoByIDResult.h | 61 - .../model/DescribeConfigGroupDetailRequest.h | 54 - .../model/DescribeConfigGroupDetailResult.h | 61 - .../model/DescribeConfigOfVersionRequest.h | 63 - .../cdn/model/DescribeConfigOfVersionResult.h | 63 - .../model/DescribeCustomLogConfigRequest.h | 51 - .../cdn/model/DescribeCustomLogConfigResult.h | 55 - ...DescribeDomainAverageResponseTimeRequest.h | 72 - .../DescribeDomainAverageResponseTimeResult.h | 64 - .../DescribeDomainBpsDataByLayerRequest.h | 69 - .../DescribeDomainBpsDataByLayerResult.h | 59 - .../DescribeDomainBpsDataByTimeStampRequest.h | 92 +- .../cdn/model/DescribeDomainBpsDataRequest.h | 110 +- .../cdn/model/DescribeDomainBpsDataResult.h | 18 +- .../DescribeDomainCcActivityLogRequest.h | 72 - .../model/DescribeDomainCcActivityLogResult.h | 67 - .../DescribeDomainCertificateInfoRequest.h | 51 - .../DescribeDomainCertificateInfoResult.h | 67 - .../cdn/model/DescribeDomainConfigsRequest.h | 57 - .../cdn/model/DescribeDomainConfigsResult.h | 266 - .../DescribeDomainCustomLogConfigRequest.h | 51 - .../DescribeDomainCustomLogConfigResult.h | 57 - .../DescribeDomainDetailDataByLayerRequest.h | 69 - .../DescribeDomainDetailDataByLayerResult.h | 65 - ...cribeDomainFileSizeProportionDataRequest.h | 92 +- ...scribeDomainFileSizeProportionDataResult.h | 4 +- .../cdn/model/DescribeDomainFlowDataRequest.h | 116 +- .../cdn/model/DescribeDomainFlowDataResult.h | 8 +- .../model/DescribeDomainHitRateDataRequest.h | 92 +- .../model/DescribeDomainHitRateDataResult.h | 1 - ...DescribeDomainHttpCodeDataByLayerRequest.h | 69 - .../DescribeDomainHttpCodeDataByLayerResult.h | 59 - .../model/DescribeDomainHttpCodeDataRequest.h | 101 +- .../cdn/model/DescribeDomainISPDataRequest.h | 86 +- .../cdn/model/DescribeDomainISPDataResult.h | 12 +- .../model/DescribeDomainMax95BpsDataRequest.h | 63 - .../model/DescribeDomainMax95BpsDataResult.h | 61 - .../DescribeDomainMultiUsageDataRequest.h | 57 - .../DescribeDomainMultiUsageDataResult.h | 72 - .../DescribeDomainNamesOfVersionRequest.h | 57 - .../DescribeDomainNamesOfVersionResult.h | 58 - .../cdn/model/DescribeDomainPathDataRequest.h | 66 - .../cdn/model/DescribeDomainPathDataResult.h | 72 - .../cdn/model/DescribeDomainPvDataRequest.h | 57 - .../cdn/model/DescribeDomainPvDataResult.h | 64 - .../DescribeDomainQpsDataByLayerRequest.h | 69 - .../DescribeDomainQpsDataByLayerResult.h | 71 - .../cdn/model/DescribeDomainQpsDataRequest.h | 110 +- .../cdn/model/DescribeDomainQpsDataResult.h | 14 +- .../DescribeDomainRealTimeBpsDataRequest.h | 63 - .../DescribeDomainRealTimeBpsDataResult.h | 56 - ...ribeDomainRealTimeByteHitRateDataRequest.h | 57 - ...cribeDomainRealTimeByteHitRateDataResult.h | 56 - .../DescribeDomainRealTimeDetailDataRequest.h | 72 - .../DescribeDomainRealTimeDetailDataResult.h | 51 - ...escribeDomainRealTimeHttpCodeDataRequest.h | 63 - ...DescribeDomainRealTimeHttpCodeDataResult.h | 70 - .../DescribeDomainRealTimeQpsDataRequest.h | 63 - .../DescribeDomainRealTimeQpsDataResult.h | 56 - ...cribeDomainRealTimeReqHitRateDataRequest.h | 57 - ...scribeDomainRealTimeReqHitRateDataResult.h | 56 - .../DescribeDomainRealTimeSrcBpsDataRequest.h | 57 - .../DescribeDomainRealTimeSrcBpsDataResult.h | 64 - ...ribeDomainRealTimeSrcHttpCodeDataRequest.h | 63 - ...cribeDomainRealTimeSrcHttpCodeDataResult.h | 70 - ...cribeDomainRealTimeSrcTrafficDataRequest.h | 57 - ...scribeDomainRealTimeSrcTrafficDataResult.h | 64 - ...DescribeDomainRealTimeTrafficDataRequest.h | 63 - .../DescribeDomainRealTimeTrafficDataResult.h | 64 - ...DescribeDomainRealtimeLogDeliveryRequest.h | 51 - .../DescribeDomainRealtimeLogDeliveryResult.h | 57 - .../model/DescribeDomainRegionDataRequest.h | 86 +- .../model/DescribeDomainRegionDataResult.h | 14 +- .../DescribeDomainReqHitRateDataRequest.h | 92 +- .../DescribeDomainReqHitRateDataResult.h | 5 +- .../model/DescribeDomainSrcBpsDataRequest.h | 98 +- .../model/DescribeDomainSrcBpsDataResult.h | 1 - .../model/DescribeDomainSrcFlowDataRequest.h | 104 +- .../DescribeDomainSrcHttpCodeDataRequest.h | 60 - .../DescribeDomainSrcHttpCodeDataResult.h | 70 - .../model/DescribeDomainSrcQpsDataRequest.h | 60 - .../model/DescribeDomainSrcQpsDataResult.h | 64 - .../DescribeDomainSrcTopUrlVisitRequest.h | 60 - .../DescribeDomainSrcTopUrlVisitResult.h | 71 - .../DescribeDomainSrcTrafficDataRequest.h | 60 - .../DescribeDomainSrcTrafficDataResult.h | 65 - .../DescribeDomainTopClientIpVisitRequest.h | 66 - .../DescribeDomainTopClientIpVisitResult.h | 58 - .../DescribeDomainTopReferVisitRequest.h | 63 - .../model/DescribeDomainTopReferVisitResult.h | 63 - .../model/DescribeDomainTopUrlVisitRequest.h | 60 - .../model/DescribeDomainTopUrlVisitResult.h | 71 - .../model/DescribeDomainTrafficDataRequest.h | 66 - .../model/DescribeDomainUsageDataRequest.h | 72 - .../cdn/model/DescribeDomainUsageDataResult.h | 70 - .../cdn/model/DescribeDomainUvDataRequest.h | 89 +- .../model/DescribeDomainsBySourceRequest.h | 80 +- .../cdn/model/DescribeDomainsBySourceResult.h | 1 - .../model/DescribeDomainsUsageByDayRequest.h | 86 +- .../model/DescribeDomainsUsageByDayResult.h | 16 +- .../model/DescribeEsExceptionDataRequest.h | 57 - .../cdn/model/DescribeEsExceptionDataResult.h | 57 - .../cdn/model/DescribeEsExecuteDataRequest.h | 57 - .../cdn/model/DescribeEsExecuteDataResult.h | 57 - .../cdn/model/DescribeFCTriggerRequest.h | 51 - .../cdn/model/DescribeFCTriggerResult.h | 60 - .../DescribeIllegalUrlExportTaskRequest.h | 51 - .../DescribeIllegalUrlExportTaskResult.h | 53 - .../cdn/model/DescribeIpInfoRequest.h | 54 - .../cdn/model/DescribeIpInfoResult.h | 59 - .../cdn/model/DescribeL2VipsByDomainRequest.h | 54 - .../cdn/model/DescribeL2VipsByDomainResult.h | 53 - .../DescribeLivePullStreamConfigRequest.h | 54 - .../DescribeLivePullStreamConfigResult.h | 59 - .../DescribeLiveStreamOnlineUserNumRequest.h | 69 - .../DescribeLiveStreamOnlineUserNumResult.h | 59 - .../DescribeLiveStreamRecordContentRequest.h | 66 - .../DescribeLiveStreamRecordContentResult.h | 60 - ...DescribeLiveStreamRecordIndexFileRequest.h | 63 - .../DescribeLiveStreamRecordIndexFileResult.h | 66 - ...escribeLiveStreamRecordIndexFilesRequest.h | 66 - ...DescribeLiveStreamRecordIndexFilesResult.h | 66 - .../DescribeLiveStreamSnapshotInfoRequest.h | 69 - .../DescribeLiveStreamSnapshotInfoResult.h | 60 - ...iveStreamsFrameRateAndBitRateDataRequest.h | 66 - ...LiveStreamsFrameRateAndBitRateDataResult.h | 59 - .../DescribeLiveStreamsOnlineListRequest.h | 66 - .../DescribeLiveStreamsOnlineListResult.h | 67 - .../DescribeLiveStreamsPublishListRequest.h | 72 - .../DescribeLiveStreamsPublishListResult.h | 63 - ...ibeRangeDataByLocateAndIspServiceRequest.h | 63 - ...ribeRangeDataByLocateAndIspServiceResult.h | 51 - .../DescribeRealtimeDeliveryAccRequest.h | 63 - .../model/DescribeRealtimeDeliveryAccResult.h | 57 - .../cdn/model/DescribeRefreshQuotaRequest.h | 74 +- .../cdn/model/DescribeRefreshQuotaResult.h | 16 +- .../model/DescribeRefreshTaskByIdRequest.h | 51 - .../cdn/model/DescribeRefreshTaskByIdResult.h | 63 - .../cdn/model/DescribeRefreshTasksRequest.h | 81 - .../cdn/model/DescribeRefreshTasksResult.h | 67 - .../cdn/model/DescribeStagingIpRequest.h | 48 - .../cdn/model/DescribeStagingIpResult.h | 51 - .../cdn/model/DescribeTagResourcesRequest.h | 66 - .../cdn/model/DescribeTagResourcesResult.h | 61 - .../model/DescribeTopDomainsByFlowRequest.h | 89 +- ...escribeUserCertificateExpireCountRequest.h | 48 - ...DescribeUserCertificateExpireCountResult.h | 53 - .../cdn/model/DescribeUserConfigsRequest.h | 54 - .../cdn/model/DescribeUserConfigsResult.h | 66 - .../cdn/model/DescribeUserDomainsRequest.h | 158 +- .../cdn/model/DescribeUserDomainsResult.h | 16 +- .../cdn/model/DescribeUserTagsRequest.h | 48 - .../cdn/model/DescribeUserTagsResult.h | 56 - .../DescribeUserUsageDataExportTaskRequest.h | 54 - .../DescribeUserUsageDataExportTaskResult.h | 73 - ...ribeUserUsageDetailDataExportTaskRequest.h | 54 - ...cribeUserUsageDetailDataExportTaskResult.h | 73 - .../model/DescribeUserVipsByDomainRequest.h | 54 - .../model/DescribeUserVipsByDomainResult.h | 53 - .../cdn/model/DescribeVerifyContentRequest.h | 51 - .../cdn/model/DescribeVerifyContentResult.h | 51 - .../model/DisableRealtimeLogDeliveryRequest.h | 51 - .../model/DisableRealtimeLogDeliveryResult.h | 49 - .../model/EnableRealtimeLogDeliveryRequest.h | 51 - .../model/EnableRealtimeLogDeliveryResult.h | 49 - .../cdn/model/ForbidLiveStreamRequest.h | 66 - .../cdn/model/ForbidLiveStreamResult.h | 49 - .../model/ListDomainsByLogConfigIdRequest.h | 51 - .../model/ListDomainsByLogConfigIdResult.h | 51 - .../cdn/model/ListFCTriggerRequest.h | 54 - .../cdn/model/ListFCTriggerResult.h | 60 - .../ListRealtimeLogDeliveryDomainsRequest.h | 57 - .../ListRealtimeLogDeliveryDomainsResult.h | 56 - .../ListRealtimeLogDeliveryInfosRequest.h | 48 - .../ListRealtimeLogDeliveryInfosResult.h | 57 - .../model/ListUserCustomLogConfigRequest.h | 48 - .../cdn/model/ListUserCustomLogConfigResult.h | 51 - .../cdn/model/ModifyCdnDomainRequest.h | 63 - .../cdn/model/ModifyCdnDomainResult.h | 49 - .../ModifyCdnDomainSchdmByPropertyRequest.h | 54 - .../ModifyCdnDomainSchdmByPropertyResult.h | 49 - .../ModifyDomainCustomLogConfigRequest.h | 54 - .../model/ModifyDomainCustomLogConfigResult.h | 49 - .../model/ModifyRealtimeLogDeliveryRequest.h | 60 - .../model/ModifyRealtimeLogDeliveryResult.h | 49 - .../cdn/model/OpenCdnServiceRequest.h | 80 +- .../PublishStagingConfigToProductionRequest.h | 54 - .../PublishStagingConfigToProductionResult.h | 49 - .../cdn/model/PushObjectCacheRequest.h | 86 +- .../cdn/model/RefreshObjectCachesRequest.h | 86 +- .../cdn/model/ResumeLiveStreamRequest.h | 63 - .../cdn/model/ResumeLiveStreamResult.h | 49 - .../cdn/model/RollbackStagingConfigRequest.h | 54 - .../cdn/model/RollbackStagingConfigResult.h | 49 - .../cdn/model/SetCcConfigRequest.h | 60 - .../cdn/model/SetCcConfigResult.h | 49 - .../model/SetCdnDomainCSRCertificateRequest.h | 54 - .../model/SetCdnDomainCSRCertificateResult.h | 49 - .../model/SetCdnDomainSMCertificateRequest.h | 60 - .../model/SetCdnDomainSMCertificateResult.h | 49 - .../model/SetCdnDomainStagingConfigRequest.h | 54 - .../model/SetCdnDomainStagingConfigResult.h | 49 - .../cdn/model/SetConfigOfVersionRequest.h | 72 - .../cdn/model/SetConfigOfVersionResult.h | 49 - .../model/SetDomainServerCertificateRequest.h | 72 - .../model/SetDomainServerCertificateResult.h | 49 - .../model/SetFileCacheExpiredConfigRequest.h | 63 - .../model/SetFileCacheExpiredConfigResult.h | 49 - .../cdn/model/SetForceRedirectConfigRequest.h | 57 - .../cdn/model/SetForceRedirectConfigResult.h | 49 - .../cdn/model/SetForwardSchemeConfigRequest.h | 63 - .../cdn/model/SetForwardSchemeConfigResult.h | 49 - .../cdn/model/SetHttpHeaderConfigRequest.h | 63 - .../cdn/model/SetHttpHeaderConfigResult.h | 49 - .../cdn/model/SetHttpsOptionConfigRequest.h | 57 - .../cdn/model/SetHttpsOptionConfigResult.h | 49 - .../model/SetIgnoreQueryStringConfigRequest.h | 63 - .../model/SetIgnoreQueryStringConfigResult.h | 49 - .../cdn/model/SetIpAllowListConfigRequest.h | 57 - .../cdn/model/SetIpAllowListConfigResult.h | 49 - .../cdn/model/SetIpBlackListConfigRequest.h | 57 - .../cdn/model/SetIpBlackListConfigResult.h | 49 - .../cdn/model/SetOptimizeConfigRequest.h | 57 - .../cdn/model/SetOptimizeConfigResult.h | 49 - .../cdn/model/SetPageCompressConfigRequest.h | 57 - .../cdn/model/SetPageCompressConfigResult.h | 49 - .../model/SetPathCacheExpiredConfigRequest.h | 63 - .../model/SetPathCacheExpiredConfigResult.h | 49 - .../cdn/model/SetRangeConfigRequest.h | 57 - .../cdn/model/SetRangeConfigResult.h | 49 - .../cdn/model/SetRefererConfigRequest.h | 66 - .../cdn/model/SetRefererConfigResult.h | 49 - .../model/SetRemoveQueryStringConfigRequest.h | 60 - .../model/SetRemoveQueryStringConfigResult.h | 49 - .../cdn/model/SetReqAuthConfigRequest.h | 69 - .../cdn/model/SetReqAuthConfigResult.h | 49 - .../cdn/model/SetReqHeaderConfigRequest.h | 63 - .../cdn/model/SetReqHeaderConfigResult.h | 49 - .../cdn/model/SetSourceHostConfigRequest.h | 60 - .../cdn/model/SetSourceHostConfigResult.h | 49 - .../cdn/model/SetWaitingRoomConfigRequest.h | 66 - .../cdn/model/SetWaitingRoomConfigResult.h | 49 - .../cdn/model/StartCdnDomainRequest.h | 54 - .../cdn/model/StartCdnDomainResult.h | 49 - .../cdn/model/StopCdnDomainRequest.h | 54 - .../cdn/model/StopCdnDomainResult.h | 49 - .../cdn/model/TagResourcesRequest.h | 63 - .../cdn/model/TagResourcesResult.h | 49 - .../model/TestDescribeDomainBpsDataRequest.h | 63 + ...lt.h => TestDescribeDomainBpsDataResult.h} | 40 +- .../cdn/model/UntagResourcesRequest.h | 60 - .../cdn/model/UntagResourcesResult.h | 49 - .../cdn/model/UpdateCdnDeliverTaskRequest.h | 66 - .../cdn/model/UpdateCdnDeliverTaskResult.h | 49 - .../cdn/model/UpdateCdnSubTaskRequest.h | 60 - .../cdn/model/UpdateCdnSubTaskResult.h | 49 - .../cdn/model/UpdateFCTriggerRequest.h | 63 - .../cdn/model/UpdateFCTriggerResult.h | 49 - .../cdn/model/VerifyDomainOwnerRequest.h | 54 - .../cdn/model/VerifyDomainOwnerResult.h | 51 - cdn/src/CdnClient.cc | 5922 +---------------- cdn/src/model/AddCdnDomainRequest.cc | 190 +- cdn/src/model/AddFCTriggerRequest.cc | 117 - cdn/src/model/AddFCTriggerResult.cc | 44 - cdn/src/model/BatchAddCdnDomainRequest.cc | 139 - cdn/src/model/BatchAddCdnDomainResult.cc | 44 - .../BatchDeleteCdnDomainConfigRequest.cc | 84 - .../model/BatchDeleteCdnDomainConfigResult.cc | 44 - .../model/BatchSetCdnDomainConfigRequest.cc | 84 - .../model/BatchSetCdnDomainConfigResult.cc | 61 - ...tchSetCdnDomainServerCertificateRequest.cc | 139 - ...atchSetCdnDomainServerCertificateResult.cc | 44 - cdn/src/model/BatchStartCdnDomainRequest.cc | 62 - cdn/src/model/BatchStartCdnDomainResult.cc | 44 - cdn/src/model/BatchStopCdnDomainRequest.cc | 62 - cdn/src/model/BatchStopCdnDomainResult.cc | 44 - cdn/src/model/BatchUpdateCdnDomainRequest.cc | 95 - cdn/src/model/BatchUpdateCdnDomainResult.cc | 44 - ...eateCdnCertificateSigningRequestRequest.cc | 128 - ...reateCdnCertificateSigningRequestResult.cc | 65 - cdn/src/model/CreateCdnDeliverTaskRequest.cc | 95 - cdn/src/model/CreateCdnDeliverTaskResult.cc | 44 - cdn/src/model/CreateCdnSubTaskRequest.cc | 62 - cdn/src/model/CreateCdnSubTaskResult.cc | 44 - .../CreateIllegalUrlExportTaskRequest.cc | 62 - .../model/CreateIllegalUrlExportTaskResult.cc | 51 - ...CreateLiveStreamRecordIndexFilesRequest.cc | 139 - .../CreateLiveStreamRecordIndexFilesResult.cc | 62 - .../model/CreateRealTimeLogDeliveryRequest.cc | 84 - .../model/CreateRealTimeLogDeliveryResult.cc | 44 - .../CreateUsageDetailDataExportTaskRequest.cc | 117 - .../CreateUsageDetailDataExportTaskResult.cc | 65 - .../CreateUserUsageDataExportTaskRequest.cc | 84 - .../CreateUserUsageDataExportTaskResult.cc | 65 - .../model/DeleteCacheExpiredConfigRequest.cc | 84 - .../model/DeleteCacheExpiredConfigResult.cc | 44 - cdn/src/model/DeleteCdnDeliverTaskRequest.cc | 51 - cdn/src/model/DeleteCdnDeliverTaskResult.cc | 44 - cdn/src/model/DeleteCdnDomainRequest.cc | 73 - cdn/src/model/DeleteCdnDomainResult.cc | 44 - cdn/src/model/DeleteCdnSubTaskRequest.cc | 40 - cdn/src/model/DeleteCdnSubTaskResult.cc | 44 - cdn/src/model/DeleteFCTriggerRequest.cc | 51 - cdn/src/model/DeleteFCTriggerResult.cc | 44 - .../model/DeleteRealtimeLogDeliveryRequest.cc | 84 - .../model/DeleteRealtimeLogDeliveryResult.cc | 44 - cdn/src/model/DeleteSpecificConfigRequest.cc | 73 - cdn/src/model/DeleteSpecificConfigResult.cc | 44 - .../DeleteSpecificStagingConfigRequest.cc | 73 - .../DeleteSpecificStagingConfigResult.cc | 44 - .../DeleteUsageDetailDataExportTaskRequest.cc | 51 - .../DeleteUsageDetailDataExportTaskResult.cc | 44 - .../DeleteUserUsageDataExportTaskRequest.cc | 51 - .../DeleteUserUsageDataExportTaskResult.cc | 44 - ...scribeActiveVersionOfConfigGroupRequest.cc | 62 - ...escribeActiveVersionOfConfigGroupResult.cc | 107 - .../model/DescribeBlockedRegionsRequest.cc | 51 - cdn/src/model/DescribeBlockedRegionsResult.cc | 61 - .../DescribeCdnCertificateDetailRequest.cc | 62 - .../DescribeCdnCertificateDetailResult.cc | 72 - .../DescribeCdnCertificateListRequest.cc | 62 - .../model/DescribeCdnCertificateListResult.cc | 70 - .../model/DescribeCdnDeletedDomainsRequest.cc | 62 - .../model/DescribeCdnDeletedDomainsResult.cc | 80 - .../model/DescribeCdnDeliverListRequest.cc | 51 - cdn/src/model/DescribeCdnDeliverListResult.cc | 51 - .../DescribeCdnDomainByCertificateRequest.cc | 51 - .../DescribeCdnDomainByCertificateResult.cc | 73 - .../model/DescribeCdnDomainConfigsRequest.cc | 84 - .../model/DescribeCdnDomainConfigsResult.cc | 71 - .../model/DescribeCdnDomainDetailRequest.cc | 70 +- .../model/DescribeCdnDomainDetailResult.cc | 47 +- cdn/src/model/DescribeCdnDomainLogsRequest.cc | 124 +- cdn/src/model/DescribeCdnDomainLogsResult.cc | 73 +- .../DescribeCdnDomainStagingConfigRequest.cc | 62 - .../DescribeCdnDomainStagingConfigResult.cc | 71 - .../DescribeCdnHttpsDomainListRequest.cc | 73 - .../model/DescribeCdnHttpsDomainListResult.cc | 78 - .../model/DescribeCdnMonitorDataRequest.cc | 84 - cdn/src/model/DescribeCdnMonitorDataResult.cc | 95 - .../model/DescribeCdnRegionAndIspRequest.cc | 51 - .../model/DescribeCdnRegionAndIspResult.cc | 74 - cdn/src/model/DescribeCdnReportListRequest.cc | 51 - cdn/src/model/DescribeCdnReportListResult.cc | 51 - cdn/src/model/DescribeCdnReportRequest.cc | 117 - cdn/src/model/DescribeCdnReportResult.cc | 51 - .../DescribeCdnSMCertificateDetailRequest.cc | 62 - .../DescribeCdnSMCertificateDetailResult.cc | 100 - .../DescribeCdnSMCertificateListRequest.cc | 62 - .../DescribeCdnSMCertificateListResult.cc | 66 - cdn/src/model/DescribeCdnServiceRequest.cc | 58 +- cdn/src/model/DescribeCdnServiceResult.cc | 16 +- cdn/src/model/DescribeCdnSubListRequest.cc | 40 - cdn/src/model/DescribeCdnSubListResult.cc | 51 - cdn/src/model/DescribeCdnTypesRequest.cc | 62 - cdn/src/model/DescribeCdnTypesResult.cc | 59 - .../DescribeCdnUserBillHistoryRequest.cc | 62 - .../model/DescribeCdnUserBillHistoryResult.cc | 77 - .../DescribeCdnUserBillPredictionRequest.cc | 84 - .../DescribeCdnUserBillPredictionResult.cc | 82 - .../model/DescribeCdnUserBillTypeRequest.cc | 62 - .../model/DescribeCdnUserBillTypeResult.cc | 67 - .../model/DescribeCdnUserConfigsRequest.cc | 51 - cdn/src/model/DescribeCdnUserConfigsResult.cc | 61 - .../DescribeCdnUserDomainsByFuncRequest.cc | 84 - .../DescribeCdnUserDomainsByFuncResult.cc | 110 - cdn/src/model/DescribeCdnUserQuotaRequest.cc | 51 - cdn/src/model/DescribeCdnUserQuotaResult.cc | 107 - .../DescribeCdnUserResourcePackageRequest.cc | 62 - .../DescribeCdnUserResourcePackageResult.cc | 73 - cdn/src/model/DescribeCdnWafDomainRequest.cc | 73 - cdn/src/model/DescribeCdnWafDomainResult.cc | 72 - .../DescribeCertificateInfoByIDRequest.cc | 51 - .../DescribeCertificateInfoByIDResult.cc | 69 - .../model/DescribeConfigGroupDetailRequest.cc | 62 - .../model/DescribeConfigGroupDetailResult.cc | 86 - .../model/DescribeConfigOfVersionRequest.cc | 95 - .../model/DescribeConfigOfVersionResult.cc | 71 - .../model/DescribeCustomLogConfigRequest.cc | 51 - .../model/DescribeCustomLogConfigResult.cc | 65 - ...escribeDomainAverageResponseTimeRequest.cc | 128 - ...DescribeDomainAverageResponseTimeResult.cc | 87 - .../DescribeDomainBpsDataByLayerRequest.cc | 117 - .../DescribeDomainBpsDataByLayerResult.cc | 68 - ...DescribeDomainBpsDataByTimeStampRequest.cc | 94 +- .../DescribeDomainBpsDataByTimeStampResult.cc | 8 +- cdn/src/model/DescribeDomainBpsDataRequest.cc | 136 +- cdn/src/model/DescribeDomainBpsDataResult.cc | 58 +- .../DescribeDomainCcActivityLogRequest.cc | 128 - .../DescribeDomainCcActivityLogResult.cc | 90 - .../DescribeDomainCertificateInfoRequest.cc | 51 - .../DescribeDomainCertificateInfoResult.cc | 81 - cdn/src/model/DescribeDomainConfigsRequest.cc | 73 - cdn/src/model/DescribeDomainConfigsResult.cc | 322 - .../DescribeDomainCustomLogConfigRequest.cc | 51 - .../DescribeDomainCustomLogConfigResult.cc | 72 - .../DescribeDomainDetailDataByLayerRequest.cc | 117 - .../DescribeDomainDetailDataByLayerResult.cc | 77 - ...ribeDomainFileSizeProportionDataRequest.cc | 94 +- ...cribeDomainFileSizeProportionDataResult.cc | 22 +- .../model/DescribeDomainFlowDataRequest.cc | 142 +- cdn/src/model/DescribeDomainFlowDataResult.cc | 36 +- .../model/DescribeDomainHitRateDataRequest.cc | 94 +- .../model/DescribeDomainHitRateDataResult.cc | 14 +- ...escribeDomainHttpCodeDataByLayerRequest.cc | 117 - ...DescribeDomainHttpCodeDataByLayerResult.cc | 68 - .../DescribeDomainHttpCodeDataRequest.cc | 121 +- .../model/DescribeDomainHttpCodeDataResult.cc | 8 +- cdn/src/model/DescribeDomainISPDataRequest.cc | 82 +- cdn/src/model/DescribeDomainISPDataResult.cc | 54 +- .../DescribeDomainMax95BpsDataRequest.cc | 95 - .../model/DescribeDomainMax95BpsDataResult.cc | 86 - .../DescribeDomainMultiUsageDataRequest.cc | 73 - .../DescribeDomainMultiUsageDataResult.cc | 98 - .../DescribeDomainNamesOfVersionRequest.cc | 73 - .../DescribeDomainNamesOfVersionResult.cc | 66 - .../model/DescribeDomainPathDataRequest.cc | 106 - cdn/src/model/DescribeDomainPathDataResult.cc | 112 - cdn/src/model/DescribeDomainPvDataRequest.cc | 73 - cdn/src/model/DescribeDomainPvDataResult.cc | 87 - .../DescribeDomainQpsDataByLayerRequest.cc | 117 - .../DescribeDomainQpsDataByLayerResult.cc | 104 - cdn/src/model/DescribeDomainQpsDataRequest.cc | 136 +- cdn/src/model/DescribeDomainQpsDataResult.cc | 48 +- .../DescribeDomainRealTimeBpsDataRequest.cc | 95 - .../DescribeDomainRealTimeBpsDataResult.cc | 59 - ...ibeDomainRealTimeByteHitRateDataRequest.cc | 73 - ...ribeDomainRealTimeByteHitRateDataResult.cc | 59 - ...DescribeDomainRealTimeDetailDataRequest.cc | 128 - .../DescribeDomainRealTimeDetailDataResult.cc | 51 - ...scribeDomainRealTimeHttpCodeDataRequest.cc | 95 - ...escribeDomainRealTimeHttpCodeDataResult.cc | 97 - .../DescribeDomainRealTimeQpsDataRequest.cc | 95 - .../DescribeDomainRealTimeQpsDataResult.cc | 59 - ...ribeDomainRealTimeReqHitRateDataRequest.cc | 73 - ...cribeDomainRealTimeReqHitRateDataResult.cc | 59 - ...DescribeDomainRealTimeSrcBpsDataRequest.cc | 73 - .../DescribeDomainRealTimeSrcBpsDataResult.cc | 87 - ...ibeDomainRealTimeSrcHttpCodeDataRequest.cc | 95 - ...ribeDomainRealTimeSrcHttpCodeDataResult.cc | 97 - ...ribeDomainRealTimeSrcTrafficDataRequest.cc | 73 - ...cribeDomainRealTimeSrcTrafficDataResult.cc | 87 - ...escribeDomainRealTimeTrafficDataRequest.cc | 95 - ...DescribeDomainRealTimeTrafficDataResult.cc | 87 - ...escribeDomainRealtimeLogDeliveryRequest.cc | 51 - ...DescribeDomainRealtimeLogDeliveryResult.cc | 72 - .../model/DescribeDomainRegionDataRequest.cc | 82 +- .../model/DescribeDomainRegionDataResult.cc | 54 +- .../DescribeDomainReqHitRateDataRequest.cc | 94 +- .../DescribeDomainReqHitRateDataResult.cc | 24 +- .../model/DescribeDomainSrcBpsDataRequest.cc | 112 +- .../model/DescribeDomainSrcBpsDataResult.cc | 14 +- .../model/DescribeDomainSrcFlowDataRequest.cc | 118 +- .../model/DescribeDomainSrcFlowDataResult.cc | 12 +- .../DescribeDomainSrcHttpCodeDataRequest.cc | 84 - .../DescribeDomainSrcHttpCodeDataResult.cc | 97 - .../model/DescribeDomainSrcQpsDataRequest.cc | 84 - .../model/DescribeDomainSrcQpsDataResult.cc | 87 - .../DescribeDomainSrcTopUrlVisitRequest.cc | 84 - .../DescribeDomainSrcTopUrlVisitResult.cc | 163 - .../DescribeDomainSrcTrafficDataRequest.cc | 84 - .../DescribeDomainSrcTrafficDataResult.cc | 89 - .../DescribeDomainTopClientIpVisitRequest.cc | 106 - .../DescribeDomainTopClientIpVisitResult.cc | 63 - .../DescribeDomainTopReferVisitRequest.cc | 95 - .../DescribeDomainTopReferVisitResult.cc | 79 - .../model/DescribeDomainTopUrlVisitRequest.cc | 84 - .../model/DescribeDomainTopUrlVisitResult.cc | 163 - .../model/DescribeDomainTrafficDataRequest.cc | 106 - .../model/DescribeDomainTrafficDataResult.cc | 97 - .../model/DescribeDomainUsageDataRequest.cc | 128 - .../model/DescribeDomainUsageDataResult.cc | 105 - cdn/src/model/DescribeDomainUvDataRequest.cc | 91 +- cdn/src/model/DescribeDomainUvDataResult.cc | 8 +- .../model/DescribeDomainsBySourceRequest.cc | 70 +- .../model/DescribeDomainsBySourceResult.cc | 18 +- .../model/DescribeDomainsUsageByDayRequest.cc | 82 +- .../model/DescribeDomainsUsageByDayResult.cc | 54 +- .../model/DescribeEsExceptionDataRequest.cc | 73 - .../model/DescribeEsExceptionDataResult.cc | 63 - cdn/src/model/DescribeEsExecuteDataRequest.cc | 73 - cdn/src/model/DescribeEsExecuteDataResult.cc | 63 - cdn/src/model/DescribeFCTriggerRequest.cc | 51 - cdn/src/model/DescribeFCTriggerResult.cc | 62 - .../DescribeIllegalUrlExportTaskRequest.cc | 51 - .../DescribeIllegalUrlExportTaskResult.cc | 58 - cdn/src/model/DescribeIpInfoRequest.cc | 62 - cdn/src/model/DescribeIpInfoResult.cc | 79 - .../model/DescribeL2VipsByDomainRequest.cc | 62 - cdn/src/model/DescribeL2VipsByDomainResult.cc | 59 - .../DescribeLivePullStreamConfigRequest.cc | 62 - .../DescribeLivePullStreamConfigResult.cc | 65 - .../DescribeLiveStreamOnlineUserNumRequest.cc | 117 - .../DescribeLiveStreamOnlineUserNumResult.cc | 68 - .../DescribeLiveStreamRecordContentRequest.cc | 106 - .../DescribeLiveStreamRecordContentResult.cc | 67 - ...escribeLiveStreamRecordIndexFileRequest.cc | 95 - ...DescribeLiveStreamRecordIndexFileResult.cc | 74 - ...scribeLiveStreamRecordIndexFilesRequest.cc | 106 - ...escribeLiveStreamRecordIndexFilesResult.cc | 79 - .../DescribeLiveStreamSnapshotInfoRequest.cc | 117 - .../DescribeLiveStreamSnapshotInfoResult.cc | 70 - ...veStreamsFrameRateAndBitRateDataRequest.cc | 106 - ...iveStreamsFrameRateAndBitRateDataResult.cc | 65 - .../DescribeLiveStreamsOnlineListRequest.cc | 106 - .../DescribeLiveStreamsOnlineListResult.cc | 93 - .../DescribeLiveStreamsPublishListRequest.cc | 128 - .../DescribeLiveStreamsPublishListResult.cc | 73 - ...beRangeDataByLocateAndIspServiceRequest.cc | 95 - ...ibeRangeDataByLocateAndIspServiceResult.cc | 51 - .../DescribeRealtimeDeliveryAccRequest.cc | 95 - .../DescribeRealtimeDeliveryAccResult.cc | 61 - cdn/src/model/DescribeRefreshQuotaRequest.cc | 58 +- cdn/src/model/DescribeRefreshQuotaResult.cc | 60 +- .../model/DescribeRefreshTaskByIdRequest.cc | 51 - .../model/DescribeRefreshTaskByIdResult.cc | 76 - cdn/src/model/DescribeRefreshTasksRequest.cc | 161 - cdn/src/model/DescribeRefreshTasksResult.cc | 90 - cdn/src/model/DescribeStagingIpRequest.cc | 40 - cdn/src/model/DescribeStagingIpResult.cc | 52 - cdn/src/model/DescribeTagResourcesRequest.cc | 91 - cdn/src/model/DescribeTagResourcesResult.cc | 67 - .../model/DescribeTopDomainsByFlowRequest.cc | 91 +- .../model/DescribeTopDomainsByFlowResult.cc | 32 +- ...scribeUserCertificateExpireCountRequest.cc | 40 - ...escribeUserCertificateExpireCountResult.cc | 58 - cdn/src/model/DescribeUserConfigsRequest.cc | 62 - cdn/src/model/DescribeUserConfigsResult.cc | 60 - cdn/src/model/DescribeUserDomainsRequest.cc | 235 +- cdn/src/model/DescribeUserDomainsResult.cc | 47 +- cdn/src/model/DescribeUserTagsRequest.cc | 40 - cdn/src/model/DescribeUserTagsResult.cc | 60 - .../DescribeUserUsageDataExportTaskRequest.cc | 62 - .../DescribeUserUsageDataExportTaskResult.cc | 79 - ...ibeUserUsageDetailDataExportTaskRequest.cc | 62 - ...ribeUserUsageDetailDataExportTaskResult.cc | 79 - .../model/DescribeUserVipsByDomainRequest.cc | 62 - .../model/DescribeUserVipsByDomainResult.cc | 59 - cdn/src/model/DescribeVerifyContentRequest.cc | 51 - cdn/src/model/DescribeVerifyContentResult.cc | 51 - .../DisableRealtimeLogDeliveryRequest.cc | 51 - .../model/DisableRealtimeLogDeliveryResult.cc | 44 - .../model/EnableRealtimeLogDeliveryRequest.cc | 51 - .../model/EnableRealtimeLogDeliveryResult.cc | 44 - cdn/src/model/ForbidLiveStreamRequest.cc | 106 - cdn/src/model/ForbidLiveStreamResult.cc | 44 - .../model/ListDomainsByLogConfigIdRequest.cc | 51 - .../model/ListDomainsByLogConfigIdResult.cc | 52 - cdn/src/model/ListFCTriggerRequest.cc | 62 - cdn/src/model/ListFCTriggerResult.cc | 67 - .../ListRealtimeLogDeliveryDomainsRequest.cc | 73 - .../ListRealtimeLogDeliveryDomainsResult.cc | 59 - .../ListRealtimeLogDeliveryInfosRequest.cc | 40 - .../ListRealtimeLogDeliveryInfosResult.cc | 61 - .../model/ListUserCustomLogConfigRequest.cc | 40 - .../model/ListUserCustomLogConfigResult.cc | 52 - cdn/src/model/ModifyCdnDomainRequest.cc | 95 - cdn/src/model/ModifyCdnDomainResult.cc | 44 - .../ModifyCdnDomainSchdmByPropertyRequest.cc | 62 - .../ModifyCdnDomainSchdmByPropertyResult.cc | 44 - .../ModifyDomainCustomLogConfigRequest.cc | 62 - .../ModifyDomainCustomLogConfigResult.cc | 44 - .../model/ModifyRealtimeLogDeliveryRequest.cc | 84 - .../model/ModifyRealtimeLogDeliveryResult.cc | 44 - cdn/src/model/OpenCdnServiceRequest.cc | 70 +- ...PublishStagingConfigToProductionRequest.cc | 62 - .../PublishStagingConfigToProductionResult.cc | 44 - cdn/src/model/PushObjectCacheRequest.cc | 82 +- cdn/src/model/RefreshObjectCachesRequest.cc | 82 +- cdn/src/model/ResumeLiveStreamRequest.cc | 95 - cdn/src/model/ResumeLiveStreamResult.cc | 44 - cdn/src/model/RollbackStagingConfigRequest.cc | 62 - cdn/src/model/RollbackStagingConfigResult.cc | 44 - cdn/src/model/SetCcConfigRequest.cc | 84 - cdn/src/model/SetCcConfigResult.cc | 44 - .../SetCdnDomainCSRCertificateRequest.cc | 62 - .../model/SetCdnDomainCSRCertificateResult.cc | 44 - .../model/SetCdnDomainSMCertificateRequest.cc | 84 - .../model/SetCdnDomainSMCertificateResult.cc | 44 - .../model/SetCdnDomainStagingConfigRequest.cc | 62 - .../model/SetCdnDomainStagingConfigResult.cc | 44 - cdn/src/model/SetConfigOfVersionRequest.cc | 128 - cdn/src/model/SetConfigOfVersionResult.cc | 44 - .../SetDomainServerCertificateRequest.cc | 128 - .../model/SetDomainServerCertificateResult.cc | 44 - .../model/SetFileCacheExpiredConfigRequest.cc | 95 - .../model/SetFileCacheExpiredConfigResult.cc | 44 - .../model/SetForceRedirectConfigRequest.cc | 73 - cdn/src/model/SetForceRedirectConfigResult.cc | 44 - .../model/SetForwardSchemeConfigRequest.cc | 95 - cdn/src/model/SetForwardSchemeConfigResult.cc | 44 - cdn/src/model/SetHttpHeaderConfigRequest.cc | 95 - cdn/src/model/SetHttpHeaderConfigResult.cc | 44 - cdn/src/model/SetHttpsOptionConfigRequest.cc | 73 - cdn/src/model/SetHttpsOptionConfigResult.cc | 44 - .../SetIgnoreQueryStringConfigRequest.cc | 95 - .../model/SetIgnoreQueryStringConfigResult.cc | 44 - cdn/src/model/SetIpAllowListConfigRequest.cc | 73 - cdn/src/model/SetIpAllowListConfigResult.cc | 44 - cdn/src/model/SetIpBlackListConfigRequest.cc | 73 - cdn/src/model/SetIpBlackListConfigResult.cc | 44 - cdn/src/model/SetOptimizeConfigRequest.cc | 73 - cdn/src/model/SetOptimizeConfigResult.cc | 44 - cdn/src/model/SetPageCompressConfigRequest.cc | 73 - cdn/src/model/SetPageCompressConfigResult.cc | 44 - .../model/SetPathCacheExpiredConfigRequest.cc | 95 - .../model/SetPathCacheExpiredConfigResult.cc | 44 - cdn/src/model/SetRangeConfigRequest.cc | 73 - cdn/src/model/SetRangeConfigResult.cc | 44 - cdn/src/model/SetRefererConfigRequest.cc | 106 - cdn/src/model/SetRefererConfigResult.cc | 44 - .../SetRemoveQueryStringConfigRequest.cc | 84 - .../model/SetRemoveQueryStringConfigResult.cc | 44 - cdn/src/model/SetReqAuthConfigRequest.cc | 117 - cdn/src/model/SetReqAuthConfigResult.cc | 44 - cdn/src/model/SetReqHeaderConfigRequest.cc | 95 - cdn/src/model/SetReqHeaderConfigResult.cc | 44 - cdn/src/model/SetSourceHostConfigRequest.cc | 84 - cdn/src/model/SetSourceHostConfigResult.cc | 44 - cdn/src/model/SetWaitingRoomConfigRequest.cc | 106 - cdn/src/model/SetWaitingRoomConfigResult.cc | 44 - cdn/src/model/StartCdnDomainRequest.cc | 62 - cdn/src/model/StartCdnDomainResult.cc | 44 - cdn/src/model/StopCdnDomainRequest.cc | 62 - cdn/src/model/StopCdnDomainResult.cc | 44 - cdn/src/model/TagResourcesRequest.cc | 80 - cdn/src/model/TagResourcesResult.cc | 44 - .../model/TestDescribeDomainBpsDataRequest.cc | 99 + .../model/TestDescribeDomainBpsDataResult.cc | 137 + cdn/src/model/UntagResourcesRequest.cc | 88 - cdn/src/model/UntagResourcesResult.cc | 44 - cdn/src/model/UpdateCdnDeliverTaskRequest.cc | 106 - cdn/src/model/UpdateCdnDeliverTaskResult.cc | 44 - cdn/src/model/UpdateCdnSubTaskRequest.cc | 84 - cdn/src/model/UpdateCdnSubTaskResult.cc | 44 - cdn/src/model/UpdateFCTriggerRequest.cc | 95 - cdn/src/model/UpdateFCTriggerResult.cc | 44 - cdn/src/model/VerifyDomainOwnerRequest.cc | 62 - cdn/src/model/VerifyDomainOwnerResult.cc | 51 - 753 files changed, 3122 insertions(+), 54100 deletions(-) delete mode 100644 cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnTypesResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeIpInfoRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeStagingIpRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ForbidLiveStreamRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ForbidLiveStreamResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListFCTriggerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ResumeLiveStreamRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/ResumeLiveStreamResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCcConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCcConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetOptimizeConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetPageCompressConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetRangeConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetRangeConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetRefererConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetRefererConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetReqAuthConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetReqAuthConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetSourceHostConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/StartCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/StopCdnDomainRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/TagResourcesRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/TagResourcesResult.h create mode 100644 cdn/include/alibabacloud/cdn/model/TestDescribeDomainBpsDataRequest.h rename cdn/include/alibabacloud/cdn/model/{DescribeDomainTrafficDataResult.h => TestDescribeDomainBpsDataResult.h} (56%) delete mode 100644 cdn/include/alibabacloud/cdn/model/UntagResourcesRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h delete mode 100644 cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h delete mode 100644 cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h delete mode 100644 cdn/src/model/AddFCTriggerRequest.cc delete mode 100644 cdn/src/model/AddFCTriggerResult.cc delete mode 100644 cdn/src/model/BatchAddCdnDomainRequest.cc delete mode 100644 cdn/src/model/BatchAddCdnDomainResult.cc delete mode 100644 cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc delete mode 100644 cdn/src/model/BatchDeleteCdnDomainConfigResult.cc delete mode 100644 cdn/src/model/BatchSetCdnDomainConfigRequest.cc delete mode 100644 cdn/src/model/BatchSetCdnDomainConfigResult.cc delete mode 100644 cdn/src/model/BatchSetCdnDomainServerCertificateRequest.cc delete mode 100644 cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc delete mode 100644 cdn/src/model/BatchStartCdnDomainRequest.cc delete mode 100644 cdn/src/model/BatchStartCdnDomainResult.cc delete mode 100644 cdn/src/model/BatchStopCdnDomainRequest.cc delete mode 100644 cdn/src/model/BatchStopCdnDomainResult.cc delete mode 100644 cdn/src/model/BatchUpdateCdnDomainRequest.cc delete mode 100644 cdn/src/model/BatchUpdateCdnDomainResult.cc delete mode 100644 cdn/src/model/CreateCdnCertificateSigningRequestRequest.cc delete mode 100644 cdn/src/model/CreateCdnCertificateSigningRequestResult.cc delete mode 100644 cdn/src/model/CreateCdnDeliverTaskRequest.cc delete mode 100644 cdn/src/model/CreateCdnDeliverTaskResult.cc delete mode 100644 cdn/src/model/CreateCdnSubTaskRequest.cc delete mode 100644 cdn/src/model/CreateCdnSubTaskResult.cc delete mode 100644 cdn/src/model/CreateIllegalUrlExportTaskRequest.cc delete mode 100644 cdn/src/model/CreateIllegalUrlExportTaskResult.cc delete mode 100644 cdn/src/model/CreateLiveStreamRecordIndexFilesRequest.cc delete mode 100644 cdn/src/model/CreateLiveStreamRecordIndexFilesResult.cc delete mode 100644 cdn/src/model/CreateRealTimeLogDeliveryRequest.cc delete mode 100644 cdn/src/model/CreateRealTimeLogDeliveryResult.cc delete mode 100644 cdn/src/model/CreateUsageDetailDataExportTaskRequest.cc delete mode 100644 cdn/src/model/CreateUsageDetailDataExportTaskResult.cc delete mode 100644 cdn/src/model/CreateUserUsageDataExportTaskRequest.cc delete mode 100644 cdn/src/model/CreateUserUsageDataExportTaskResult.cc delete mode 100644 cdn/src/model/DeleteCacheExpiredConfigRequest.cc delete mode 100644 cdn/src/model/DeleteCacheExpiredConfigResult.cc delete mode 100644 cdn/src/model/DeleteCdnDeliverTaskRequest.cc delete mode 100644 cdn/src/model/DeleteCdnDeliverTaskResult.cc delete mode 100644 cdn/src/model/DeleteCdnDomainRequest.cc delete mode 100644 cdn/src/model/DeleteCdnDomainResult.cc delete mode 100644 cdn/src/model/DeleteCdnSubTaskRequest.cc delete mode 100644 cdn/src/model/DeleteCdnSubTaskResult.cc delete mode 100644 cdn/src/model/DeleteFCTriggerRequest.cc delete mode 100644 cdn/src/model/DeleteFCTriggerResult.cc delete mode 100644 cdn/src/model/DeleteRealtimeLogDeliveryRequest.cc delete mode 100644 cdn/src/model/DeleteRealtimeLogDeliveryResult.cc delete mode 100644 cdn/src/model/DeleteSpecificConfigRequest.cc delete mode 100644 cdn/src/model/DeleteSpecificConfigResult.cc delete mode 100644 cdn/src/model/DeleteSpecificStagingConfigRequest.cc delete mode 100644 cdn/src/model/DeleteSpecificStagingConfigResult.cc delete mode 100644 cdn/src/model/DeleteUsageDetailDataExportTaskRequest.cc delete mode 100644 cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc delete mode 100644 cdn/src/model/DeleteUserUsageDataExportTaskRequest.cc delete mode 100644 cdn/src/model/DeleteUserUsageDataExportTaskResult.cc delete mode 100644 cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc delete mode 100644 cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc delete mode 100644 cdn/src/model/DescribeBlockedRegionsRequest.cc delete mode 100644 cdn/src/model/DescribeBlockedRegionsResult.cc delete mode 100644 cdn/src/model/DescribeCdnCertificateDetailRequest.cc delete mode 100644 cdn/src/model/DescribeCdnCertificateDetailResult.cc delete mode 100644 cdn/src/model/DescribeCdnCertificateListRequest.cc delete mode 100644 cdn/src/model/DescribeCdnCertificateListResult.cc delete mode 100644 cdn/src/model/DescribeCdnDeletedDomainsRequest.cc delete mode 100644 cdn/src/model/DescribeCdnDeletedDomainsResult.cc delete mode 100644 cdn/src/model/DescribeCdnDeliverListRequest.cc delete mode 100644 cdn/src/model/DescribeCdnDeliverListResult.cc delete mode 100644 cdn/src/model/DescribeCdnDomainByCertificateRequest.cc delete mode 100644 cdn/src/model/DescribeCdnDomainByCertificateResult.cc delete mode 100644 cdn/src/model/DescribeCdnDomainConfigsRequest.cc delete mode 100644 cdn/src/model/DescribeCdnDomainConfigsResult.cc delete mode 100644 cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc delete mode 100644 cdn/src/model/DescribeCdnDomainStagingConfigResult.cc delete mode 100644 cdn/src/model/DescribeCdnHttpsDomainListRequest.cc delete mode 100644 cdn/src/model/DescribeCdnHttpsDomainListResult.cc delete mode 100644 cdn/src/model/DescribeCdnMonitorDataRequest.cc delete mode 100644 cdn/src/model/DescribeCdnMonitorDataResult.cc delete mode 100644 cdn/src/model/DescribeCdnRegionAndIspRequest.cc delete mode 100644 cdn/src/model/DescribeCdnRegionAndIspResult.cc delete mode 100644 cdn/src/model/DescribeCdnReportListRequest.cc delete mode 100644 cdn/src/model/DescribeCdnReportListResult.cc delete mode 100644 cdn/src/model/DescribeCdnReportRequest.cc delete mode 100644 cdn/src/model/DescribeCdnReportResult.cc delete mode 100644 cdn/src/model/DescribeCdnSMCertificateDetailRequest.cc delete mode 100644 cdn/src/model/DescribeCdnSMCertificateDetailResult.cc delete mode 100644 cdn/src/model/DescribeCdnSMCertificateListRequest.cc delete mode 100644 cdn/src/model/DescribeCdnSMCertificateListResult.cc delete mode 100644 cdn/src/model/DescribeCdnSubListRequest.cc delete mode 100644 cdn/src/model/DescribeCdnSubListResult.cc delete mode 100644 cdn/src/model/DescribeCdnTypesRequest.cc delete mode 100644 cdn/src/model/DescribeCdnTypesResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserBillHistoryRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserBillHistoryResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserBillPredictionRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserBillPredictionResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserBillTypeRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserBillTypeResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserConfigsRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserConfigsResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserDomainsByFuncRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserQuotaRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserQuotaResult.cc delete mode 100644 cdn/src/model/DescribeCdnUserResourcePackageRequest.cc delete mode 100644 cdn/src/model/DescribeCdnUserResourcePackageResult.cc delete mode 100644 cdn/src/model/DescribeCdnWafDomainRequest.cc delete mode 100644 cdn/src/model/DescribeCdnWafDomainResult.cc delete mode 100644 cdn/src/model/DescribeCertificateInfoByIDRequest.cc delete mode 100644 cdn/src/model/DescribeCertificateInfoByIDResult.cc delete mode 100644 cdn/src/model/DescribeConfigGroupDetailRequest.cc delete mode 100644 cdn/src/model/DescribeConfigGroupDetailResult.cc delete mode 100644 cdn/src/model/DescribeConfigOfVersionRequest.cc delete mode 100644 cdn/src/model/DescribeConfigOfVersionResult.cc delete mode 100644 cdn/src/model/DescribeCustomLogConfigRequest.cc delete mode 100644 cdn/src/model/DescribeCustomLogConfigResult.cc delete mode 100644 cdn/src/model/DescribeDomainAverageResponseTimeRequest.cc delete mode 100644 cdn/src/model/DescribeDomainAverageResponseTimeResult.cc delete mode 100644 cdn/src/model/DescribeDomainBpsDataByLayerRequest.cc delete mode 100644 cdn/src/model/DescribeDomainBpsDataByLayerResult.cc delete mode 100644 cdn/src/model/DescribeDomainCcActivityLogRequest.cc delete mode 100644 cdn/src/model/DescribeDomainCcActivityLogResult.cc delete mode 100644 cdn/src/model/DescribeDomainCertificateInfoRequest.cc delete mode 100644 cdn/src/model/DescribeDomainCertificateInfoResult.cc delete mode 100644 cdn/src/model/DescribeDomainConfigsRequest.cc delete mode 100644 cdn/src/model/DescribeDomainConfigsResult.cc delete mode 100644 cdn/src/model/DescribeDomainCustomLogConfigRequest.cc delete mode 100644 cdn/src/model/DescribeDomainCustomLogConfigResult.cc delete mode 100644 cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc delete mode 100644 cdn/src/model/DescribeDomainDetailDataByLayerResult.cc delete mode 100644 cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc delete mode 100644 cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc delete mode 100644 cdn/src/model/DescribeDomainMax95BpsDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainMax95BpsDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainMultiUsageDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainMultiUsageDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainNamesOfVersionRequest.cc delete mode 100644 cdn/src/model/DescribeDomainNamesOfVersionResult.cc delete mode 100644 cdn/src/model/DescribeDomainPathDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainPathDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainPvDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainPvDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainQpsDataByLayerRequest.cc delete mode 100644 cdn/src/model/DescribeDomainQpsDataByLayerResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeDetailDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeQpsDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeTrafficDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainRealtimeLogDeliveryRequest.cc delete mode 100644 cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc delete mode 100644 cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainSrcQpsDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainSrcQpsDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainSrcTopUrlVisitRequest.cc delete mode 100644 cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc delete mode 100644 cdn/src/model/DescribeDomainSrcTrafficDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainSrcTrafficDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainTopClientIpVisitRequest.cc delete mode 100644 cdn/src/model/DescribeDomainTopClientIpVisitResult.cc delete mode 100644 cdn/src/model/DescribeDomainTopReferVisitRequest.cc delete mode 100644 cdn/src/model/DescribeDomainTopReferVisitResult.cc delete mode 100644 cdn/src/model/DescribeDomainTopUrlVisitRequest.cc delete mode 100644 cdn/src/model/DescribeDomainTopUrlVisitResult.cc delete mode 100644 cdn/src/model/DescribeDomainTrafficDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainTrafficDataResult.cc delete mode 100644 cdn/src/model/DescribeDomainUsageDataRequest.cc delete mode 100644 cdn/src/model/DescribeDomainUsageDataResult.cc delete mode 100644 cdn/src/model/DescribeEsExceptionDataRequest.cc delete mode 100644 cdn/src/model/DescribeEsExceptionDataResult.cc delete mode 100644 cdn/src/model/DescribeEsExecuteDataRequest.cc delete mode 100644 cdn/src/model/DescribeEsExecuteDataResult.cc delete mode 100644 cdn/src/model/DescribeFCTriggerRequest.cc delete mode 100644 cdn/src/model/DescribeFCTriggerResult.cc delete mode 100644 cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc delete mode 100644 cdn/src/model/DescribeIllegalUrlExportTaskResult.cc delete mode 100644 cdn/src/model/DescribeIpInfoRequest.cc delete mode 100644 cdn/src/model/DescribeIpInfoResult.cc delete mode 100644 cdn/src/model/DescribeL2VipsByDomainRequest.cc delete mode 100644 cdn/src/model/DescribeL2VipsByDomainResult.cc delete mode 100644 cdn/src/model/DescribeLivePullStreamConfigRequest.cc delete mode 100644 cdn/src/model/DescribeLivePullStreamConfigResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamOnlineUserNumRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamOnlineUserNumResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamRecordContentRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamRecordContentResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamRecordIndexFileRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamRecordIndexFileResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamSnapshotInfoRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamSnapshotInfoResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsOnlineListRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsOnlineListResult.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsPublishListRequest.cc delete mode 100644 cdn/src/model/DescribeLiveStreamsPublishListResult.cc delete mode 100644 cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc delete mode 100644 cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc delete mode 100644 cdn/src/model/DescribeRealtimeDeliveryAccRequest.cc delete mode 100644 cdn/src/model/DescribeRealtimeDeliveryAccResult.cc delete mode 100644 cdn/src/model/DescribeRefreshTaskByIdRequest.cc delete mode 100644 cdn/src/model/DescribeRefreshTaskByIdResult.cc delete mode 100644 cdn/src/model/DescribeRefreshTasksRequest.cc delete mode 100644 cdn/src/model/DescribeRefreshTasksResult.cc delete mode 100644 cdn/src/model/DescribeStagingIpRequest.cc delete mode 100644 cdn/src/model/DescribeStagingIpResult.cc delete mode 100644 cdn/src/model/DescribeTagResourcesRequest.cc delete mode 100644 cdn/src/model/DescribeTagResourcesResult.cc delete mode 100644 cdn/src/model/DescribeUserCertificateExpireCountRequest.cc delete mode 100644 cdn/src/model/DescribeUserCertificateExpireCountResult.cc delete mode 100644 cdn/src/model/DescribeUserConfigsRequest.cc delete mode 100644 cdn/src/model/DescribeUserConfigsResult.cc delete mode 100644 cdn/src/model/DescribeUserTagsRequest.cc delete mode 100644 cdn/src/model/DescribeUserTagsResult.cc delete mode 100644 cdn/src/model/DescribeUserUsageDataExportTaskRequest.cc delete mode 100644 cdn/src/model/DescribeUserUsageDataExportTaskResult.cc delete mode 100644 cdn/src/model/DescribeUserUsageDetailDataExportTaskRequest.cc delete mode 100644 cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc delete mode 100644 cdn/src/model/DescribeUserVipsByDomainRequest.cc delete mode 100644 cdn/src/model/DescribeUserVipsByDomainResult.cc delete mode 100644 cdn/src/model/DescribeVerifyContentRequest.cc delete mode 100644 cdn/src/model/DescribeVerifyContentResult.cc delete mode 100644 cdn/src/model/DisableRealtimeLogDeliveryRequest.cc delete mode 100644 cdn/src/model/DisableRealtimeLogDeliveryResult.cc delete mode 100644 cdn/src/model/EnableRealtimeLogDeliveryRequest.cc delete mode 100644 cdn/src/model/EnableRealtimeLogDeliveryResult.cc delete mode 100644 cdn/src/model/ForbidLiveStreamRequest.cc delete mode 100644 cdn/src/model/ForbidLiveStreamResult.cc delete mode 100644 cdn/src/model/ListDomainsByLogConfigIdRequest.cc delete mode 100644 cdn/src/model/ListDomainsByLogConfigIdResult.cc delete mode 100644 cdn/src/model/ListFCTriggerRequest.cc delete mode 100644 cdn/src/model/ListFCTriggerResult.cc delete mode 100644 cdn/src/model/ListRealtimeLogDeliveryDomainsRequest.cc delete mode 100644 cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc delete mode 100644 cdn/src/model/ListRealtimeLogDeliveryInfosRequest.cc delete mode 100644 cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc delete mode 100644 cdn/src/model/ListUserCustomLogConfigRequest.cc delete mode 100644 cdn/src/model/ListUserCustomLogConfigResult.cc delete mode 100644 cdn/src/model/ModifyCdnDomainRequest.cc delete mode 100644 cdn/src/model/ModifyCdnDomainResult.cc delete mode 100644 cdn/src/model/ModifyCdnDomainSchdmByPropertyRequest.cc delete mode 100644 cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc delete mode 100644 cdn/src/model/ModifyDomainCustomLogConfigRequest.cc delete mode 100644 cdn/src/model/ModifyDomainCustomLogConfigResult.cc delete mode 100644 cdn/src/model/ModifyRealtimeLogDeliveryRequest.cc delete mode 100644 cdn/src/model/ModifyRealtimeLogDeliveryResult.cc delete mode 100644 cdn/src/model/PublishStagingConfigToProductionRequest.cc delete mode 100644 cdn/src/model/PublishStagingConfigToProductionResult.cc delete mode 100644 cdn/src/model/ResumeLiveStreamRequest.cc delete mode 100644 cdn/src/model/ResumeLiveStreamResult.cc delete mode 100644 cdn/src/model/RollbackStagingConfigRequest.cc delete mode 100644 cdn/src/model/RollbackStagingConfigResult.cc delete mode 100644 cdn/src/model/SetCcConfigRequest.cc delete mode 100644 cdn/src/model/SetCcConfigResult.cc delete mode 100644 cdn/src/model/SetCdnDomainCSRCertificateRequest.cc delete mode 100644 cdn/src/model/SetCdnDomainCSRCertificateResult.cc delete mode 100644 cdn/src/model/SetCdnDomainSMCertificateRequest.cc delete mode 100644 cdn/src/model/SetCdnDomainSMCertificateResult.cc delete mode 100644 cdn/src/model/SetCdnDomainStagingConfigRequest.cc delete mode 100644 cdn/src/model/SetCdnDomainStagingConfigResult.cc delete mode 100644 cdn/src/model/SetConfigOfVersionRequest.cc delete mode 100644 cdn/src/model/SetConfigOfVersionResult.cc delete mode 100644 cdn/src/model/SetDomainServerCertificateRequest.cc delete mode 100644 cdn/src/model/SetDomainServerCertificateResult.cc delete mode 100644 cdn/src/model/SetFileCacheExpiredConfigRequest.cc delete mode 100644 cdn/src/model/SetFileCacheExpiredConfigResult.cc delete mode 100644 cdn/src/model/SetForceRedirectConfigRequest.cc delete mode 100644 cdn/src/model/SetForceRedirectConfigResult.cc delete mode 100644 cdn/src/model/SetForwardSchemeConfigRequest.cc delete mode 100644 cdn/src/model/SetForwardSchemeConfigResult.cc delete mode 100644 cdn/src/model/SetHttpHeaderConfigRequest.cc delete mode 100644 cdn/src/model/SetHttpHeaderConfigResult.cc delete mode 100644 cdn/src/model/SetHttpsOptionConfigRequest.cc delete mode 100644 cdn/src/model/SetHttpsOptionConfigResult.cc delete mode 100644 cdn/src/model/SetIgnoreQueryStringConfigRequest.cc delete mode 100644 cdn/src/model/SetIgnoreQueryStringConfigResult.cc delete mode 100644 cdn/src/model/SetIpAllowListConfigRequest.cc delete mode 100644 cdn/src/model/SetIpAllowListConfigResult.cc delete mode 100644 cdn/src/model/SetIpBlackListConfigRequest.cc delete mode 100644 cdn/src/model/SetIpBlackListConfigResult.cc delete mode 100644 cdn/src/model/SetOptimizeConfigRequest.cc delete mode 100644 cdn/src/model/SetOptimizeConfigResult.cc delete mode 100644 cdn/src/model/SetPageCompressConfigRequest.cc delete mode 100644 cdn/src/model/SetPageCompressConfigResult.cc delete mode 100644 cdn/src/model/SetPathCacheExpiredConfigRequest.cc delete mode 100644 cdn/src/model/SetPathCacheExpiredConfigResult.cc delete mode 100644 cdn/src/model/SetRangeConfigRequest.cc delete mode 100644 cdn/src/model/SetRangeConfigResult.cc delete mode 100644 cdn/src/model/SetRefererConfigRequest.cc delete mode 100644 cdn/src/model/SetRefererConfigResult.cc delete mode 100644 cdn/src/model/SetRemoveQueryStringConfigRequest.cc delete mode 100644 cdn/src/model/SetRemoveQueryStringConfigResult.cc delete mode 100644 cdn/src/model/SetReqAuthConfigRequest.cc delete mode 100644 cdn/src/model/SetReqAuthConfigResult.cc delete mode 100644 cdn/src/model/SetReqHeaderConfigRequest.cc delete mode 100644 cdn/src/model/SetReqHeaderConfigResult.cc delete mode 100644 cdn/src/model/SetSourceHostConfigRequest.cc delete mode 100644 cdn/src/model/SetSourceHostConfigResult.cc delete mode 100644 cdn/src/model/SetWaitingRoomConfigRequest.cc delete mode 100644 cdn/src/model/SetWaitingRoomConfigResult.cc delete mode 100644 cdn/src/model/StartCdnDomainRequest.cc delete mode 100644 cdn/src/model/StartCdnDomainResult.cc delete mode 100644 cdn/src/model/StopCdnDomainRequest.cc delete mode 100644 cdn/src/model/StopCdnDomainResult.cc delete mode 100644 cdn/src/model/TagResourcesRequest.cc delete mode 100644 cdn/src/model/TagResourcesResult.cc create mode 100644 cdn/src/model/TestDescribeDomainBpsDataRequest.cc create mode 100644 cdn/src/model/TestDescribeDomainBpsDataResult.cc delete mode 100644 cdn/src/model/UntagResourcesRequest.cc delete mode 100644 cdn/src/model/UntagResourcesResult.cc delete mode 100644 cdn/src/model/UpdateCdnDeliverTaskRequest.cc delete mode 100644 cdn/src/model/UpdateCdnDeliverTaskResult.cc delete mode 100644 cdn/src/model/UpdateCdnSubTaskRequest.cc delete mode 100644 cdn/src/model/UpdateCdnSubTaskResult.cc delete mode 100644 cdn/src/model/UpdateFCTriggerRequest.cc delete mode 100644 cdn/src/model/UpdateFCTriggerResult.cc delete mode 100644 cdn/src/model/VerifyDomainOwnerRequest.cc delete mode 100644 cdn/src/model/VerifyDomainOwnerResult.cc diff --git a/VERSION b/VERSION index 18c5c9984..19646dc25 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1241 \ No newline at end of file +1.36.1242 \ No newline at end of file diff --git a/cdn/CMakeLists.txt b/cdn/CMakeLists.txt index 2c6b5d38f..03827c34a 100644 --- a/cdn/CMakeLists.txt +++ b/cdn/CMakeLists.txt @@ -23,142 +23,16 @@ 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/CreateLiveStreamRecordIndexFilesRequest.h - include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.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/DeleteCacheExpiredConfigRequest.h - include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h - include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h - include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h - include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h - include/alibabacloud/cdn/model/DeleteCdnDomainResult.h - include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h - include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h - include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h - include/alibabacloud/cdn/model/DeleteFCTriggerResult.h - include/alibabacloud/cdn/model/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/DescribeCdnMonitorDataRequest.h - include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h - include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h - include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h - include/alibabacloud/cdn/model/DescribeCdnReportRequest.h - include/alibabacloud/cdn/model/DescribeCdnReportResult.h - include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h - include/alibabacloud/cdn/model/DescribeCdnReportListResult.h - include/alibabacloud/cdn/model/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/DescribeCdnTypesRequest.h - include/alibabacloud/cdn/model/DescribeCdnTypesResult.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/DescribeDomainConfigsRequest.h - include/alibabacloud/cdn/model/DescribeDomainConfigsResult.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 @@ -167,46 +41,10 @@ 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 @@ -215,333 +53,41 @@ 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/DescribeL2VipsByDomainRequest.h - include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h - include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h - include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListResult.h - include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h - include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListResult.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/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/ForbidLiveStreamRequest.h - include/alibabacloud/cdn/model/ForbidLiveStreamResult.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/ModifyDomainCustomLogConfigRequest.h - include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.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/ResumeLiveStreamRequest.h - include/alibabacloud/cdn/model/ResumeLiveStreamResult.h - include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h - include/alibabacloud/cdn/model/RollbackStagingConfigResult.h - include/alibabacloud/cdn/model/SetCcConfigRequest.h - include/alibabacloud/cdn/model/SetCcConfigResult.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/SetFileCacheExpiredConfigRequest.h - include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h - include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h - include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h - include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h - include/alibabacloud/cdn/model/SetForwardSchemeConfigResult.h - include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h - include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h - include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h - include/alibabacloud/cdn/model/SetHttpsOptionConfigResult.h - include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigRequest.h - include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigResult.h - include/alibabacloud/cdn/model/SetIpAllowListConfigRequest.h - include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h - include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h - include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h - include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h - include/alibabacloud/cdn/model/SetOptimizeConfigResult.h - include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h - include/alibabacloud/cdn/model/SetPageCompressConfigResult.h - include/alibabacloud/cdn/model/SetPathCacheExpiredConfigRequest.h - include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h - include/alibabacloud/cdn/model/SetRangeConfigRequest.h - include/alibabacloud/cdn/model/SetRangeConfigResult.h - include/alibabacloud/cdn/model/SetRefererConfigRequest.h - include/alibabacloud/cdn/model/SetRefererConfigResult.h - include/alibabacloud/cdn/model/SetRemoveQueryStringConfigRequest.h - include/alibabacloud/cdn/model/SetRemoveQueryStringConfigResult.h - include/alibabacloud/cdn/model/SetReqAuthConfigRequest.h - include/alibabacloud/cdn/model/SetReqAuthConfigResult.h - include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h - include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h - include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h - include/alibabacloud/cdn/model/SetSourceHostConfigResult.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/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 ) + include/alibabacloud/cdn/model/TestDescribeDomainBpsDataRequest.h + include/alibabacloud/cdn/model/TestDescribeDomainBpsDataResult.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/CreateLiveStreamRecordIndexFilesRequest.cc - src/model/CreateLiveStreamRecordIndexFilesResult.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/DeleteCacheExpiredConfigRequest.cc - src/model/DeleteCacheExpiredConfigResult.cc - src/model/DeleteCdnDeliverTaskRequest.cc - src/model/DeleteCdnDeliverTaskResult.cc - src/model/DeleteCdnDomainRequest.cc - src/model/DeleteCdnDomainResult.cc - src/model/DeleteCdnSubTaskRequest.cc - src/model/DeleteCdnSubTaskResult.cc - src/model/DeleteFCTriggerRequest.cc - src/model/DeleteFCTriggerResult.cc - src/model/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/DescribeCdnMonitorDataRequest.cc - src/model/DescribeCdnMonitorDataResult.cc - src/model/DescribeCdnRegionAndIspRequest.cc - src/model/DescribeCdnRegionAndIspResult.cc - src/model/DescribeCdnReportRequest.cc - src/model/DescribeCdnReportResult.cc - src/model/DescribeCdnReportListRequest.cc - src/model/DescribeCdnReportListResult.cc - src/model/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/DescribeCdnTypesRequest.cc - src/model/DescribeCdnTypesResult.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/DescribeDomainConfigsRequest.cc - src/model/DescribeDomainConfigsResult.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 @@ -550,46 +96,10 @@ 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 @@ -598,192 +108,26 @@ 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/DescribeL2VipsByDomainRequest.cc - src/model/DescribeL2VipsByDomainResult.cc - src/model/DescribeLivePullStreamConfigRequest.cc - src/model/DescribeLivePullStreamConfigResult.cc - src/model/DescribeLiveStreamOnlineUserNumRequest.cc - src/model/DescribeLiveStreamOnlineUserNumResult.cc - src/model/DescribeLiveStreamRecordContentRequest.cc - src/model/DescribeLiveStreamRecordContentResult.cc - src/model/DescribeLiveStreamRecordIndexFileRequest.cc - src/model/DescribeLiveStreamRecordIndexFileResult.cc - src/model/DescribeLiveStreamRecordIndexFilesRequest.cc - src/model/DescribeLiveStreamRecordIndexFilesResult.cc - src/model/DescribeLiveStreamSnapshotInfoRequest.cc - src/model/DescribeLiveStreamSnapshotInfoResult.cc - src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc - src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc - src/model/DescribeLiveStreamsOnlineListRequest.cc - src/model/DescribeLiveStreamsOnlineListResult.cc - src/model/DescribeLiveStreamsPublishListRequest.cc - src/model/DescribeLiveStreamsPublishListResult.cc - src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc - src/model/DescribeRangeDataByLocateAndIspServiceResult.cc - src/model/DescribeRealtimeDeliveryAccRequest.cc - src/model/DescribeRealtimeDeliveryAccResult.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/ForbidLiveStreamRequest.cc - src/model/ForbidLiveStreamResult.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/ModifyDomainCustomLogConfigRequest.cc - src/model/ModifyDomainCustomLogConfigResult.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/ResumeLiveStreamRequest.cc - src/model/ResumeLiveStreamResult.cc - src/model/RollbackStagingConfigRequest.cc - src/model/RollbackStagingConfigResult.cc - src/model/SetCcConfigRequest.cc - src/model/SetCcConfigResult.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/SetFileCacheExpiredConfigRequest.cc - src/model/SetFileCacheExpiredConfigResult.cc - src/model/SetForceRedirectConfigRequest.cc - src/model/SetForceRedirectConfigResult.cc - src/model/SetForwardSchemeConfigRequest.cc - src/model/SetForwardSchemeConfigResult.cc - src/model/SetHttpHeaderConfigRequest.cc - src/model/SetHttpHeaderConfigResult.cc - src/model/SetHttpsOptionConfigRequest.cc - src/model/SetHttpsOptionConfigResult.cc - src/model/SetIgnoreQueryStringConfigRequest.cc - src/model/SetIgnoreQueryStringConfigResult.cc - src/model/SetIpAllowListConfigRequest.cc - src/model/SetIpAllowListConfigResult.cc - src/model/SetIpBlackListConfigRequest.cc - src/model/SetIpBlackListConfigResult.cc - src/model/SetOptimizeConfigRequest.cc - src/model/SetOptimizeConfigResult.cc - src/model/SetPageCompressConfigRequest.cc - src/model/SetPageCompressConfigResult.cc - src/model/SetPathCacheExpiredConfigRequest.cc - src/model/SetPathCacheExpiredConfigResult.cc - src/model/SetRangeConfigRequest.cc - src/model/SetRangeConfigResult.cc - src/model/SetRefererConfigRequest.cc - src/model/SetRefererConfigResult.cc - src/model/SetRemoveQueryStringConfigRequest.cc - src/model/SetRemoveQueryStringConfigResult.cc - src/model/SetReqAuthConfigRequest.cc - src/model/SetReqAuthConfigResult.cc - src/model/SetReqHeaderConfigRequest.cc - src/model/SetReqHeaderConfigResult.cc - src/model/SetSourceHostConfigRequest.cc - src/model/SetSourceHostConfigResult.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/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 ) + src/model/TestDescribeDomainBpsDataRequest.cc + src/model/TestDescribeDomainBpsDataResult.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 61081dc30..d00d06601 100644 --- a/cdn/include/alibabacloud/cdn/CdnClient.h +++ b/cdn/include/alibabacloud/cdn/CdnClient.h @@ -24,142 +24,16 @@ #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/CreateLiveStreamRecordIndexFilesRequest.h" -#include "model/CreateLiveStreamRecordIndexFilesResult.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/DeleteCacheExpiredConfigRequest.h" -#include "model/DeleteCacheExpiredConfigResult.h" -#include "model/DeleteCdnDeliverTaskRequest.h" -#include "model/DeleteCdnDeliverTaskResult.h" -#include "model/DeleteCdnDomainRequest.h" -#include "model/DeleteCdnDomainResult.h" -#include "model/DeleteCdnSubTaskRequest.h" -#include "model/DeleteCdnSubTaskResult.h" -#include "model/DeleteFCTriggerRequest.h" -#include "model/DeleteFCTriggerResult.h" -#include "model/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/DescribeCdnMonitorDataRequest.h" -#include "model/DescribeCdnMonitorDataResult.h" -#include "model/DescribeCdnRegionAndIspRequest.h" -#include "model/DescribeCdnRegionAndIspResult.h" -#include "model/DescribeCdnReportRequest.h" -#include "model/DescribeCdnReportResult.h" -#include "model/DescribeCdnReportListRequest.h" -#include "model/DescribeCdnReportListResult.h" -#include "model/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/DescribeCdnTypesRequest.h" -#include "model/DescribeCdnTypesResult.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/DescribeDomainConfigsRequest.h" -#include "model/DescribeDomainConfigsResult.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" @@ -168,46 +42,10 @@ #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" @@ -216,192 +54,26 @@ #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/DescribeL2VipsByDomainRequest.h" -#include "model/DescribeL2VipsByDomainResult.h" -#include "model/DescribeLivePullStreamConfigRequest.h" -#include "model/DescribeLivePullStreamConfigResult.h" -#include "model/DescribeLiveStreamOnlineUserNumRequest.h" -#include "model/DescribeLiveStreamOnlineUserNumResult.h" -#include "model/DescribeLiveStreamRecordContentRequest.h" -#include "model/DescribeLiveStreamRecordContentResult.h" -#include "model/DescribeLiveStreamRecordIndexFileRequest.h" -#include "model/DescribeLiveStreamRecordIndexFileResult.h" -#include "model/DescribeLiveStreamRecordIndexFilesRequest.h" -#include "model/DescribeLiveStreamRecordIndexFilesResult.h" -#include "model/DescribeLiveStreamSnapshotInfoRequest.h" -#include "model/DescribeLiveStreamSnapshotInfoResult.h" -#include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h" -#include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h" -#include "model/DescribeLiveStreamsOnlineListRequest.h" -#include "model/DescribeLiveStreamsOnlineListResult.h" -#include "model/DescribeLiveStreamsPublishListRequest.h" -#include "model/DescribeLiveStreamsPublishListResult.h" -#include "model/DescribeRangeDataByLocateAndIspServiceRequest.h" -#include "model/DescribeRangeDataByLocateAndIspServiceResult.h" -#include "model/DescribeRealtimeDeliveryAccRequest.h" -#include "model/DescribeRealtimeDeliveryAccResult.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/ForbidLiveStreamRequest.h" -#include "model/ForbidLiveStreamResult.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/ModifyDomainCustomLogConfigRequest.h" -#include "model/ModifyDomainCustomLogConfigResult.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/ResumeLiveStreamRequest.h" -#include "model/ResumeLiveStreamResult.h" -#include "model/RollbackStagingConfigRequest.h" -#include "model/RollbackStagingConfigResult.h" -#include "model/SetCcConfigRequest.h" -#include "model/SetCcConfigResult.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/SetFileCacheExpiredConfigRequest.h" -#include "model/SetFileCacheExpiredConfigResult.h" -#include "model/SetForceRedirectConfigRequest.h" -#include "model/SetForceRedirectConfigResult.h" -#include "model/SetForwardSchemeConfigRequest.h" -#include "model/SetForwardSchemeConfigResult.h" -#include "model/SetHttpHeaderConfigRequest.h" -#include "model/SetHttpHeaderConfigResult.h" -#include "model/SetHttpsOptionConfigRequest.h" -#include "model/SetHttpsOptionConfigResult.h" -#include "model/SetIgnoreQueryStringConfigRequest.h" -#include "model/SetIgnoreQueryStringConfigResult.h" -#include "model/SetIpAllowListConfigRequest.h" -#include "model/SetIpAllowListConfigResult.h" -#include "model/SetIpBlackListConfigRequest.h" -#include "model/SetIpBlackListConfigResult.h" -#include "model/SetOptimizeConfigRequest.h" -#include "model/SetOptimizeConfigResult.h" -#include "model/SetPageCompressConfigRequest.h" -#include "model/SetPageCompressConfigResult.h" -#include "model/SetPathCacheExpiredConfigRequest.h" -#include "model/SetPathCacheExpiredConfigResult.h" -#include "model/SetRangeConfigRequest.h" -#include "model/SetRangeConfigResult.h" -#include "model/SetRefererConfigRequest.h" -#include "model/SetRefererConfigResult.h" -#include "model/SetRemoveQueryStringConfigRequest.h" -#include "model/SetRemoveQueryStringConfigResult.h" -#include "model/SetReqAuthConfigRequest.h" -#include "model/SetReqAuthConfigResult.h" -#include "model/SetReqHeaderConfigRequest.h" -#include "model/SetReqHeaderConfigResult.h" -#include "model/SetSourceHostConfigRequest.h" -#include "model/SetSourceHostConfigResult.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/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" +#include "model/TestDescribeDomainBpsDataRequest.h" +#include "model/TestDescribeDomainBpsDataResult.h" namespace AlibabaCloud @@ -414,210 +86,21 @@ 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 CreateLiveStreamRecordIndexFilesOutcome; - typedef std::future CreateLiveStreamRecordIndexFilesOutcomeCallable; - typedef std::function&)> CreateLiveStreamRecordIndexFilesAsyncHandler; - 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 DeleteCacheExpiredConfigOutcome; - typedef std::future DeleteCacheExpiredConfigOutcomeCallable; - typedef std::function&)> DeleteCacheExpiredConfigAsyncHandler; - typedef Outcome DeleteCdnDeliverTaskOutcome; - typedef std::future DeleteCdnDeliverTaskOutcomeCallable; - typedef std::function&)> DeleteCdnDeliverTaskAsyncHandler; - typedef Outcome DeleteCdnDomainOutcome; - typedef std::future DeleteCdnDomainOutcomeCallable; - typedef std::function&)> DeleteCdnDomainAsyncHandler; - typedef Outcome DeleteCdnSubTaskOutcome; - typedef std::future DeleteCdnSubTaskOutcomeCallable; - typedef std::function&)> DeleteCdnSubTaskAsyncHandler; - typedef Outcome DeleteFCTriggerOutcome; - typedef std::future DeleteFCTriggerOutcomeCallable; - typedef std::function&)> DeleteFCTriggerAsyncHandler; - 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 DescribeCdnMonitorDataOutcome; - typedef std::future DescribeCdnMonitorDataOutcomeCallable; - typedef std::function&)> DescribeCdnMonitorDataAsyncHandler; - 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 DescribeCdnTypesOutcome; - typedef std::future DescribeCdnTypesOutcomeCallable; - typedef std::function&)> DescribeCdnTypesAsyncHandler; - 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 DescribeDomainConfigsOutcome; - typedef std::future DescribeDomainConfigsOutcomeCallable; - typedef std::function&)> DescribeDomainConfigsAsyncHandler; - 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; @@ -630,66 +113,12 @@ 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; @@ -702,33 +131,6 @@ 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; @@ -738,249 +140,27 @@ 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 DescribeL2VipsByDomainOutcome; - typedef std::future DescribeL2VipsByDomainOutcomeCallable; - typedef std::function&)> DescribeL2VipsByDomainAsyncHandler; - typedef Outcome DescribeLivePullStreamConfigOutcome; - typedef std::future DescribeLivePullStreamConfigOutcomeCallable; - typedef std::function&)> DescribeLivePullStreamConfigAsyncHandler; - typedef Outcome DescribeLiveStreamOnlineUserNumOutcome; - typedef std::future DescribeLiveStreamOnlineUserNumOutcomeCallable; - typedef std::function&)> DescribeLiveStreamOnlineUserNumAsyncHandler; - typedef Outcome DescribeLiveStreamRecordContentOutcome; - typedef std::future DescribeLiveStreamRecordContentOutcomeCallable; - typedef std::function&)> DescribeLiveStreamRecordContentAsyncHandler; - typedef Outcome DescribeLiveStreamRecordIndexFileOutcome; - typedef std::future DescribeLiveStreamRecordIndexFileOutcomeCallable; - typedef std::function&)> DescribeLiveStreamRecordIndexFileAsyncHandler; - typedef Outcome DescribeLiveStreamRecordIndexFilesOutcome; - typedef std::future DescribeLiveStreamRecordIndexFilesOutcomeCallable; - typedef std::function&)> DescribeLiveStreamRecordIndexFilesAsyncHandler; - typedef Outcome DescribeLiveStreamSnapshotInfoOutcome; - typedef std::future DescribeLiveStreamSnapshotInfoOutcomeCallable; - typedef std::function&)> DescribeLiveStreamSnapshotInfoAsyncHandler; - typedef Outcome DescribeLiveStreamsFrameRateAndBitRateDataOutcome; - typedef std::future DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable; - typedef std::function&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler; - typedef Outcome DescribeLiveStreamsOnlineListOutcome; - typedef std::future DescribeLiveStreamsOnlineListOutcomeCallable; - typedef std::function&)> DescribeLiveStreamsOnlineListAsyncHandler; - typedef Outcome DescribeLiveStreamsPublishListOutcome; - typedef std::future DescribeLiveStreamsPublishListOutcomeCallable; - typedef std::function&)> DescribeLiveStreamsPublishListAsyncHandler; - typedef Outcome DescribeRangeDataByLocateAndIspServiceOutcome; - typedef std::future DescribeRangeDataByLocateAndIspServiceOutcomeCallable; - typedef std::function&)> DescribeRangeDataByLocateAndIspServiceAsyncHandler; - typedef Outcome DescribeRealtimeDeliveryAccOutcome; - typedef std::future DescribeRealtimeDeliveryAccOutcomeCallable; - typedef std::function&)> DescribeRealtimeDeliveryAccAsyncHandler; 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 ForbidLiveStreamOutcome; - typedef std::future ForbidLiveStreamOutcomeCallable; - typedef std::function&)> ForbidLiveStreamAsyncHandler; - 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 ModifyDomainCustomLogConfigOutcome; - typedef std::future ModifyDomainCustomLogConfigOutcomeCallable; - typedef std::function&)> ModifyDomainCustomLogConfigAsyncHandler; - 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 ResumeLiveStreamOutcome; - typedef std::future ResumeLiveStreamOutcomeCallable; - typedef std::function&)> ResumeLiveStreamAsyncHandler; - typedef Outcome RollbackStagingConfigOutcome; - typedef std::future RollbackStagingConfigOutcomeCallable; - typedef std::function&)> RollbackStagingConfigAsyncHandler; - typedef Outcome SetCcConfigOutcome; - typedef std::future SetCcConfigOutcomeCallable; - typedef std::function&)> SetCcConfigAsyncHandler; - 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 SetFileCacheExpiredConfigOutcome; - typedef std::future SetFileCacheExpiredConfigOutcomeCallable; - typedef std::function&)> SetFileCacheExpiredConfigAsyncHandler; - typedef Outcome SetForceRedirectConfigOutcome; - typedef std::future SetForceRedirectConfigOutcomeCallable; - typedef std::function&)> SetForceRedirectConfigAsyncHandler; - typedef Outcome SetForwardSchemeConfigOutcome; - typedef std::future SetForwardSchemeConfigOutcomeCallable; - typedef std::function&)> SetForwardSchemeConfigAsyncHandler; - typedef Outcome SetHttpHeaderConfigOutcome; - typedef std::future SetHttpHeaderConfigOutcomeCallable; - typedef std::function&)> SetHttpHeaderConfigAsyncHandler; - typedef Outcome SetHttpsOptionConfigOutcome; - typedef std::future SetHttpsOptionConfigOutcomeCallable; - typedef std::function&)> SetHttpsOptionConfigAsyncHandler; - typedef Outcome SetIgnoreQueryStringConfigOutcome; - typedef std::future SetIgnoreQueryStringConfigOutcomeCallable; - typedef std::function&)> SetIgnoreQueryStringConfigAsyncHandler; - typedef Outcome SetIpAllowListConfigOutcome; - typedef std::future SetIpAllowListConfigOutcomeCallable; - typedef std::function&)> SetIpAllowListConfigAsyncHandler; - typedef Outcome SetIpBlackListConfigOutcome; - typedef std::future SetIpBlackListConfigOutcomeCallable; - typedef std::function&)> SetIpBlackListConfigAsyncHandler; - typedef Outcome SetOptimizeConfigOutcome; - typedef std::future SetOptimizeConfigOutcomeCallable; - typedef std::function&)> SetOptimizeConfigAsyncHandler; - typedef Outcome SetPageCompressConfigOutcome; - typedef std::future SetPageCompressConfigOutcomeCallable; - typedef std::function&)> SetPageCompressConfigAsyncHandler; - typedef Outcome SetPathCacheExpiredConfigOutcome; - typedef std::future SetPathCacheExpiredConfigOutcomeCallable; - typedef std::function&)> SetPathCacheExpiredConfigAsyncHandler; - typedef Outcome SetRangeConfigOutcome; - typedef std::future SetRangeConfigOutcomeCallable; - typedef std::function&)> SetRangeConfigAsyncHandler; - typedef Outcome SetRefererConfigOutcome; - typedef std::future SetRefererConfigOutcomeCallable; - typedef std::function&)> SetRefererConfigAsyncHandler; - typedef Outcome SetRemoveQueryStringConfigOutcome; - typedef std::future SetRemoveQueryStringConfigOutcomeCallable; - typedef std::function&)> SetRemoveQueryStringConfigAsyncHandler; - typedef Outcome SetReqAuthConfigOutcome; - typedef std::future SetReqAuthConfigOutcomeCallable; - typedef std::function&)> SetReqAuthConfigAsyncHandler; - typedef Outcome SetReqHeaderConfigOutcome; - typedef std::future SetReqHeaderConfigOutcomeCallable; - typedef std::function&)> SetReqHeaderConfigAsyncHandler; - typedef Outcome SetSourceHostConfigOutcome; - typedef std::future SetSourceHostConfigOutcomeCallable; - typedef std::function&)> SetSourceHostConfigAsyncHandler; - 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 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; + typedef Outcome TestDescribeDomainBpsDataOutcome; + typedef std::future TestDescribeDomainBpsDataOutcomeCallable; + typedef std::function&)> TestDescribeDomainBpsDataAsyncHandler; CdnClient(const Credentials &credentials, const ClientConfiguration &configuration); CdnClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -989,210 +169,21 @@ 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; - CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const; - void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& 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; - DeleteCacheExpiredConfigOutcome deleteCacheExpiredConfig(const Model::DeleteCacheExpiredConfigRequest &request)const; - void deleteCacheExpiredConfigAsync(const Model::DeleteCacheExpiredConfigRequest& request, const DeleteCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteCacheExpiredConfigOutcomeCallable deleteCacheExpiredConfigCallable(const Model::DeleteCacheExpiredConfigRequest& request) const; - DeleteCdnDeliverTaskOutcome deleteCdnDeliverTask(const Model::DeleteCdnDeliverTaskRequest &request)const; - void deleteCdnDeliverTaskAsync(const Model::DeleteCdnDeliverTaskRequest& request, const DeleteCdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteCdnDeliverTaskOutcomeCallable deleteCdnDeliverTaskCallable(const Model::DeleteCdnDeliverTaskRequest& request) const; - DeleteCdnDomainOutcome deleteCdnDomain(const Model::DeleteCdnDomainRequest &request)const; - void deleteCdnDomainAsync(const Model::DeleteCdnDomainRequest& request, const DeleteCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteCdnDomainOutcomeCallable deleteCdnDomainCallable(const Model::DeleteCdnDomainRequest& request) const; - DeleteCdnSubTaskOutcome deleteCdnSubTask(const Model::DeleteCdnSubTaskRequest &request)const; - void deleteCdnSubTaskAsync(const Model::DeleteCdnSubTaskRequest& request, const DeleteCdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteCdnSubTaskOutcomeCallable deleteCdnSubTaskCallable(const Model::DeleteCdnSubTaskRequest& request) const; - DeleteFCTriggerOutcome deleteFCTrigger(const Model::DeleteFCTriggerRequest &request)const; - void deleteFCTriggerAsync(const Model::DeleteFCTriggerRequest& request, const DeleteFCTriggerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFCTriggerOutcomeCallable deleteFCTriggerCallable(const Model::DeleteFCTriggerRequest& request) const; - 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; - DescribeCdnMonitorDataOutcome describeCdnMonitorData(const Model::DescribeCdnMonitorDataRequest &request)const; - void describeCdnMonitorDataAsync(const Model::DescribeCdnMonitorDataRequest& request, const DescribeCdnMonitorDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCdnMonitorDataOutcomeCallable describeCdnMonitorDataCallable(const Model::DescribeCdnMonitorDataRequest& 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; - DescribeCdnTypesOutcome describeCdnTypes(const Model::DescribeCdnTypesRequest &request)const; - void describeCdnTypesAsync(const Model::DescribeCdnTypesRequest& request, const DescribeCdnTypesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCdnTypesOutcomeCallable describeCdnTypesCallable(const Model::DescribeCdnTypesRequest& request) const; - 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; - DescribeDomainConfigsOutcome describeDomainConfigs(const Model::DescribeDomainConfigsRequest &request)const; - void describeDomainConfigsAsync(const Model::DescribeDomainConfigsRequest& request, const DescribeDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDomainConfigsOutcomeCallable describeDomainConfigsCallable(const Model::DescribeDomainConfigsRequest& 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; @@ -1205,66 +196,12 @@ 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; @@ -1277,33 +214,6 @@ 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; @@ -1313,249 +223,27 @@ 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; - 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; - DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const; - void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const; - DescribeLiveStreamOnlineUserNumOutcome describeLiveStreamOnlineUserNum(const Model::DescribeLiveStreamOnlineUserNumRequest &request)const; - void describeLiveStreamOnlineUserNumAsync(const Model::DescribeLiveStreamOnlineUserNumRequest& request, const DescribeLiveStreamOnlineUserNumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamOnlineUserNumOutcomeCallable describeLiveStreamOnlineUserNumCallable(const Model::DescribeLiveStreamOnlineUserNumRequest& request) const; - DescribeLiveStreamRecordContentOutcome describeLiveStreamRecordContent(const Model::DescribeLiveStreamRecordContentRequest &request)const; - void describeLiveStreamRecordContentAsync(const Model::DescribeLiveStreamRecordContentRequest& request, const DescribeLiveStreamRecordContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamRecordContentOutcomeCallable describeLiveStreamRecordContentCallable(const Model::DescribeLiveStreamRecordContentRequest& request) const; - DescribeLiveStreamRecordIndexFileOutcome describeLiveStreamRecordIndexFile(const Model::DescribeLiveStreamRecordIndexFileRequest &request)const; - void describeLiveStreamRecordIndexFileAsync(const Model::DescribeLiveStreamRecordIndexFileRequest& request, const DescribeLiveStreamRecordIndexFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamRecordIndexFileOutcomeCallable describeLiveStreamRecordIndexFileCallable(const Model::DescribeLiveStreamRecordIndexFileRequest& request) const; - DescribeLiveStreamRecordIndexFilesOutcome describeLiveStreamRecordIndexFiles(const Model::DescribeLiveStreamRecordIndexFilesRequest &request)const; - void describeLiveStreamRecordIndexFilesAsync(const Model::DescribeLiveStreamRecordIndexFilesRequest& request, const DescribeLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamRecordIndexFilesOutcomeCallable describeLiveStreamRecordIndexFilesCallable(const Model::DescribeLiveStreamRecordIndexFilesRequest& request) const; - DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const; - void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamSnapshotInfoOutcomeCallable describeLiveStreamSnapshotInfoCallable(const Model::DescribeLiveStreamSnapshotInfoRequest& request) const; - DescribeLiveStreamsFrameRateAndBitRateDataOutcome describeLiveStreamsFrameRateAndBitRateData(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest &request)const; - void describeLiveStreamsFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable describeLiveStreamsFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request) const; - DescribeLiveStreamsOnlineListOutcome describeLiveStreamsOnlineList(const Model::DescribeLiveStreamsOnlineListRequest &request)const; - void describeLiveStreamsOnlineListAsync(const Model::DescribeLiveStreamsOnlineListRequest& request, const DescribeLiveStreamsOnlineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamsOnlineListOutcomeCallable describeLiveStreamsOnlineListCallable(const Model::DescribeLiveStreamsOnlineListRequest& request) const; - DescribeLiveStreamsPublishListOutcome describeLiveStreamsPublishList(const Model::DescribeLiveStreamsPublishListRequest &request)const; - void describeLiveStreamsPublishListAsync(const Model::DescribeLiveStreamsPublishListRequest& request, const DescribeLiveStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveStreamsPublishListOutcomeCallable describeLiveStreamsPublishListCallable(const Model::DescribeLiveStreamsPublishListRequest& 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; 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; - ForbidLiveStreamOutcome forbidLiveStream(const Model::ForbidLiveStreamRequest &request)const; - void forbidLiveStreamAsync(const Model::ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ForbidLiveStreamOutcomeCallable forbidLiveStreamCallable(const Model::ForbidLiveStreamRequest& 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; - ModifyDomainCustomLogConfigOutcome modifyDomainCustomLogConfig(const Model::ModifyDomainCustomLogConfigRequest &request)const; - void modifyDomainCustomLogConfigAsync(const Model::ModifyDomainCustomLogConfigRequest& request, const ModifyDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyDomainCustomLogConfigOutcomeCallable modifyDomainCustomLogConfigCallable(const Model::ModifyDomainCustomLogConfigRequest& request) const; - 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; - ResumeLiveStreamOutcome resumeLiveStream(const Model::ResumeLiveStreamRequest &request)const; - void resumeLiveStreamAsync(const Model::ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResumeLiveStreamOutcomeCallable resumeLiveStreamCallable(const Model::ResumeLiveStreamRequest& 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; - SetCcConfigOutcome setCcConfig(const Model::SetCcConfigRequest &request)const; - void setCcConfigAsync(const Model::SetCcConfigRequest& request, const SetCcConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetCcConfigOutcomeCallable setCcConfigCallable(const Model::SetCcConfigRequest& 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; - SetFileCacheExpiredConfigOutcome setFileCacheExpiredConfig(const Model::SetFileCacheExpiredConfigRequest &request)const; - void setFileCacheExpiredConfigAsync(const Model::SetFileCacheExpiredConfigRequest& request, const SetFileCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetFileCacheExpiredConfigOutcomeCallable setFileCacheExpiredConfigCallable(const Model::SetFileCacheExpiredConfigRequest& request) const; - SetForceRedirectConfigOutcome setForceRedirectConfig(const Model::SetForceRedirectConfigRequest &request)const; - void setForceRedirectConfigAsync(const Model::SetForceRedirectConfigRequest& request, const SetForceRedirectConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetForceRedirectConfigOutcomeCallable setForceRedirectConfigCallable(const Model::SetForceRedirectConfigRequest& request) const; - SetForwardSchemeConfigOutcome setForwardSchemeConfig(const Model::SetForwardSchemeConfigRequest &request)const; - void setForwardSchemeConfigAsync(const Model::SetForwardSchemeConfigRequest& request, const SetForwardSchemeConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetForwardSchemeConfigOutcomeCallable setForwardSchemeConfigCallable(const Model::SetForwardSchemeConfigRequest& request) const; - SetHttpHeaderConfigOutcome setHttpHeaderConfig(const Model::SetHttpHeaderConfigRequest &request)const; - void setHttpHeaderConfigAsync(const Model::SetHttpHeaderConfigRequest& request, const SetHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetHttpHeaderConfigOutcomeCallable setHttpHeaderConfigCallable(const Model::SetHttpHeaderConfigRequest& request) const; - SetHttpsOptionConfigOutcome setHttpsOptionConfig(const Model::SetHttpsOptionConfigRequest &request)const; - void setHttpsOptionConfigAsync(const Model::SetHttpsOptionConfigRequest& request, const SetHttpsOptionConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetHttpsOptionConfigOutcomeCallable setHttpsOptionConfigCallable(const Model::SetHttpsOptionConfigRequest& request) const; - SetIgnoreQueryStringConfigOutcome setIgnoreQueryStringConfig(const Model::SetIgnoreQueryStringConfigRequest &request)const; - void setIgnoreQueryStringConfigAsync(const Model::SetIgnoreQueryStringConfigRequest& request, const SetIgnoreQueryStringConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetIgnoreQueryStringConfigOutcomeCallable setIgnoreQueryStringConfigCallable(const Model::SetIgnoreQueryStringConfigRequest& request) const; - SetIpAllowListConfigOutcome setIpAllowListConfig(const Model::SetIpAllowListConfigRequest &request)const; - void setIpAllowListConfigAsync(const Model::SetIpAllowListConfigRequest& request, const SetIpAllowListConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetIpAllowListConfigOutcomeCallable setIpAllowListConfigCallable(const Model::SetIpAllowListConfigRequest& request) const; - SetIpBlackListConfigOutcome setIpBlackListConfig(const Model::SetIpBlackListConfigRequest &request)const; - void setIpBlackListConfigAsync(const Model::SetIpBlackListConfigRequest& request, const SetIpBlackListConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetIpBlackListConfigOutcomeCallable setIpBlackListConfigCallable(const Model::SetIpBlackListConfigRequest& request) const; - SetOptimizeConfigOutcome setOptimizeConfig(const Model::SetOptimizeConfigRequest &request)const; - void setOptimizeConfigAsync(const Model::SetOptimizeConfigRequest& request, const SetOptimizeConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetOptimizeConfigOutcomeCallable setOptimizeConfigCallable(const Model::SetOptimizeConfigRequest& request) const; - SetPageCompressConfigOutcome setPageCompressConfig(const Model::SetPageCompressConfigRequest &request)const; - void setPageCompressConfigAsync(const Model::SetPageCompressConfigRequest& request, const SetPageCompressConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetPageCompressConfigOutcomeCallable setPageCompressConfigCallable(const Model::SetPageCompressConfigRequest& request) const; - SetPathCacheExpiredConfigOutcome setPathCacheExpiredConfig(const Model::SetPathCacheExpiredConfigRequest &request)const; - void setPathCacheExpiredConfigAsync(const Model::SetPathCacheExpiredConfigRequest& request, const SetPathCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetPathCacheExpiredConfigOutcomeCallable setPathCacheExpiredConfigCallable(const Model::SetPathCacheExpiredConfigRequest& request) const; - SetRangeConfigOutcome setRangeConfig(const Model::SetRangeConfigRequest &request)const; - void setRangeConfigAsync(const Model::SetRangeConfigRequest& request, const SetRangeConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetRangeConfigOutcomeCallable setRangeConfigCallable(const Model::SetRangeConfigRequest& request) const; - SetRefererConfigOutcome setRefererConfig(const Model::SetRefererConfigRequest &request)const; - void setRefererConfigAsync(const Model::SetRefererConfigRequest& request, const SetRefererConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetRefererConfigOutcomeCallable setRefererConfigCallable(const Model::SetRefererConfigRequest& request) const; - SetRemoveQueryStringConfigOutcome setRemoveQueryStringConfig(const Model::SetRemoveQueryStringConfigRequest &request)const; - void setRemoveQueryStringConfigAsync(const Model::SetRemoveQueryStringConfigRequest& request, const SetRemoveQueryStringConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetRemoveQueryStringConfigOutcomeCallable setRemoveQueryStringConfigCallable(const Model::SetRemoveQueryStringConfigRequest& request) const; - SetReqAuthConfigOutcome setReqAuthConfig(const Model::SetReqAuthConfigRequest &request)const; - void setReqAuthConfigAsync(const Model::SetReqAuthConfigRequest& request, const SetReqAuthConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetReqAuthConfigOutcomeCallable setReqAuthConfigCallable(const Model::SetReqAuthConfigRequest& 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; - SetSourceHostConfigOutcome setSourceHostConfig(const Model::SetSourceHostConfigRequest &request)const; - void setSourceHostConfigAsync(const Model::SetSourceHostConfigRequest& request, const SetSourceHostConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetSourceHostConfigOutcomeCallable setSourceHostConfigCallable(const Model::SetSourceHostConfigRequest& request) const; - 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; - 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; + 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; private: std::shared_ptr endpointProvider_; diff --git a/cdn/include/alibabacloud/cdn/model/AddCdnDomainRequest.h b/cdn/include/alibabacloud/cdn/model/AddCdnDomainRequest.h index f3eb46b42..ad7421e94 100644 --- a/cdn/include/alibabacloud/cdn/model/AddCdnDomainRequest.h +++ b/cdn/include/alibabacloud/cdn/model/AddCdnDomainRequest.h @@ -1,75 +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. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_ADDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_ADDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT AddCdnDomainRequest : public RpcServiceRequest - { - - public: - AddCdnDomainRequest(); - ~AddCdnDomainRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ADDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_ADDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_ADDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT AddCdnDomainRequest : public RpcServiceRequest { +public: + AddCdnDomainRequest(); + ~AddCdnDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + int getSourcePort() const; + void setSourcePort(int sourcePort); + std::string getPriorities() const; + void setPriorities(const std::string &priorities); + 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 getSourceType() const; + void setSourceType(const std::string &sourceType); + 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); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string sources_; + std::string resourceGroupId_; + int sourcePort_; + std::string priorities_; + std::string securityToken_; + std::string cdnType_; + std::string scope_; + std::string sourceType_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string checkUrl_; + std::string region_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_ADDCDNDOMAINREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h b/cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h deleted file mode 100644 index 140263655..000000000 --- a/cdn/include/alibabacloud/cdn/model/AddFCTriggerRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_ - -#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& notes); - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h deleted file mode 100644 index 1c82fd652..000000000 --- a/cdn/include/alibabacloud/cdn/model/AddFCTriggerResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 530d87bbc..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h deleted file mode 100644 index 0f66e6632..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 7ecc7ddeb..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest - { - - public: - BatchDeleteCdnDomainConfigRequest(); - ~BatchDeleteCdnDomainConfigRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functionNames_; - std::string domainNames_; - std::string ownerAccount_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h b/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h deleted file mode 100644 index 95ed602cf..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigResult : public ServiceResult - { - public: - - - BatchDeleteCdnDomainConfigResult(); - explicit BatchDeleteCdnDomainConfigResult(const std::string &payload); - ~BatchDeleteCdnDomainConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h deleted file mode 100644 index 0b72bd159..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h deleted file mode 100644 index 72dae20ce..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index cbd22d102..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATEREQUEST_H_ - -#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& region); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINSERVERCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h b/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h deleted file mode 100644 index 386fb68b8..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index f071125bf..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSTARTCDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h deleted file mode 100644 index 8b6baff49..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchStartCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index bf8737d96..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSTOPCDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h deleted file mode 100644 index 72359843f..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchStopCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 09949b1d4..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h deleted file mode 100644 index dd9763b10..000000000 --- a/cdn/include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 75c8b7b75..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNCERTIFICATESIGNINGREQUESTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h deleted file mode 100644 index 5db3d4a97..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 getCsr()const; - std::string getPubMd5()const; - std::string getCommonName()const; - - protected: - void parse(const std::string &payload); - private: - std::string csr_; - std::string pubMd5_; - 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 deleted file mode 100644 index 9c458eddb..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNDELIVERTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h deleted file mode 100644 index abceb4f29..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#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 deleted file mode 100644 index 215c019f1..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATECDNSUBTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h deleted file mode 100644 index 6209b94c6..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateCdnSubTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index d5fa4421f..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h deleted file mode 100644 index 38307aef9..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/CreateLiveStreamRecordIndexFilesRequest.h b/cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h deleted file mode 100644 index 7988ddbd4..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT CreateLiveStreamRecordIndexFilesRequest : public RpcServiceRequest - { - - public: - CreateLiveStreamRecordIndexFilesRequest(); - ~CreateLiveStreamRecordIndexFilesRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getOssObject()const; - void setOssObject(const std::string& ossObject); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - 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 ossEndpoint_; - std::string startTime_; - std::string ossObject_; - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string ossBucket_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h b/cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h deleted file mode 100644 index 257c0de12..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATELIVESTREAMRECORDINDEXFILESRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATELIVESTREAMRECORDINDEXFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT CreateLiveStreamRecordIndexFilesResult : public ServiceResult - { - public: - struct RecordInfo - { - std::string recordUrl; - std::string createTime; - float duration; - int height; - std::string recordId; - int width; - }; - - - CreateLiveStreamRecordIndexFilesResult(); - explicit CreateLiveStreamRecordIndexFilesResult(const std::string &payload); - ~CreateLiveStreamRecordIndexFilesResult(); - RecordInfo getRecordInfo()const; - - protected: - void parse(const std::string &payload); - private: - RecordInfo recordInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATELIVESTREAMRECORDINDEXFILESRESULT_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 deleted file mode 100644 index 09398405a..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_ - -#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& region); - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h deleted file mode 100644 index 12f69227b..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 28c81953a..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h deleted file mode 100644 index 1ad375881..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 933bd3721..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h deleted file mode 100644 index 365e2d8ef..000000000 --- a/cdn/include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DeleteCacheExpiredConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigRequest.h deleted file mode 100644 index 4cf5b89b8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETECACHEEXPIREDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETECACHEEXPIREDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteCacheExpiredConfigRequest : public RpcServiceRequest - { - - public: - DeleteCacheExpiredConfigRequest(); - ~DeleteCacheExpiredConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCacheType()const; - void setCacheType(const std::string& cacheType); - 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 cacheType_; - std::string securityToken_; - std::string configID_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETECACHEEXPIREDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h deleted file mode 100644 index 11716d138..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETECACHEEXPIREDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETECACHEEXPIREDCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteCacheExpiredConfigResult : public ServiceResult - { - public: - - - DeleteCacheExpiredConfigResult(); - explicit DeleteCacheExpiredConfigResult(const std::string &payload); - ~DeleteCacheExpiredConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETECACHEEXPIREDCONFIGRESULT_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 deleted file mode 100644 index cf25c829f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDELIVERTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h deleted file mode 100644 index da6424aad..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 6db6ed45b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h deleted file mode 100644 index 68553d5ea..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index bcf5972c6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteCdnSubTaskRequest : public RpcServiceRequest - { - - public: - DeleteCdnSubTaskRequest(); - ~DeleteCdnSubTaskRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETECDNSUBTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h deleted file mode 100644 index 7bb36758d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 608b8f3f6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h deleted file mode 100644 index 5d65d022b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteFCTriggerResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DeleteRealtimeLogDeliveryRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h deleted file mode 100644 index 4c7d6b93d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_ - -#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& region); - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h deleted file mode 100644 index 16a174da1..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 613b6b4fa..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETESPECIFICCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h deleted file mode 100644 index 95c4e0656..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index d2387d58e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETESPECIFICSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h deleted file mode 100644 index 3f9e3555c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index edeea5c53..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteUsageDetailDataExportTaskRequest : public RpcServiceRequest - { - - public: - DeleteUsageDetailDataExportTaskRequest(); - ~DeleteUsageDetailDataExportTaskRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - - private: - long ownerId_; - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h deleted file mode 100644 index 8c0da6e92..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 1dd11a21a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteUserUsageDataExportTaskRequest : public RpcServiceRequest - { - - public: - DeleteUserUsageDataExportTaskRequest(); - ~DeleteUserUsageDataExportTaskRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - - private: - long ownerId_; - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h deleted file mode 100644 index dc6dbe9db..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ff3d235ad..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h deleted file mode 100644 index 98a709179..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 getVersionId()const; - std::string getStatus()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 versionId_; - std::string status_; - 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 deleted file mode 100644 index c19520416..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEBLOCKEDREGIONSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h deleted file mode 100644 index f45d60dcf..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeBlockedRegionsResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 9b3bf9b39..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h deleted file mode 100644 index 7160c64e9..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 getCert()const; - std::string getCertName()const; - std::string getKey()const; - - protected: - void parse(const std::string &payload); - private: - long certId_; - std::string cert_; - std::string certName_; - 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 deleted file mode 100644 index fe53587d5..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeCdnCertificateListRequest(); - ~DescribeCdnCertificateListRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h deleted file mode 100644 index 24587402c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 421648fc8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h deleted file mode 100644 index 3fc163740..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index f1720c0d5..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeliverListRequest : public RpcServiceRequest - { - - public: - DescribeCdnDeliverListRequest(); - ~DescribeCdnDeliverListRequest(); - - long getDeliverId()const; - void setDeliverId(long deliverId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long deliverId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELIVERLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h deleted file mode 100644 index a987447c7..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index b74b6c574..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBYCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h deleted file mode 100644 index 34e3c8f1d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 issuer; - std::string certSubjectCommonName; - 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 deleted file mode 100644 index 9ba721552..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h deleted file mode 100644 index 9bbd90de5..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 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/DescribeCdnDomainDetailRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailRequest.h index 19adaee48..14cac7486 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailRequest.h @@ -1,54 +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_DESCRIBECDNDOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainDetailRequest : public RpcServiceRequest - { - - public: - DescribeCdnDomainDetailRequest(); - ~DescribeCdnDomainDetailRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainDetailRequest : public RpcServiceRequest { +public: + DescribeCdnDomainDetailRequest(); + ~DescribeCdnDomainDetailRequest(); + 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_DESCRIBECDNDOMAINDETAILREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailResult.h index d99d2393d..d6ec14072 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainDetailResult.h @@ -37,23 +37,26 @@ namespace AlibabaCloud struct SourceModel { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string enabled; - std::string weight; }; std::vector sourceModels; std::string description; std::string resourceGroupId; - std::string scope; std::string domainName; + std::string sourceType; std::string gmtModified; - std::string cdnType; std::string gmtCreated; - std::string cname; + int sourcePort; std::string serverCertificateStatus; + std::string cname; + std::vector sources; std::string httpsCname; + std::string scope; + std::string region; + std::string cdnType; std::string domainStatus; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsRequest.h index 87e634b10..939493328 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsRequest.h @@ -1,63 +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_DESCRIBECDNDOMAINLOGSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINLOGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainLogsRequest : public RpcServiceRequest - { - - public: - DescribeCdnDomainLogsRequest(); - ~DescribeCdnDomainLogsRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getPageNumber()const; - void setPageNumber(long pageNumber); - long getPageSize()const; - void setPageSize(long 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_; - long pageNumber_; - long pageSize_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINLOGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINLOGSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINLOGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainLogsRequest : public RpcServiceRequest { +public: + DescribeCdnDomainLogsRequest(); + ~DescribeCdnDomainLogsRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + std::string getLogDay() const; + void setLogDay(const std::string &logDay); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getPageSize() const; + void setPageSize(long 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_; + long pageNumber_; + std::string logDay_; + std::string securityToken_; + long pageSize_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINLOGSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsResult.h index 0b48a3da8..fd93ab45e 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainLogsResult.h @@ -32,15 +32,9 @@ namespace AlibabaCloud class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainLogsResult : public ServiceResult { public: - struct DomainLogDetail + struct DomainLogModel { - struct PageInfos - { - long pageSize; - long total; - long pageIndex; - }; - struct LogInfoDetail + struct DomainLogDetail { long logSize; std::string endTime; @@ -49,21 +43,25 @@ namespace AlibabaCloud std::string logPath; }; std::string domainName; - std::vector logInfos; - PageInfos pageInfos; - long logCount; + std::vector domainLogDetails; }; DescribeCdnDomainLogsResult(); explicit DescribeCdnDomainLogsResult(const std::string &payload); ~DescribeCdnDomainLogsResult(); - std::vector getDomainLogDetails()const; + long getTotalCount()const; + long getPageSize()const; + DomainLogModel getDomainLogModel()const; + long getPageNumber()const; protected: void parse(const std::string &payload); private: - std::vector domainLogDetails_; + long totalCount_; + long pageSize_; + DomainLogModel domainLogModel_; + long pageNumber_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h deleted file mode 100644 index 28d84afbc..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h deleted file mode 100644 index da2063a1d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnDomainStagingConfigResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 functionName; - std::vector functionArgs; - std::string configId; - }; - - - DescribeCdnDomainStagingConfigResult(); - explicit DescribeCdnDomainStagingConfigResult(const std::string &payload); - ~DescribeCdnDomainStagingConfigResult(); - std::vector getDomainConfigs()const; - - protected: - void parse(const std::string &payload); - private: - 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 deleted file mode 100644 index 0e1daea6f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNHTTPSDOMAINLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h deleted file mode 100644 index 766ce46ab..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnHttpsDomainListResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 certCommonName; - std::string certType; - 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/DescribeCdnMonitorDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataRequest.h deleted file mode 100644 index 77812fc12..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNMONITORDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNMONITORDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnMonitorDataRequest : public RpcServiceRequest - { - - public: - DescribeCdnMonitorDataRequest(); - ~DescribeCdnMonitorDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNMONITORDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h deleted file mode 100644 index 9cd4b74f8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNMONITORDATARESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNMONITORDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnMonitorDataResult : public ServiceResult - { - public: - struct CDNMonitorData - { - std::string bytesHitRate; - std::string bytesPerSecond; - std::string requestHitRate; - std::string queryPerSecond; - std::string timeStamp; - std::string averageObjectSize; - }; - - - DescribeCdnMonitorDataResult(); - explicit DescribeCdnMonitorDataResult(const std::string &payload); - ~DescribeCdnMonitorDataResult(); - std::string getMonitorInterval()const; - std::string getEndTime()const; - std::string getDomainName()const; - std::vector getMonitorDatas()const; - std::string getStartTime()const; - - protected: - void parse(const std::string &payload); - private: - std::string monitorInterval_; - std::string endTime_; - std::string domainName_; - std::vector monitorDatas_; - std::string startTime_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNMONITORDATARESULT_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 deleted file mode 100644 index 7242bfd7b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREGIONANDISPREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h deleted file mode 100644 index 6cfcb1ed6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 9619bbedf..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportListRequest : public RpcServiceRequest - { - - public: - DescribeCdnReportListRequest(); - ~DescribeCdnReportListRequest(); - - long getReportId()const; - void setReportId(long reportId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long reportId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h deleted file mode 100644 index 973507d8c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportListResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index e921d4ece..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnReportRequest : public RpcServiceRequest - { - - public: - DescribeCdnReportRequest(); - ~DescribeCdnReportRequest(); - - long getReportId()const; - void setReportId(long reportId); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getArea()const; - void setArea(const std::string& area); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getHttpCode()const; - void setHttpCode(const std::string& httpCode); - std::string getIsOverseas()const; - void setIsOverseas(const std::string& isOverseas); - - private: - long reportId_; - std::string startTime_; - std::string area_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string httpCode_; - std::string isOverseas_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNREPORTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h deleted file mode 100644 index d9cac47cf..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnReportResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index e2997c696..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATEDETAILREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h deleted file mode 100644 index 770bffe46..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateDetailResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 getSignCertificate()const; - std::string getCertExpireTime()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 signCertificate_; - std::string certExpireTime_; - 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 deleted file mode 100644 index 012775f69..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnSMCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeCdnSMCertificateListRequest(); - ~DescribeCdnSMCertificateListRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSMCERTIFICATELISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h deleted file mode 100644 index b8c99162b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnSMCertificateListResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeCdnServiceRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h index 4df4d558d..0a8db68cc 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h @@ -1,51 +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_DESCRIBECDNSERVICEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnServiceRequest : public RpcServiceRequest - { - - public: - DescribeCdnServiceRequest(); - ~DescribeCdnServiceRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSERVICEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeCdnServiceRequest : public RpcServiceRequest { +public: + DescribeCdnServiceRequest(); + ~DescribeCdnServiceRequest(); + 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_DESCRIBECDNSERVICEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h deleted file mode 100644 index a5c468c77..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNSUBLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h deleted file mode 100644 index 12d080b74..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnSubListResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeCdnTypesRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h deleted file mode 100644 index 94a5fa288..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnTypesRequest : public RpcServiceRequest - { - - public: - DescribeCdnTypesRequest(); - ~DescribeCdnTypesRequest(); - - 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 ownerAccount_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnTypesResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnTypesResult.h deleted file mode 100644 index 1a576632d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnTypesResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnTypesResult : public ServiceResult - { - public: - struct CdnType - { - std::string desc; - std::string type; - }; - - - DescribeCdnTypesResult(); - explicit DescribeCdnTypesResult(const std::string &payload); - ~DescribeCdnTypesResult(); - std::vector getCdnTypes()const; - - protected: - void parse(const std::string &payload); - private: - std::vector cdnTypes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESRESULT_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 deleted file mode 100644 index a9df2f685..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h deleted file mode 100644 index 9dff0263d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 2bf230651..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h deleted file mode 100644 index 62c65a591..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 041192e87..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h deleted file mode 100644 index 070294424..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 4f12e7c59..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h deleted file mode 100644 index 1a37fbf26..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ac1e1b776..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h deleted file mode 100644 index 105bc5c9f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 content; - std::string priority; - int port; - std::string weight; - }; - std::string description; - std::string sslProtocol; - std::string resourceGroupId; - std::string domainName; - std::string gmtModified; - std::string cdnType; - std::string gmtCreated; - 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 deleted file mode 100644 index 3ad545505..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h deleted file mode 100644 index da2852881..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 getPreloadRemain()const; - int getBlockRemain()const; - int getRefreshDirRemain()const; - int getRefreshDirQuota()const; - int getBlockQuota()const; - int getDomainQuota()const; - int getRefreshUrlRemain()const; - int getPreloadQuota()const; - - protected: - void parse(const std::string &payload); - private: - int refreshUrlQuota_; - int preloadRemain_; - int blockRemain_; - int refreshDirRemain_; - int refreshDirQuota_; - int blockQuota_; - 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 deleted file mode 100644 index fd1e0e094..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserResourcePackageRequest : public RpcServiceRequest - { - - public: - DescribeCdnUserResourcePackageRequest(); - ~DescribeCdnUserResourcePackageRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long ownerId_; - std::string securityToken_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h deleted file mode 100644 index c229dca97..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 initCapacity; - std::string endTime; - std::string instanceId; - std::string commodityCode; - std::string displayName; - std::string startTime; - 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 deleted file mode 100644 index 4adf7294c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_ - -#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& regionId); - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h deleted file mode 100644 index 578cbb26b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 54ccef8a9..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECERTIFICATEINFOBYIDREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h deleted file mode 100644 index 88c74620a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 9ecca9ac4..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGGROUPDETAILREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h b/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h deleted file mode 100644 index 7683dc911..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeConfigGroupDetailResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 getConfigGroupName()const; - std::string getUpdateTime()const; - std::string getBizName()const; - - protected: - void parse(const std::string &payload); - private: - std::string configGroupId_; - std::string description_; - std::string createTime_; - std::string configGroupName_; - std::string updateTime_; - 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 deleted file mode 100644 index bfd92b758..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECONFIGOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h b/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h deleted file mode 100644 index 04386f2b3..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeConfigOfVersionResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 49cd94285..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECUSTOMLOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h deleted file mode 100644 index 5351fc423..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ea1a7e800..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINAVERAGERESPONSETIMEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h deleted file mode 100644 index b4fb281a9..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 977abb7b8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYLAYERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h deleted file mode 100644 index b7ee9f07b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByLayerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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/DescribeDomainBpsDataByTimeStampRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampRequest.h index 673f02203..abd47bb6d 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampRequest.h @@ -1,60 +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_DESCRIBEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataByTimeStampRequest : public RpcServiceRequest - { - - public: - DescribeDomainBpsDataByTimeStampRequest(); - ~DescribeDomainBpsDataByTimeStampRequest(); - - std::string getLocationNames()const; - void setLocationNames(const std::string& locationNames); - std::string getIspNames()const; - void setIspNames(const std::string& ispNames); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTimePoint()const; - void setTimePoint(const std::string& timePoint); - - private: - std::string locationNames_; - std::string ispNames_; - std::string domainName_; - long ownerId_; - std::string timePoint_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataByTimeStampRequest : public RpcServiceRequest { +public: + DescribeDomainBpsDataByTimeStampRequest(); + ~DescribeDomainBpsDataByTimeStampRequest(); + std::string getLocationNames() const; + void setLocationNames(const std::string &locationNames); + std::string getIspNames() const; + void setIspNames(const std::string &ispNames); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTimePoint() const; + void setTimePoint(const std::string &timePoint); + +private: + std::string locationNames_; + std::string ispNames_; + std::string domainName_; + long ownerId_; + std::string timePoint_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataRequest.h index 0cf29cc2c..56d9e23cb 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataRequest.h @@ -1,66 +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_DESCRIBEDOMAINBPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainBpsDataRequest(); - ~DescribeDomainBpsDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainBpsDataRequest(); + ~DescribeDomainBpsDataRequest(); + 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_DESCRIBEDOMAINBPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h index 7f610da34..2e8dee53c 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h @@ -35,12 +35,18 @@ namespace AlibabaCloud struct DataModule { std::string overseasValue; - std::string httpsValue; - std::string value; - std::string httpsDomesticValue; + std::string staticOverseasValue; + std::string staticDomesticValue; + std::string staticValue; + std::string overseasL2Value; std::string timeStamp; - std::string httpsOverseasValue; std::string domesticValue; + std::string dynamicOverseasValue; + std::string dynamicDomesticValue; + std::string value; + std::string domesticL2Value; + std::string l2Value; + std::string dynamicValue; }; @@ -48,23 +54,27 @@ namespace AlibabaCloud explicit DescribeDomainBpsDataResult(const std::string &payload); ~DescribeDomainBpsDataResult(); std::string getIspNameEn()const; + std::string getIspName()const; std::string getEndTime()const; std::string getDomainName()const; std::string getLocationNameEn()const; std::string getStartTime()const; std::string getDataInterval()const; std::vector getBpsDataPerInterval()const; + std::string getLocationName()const; protected: void parse(const std::string &payload); private: std::string ispNameEn_; + std::string ispName_; std::string endTime_; std::string domainName_; std::string locationNameEn_; std::string startTime_; std::string dataInterval_; std::vector bpsDataPerInterval_; + std::string locationName_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h deleted file mode 100644 index d1d0dd63e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCACTIVITYLOGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h deleted file mode 100644 index c38acefa1..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainCcActivityLogResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index c22235995..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h deleted file mode 100644 index 5197846d0..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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/DescribeDomainConfigsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsRequest.h deleted file mode 100644 index f2f11e71a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainConfigsRequest : public RpcServiceRequest - { - - public: - DescribeDomainConfigsRequest(); - ~DescribeDomainConfigsRequest(); - - 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 getConfigList()const; - void setConfigList(const std::string& configList); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - std::string configList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h deleted file mode 100644 index 227b61a34..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h +++ /dev/null @@ -1,266 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCONFIGSRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCONFIGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainConfigsResult : public ServiceResult - { - public: - struct DomainConfigs - { - struct CcConfig - { - std::string status; - std::string blockIps; - std::string enable; - std::string configId; - std::string allowIps; - }; - struct ErrorPageConfig - { - std::string status; - std::string customPageUrl; - std::string configId; - std::string errorCode; - std::string pageType; - }; - struct OptimizeConfig - { - std::string status; - std::string enable; - std::string configId; - }; - struct PageCompressConfig - { - std::string status; - std::string enable; - std::string configId; - }; - struct IgnoreQueryStringConfig - { - std::string status; - std::string enable; - std::string configId; - std::string hashKeyArgs; - }; - struct RangeConfig - { - std::string status; - std::string enable; - std::string configId; - }; - struct RefererConfig - { - std::string status; - std::string allowEmpty; - std::string disableAst; - std::string configId; - std::string referType; - std::string referList; - }; - struct ReqAuthConfig - { - std::string key2; - std::string status; - std::string key1; - std::string authM3u8; - std::string timeOut; - std::string authAddr; - std::string authRemoteDesc; - std::string configId; - std::string authType; - std::string aliAuthWhiteList; - }; - struct SrcHostConfig - { - std::string status; - std::string domainName; - std::string configId; - }; - struct VideoSeekConfig - { - std::string status; - std::string enable; - std::string configId; - }; - struct WafConfig - { - std::string status; - std::string enable; - std::string configId; - }; - struct NotifyUrlConfig - { - std::string notifyUrl; - std::string enable; - }; - struct RedirectTypeConfig - { - std::string redirectType; - }; - struct ForwardSchemeConfig - { - std::string schemeOrigin; - std::string status; - std::string enable; - std::string configId; - std::string schemeOriginPort; - }; - struct RemoveQueryStringConfig - { - std::string status; - std::string aliRemoveArgs; - std::string configId; - }; - struct L2OssKeyConfig - { - std::string status; - std::string configId; - std::string privateOssAuth; - }; - struct MacServiceConfig - { - std::string status; - std::string processResult; - std::string enabled; - std::string configId; - std::string appList; - }; - struct HttpsOptionConfig - { - std::string status; - std::string http2; - std::string configId; - }; - struct AliBusinessConfig - { - std::string status; - std::string aliBusinessTable; - std::string configId; - std::string aliBusinessType; - }; - struct IpAllowListConfig - { - std::string status; - std::string ipList; - std::string ipAclXfwd; - std::string configId; - }; - struct CacheExpiredConfig - { - std::string status; - std::string cacheContent; - std::string configId; - std::string tTL; - std::string weight; - std::string cacheType; - }; - struct HttpErrorPageConfig - { - std::string status; - std::string pageUrl; - std::string configId; - std::string errorCode; - }; - struct HttpHeaderConfig - { - std::string status; - std::string headerValue; - std::string headerKey; - std::string configId; - }; - struct DynamicConfig - { - std::string status; - std::string staticUri; - std::string dynamicCacheControl; - std::string staticType; - std::string enable; - std::string configId; - std::string dynamicOrigin; - std::string staticPath; - }; - struct ReqHeaderConfig - { - std::string status; - std::string value; - std::string configId; - std::string key; - }; - struct SetVarsConfig - { - std::string status; - std::string varValue; - std::string configId; - std::string varName; - }; - IpAllowListConfig ipAllowListConfig; - MacServiceConfig macServiceConfig; - RedirectTypeConfig redirectTypeConfig; - std::vector setVarsConfigs; - ReqAuthConfig reqAuthConfig; - RefererConfig refererConfig; - SrcHostConfig srcHostConfig; - ForwardSchemeConfig forwardSchemeConfig; - std::vector httpHeaderConfigs; - AliBusinessConfig aliBusinessConfig; - HttpsOptionConfig httpsOptionConfig; - std::vector reqHeaderConfigs; - std::vector cacheExpiredConfigs; - ErrorPageConfig errorPageConfig; - RemoveQueryStringConfig removeQueryStringConfig; - L2OssKeyConfig l2OssKeyConfig; - std::vector httpErrorPageConfigs; - WafConfig wafConfig; - OptimizeConfig optimizeConfig; - IgnoreQueryStringConfig ignoreQueryStringConfig; - RangeConfig rangeConfig; - NotifyUrlConfig notifyUrlConfig; - VideoSeekConfig videoSeekConfig; - std::vector dynamicConfigs; - PageCompressConfig pageCompressConfig; - CcConfig ccConfig; - }; - - - DescribeDomainConfigsResult(); - explicit DescribeDomainConfigsResult(const std::string &payload); - ~DescribeDomainConfigsResult(); - DomainConfigs getDomainConfigs()const; - - protected: - void parse(const std::string &payload); - private: - DomainConfigs domainConfigs_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCONFIGSRESULT_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 deleted file mode 100644 index a29cad18d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCUSTOMLOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h deleted file mode 100644 index d04d3f448..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 474d888a4..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h deleted file mode 100644 index 0d22fc4ea..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 - { - long acc; - float ipv6Bps; - std::string httpCode; - float ipv6Qps; - float bps; - long traf; - long ipv6Acc; - std::string domainName; - float qps; - 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/DescribeDomainFileSizeProportionDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h index 9717f5202..997b65181 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h @@ -1,60 +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_DESCRIBEDOMAINFILESIZEPROPORTIONDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFILESIZEPROPORTIONDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainFileSizeProportionDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainFileSizeProportionDataRequest(); - ~DescribeDomainFileSizeProportionDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string securityToken_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFILESIZEPROPORTIONDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFILESIZEPROPORTIONDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFILESIZEPROPORTIONDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainFileSizeProportionDataRequest : public RpcServiceRequest { +public: + DescribeDomainFileSizeProportionDataRequest(); + ~DescribeDomainFileSizeProportionDataRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFILESIZEPROPORTIONDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h index 414a9525d..02420abfe 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h @@ -50,8 +50,8 @@ namespace AlibabaCloud std::vector getFileSizeProportionDataInterval()const; std::string getEndTime()const; std::string getDomainName()const; - std::string getDataInterval()const; std::string getStartTime()const; + std::string getDataInterval()const; protected: void parse(const std::string &payload); @@ -59,8 +59,8 @@ namespace AlibabaCloud std::vector fileSizeProportionDataInterval_; std::string endTime_; std::string domainName_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h index 770d4a455..46d0b7c8b 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h @@ -1,72 +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_DESCRIBEDOMAINFLOWDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFLOWDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainFlowDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainFlowDataRequest(); - ~DescribeDomainFlowDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFLOWDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFLOWDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINFLOWDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainFlowDataRequest : public RpcServiceRequest { +public: + DescribeDomainFlowDataRequest(); + ~DescribeDomainFlowDataRequest(); + 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_DESCRIBEDOMAINFLOWDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataResult.h index a464a2eff..bde39d38a 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainFlowDataResult.h @@ -35,14 +35,14 @@ namespace AlibabaCloud struct DataModule { std::string overseasValue; - std::string dynamicOverseasValue; std::string staticOverseasValue; + std::string dynamicOverseasValue; std::string value; - std::string dynamicDomesticValue; - std::string staticValue; std::string staticDomesticValue; - std::string timeStamp; + std::string staticValue; + std::string dynamicDomesticValue; std::string dynamicValue; + std::string timeStamp; std::string domesticValue; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataRequest.h index 17dd4d7f4..d0191fa6d 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataRequest.h @@ -1,60 +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_DESCRIBEDOMAINHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainHitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainHitRateDataRequest(); - ~DescribeDomainHitRateDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDomainHitRateDataRequest(); + ~DescribeDomainHitRateDataRequest(); + 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_DESCRIBEDOMAINHITRATEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataResult.h index 92eb56a12..8f7347195 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainHitRateDataResult.h @@ -34,7 +34,6 @@ namespace AlibabaCloud public: struct DataModule { - std::string httpsValue; std::string value; std::string timeStamp; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h deleted file mode 100644 index b43181b83..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATABYLAYERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h deleted file mode 100644 index 6606dd371..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataByLayerResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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/DescribeDomainHttpCodeDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataRequest.h index c5133eea6..80b9cc518 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataRequest.h @@ -1,60 +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_DESCRIBEDOMAINHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainHttpCodeDataRequest(); - ~DescribeDomainHttpCodeDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDomainHttpCodeDataRequest(); + ~DescribeDomainHttpCodeDataRequest(); + 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 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 timeMerge_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPCODEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h index 80db81a65..454eed22a 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h @@ -1,57 +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_DESCRIBEDOMAINISPDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINISPDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainISPDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainISPDataRequest(); - ~DescribeDomainISPDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINISPDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINISPDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINISPDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainISPDataRequest : public RpcServiceRequest { +public: + DescribeDomainISPDataRequest(); + ~DescribeDomainISPDataRequest(); + 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_DESCRIBEDOMAINISPDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h index 1ceeaa01b..efa102d3f 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h @@ -37,14 +37,16 @@ namespace AlibabaCloud std::string avgObjectSize; std::string bytesProportion; std::string bps; - std::string proportion; - std::string qps; std::string totalQuery; std::string iSP; - std::string totalBytes; std::string avgResponseRate; std::string reqErrRate; std::string ispEname; + std::string reqHitRate; + std::string qps; + std::string proportion; + std::string byteHitRate; + std::string totalBytes; std::string avgResponseTime; }; @@ -55,8 +57,8 @@ namespace AlibabaCloud std::string getEndTime()const; std::string getDomainName()const; std::vector getValue()const; - std::string getDataInterval()const; std::string getStartTime()const; + std::string getDataInterval()const; protected: void parse(const std::string &payload); @@ -64,8 +66,8 @@ namespace AlibabaCloud std::string endTime_; std::string domainName_; std::vector value_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h deleted file mode 100644 index 7619735da..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMAX95BPSDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h deleted file mode 100644 index 5eff6f659..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 59f6c8a3a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h deleted file mode 100644 index a24604599..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 0849e5fac..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h deleted file mode 100644 index e7206a031..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 885a40bfb..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPATHDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h deleted file mode 100644 index ca0c09afd..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 - { - int acc; - std::string path; - int traffic; - std::string time; - }; - - - DescribeDomainPathDataResult(); - explicit DescribeDomainPathDataResult(const std::string &payload); - ~DescribeDomainPathDataResult(); - int getTotalCount()const; - std::string getEndTime()const; - int getPageSize()const; - std::string getDomainName()const; - int getPageNumber()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_; - std::string domainName_; - int pageNumber_; - 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 deleted file mode 100644 index 0227f9ed8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINPVDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h deleted file mode 100644 index 29e61a379..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ab2391f71..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATABYLAYERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h deleted file mode 100644 index da85efa47..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataByLayerResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 timeStamp; - std::string accValue; - 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/DescribeDomainQpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataRequest.h index e2f22b2cd..86be74531 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataRequest.h @@ -1,66 +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_DESCRIBEDOMAINQPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainQpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainQpsDataRequest(); - ~DescribeDomainQpsDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainQpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainQpsDataRequest(); + ~DescribeDomainQpsDataRequest(); + 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_DESCRIBEDOMAINQPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataResult.h index 7100b03f0..d371134b3 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainQpsDataResult.h @@ -35,18 +35,18 @@ namespace AlibabaCloud struct DataModule { std::string overseasValue; - std::string httpsAccDomesticValue; + std::string staticOverseasValue; + std::string staticDomesticValue; + std::string staticValue; std::string timeStamp; std::string domesticValue; - std::string httpsAccOverseasValue; - std::string httpsValue; + std::string dynamicOverseasValue; std::string accDomesticValue; - std::string value; std::string accOverseasValue; - std::string httpsDomesticValue; - std::string httpsAccValue; + std::string dynamicDomesticValue; + std::string value; std::string accValue; - std::string httpsOverseasValue; + std::string dynamicValue; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h deleted file mode 100644 index 5ade8a241..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h deleted file mode 100644 index 5b5bd8eb1..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 9e8edc20c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h deleted file mode 100644 index 1ab4e1ef3..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 86d5240b0..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h deleted file mode 100644 index 701c1d716..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ce06cd2c9..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h deleted file mode 100644 index 5d3ebf874..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 495817798..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEQPSDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h deleted file mode 100644 index 60c893548..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 00bf88af8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h deleted file mode 100644 index 5629579a2..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 9a6171594..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h deleted file mode 100644 index 74cc17c62..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 209c543ca..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h deleted file mode 100644 index fbdff9ee0..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 91bba69a1..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h deleted file mode 100644 index c0d8ce147..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 8669cc191..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h deleted file mode 100644 index a4accf476..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index fe14dc6d6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h deleted file mode 100644 index cec1f1c2e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeDomainRegionDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataRequest.h index c4c78763a..888725cd9 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataRequest.h @@ -1,57 +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_DESCRIBEDOMAINREGIONDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREGIONDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainRegionDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainRegionDataRequest(); - ~DescribeDomainRegionDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREGIONDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREGIONDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREGIONDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainRegionDataRequest : public RpcServiceRequest { +public: + DescribeDomainRegionDataRequest(); + ~DescribeDomainRegionDataRequest(); + 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_DESCRIBEDOMAINREGIONDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h index 63b5d7ddf..57e8c3a7f 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h @@ -37,13 +37,15 @@ namespace AlibabaCloud std::string avgObjectSize; std::string bytesProportion; std::string bps; - std::string proportion; - std::string qps; std::string totalQuery; - std::string totalBytes; std::string avgResponseRate; - std::string region; std::string reqErrRate; + std::string reqHitRate; + std::string qps; + std::string proportion; + std::string byteHitRate; + std::string totalBytes; + std::string region; std::string regionEname; std::string avgResponseTime; }; @@ -55,8 +57,8 @@ namespace AlibabaCloud std::string getEndTime()const; std::string getDomainName()const; std::vector getValue()const; - std::string getDataInterval()const; std::string getStartTime()const; + std::string getDataInterval()const; protected: void parse(const std::string &payload); @@ -64,8 +66,8 @@ namespace AlibabaCloud std::string endTime_; std::string domainName_; std::vector value_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h index be4821642..867f042a0 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h @@ -1,60 +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_DESCRIBEDOMAINREQHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREQHITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainReqHitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainReqHitRateDataRequest(); - ~DescribeDomainReqHitRateDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREQHITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREQHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREQHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainReqHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDomainReqHitRateDataRequest(); + ~DescribeDomainReqHitRateDataRequest(); + 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_DESCRIBEDOMAINREQHITRATEDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h index 517a95db4..0bf0a0c7b 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h @@ -34,7 +34,6 @@ namespace AlibabaCloud public: struct DataModule { - std::string httpsValue; std::string value; std::string timeStamp; }; @@ -46,8 +45,8 @@ namespace AlibabaCloud std::vector getReqHitRateInterval()const; std::string getEndTime()const; std::string getDomainName()const; - std::string getDataInterval()const; std::string getStartTime()const; + std::string getDataInterval()const; protected: void parse(const std::string &payload); @@ -55,8 +54,8 @@ namespace AlibabaCloud std::vector reqHitRateInterval_; std::string endTime_; std::string domainName_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h index a63101dec..d507e2360 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h @@ -1,60 +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_DESCRIBEDOMAINSRCBPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainSrcBpsDataRequest(); - ~DescribeDomainSrcBpsDataRequest(); - - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCBPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcBpsDataRequest : public RpcServiceRequest { +public: + DescribeDomainSrcBpsDataRequest(); + ~DescribeDomainSrcBpsDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getFixTimeGap() const; + void setFixTimeGap(const std::string &fixTimeGap); + 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 startTime_; + std::string fixTimeGap_; + std::string timeMerge_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCBPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h index 575b905b4..de248f4f0 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h @@ -34,7 +34,6 @@ namespace AlibabaCloud public: struct DataModule { - std::string httpsValue; std::string value; std::string timeStamp; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h index abab64afc..e2f6412d5 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h @@ -1,66 +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_DESCRIBEDOMAINSRCFLOWDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCFLOWDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcFlowDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainSrcFlowDataRequest(); - ~DescribeDomainSrcFlowDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getFixTimeGap()const; - void setFixTimeGap(const std::string& fixTimeGap); - 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 startTime_; - std::string fixTimeGap_; - std::string timeMerge_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCFLOWDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCFLOWDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCFLOWDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcFlowDataRequest : public RpcServiceRequest { +public: + DescribeDomainSrcFlowDataRequest(); + ~DescribeDomainSrcFlowDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getFixTimeGap() const; + void setFixTimeGap(const std::string &fixTimeGap); + 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 startTime_; + std::string fixTimeGap_; + std::string timeMerge_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCFLOWDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h deleted file mode 100644 index cfe2b3fe7..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCHTTPCODEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h deleted file mode 100644 index f5ca587d7..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 150e4b68c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCQPSDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h deleted file mode 100644 index 754579293..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcQpsDataResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index de734d978..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h deleted file mode 100644 index 668b8a2d4..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 3f712af4f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h deleted file mode 100644 index e29f401cc..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 701918cc0..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPCLIENTIPVISITREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h deleted file mode 100644 index 41dc2474a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 33a44dba7..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITREQUEST_H_ - -#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 getPercent()const; - void setPercent(const std::string& percent); - 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 percent_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string sortBy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPREFERVISITREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h deleted file mode 100644 index 4a32c3032..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 2a0fbf361..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTOPURLVISITREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h deleted file mode 100644 index 2f1bce857..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 874288bab..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATAREQUEST_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 deleted file mode 100644 index f0228dbad..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h deleted file mode 100644 index 59efabfe6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeDomainUvDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainUvDataRequest.h index b43b2e95d..14bbd334a 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainUvDataRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainUvDataRequest.h @@ -1,57 +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_DESCRIBEDOMAINUVDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUVDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainUvDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainUvDataRequest(); - ~DescribeDomainUvDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUVDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUVDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUVDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainUvDataRequest : public RpcServiceRequest { +public: + DescribeDomainUvDataRequest(); + ~DescribeDomainUvDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUVDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceRequest.h index ed0cb8200..e9f2b4ff8 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceRequest.h @@ -1,54 +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_DESCRIBEDOMAINSBYSOURCEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSBYSOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainsBySourceRequest : public RpcServiceRequest - { - - public: - DescribeDomainsBySourceRequest(); - ~DescribeDomainsBySourceRequest(); - - std::string getSources()const; - void setSources(const std::string& sources); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string sources_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSBYSOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSBYSOURCEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSBYSOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainsBySourceRequest : public RpcServiceRequest { +public: + DescribeDomainsBySourceRequest(); + ~DescribeDomainsBySourceRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string sources_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSBYSOURCEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceResult.h index 4f9cfc9f2..c5e6361c4 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainsBySourceResult.h @@ -41,7 +41,6 @@ namespace AlibabaCloud std::string createTime; std::string updateTime; std::string domainCname; - std::string cdnType; }; std::vector domains; std::vector domainInfos; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h index 0cf9423a4..52f90084b 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h @@ -1,57 +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_DESCRIBEDOMAINSUSAGEBYDAYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSUSAGEBYDAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainsUsageByDayRequest : public RpcServiceRequest - { - - public: - DescribeDomainsUsageByDayRequest(); - ~DescribeDomainsUsageByDayRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSUSAGEBYDAYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSUSAGEBYDAYREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSUSAGEBYDAYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeDomainsUsageByDayRequest : public RpcServiceRequest { +public: + DescribeDomainsUsageByDayRequest(); + ~DescribeDomainsUsageByDayRequest(); + 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_DESCRIBEDOMAINSUSAGEBYDAYREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h index 480457927..d82b71b2a 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h @@ -34,26 +34,26 @@ namespace AlibabaCloud public: struct UsageTotal { - std::string bytesHitRate; - std::string maxBps; std::string maxSrcBpsTime; + std::string maxBps; + std::string bytesHitRate; std::string requestHitRate; std::string maxBpsTime; std::string totalTraffic; - std::string maxSrcBps; std::string totalAccess; + std::string maxSrcBps; }; struct UsageByDay { - std::string bytesHitRate; - std::string maxBps; std::string maxSrcBpsTime; + std::string maxBps; + std::string bytesHitRate; std::string qps; std::string requestHitRate; std::string maxBpsTime; std::string totalTraffic; - std::string maxSrcBps; std::string totalAccess; + std::string maxSrcBps; std::string timeStamp; }; @@ -64,8 +64,8 @@ namespace AlibabaCloud UsageTotal getUsageTotal()const; std::string getEndTime()const; std::string getDomainName()const; - std::string getDataInterval()const; std::string getStartTime()const; + std::string getDataInterval()const; std::vector getUsageByDays()const; protected: @@ -74,8 +74,8 @@ namespace AlibabaCloud UsageTotal usageTotal_; std::string endTime_; std::string domainName_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; std::vector usageByDays_; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h deleted file mode 100644 index f635a814d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeEsExceptionDataRequest : public RpcServiceRequest - { - - public: - DescribeEsExceptionDataRequest(); - ~DescribeEsExceptionDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRuleId()const; - void setRuleId(const std::string& ruleId); - - private: - std::string startTime_; - std::string endTime_; - long ownerId_; - std::string ruleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXCEPTIONDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h deleted file mode 100644 index 62c8dfb24..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeEsExceptionDataResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 13e8e3226..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeEsExecuteDataRequest : public RpcServiceRequest - { - - public: - DescribeEsExecuteDataRequest(); - ~DescribeEsExecuteDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRuleId()const; - void setRuleId(const std::string& ruleId); - - private: - std::string startTime_; - std::string endTime_; - long ownerId_; - std::string ruleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEESEXECUTEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h deleted file mode 100644 index 05a5ffea5..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeEsExecuteDataResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 7cbc08d20..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h deleted file mode 100644 index a9b64441c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeFCTriggerResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 3a610f190..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h deleted file mode 100644 index 864daa2ed..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 07ca1d7f6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeIpInfoRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFOREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFOREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEIPINFOREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h b/cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h deleted file mode 100644 index 7f479091c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeIpInfoResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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/DescribeL2VipsByDomainRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h deleted file mode 100644 index cb32cd537..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h deleted file mode 100644 index f3084a4af..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeLivePullStreamConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h deleted file mode 100644 index 0c0809059..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLivePullStreamConfigRequest : public RpcServiceRequest - { - - public: - DescribeLivePullStreamConfigRequest(); - ~DescribeLivePullStreamConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h deleted file mode 100644 index 4b046a607..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVEPULLSTREAMCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVEPULLSTREAMCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLivePullStreamConfigResult : public ServiceResult - { - public: - struct LiveAppRecord - { - std::string sourceUrl; - std::string streamName; - std::string endTime; - std::string domainName; - std::string startTime; - }; - - - DescribeLivePullStreamConfigResult(); - explicit DescribeLivePullStreamConfigResult(const std::string &payload); - ~DescribeLivePullStreamConfigResult(); - std::vector getLiveAppRecordList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector liveAppRecordList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVEPULLSTREAMCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h deleted file mode 100644 index ce165e776..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamOnlineUserNumRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamOnlineUserNumRequest(); - ~DescribeLiveStreamOnlineUserNumRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getHlsSwitch()const; - void setHlsSwitch(const std::string& hlsSwitch); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string appName_; - std::string securityToken_; - std::string hlsSwitch_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h deleted file mode 100644 index 5366b7b2e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamOnlineUserNumResult : public ServiceResult - { - public: - struct LiveStreamOnlineUserNumInfo - { - std::string time; - std::string streamUrl; - long userNumber; - }; - - - DescribeLiveStreamOnlineUserNumResult(); - explicit DescribeLiveStreamOnlineUserNumResult(const std::string &payload); - ~DescribeLiveStreamOnlineUserNumResult(); - std::vector getOnlineUserInfo()const; - long getTotalUserNumber()const; - - protected: - void parse(const std::string &payload); - private: - std::vector onlineUserInfo_; - long totalUserNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h deleted file mode 100644 index 046f4d9c0..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamRecordContentRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamRecordContentRequest(); - ~DescribeLiveStreamRecordContentRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentResult.h deleted file mode 100644 index 71053950a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDCONTENTRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDCONTENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamRecordContentResult : public ServiceResult - { - public: - struct RecordContentInfo - { - std::string ossEndpoint; - std::string endTime; - std::string ossBucket; - std::string startTime; - float duration; - std::string ossObjectPrefix; - }; - - - DescribeLiveStreamRecordContentResult(); - explicit DescribeLiveStreamRecordContentResult(const std::string &payload); - ~DescribeLiveStreamRecordContentResult(); - std::vector getRecordContentInfoList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector recordContentInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDCONTENTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileRequest.h deleted file mode 100644 index 948d4e41b..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamRecordIndexFileRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamRecordIndexFileRequest(); - ~DescribeLiveStreamRecordIndexFileRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - - private: - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - long ownerId_; - std::string recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileResult.h deleted file mode 100644 index 589fc2278..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILERESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamRecordIndexFileResult : public ServiceResult - { - public: - struct RecordIndexInfo - { - std::string streamName; - std::string recordUrl; - std::string endTime; - std::string domainName; - std::string createTime; - std::string startTime; - std::string ossObject; - float duration; - int height; - std::string recordId; - int width; - std::string appName; - }; - - - DescribeLiveStreamRecordIndexFileResult(); - explicit DescribeLiveStreamRecordIndexFileResult(const std::string &payload); - ~DescribeLiveStreamRecordIndexFileResult(); - RecordIndexInfo getRecordIndexInfo()const; - - protected: - void parse(const std::string &payload); - private: - RecordIndexInfo recordIndexInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h deleted file mode 100644 index b59b678af..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamRecordIndexFilesRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamRecordIndexFilesRequest(); - ~DescribeLiveStreamRecordIndexFilesRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h deleted file mode 100644 index eaab6bb4e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamRecordIndexFilesResult : public ServiceResult - { - public: - struct RecordIndexInfo - { - std::string streamName; - std::string recordUrl; - std::string endTime; - std::string domainName; - std::string createTime; - std::string startTime; - std::string ossObject; - float duration; - int height; - std::string recordId; - int width; - std::string appName; - }; - - - DescribeLiveStreamRecordIndexFilesResult(); - explicit DescribeLiveStreamRecordIndexFilesResult(const std::string &payload); - ~DescribeLiveStreamRecordIndexFilesResult(); - std::vector getRecordIndexInfoList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector recordIndexInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h deleted file mode 100644 index 4eed90b67..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamSnapshotInfoRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamSnapshotInfoRequest(); - ~DescribeLiveStreamSnapshotInfoRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getLimit()const; - void setLimit(int limit); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string appName_; - std::string securityToken_; - int limit_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h deleted file mode 100644 index ac06efa0d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFORESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamSnapshotInfoResult : public ServiceResult - { - public: - struct LiveStreamSnapshotInfo - { - std::string ossEndpoint; - std::string createTime; - std::string ossBucket; - std::string ossObject; - }; - - - DescribeLiveStreamSnapshotInfoResult(); - explicit DescribeLiveStreamSnapshotInfoResult(const std::string &payload); - ~DescribeLiveStreamSnapshotInfoResult(); - std::vector getLiveStreamSnapshotInfoList()const; - std::string getNextStartTime()const; - - protected: - void parse(const std::string &payload); - private: - std::vector liveStreamSnapshotInfoList_; - std::string nextStartTime_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFORESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h deleted file mode 100644 index 07fa7b842..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsFrameRateAndBitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsFrameRateAndBitRateDataRequest(); - ~DescribeLiveStreamsFrameRateAndBitRateDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATAREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h deleted file mode 100644 index 3fbffcca9..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATARESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsFrameRateAndBitRateDataResult : public ServiceResult - { - public: - struct FrameRateAndBitRateInfo - { - float videoFrameRate; - std::string time; - float audioFrameRate; - float bitRate; - std::string streamUrl; - }; - - - DescribeLiveStreamsFrameRateAndBitRateDataResult(); - explicit DescribeLiveStreamsFrameRateAndBitRateDataResult(const std::string &payload); - ~DescribeLiveStreamsFrameRateAndBitRateDataResult(); - std::vector getFrameRateAndBitRateInfos()const; - - protected: - void parse(const std::string &payload); - private: - std::vector frameRateAndBitRateInfos_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATARESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h deleted file mode 100644 index 761f3f9a0..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsOnlineListRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsOnlineListRequest(); - ~DescribeLiveStreamsOnlineListRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamType()const; - void setStreamType(const std::string& streamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNum_; - std::string appName_; - std::string securityToken_; - int pageSize_; - std::string streamType_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListResult.h deleted file mode 100644 index 4dd2cc59c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSONLINELISTRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSONLINELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsOnlineListResult : public ServiceResult - { - public: - struct LiveStreamOnlineInfo - { - std::string publishUrl; - std::string streamName; - std::string domainName; - std::string publishTime; - std::string appName; - }; - - - DescribeLiveStreamsOnlineListResult(); - explicit DescribeLiveStreamsOnlineListResult(const std::string &payload); - ~DescribeLiveStreamsOnlineListResult(); - int getTotalNum()const; - int getPageNum()const; - int getPageSize()const; - int getTotalPage()const; - std::vector getOnlineInfo()const; - - protected: - void parse(const std::string &payload); - private: - int totalNum_; - int pageNum_; - int pageSize_; - int totalPage_; - std::vector onlineInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSONLINELISTRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h deleted file mode 100644 index 3a650b9b3..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsPublishListRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsPublishListRequest(); - ~DescribeLiveStreamsPublishListRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - long getPageSize()const; - void setPageSize(long pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - 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_; - long pageNumber_; - std::string appName_; - std::string securityToken_; - long pageSize_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListResult.h b/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListResult.h deleted file mode 100644 index 6f7e5b328..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamsPublishListResult : public ServiceResult - { - public: - struct LiveStreamPublishInfo - { - std::string publishUrl; - std::string streamName; - std::string clientAddr; - std::string domainName; - std::string edgeNodeAddr; - std::string publishTime; - std::string streamUrl; - std::string appName; - std::string stopTime; - }; - - - DescribeLiveStreamsPublishListResult(); - explicit DescribeLiveStreamsPublishListResult(const std::string &payload); - ~DescribeLiveStreamsPublishListResult(); - std::vector getPublishInfo()const; - - protected: - void parse(const std::string &payload); - private: - std::vector publishInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTRESULT_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 deleted file mode 100644 index a1a458e7d..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBERANGEDATABYLOCATEANDISPSERVICEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h deleted file mode 100644 index 2eab5bb62..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 89117d4bf..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREALTIMEDELIVERYACCREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h deleted file mode 100644 index 2bc2eed0f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeRefreshQuotaRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h index 1c0162cc3..0c53eefea 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h @@ -1,51 +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_DESCRIBEREFRESHQUOTAREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHQUOTAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeRefreshQuotaRequest : public RpcServiceRequest - { - - public: - DescribeRefreshQuotaRequest(); - ~DescribeRefreshQuotaRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHQUOTAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHQUOTAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHQUOTAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeRefreshQuotaRequest : public RpcServiceRequest { +public: + DescribeRefreshQuotaRequest(); + ~DescribeRefreshQuotaRequest(); + 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_DESCRIBEREFRESHQUOTAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h index aad5ae48a..452ba9e00 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h @@ -38,33 +38,25 @@ namespace AlibabaCloud explicit DescribeRefreshQuotaResult(const std::string &payload); ~DescribeRefreshQuotaResult(); std::string getUrlRemain()const; - std::string getPreloadEdgeRemain()const; - std::string getPreloadRemain()const; std::string getBlockRemain()const; - std::string getRegexRemain()const; - std::string getDirRemain()const; + std::string getPreloadRemain()const; std::string getBlockQuota()const; - std::string getRegexQuota()const; + std::string getDirRemain()const; std::string getUrlQuota()const; std::string getDirQuota()const; std::string getPreloadQuota()const; - std::string getPreloadEdgeQuota()const; protected: void parse(const std::string &payload); private: std::string urlRemain_; - std::string preloadEdgeRemain_; - std::string preloadRemain_; std::string blockRemain_; - std::string regexRemain_; - std::string dirRemain_; + std::string preloadRemain_; std::string blockQuota_; - std::string regexQuota_; + std::string dirRemain_; std::string urlQuota_; std::string dirQuota_; std::string preloadQuota_; - std::string preloadEdgeQuota_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h deleted file mode 100644 index 8a56654b3..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h deleted file mode 100644 index 9cfa98494..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 taskId; - std::string description; - 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 deleted file mode 100644 index 43d498309..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h deleted file mode 100644 index 805e5c0ef..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 taskId; - std::string description; - 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 deleted file mode 100644 index e83575b8a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeStagingIpRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBESTAGINGIPREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h b/cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h deleted file mode 100644 index 952fabb1a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeStagingIpResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 48890d0c3..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESREQUEST_H_ - -#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; - }; - - public: - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBETAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h deleted file mode 100644 index 034d0aae3..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeTopDomainsByFlowRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h index fc70cd3a1..5c69ae09b 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h @@ -1,57 +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_DESCRIBETOPDOMAINSBYFLOWREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBETOPDOMAINSBYFLOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeTopDomainsByFlowRequest : public RpcServiceRequest - { - - public: - DescribeTopDomainsByFlowRequest(); - ~DescribeTopDomainsByFlowRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getLimit()const; - void setLimit(long limit); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - long limit_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBETOPDOMAINSBYFLOWREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBETOPDOMAINSBYFLOWREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBETOPDOMAINSBYFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeTopDomainsByFlowRequest : public RpcServiceRequest { +public: + DescribeTopDomainsByFlowRequest(); + ~DescribeTopDomainsByFlowRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getLimit() const; + void setLimit(long limit); + std::string getProduct() const; + void setProduct(const std::string &product); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + long limit_; + std::string product_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBETOPDOMAINSBYFLOWREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h deleted file mode 100644 index abe5a98c4..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h deleted file mode 100644 index 55adb8b39..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 815118cd6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeUserConfigsRequest : public RpcServiceRequest - { - - public: - DescribeUserConfigsRequest(); - ~DescribeUserConfigsRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getConfig()const; - void setConfig(const std::string& config); - - private: - long ownerId_; - std::string securityToken_; - std::string config_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h deleted file mode 100644 index 6b903db23..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserConfigsResult.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/DescribeUserDomainsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h index 071f35c10..7ee6e6d60 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h @@ -1,102 +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_DESCRIBEUSERDOMAINSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DescribeUserDomainsRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeUserDomainsRequest(); - ~DescribeUserDomainsRequest(); - - std::string getSource()const; - void setSource(const std::string& source); - int getPageNumber()const; - void setPageNumber(int pageNumber); - bool getCheckDomainShow()const; - void setCheckDomainShow(bool checkDomainShow); - 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 getChangeEndTime()const; - void setChangeEndTime(const std::string& changeEndTime); - int getPageSize()const; - void setPageSize(int pageSize); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getFuncFilter()const; - void setFuncFilter(const std::string& funcFilter); - std::string getCoverage()const; - void setCoverage(const std::string& coverage); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getFuncId()const; - void setFuncId(const std::string& funcId); - std::string getDomainStatus()const; - void setDomainStatus(const std::string& domainStatus); - std::string getDomainSearchType()const; - void setDomainSearchType(const std::string& domainSearchType); - std::string getChangeStartTime()const; - void setChangeStartTime(const std::string& changeStartTime); - - private: - std::string source_; - int pageNumber_; - bool checkDomainShow_; - std::string resourceGroupId_; - std::string securityToken_; - std::string cdnType_; - std::string changeEndTime_; - int pageSize_; - std::vector tag_; - std::string funcFilter_; - std::string coverage_; - std::string domainName_; - long ownerId_; - std::string funcId_; - std::string domainStatus_; - std::string domainSearchType_; - std::string changeStartTime_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERDOMAINSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT DescribeUserDomainsRequest : public RpcServiceRequest { +public: + DescribeUserDomainsRequest(); + ~DescribeUserDomainsRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + int getPageNumber() const; + void setPageNumber(int pageNumber); + bool getCheckDomainShow() const; + void setCheckDomainShow(bool checkDomainShow); + 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); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getFuncFilter() const; + void setFuncFilter(const std::string &funcFilter); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getFuncId() const; + void setFuncId(const std::string &funcId); + std::string getDomainStatus() const; + void setDomainStatus(const std::string &domainStatus); + std::string getDomainSearchType() const; + void setDomainSearchType(const std::string &domainSearchType); + +private: + std::string sources_; + int pageNumber_; + bool checkDomainShow_; + std::string resourceGroupId_; + std::string securityToken_; + std::string cdnType_; + int pageSize_; + std::string funcFilter_; + std::string domainName_; + long ownerId_; + std::string funcId_; + std::string domainStatus_; + std::string domainSearchType_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERDOMAINSREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h index 65ff4445f..fbb71cb74 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h @@ -34,24 +34,16 @@ namespace AlibabaCloud public: struct PageData { - struct Source - { - std::string type; - std::string content; - std::string priority; - int port; - std::string weight; - }; - std::string description; std::string sslProtocol; + std::string description; std::string resourceGroupId; std::string domainName; + std::string sourceType; std::string gmtModified; - std::string coverage; - std::string cdnType; std::string gmtCreated; - std::vector sources; + std::string cdnType; std::string cname; + std::vector sources; std::string domainStatus; std::string sandbox; }; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h deleted file mode 100644 index 941490e50..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserTagsRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERTAGSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h deleted file mode 100644 index 399c1f5b6..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserTagsResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ea873829f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDATAEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h deleted file mode 100644 index 566749677..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index ca95c12e8..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERUSAGEDETAILDATAEXPORTTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h deleted file mode 100644 index 510ef5cf4..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index cd8d0032a..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERVIPSBYDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h deleted file mode 100644 index 151b0a18e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 3974f2f42..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h b/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h deleted file mode 100644 index 83202043c..000000000 --- a/cdn/include/alibabacloud/cdn/model/DescribeVerifyContentResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 6ca8232fa..000000000 --- a/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DISABLEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h deleted file mode 100644 index ba39f7f24..000000000 --- a/cdn/include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index dbaa300ca..000000000 --- a/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ENABLEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h deleted file mode 100644 index dcffbec79..000000000 --- a/cdn/include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/ForbidLiveStreamRequest.h b/cdn/include/alibabacloud/cdn/model/ForbidLiveStreamRequest.h deleted file mode 100644 index d0593da15..000000000 --- a/cdn/include/alibabacloud/cdn/model/ForbidLiveStreamRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_FORBIDLIVESTREAMREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_FORBIDLIVESTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ForbidLiveStreamRequest : public RpcServiceRequest - { - - public: - ForbidLiveStreamRequest(); - ~ForbidLiveStreamRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getResumeTime()const; - void setResumeTime(const std::string& resumeTime); - std::string getLiveStreamType()const; - void setLiveStreamType(const std::string& liveStreamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string resumeTime_; - std::string liveStreamType_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_FORBIDLIVESTREAMREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ForbidLiveStreamResult.h b/cdn/include/alibabacloud/cdn/model/ForbidLiveStreamResult.h deleted file mode 100644 index b4b8f720d..000000000 --- a/cdn/include/alibabacloud/cdn/model/ForbidLiveStreamResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_FORBIDLIVESTREAMRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_FORBIDLIVESTREAMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ForbidLiveStreamResult : public ServiceResult - { - public: - - - ForbidLiveStreamResult(); - explicit ForbidLiveStreamResult(const std::string &payload); - ~ForbidLiveStreamResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_FORBIDLIVESTREAMRESULT_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 deleted file mode 100644 index 1bb6c5e88..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_LISTDOMAINSBYLOGCONFIGIDREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h b/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h deleted file mode 100644 index 097d255c4..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 0ebe1ea81..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListFCTriggerRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_LISTFCTRIGGERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h deleted file mode 100644 index ffeff6971..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListFCTriggerResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index d788fd369..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSREQUEST_H_ - -#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& region); - std::string getLogstore()const; - void setLogstore(const std::string& logstore); - - private: - std::string project_; - long ownerId_; - std::string region_; - std::string logstore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYDOMAINSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h deleted file mode 100644 index 5e59da65a..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 2ef30f7e5..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_LISTREALTIMELOGDELIVERYINFOSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h b/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h deleted file mode 100644 index 096138ed7..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ffc11144a..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_LISTUSERCUSTOMLOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h deleted file mode 100644 index 196d589a9..000000000 --- a/cdn/include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 542a9e0b0..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h deleted file mode 100644 index 3c0374599..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 2aa71b64f..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ModifyCdnDomainSchdmByPropertyRequest : public RpcServiceRequest - { - - public: - ModifyCdnDomainSchdmByPropertyRequest(); - ~ModifyCdnDomainSchdmByPropertyRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProperty()const; - void setProperty(const std::string& property); - - private: - std::string domainName_; - long ownerId_; - std::string property_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h b/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h deleted file mode 100644 index 3d3ee746f..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/ModifyDomainCustomLogConfigRequest.h b/cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigRequest.h deleted file mode 100644 index 6443f9804..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYDOMAINCUSTOMLOGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYDOMAINCUSTOMLOGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ModifyDomainCustomLogConfigRequest : public RpcServiceRequest - { - - public: - ModifyDomainCustomLogConfigRequest(); - ~ModifyDomainCustomLogConfigRequest(); - - 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 domainName_; - long ownerId_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYDOMAINCUSTOMLOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h b/cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h deleted file mode 100644 index 3e7e8deed..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYDOMAINCUSTOMLOGCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYDOMAINCUSTOMLOGCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ModifyDomainCustomLogConfigResult : public ServiceResult - { - public: - - - ModifyDomainCustomLogConfigResult(); - explicit ModifyDomainCustomLogConfigResult(const std::string &payload); - ~ModifyDomainCustomLogConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYDOMAINCUSTOMLOGCONFIGRESULT_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 deleted file mode 100644 index 0b6e35902..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYREQUEST_H_ - -#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& region); - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h b/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h deleted file mode 100644 index e353b0f74..000000000 --- a/cdn/include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/OpenCdnServiceRequest.h b/cdn/include/alibabacloud/cdn/model/OpenCdnServiceRequest.h index f28df0392..e5d0f935d 100644 --- a/cdn/include/alibabacloud/cdn/model/OpenCdnServiceRequest.h +++ b/cdn/include/alibabacloud/cdn/model/OpenCdnServiceRequest.h @@ -1,54 +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_OPENCDNSERVICEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_OPENCDNSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT OpenCdnServiceRequest : public RpcServiceRequest - { - - public: - OpenCdnServiceRequest(); - ~OpenCdnServiceRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getInternetChargeType()const; - void setInternetChargeType(const std::string& internetChargeType); - - private: - long ownerId_; - std::string securityToken_; - std::string internetChargeType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_OPENCDNSERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_OPENCDNSERVICEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_OPENCDNSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT OpenCdnServiceRequest : public RpcServiceRequest { +public: + OpenCdnServiceRequest(); + ~OpenCdnServiceRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getInternetChargeType() const; + void setInternetChargeType(const std::string &internetChargeType); + +private: + long ownerId_; + std::string securityToken_; + std::string internetChargeType_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_OPENCDNSERVICEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h b/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h deleted file mode 100644 index 76b47b5a4..000000000 --- a/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT PublishStagingConfigToProductionRequest : public RpcServiceRequest - { - - public: - PublishStagingConfigToProductionRequest(); - ~PublishStagingConfigToProductionRequest(); - - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_PUBLISHSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h b/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h deleted file mode 100644 index 8629ee695..000000000 --- a/cdn/include/alibabacloud/cdn/model/PublishStagingConfigToProductionResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/PushObjectCacheRequest.h b/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h index 8a5d6bbe8..24b913d60 100644 --- a/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h +++ b/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h @@ -1,57 +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_PUSHOBJECTCACHEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_PUSHOBJECTCACHEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT PushObjectCacheRequest : public RpcServiceRequest - { - - public: - PushObjectCacheRequest(); - ~PushObjectCacheRequest(); - - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getArea()const; - void setArea(const std::string& area); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string objectPath_; - std::string securityToken_; - std::string area_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_PUSHOBJECTCACHEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_PUSHOBJECTCACHEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_PUSHOBJECTCACHEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT PushObjectCacheRequest : public RpcServiceRequest { +public: + PushObjectCacheRequest(); + ~PushObjectCacheRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getArea() const; + void setArea(const std::string &area); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string objectPath_; + std::string securityToken_; + std::string area_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_PUSHOBJECTCACHEREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/RefreshObjectCachesRequest.h b/cdn/include/alibabacloud/cdn/model/RefreshObjectCachesRequest.h index da5d1d599..fe56874b3 100644 --- a/cdn/include/alibabacloud/cdn/model/RefreshObjectCachesRequest.h +++ b/cdn/include/alibabacloud/cdn/model/RefreshObjectCachesRequest.h @@ -1,57 +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_REFRESHOBJECTCACHESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_REFRESHOBJECTCACHESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT RefreshObjectCachesRequest : public RpcServiceRequest - { - - public: - RefreshObjectCachesRequest(); - ~RefreshObjectCachesRequest(); - - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string objectPath_; - std::string securityToken_; - std::string objectType_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_REFRESHOBJECTCACHESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_REFRESHOBJECTCACHESREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_REFRESHOBJECTCACHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT RefreshObjectCachesRequest : public RpcServiceRequest { +public: + RefreshObjectCachesRequest(); + ~RefreshObjectCachesRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string objectPath_; + std::string securityToken_; + std::string objectType_; + long ownerId_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_REFRESHOBJECTCACHESREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/ResumeLiveStreamRequest.h b/cdn/include/alibabacloud/cdn/model/ResumeLiveStreamRequest.h deleted file mode 100644 index 158330418..000000000 --- a/cdn/include/alibabacloud/cdn/model/ResumeLiveStreamRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_RESUMELIVESTREAMREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_RESUMELIVESTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ResumeLiveStreamRequest : public RpcServiceRequest - { - - public: - ResumeLiveStreamRequest(); - ~ResumeLiveStreamRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getLiveStreamType()const; - void setLiveStreamType(const std::string& liveStreamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string liveStreamType_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_RESUMELIVESTREAMREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/ResumeLiveStreamResult.h b/cdn/include/alibabacloud/cdn/model/ResumeLiveStreamResult.h deleted file mode 100644 index 48e30c317..000000000 --- a/cdn/include/alibabacloud/cdn/model/ResumeLiveStreamResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_RESUMELIVESTREAMRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_RESUMELIVESTREAMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT ResumeLiveStreamResult : public ServiceResult - { - public: - - - ResumeLiveStreamResult(); - explicit ResumeLiveStreamResult(const std::string &payload); - ~ResumeLiveStreamResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_RESUMELIVESTREAMRESULT_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 deleted file mode 100644 index e45abe567..000000000 --- a/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT RollbackStagingConfigRequest : public RpcServiceRequest - { - - public: - RollbackStagingConfigRequest(); - ~RollbackStagingConfigRequest(); - - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_ROLLBACKSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h deleted file mode 100644 index 62e3702d6..000000000 --- a/cdn/include/alibabacloud/cdn/model/RollbackStagingConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/SetCcConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetCcConfigRequest.h deleted file mode 100644 index f67cb000d..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCcConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETCCCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETCCCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetCcConfigRequest : public RpcServiceRequest - { - - public: - SetCcConfigRequest(); - ~SetCcConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAllowIps()const; - void setAllowIps(const std::string& allowIps); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getBlockIps()const; - void setBlockIps(const std::string& blockIps); - - private: - std::string domainName_; - long ownerId_; - std::string allowIps_; - std::string securityToken_; - std::string blockIps_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETCCCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCcConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetCcConfigResult.h deleted file mode 100644 index 3f87d61f0..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCcConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETCCCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETCCCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetCcConfigResult : public ServiceResult - { - public: - - - SetCcConfigResult(); - explicit SetCcConfigResult(const std::string &payload); - ~SetCcConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETCCCONFIGRESULT_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 deleted file mode 100644 index a6ec640f1..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINCSRCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h deleted file mode 100644 index 736456c2e..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 76ff2ae11..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSMCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h deleted file mode 100644 index 6d19b3a87..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCdnDomainSMCertificateResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index ba318a1d7..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETCDNDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h deleted file mode 100644 index d081787f1..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 4f34fbec1..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetConfigOfVersionRequest : public RpcServiceRequest - { - - public: - SetConfigOfVersionRequest(); - ~SetConfigOfVersionRequest(); - - std::string getFunctionMatches()const; - void setFunctionMatches(const std::string& functionMatches); - 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 functionMatches_; - std::string versionId_; - std::string securityToken_; - std::string functionName_; - std::string functionArgs_; - std::string ownerAccount_; - long ownerId_; - long functionId_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETCONFIGOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h b/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h deleted file mode 100644 index d25193738..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetConfigOfVersionResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index f4390ac07..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATEREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETDOMAINSERVERCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h deleted file mode 100644 index 200c256c3..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/SetFileCacheExpiredConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h deleted file mode 100644 index 1ec40bbe8..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETFILECACHEEXPIREDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETFILECACHEEXPIREDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetFileCacheExpiredConfigRequest : public RpcServiceRequest - { - - public: - SetFileCacheExpiredConfigRequest(); - ~SetFileCacheExpiredConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getWeight()const; - void setWeight(const std::string& weight); - std::string getCacheContent()const; - void setCacheContent(const std::string& cacheContent); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTTL()const; - void setTTL(const std::string& tTL); - - private: - std::string securityToken_; - std::string domainName_; - std::string weight_; - std::string cacheContent_; - long ownerId_; - std::string tTL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETFILECACHEEXPIREDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h deleted file mode 100644 index 3f9e991f3..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETFILECACHEEXPIREDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETFILECACHEEXPIREDCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetFileCacheExpiredConfigResult : public ServiceResult - { - public: - - - SetFileCacheExpiredConfigResult(); - explicit SetFileCacheExpiredConfigResult(const std::string &payload); - ~SetFileCacheExpiredConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETFILECACHEEXPIREDCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h deleted file mode 100644 index 4c1d0b331..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETFORCEREDIRECTCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETFORCEREDIRECTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetForceRedirectConfigRequest : public RpcServiceRequest - { - - public: - SetForceRedirectConfigRequest(); - ~SetForceRedirectConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getRedirectType()const; - void setRedirectType(const std::string& redirectType); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - std::string redirectType_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETFORCEREDIRECTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h deleted file mode 100644 index d74bc1a75..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETFORCEREDIRECTCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETFORCEREDIRECTCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetForceRedirectConfigResult : public ServiceResult - { - public: - - - SetForceRedirectConfigResult(); - explicit SetForceRedirectConfigResult(const std::string &payload); - ~SetForceRedirectConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETFORCEREDIRECTCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h deleted file mode 100644 index 4cc75dd77..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETFORWARDSCHEMECONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETFORWARDSCHEMECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetForwardSchemeConfigRequest : public RpcServiceRequest - { - - public: - SetForwardSchemeConfigRequest(); - ~SetForwardSchemeConfigRequest(); - - std::string getSchemeOriginPort()const; - void setSchemeOriginPort(const std::string& schemeOriginPort); - std::string getEnable()const; - void setEnable(const std::string& enable); - std::string getSchemeOrigin()const; - void setSchemeOrigin(const std::string& schemeOrigin); - 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 schemeOriginPort_; - std::string enable_; - std::string schemeOrigin_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETFORWARDSCHEMECONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigResult.h deleted file mode 100644 index 5875be6d1..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetForwardSchemeConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETFORWARDSCHEMECONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETFORWARDSCHEMECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetForwardSchemeConfigResult : public ServiceResult - { - public: - - - SetForwardSchemeConfigResult(); - explicit SetForwardSchemeConfigResult(const std::string &payload); - ~SetForwardSchemeConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETFORWARDSCHEMECONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h deleted file mode 100644 index dc240e080..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETHTTPHEADERCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETHTTPHEADERCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetHttpHeaderConfigRequest : public RpcServiceRequest - { - - public: - SetHttpHeaderConfigRequest(); - ~SetHttpHeaderConfigRequest(); - - std::string getHeaderValue()const; - void setHeaderValue(const std::string& headerValue); - 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); - long getConfigId()const; - void setConfigId(long configId); - std::string getHeaderKey()const; - void setHeaderKey(const std::string& headerKey); - - private: - std::string headerValue_; - std::string securityToken_; - std::string domainName_; - long ownerId_; - long configId_; - std::string headerKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETHTTPHEADERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h deleted file mode 100644 index 1b13299b7..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETHTTPHEADERCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETHTTPHEADERCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetHttpHeaderConfigResult : public ServiceResult - { - public: - - - SetHttpHeaderConfigResult(); - explicit SetHttpHeaderConfigResult(const std::string &payload); - ~SetHttpHeaderConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETHTTPHEADERCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h deleted file mode 100644 index 5bdfce145..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETHTTPSOPTIONCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETHTTPSOPTIONCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetHttpsOptionConfigRequest : public RpcServiceRequest - { - - public: - SetHttpsOptionConfigRequest(); - ~SetHttpsOptionConfigRequest(); - - std::string getHttp2()const; - void setHttp2(const std::string& http2); - 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 http2_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETHTTPSOPTIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigResult.h deleted file mode 100644 index 3454ad61d..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetHttpsOptionConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETHTTPSOPTIONCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETHTTPSOPTIONCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetHttpsOptionConfigResult : public ServiceResult - { - public: - - - SetHttpsOptionConfigResult(); - explicit SetHttpsOptionConfigResult(const std::string &payload); - ~SetHttpsOptionConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETHTTPSOPTIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigRequest.h deleted file mode 100644 index e9072ec10..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETIGNOREQUERYSTRINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETIGNOREQUERYSTRINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetIgnoreQueryStringConfigRequest : public RpcServiceRequest - { - - public: - SetIgnoreQueryStringConfigRequest(); - ~SetIgnoreQueryStringConfigRequest(); - - std::string getEnable()const; - void setEnable(const std::string& enable); - std::string getKeepOssArgs()const; - void setKeepOssArgs(const std::string& keepOssArgs); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getHashKeyArgs()const; - void setHashKeyArgs(const std::string& hashKeyArgs); - long getConfigId()const; - void setConfigId(long configId); - - private: - std::string enable_; - std::string keepOssArgs_; - std::string domainName_; - long ownerId_; - std::string hashKeyArgs_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETIGNOREQUERYSTRINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigResult.h deleted file mode 100644 index 3f769bd97..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETIGNOREQUERYSTRINGCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETIGNOREQUERYSTRINGCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetIgnoreQueryStringConfigResult : public ServiceResult - { - public: - - - SetIgnoreQueryStringConfigResult(); - explicit SetIgnoreQueryStringConfigResult(const std::string &payload); - ~SetIgnoreQueryStringConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETIGNOREQUERYSTRINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigRequest.h deleted file mode 100644 index 98ebeeecb..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETIPALLOWLISTCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETIPALLOWLISTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetIpAllowListConfigRequest : public RpcServiceRequest - { - - public: - SetIpAllowListConfigRequest(); - ~SetIpAllowListConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAllowIps()const; - void setAllowIps(const std::string& allowIps); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string allowIps_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETIPALLOWLISTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h deleted file mode 100644 index d3225d71f..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETIPALLOWLISTCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETIPALLOWLISTCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetIpAllowListConfigResult : public ServiceResult - { - public: - - - SetIpAllowListConfigResult(); - explicit SetIpAllowListConfigResult(const std::string &payload); - ~SetIpAllowListConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETIPALLOWLISTCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h deleted file mode 100644 index 18d30ba3b..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETIPBLACKLISTCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETIPBLACKLISTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetIpBlackListConfigRequest : public RpcServiceRequest - { - - public: - SetIpBlackListConfigRequest(); - ~SetIpBlackListConfigRequest(); - - std::string getBlockIps()const; - void setBlockIps(const std::string& blockIps); - 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 blockIps_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETIPBLACKLISTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h deleted file mode 100644 index af9242715..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETIPBLACKLISTCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETIPBLACKLISTCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetIpBlackListConfigResult : public ServiceResult - { - public: - - - SetIpBlackListConfigResult(); - explicit SetIpBlackListConfigResult(const std::string &payload); - ~SetIpBlackListConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETIPBLACKLISTCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h deleted file mode 100644 index 39d8a7725..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETOPTIMIZECONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETOPTIMIZECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetOptimizeConfigRequest : public RpcServiceRequest - { - - public: - SetOptimizeConfigRequest(); - ~SetOptimizeConfigRequest(); - - std::string getEnable()const; - void setEnable(const std::string& enable); - 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 enable_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETOPTIMIZECONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetOptimizeConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetOptimizeConfigResult.h deleted file mode 100644 index 05954719c..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetOptimizeConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETOPTIMIZECONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETOPTIMIZECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetOptimizeConfigResult : public ServiceResult - { - public: - - - SetOptimizeConfigResult(); - explicit SetOptimizeConfigResult(const std::string &payload); - ~SetOptimizeConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETOPTIMIZECONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h deleted file mode 100644 index b1725ebcc..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETPAGECOMPRESSCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETPAGECOMPRESSCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetPageCompressConfigRequest : public RpcServiceRequest - { - - public: - SetPageCompressConfigRequest(); - ~SetPageCompressConfigRequest(); - - std::string getEnable()const; - void setEnable(const std::string& enable); - 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 enable_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETPAGECOMPRESSCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetPageCompressConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetPageCompressConfigResult.h deleted file mode 100644 index 35d4fa88f..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetPageCompressConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETPAGECOMPRESSCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETPAGECOMPRESSCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetPageCompressConfigResult : public ServiceResult - { - public: - - - SetPageCompressConfigResult(); - explicit SetPageCompressConfigResult(const std::string &payload); - ~SetPageCompressConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETPAGECOMPRESSCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigRequest.h deleted file mode 100644 index 5ef5ea30d..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETPATHCACHEEXPIREDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETPATHCACHEEXPIREDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetPathCacheExpiredConfigRequest : public RpcServiceRequest - { - - public: - SetPathCacheExpiredConfigRequest(); - ~SetPathCacheExpiredConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getWeight()const; - void setWeight(const std::string& weight); - std::string getCacheContent()const; - void setCacheContent(const std::string& cacheContent); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTTL()const; - void setTTL(const std::string& tTL); - - private: - std::string securityToken_; - std::string domainName_; - std::string weight_; - std::string cacheContent_; - long ownerId_; - std::string tTL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETPATHCACHEEXPIREDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h deleted file mode 100644 index a72ed57f3..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETPATHCACHEEXPIREDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETPATHCACHEEXPIREDCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetPathCacheExpiredConfigResult : public ServiceResult - { - public: - - - SetPathCacheExpiredConfigResult(); - explicit SetPathCacheExpiredConfigResult(const std::string &payload); - ~SetPathCacheExpiredConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETPATHCACHEEXPIREDCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetRangeConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetRangeConfigRequest.h deleted file mode 100644 index 681293f34..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetRangeConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETRANGECONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETRANGECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetRangeConfigRequest : public RpcServiceRequest - { - - public: - SetRangeConfigRequest(); - ~SetRangeConfigRequest(); - - std::string getEnable()const; - void setEnable(const std::string& enable); - 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 enable_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETRANGECONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetRangeConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetRangeConfigResult.h deleted file mode 100644 index 1651f888a..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetRangeConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETRANGECONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETRANGECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetRangeConfigResult : public ServiceResult - { - public: - - - SetRangeConfigResult(); - explicit SetRangeConfigResult(const std::string &payload); - ~SetRangeConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETRANGECONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetRefererConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetRefererConfigRequest.h deleted file mode 100644 index 14028429a..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetRefererConfigRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREFERERCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREFERERCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetRefererConfigRequest : public RpcServiceRequest - { - - public: - SetRefererConfigRequest(); - ~SetRefererConfigRequest(); - - std::string getReferList()const; - void setReferList(const std::string& referList); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getReferType()const; - void setReferType(const std::string& referType); - std::string getDisableAst()const; - void setDisableAst(const std::string& disableAst); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAllowEmpty()const; - void setAllowEmpty(const std::string& allowEmpty); - - private: - std::string referList_; - std::string securityToken_; - std::string referType_; - std::string disableAst_; - std::string domainName_; - long ownerId_; - std::string allowEmpty_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREFERERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetRefererConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetRefererConfigResult.h deleted file mode 100644 index 444bfebdd..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetRefererConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREFERERCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREFERERCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetRefererConfigResult : public ServiceResult - { - public: - - - SetRefererConfigResult(); - explicit SetRefererConfigResult(const std::string &payload); - ~SetRefererConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREFERERCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigRequest.h deleted file mode 100644 index 4779a0d92..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREMOVEQUERYSTRINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREMOVEQUERYSTRINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetRemoveQueryStringConfigRequest : public RpcServiceRequest - { - - public: - SetRemoveQueryStringConfigRequest(); - ~SetRemoveQueryStringConfigRequest(); - - std::string getAliRemoveArgs()const; - void setAliRemoveArgs(const std::string& aliRemoveArgs); - std::string getKeepOssArgs()const; - void setKeepOssArgs(const std::string& keepOssArgs); - 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 aliRemoveArgs_; - std::string keepOssArgs_; - std::string domainName_; - long ownerId_; - long configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREMOVEQUERYSTRINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigResult.h deleted file mode 100644 index dbca3fc4c..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetRemoveQueryStringConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREMOVEQUERYSTRINGCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREMOVEQUERYSTRINGCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetRemoveQueryStringConfigResult : public ServiceResult - { - public: - - - SetRemoveQueryStringConfigResult(); - explicit SetRemoveQueryStringConfigResult(const std::string &payload); - ~SetRemoveQueryStringConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREMOVEQUERYSTRINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetReqAuthConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetReqAuthConfigRequest.h deleted file mode 100644 index a8ccdb05a..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetReqAuthConfigRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREQAUTHCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREQAUTHCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetReqAuthConfigRequest : public RpcServiceRequest - { - - public: - SetReqAuthConfigRequest(); - ~SetReqAuthConfigRequest(); - - std::string getKey1()const; - void setKey1(const std::string& key1); - std::string getKey2()const; - void setKey2(const std::string& key2); - std::string getTimeOut()const; - void setTimeOut(const std::string& timeOut); - std::string getAuthType()const; - void setAuthType(const std::string& authType); - std::string getAuthRemoteDesc()const; - void setAuthRemoteDesc(const std::string& authRemoteDesc); - 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 key1_; - std::string key2_; - std::string timeOut_; - std::string authType_; - std::string authRemoteDesc_; - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREQAUTHCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetReqAuthConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetReqAuthConfigResult.h deleted file mode 100644 index d1c1a4515..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetReqAuthConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREQAUTHCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREQAUTHCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetReqAuthConfigResult : public ServiceResult - { - public: - - - SetReqAuthConfigResult(); - explicit SetReqAuthConfigResult(const std::string &payload); - ~SetReqAuthConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREQAUTHCONFIGRESULT_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 deleted file mode 100644 index a394515a3..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETREQHEADERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h deleted file mode 100644 index bd7628ed1..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/SetSourceHostConfigRequest.h b/cdn/include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h deleted file mode 100644 index 8e1c2d53a..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETSOURCEHOSTCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETSOURCEHOSTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetSourceHostConfigRequest : public RpcServiceRequest - { - - public: - SetSourceHostConfigRequest(); - ~SetSourceHostConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getEnable()const; - void setEnable(const std::string& enable); - std::string getBackSrcDomain()const; - void setBackSrcDomain(const std::string& backSrcDomain); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - std::string enable_; - std::string backSrcDomain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETSOURCEHOSTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetSourceHostConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetSourceHostConfigResult.h deleted file mode 100644 index c76736eeb..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetSourceHostConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETSOURCEHOSTCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_SETSOURCEHOSTCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT SetSourceHostConfigResult : public ServiceResult - { - public: - - - SetSourceHostConfigResult(); - explicit SetSourceHostConfigResult(const std::string &payload); - ~SetSourceHostConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETSOURCEHOSTCONFIGRESULT_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 deleted file mode 100644 index cbd071410..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_SETWAITINGROOMCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h b/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h deleted file mode 100644 index 73c1a8b02..000000000 --- a/cdn/include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index d45bab22b..000000000 --- a/cdn/include/alibabacloud/cdn/model/StartCdnDomainRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_STARTCDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h deleted file mode 100644 index 5b8e12e4a..000000000 --- a/cdn/include/alibabacloud/cdn/model/StartCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index c3f77b0bc..000000000 --- a/cdn/include/alibabacloud/cdn/model/StopCdnDomainRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_STOPCDNDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h b/cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h deleted file mode 100644 index 346f3c2f5..000000000 --- a/cdn/include/alibabacloud/cdn/model/StopCdnDomainResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index c3d3acdf5..000000000 --- a/cdn/include/alibabacloud/cdn/model/TagResourcesRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_TAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_TAGRESOURCESREQUEST_H_ - -#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; - }; - - public: - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_TAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/TagResourcesResult.h b/cdn/include/alibabacloud/cdn/model/TagResourcesResult.h deleted file mode 100644 index f5a68d326..000000000 --- a/cdn/include/alibabacloud/cdn/model/TagResourcesResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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/TestDescribeDomainBpsDataRequest.h b/cdn/include/alibabacloud/cdn/model/TestDescribeDomainBpsDataRequest.h new file mode 100644 index 000000000..48b359c1d --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/TestDescribeDomainBpsDataRequest.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_TESTDESCRIBEDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_TESTDESCRIBEDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cdn { +namespace Model { +class ALIBABACLOUD_CDN_EXPORT TestDescribeDomainBpsDataRequest : public RpcServiceRequest { +public: + TestDescribeDomainBpsDataRequest(); + ~TestDescribeDomainBpsDataRequest(); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + 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); + +private: + std::string domainType_; + std::string timeMerge_; + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Cdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CDN_MODEL_TESTDESCRIBEDOMAINBPSDATAREQUEST_H_ diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h b/cdn/include/alibabacloud/cdn/model/TestDescribeDomainBpsDataResult.h similarity index 56% rename from cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h rename to cdn/include/alibabacloud/cdn/model/TestDescribeDomainBpsDataResult.h index 8e14e2d3f..888ec8b4c 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h +++ b/cdn/include/alibabacloud/cdn/model/TestDescribeDomainBpsDataResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATARESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATARESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_TESTDESCRIBEDOMAINBPSDATARESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_TESTDESCRIBEDOMAINBPSDATARESULT_H_ #include #include @@ -29,41 +29,55 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DescribeDomainTrafficDataResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT TestDescribeDomainBpsDataResult : public ServiceResult { public: struct DataModule { std::string overseasValue; - std::string httpsValue; - std::string value; - std::string httpsDomesticValue; + std::string staticOverseasValue; + std::string staticDomesticValue; + std::string staticValue; + std::string overseasL2Value; std::string timeStamp; - std::string httpsOverseasValue; std::string domesticValue; + std::string dynamicOverseasValue; + std::string dynamicDomesticValue; + std::string value; + std::string domesticL2Value; + std::string l2Value; + std::string dynamicValue; }; - DescribeDomainTrafficDataResult(); - explicit DescribeDomainTrafficDataResult(const std::string &payload); - ~DescribeDomainTrafficDataResult(); + TestDescribeDomainBpsDataResult(); + explicit TestDescribeDomainBpsDataResult(const std::string &payload); + ~TestDescribeDomainBpsDataResult(); + std::string getIspNameEn()const; + std::string getIspName()const; std::string getEndTime()const; - std::vector getTrafficDataPerInterval()const; std::string getDomainName()const; + std::string getLocationNameEn()const; std::string getStartTime()const; std::string getDataInterval()const; + std::vector getBpsDataPerInterval()const; + std::string getLocationName()const; protected: void parse(const std::string &payload); private: + std::string ispNameEn_; + std::string ispName_; std::string endTime_; - std::vector trafficDataPerInterval_; std::string domainName_; + std::string locationNameEn_; std::string startTime_; std::string dataInterval_; + std::vector bpsDataPerInterval_; + std::string locationName_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINTRAFFICDATARESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_TESTDESCRIBEDOMAINBPSDATARESULT_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 deleted file mode 100644 index c4f16c54f..000000000 --- a/cdn/include/alibabacloud/cdn/model/UntagResourcesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_UNTAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h b/cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h deleted file mode 100644 index f6e9a9710..000000000 --- a/cdn/include/alibabacloud/cdn/model/UntagResourcesResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 70625dc7f..000000000 --- a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT UpdateCdnDeliverTaskRequest : public RpcServiceRequest - { - - public: - UpdateCdnDeliverTaskRequest(); - ~UpdateCdnDeliverTaskRequest(); - - std::string getReports()const; - void setReports(const std::string& reports); - std::string getDeliver()const; - void setDeliver(const std::string& deliver); - long getDeliverId()const; - void setDeliverId(long deliverId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSchedule()const; - void setSchedule(const std::string& schedule); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string reports_; - std::string deliver_; - long deliverId_; - std::string domainName_; - long ownerId_; - std::string schedule_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNDELIVERTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h deleted file mode 100644 index a9482fae6..000000000 --- a/cdn/include/alibabacloud/cdn/model/UpdateCdnDeliverTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 92d06eed1..000000000 --- a/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_UPDATECDNSUBTASKREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h b/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h deleted file mode 100644 index 071c3efa9..000000000 --- a/cdn/include/alibabacloud/cdn/model/UpdateCdnSubTaskResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index 99c4afd6f..000000000 --- a/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERREQUEST_H_ - -#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& notes); - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_UPDATEFCTRIGGERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h b/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h deleted file mode 100644 index 84e54e182..000000000 --- a/cdn/include/alibabacloud/cdn/model/UpdateFCTriggerResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 deleted file mode 100644 index c0cc26d09..000000000 --- a/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h b/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h deleted file mode 100644 index e22765645..000000000 --- a/cdn/include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_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 824739e50..7d1da0631 100644 --- a/cdn/src/CdnClient.cc +++ b/cdn/src/CdnClient.cc @@ -87,1230 +87,6 @@ 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::CreateLiveStreamRecordIndexFilesOutcome CdnClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateLiveStreamRecordIndexFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateLiveStreamRecordIndexFilesOutcome(CreateLiveStreamRecordIndexFilesResult(outcome.result())); - else - return CreateLiveStreamRecordIndexFilesOutcome(outcome.error()); -} - -void CdnClient::createLiveStreamRecordIndexFilesAsync(const CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createLiveStreamRecordIndexFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::CreateLiveStreamRecordIndexFilesOutcomeCallable CdnClient::createLiveStreamRecordIndexFilesCallable(const CreateLiveStreamRecordIndexFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createLiveStreamRecordIndexFiles(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::DeleteCacheExpiredConfigOutcome CdnClient::deleteCacheExpiredConfig(const DeleteCacheExpiredConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteCacheExpiredConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteCacheExpiredConfigOutcome(DeleteCacheExpiredConfigResult(outcome.result())); - else - return DeleteCacheExpiredConfigOutcome(outcome.error()); -} - -void CdnClient::deleteCacheExpiredConfigAsync(const DeleteCacheExpiredConfigRequest& request, const DeleteCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteCacheExpiredConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DeleteCacheExpiredConfigOutcomeCallable CdnClient::deleteCacheExpiredConfigCallable(const DeleteCacheExpiredConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteCacheExpiredConfig(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::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(); @@ -1383,294 +159,6 @@ 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::DescribeCdnMonitorDataOutcome CdnClient::describeCdnMonitorData(const DescribeCdnMonitorDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCdnMonitorDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCdnMonitorDataOutcome(DescribeCdnMonitorDataResult(outcome.result())); - else - return DescribeCdnMonitorDataOutcome(outcome.error()); -} - -void CdnClient::describeCdnMonitorDataAsync(const DescribeCdnMonitorDataRequest& request, const DescribeCdnMonitorDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCdnMonitorData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeCdnMonitorDataOutcomeCallable CdnClient::describeCdnMonitorDataCallable(const DescribeCdnMonitorDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCdnMonitorData(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(); @@ -1707,546 +195,6 @@ CdnClient::DescribeCdnServiceOutcomeCallable CdnClient::describeCdnServiceCallab return task->get_future(); } -CdnClient::DescribeCdnSubListOutcome CdnClient::describeCdnSubList(const DescribeCdnSubListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCdnSubListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCdnSubListOutcome(DescribeCdnSubListResult(outcome.result())); - else - return DescribeCdnSubListOutcome(outcome.error()); -} - -void CdnClient::describeCdnSubListAsync(const DescribeCdnSubListRequest& request, const DescribeCdnSubListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCdnSubList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeCdnSubListOutcomeCallable CdnClient::describeCdnSubListCallable(const DescribeCdnSubListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCdnSubList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeCdnTypesOutcome CdnClient::describeCdnTypes(const DescribeCdnTypesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCdnTypesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCdnTypesOutcome(DescribeCdnTypesResult(outcome.result())); - else - return DescribeCdnTypesOutcome(outcome.error()); -} - -void CdnClient::describeCdnTypesAsync(const DescribeCdnTypesRequest& request, const DescribeCdnTypesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCdnTypes(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeCdnTypesOutcomeCallable CdnClient::describeCdnTypesCallable(const DescribeCdnTypesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCdnTypes(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(); @@ -2283,42 +231,6 @@ 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(); @@ -2355,186 +267,6 @@ 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::DescribeDomainConfigsOutcome CdnClient::describeDomainConfigs(const DescribeDomainConfigsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDomainConfigsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDomainConfigsOutcome(DescribeDomainConfigsResult(outcome.result())); - else - return DescribeDomainConfigsOutcome(outcome.error()); -} - -void CdnClient::describeDomainConfigsAsync(const DescribeDomainConfigsRequest& request, const DescribeDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDomainConfigs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeDomainConfigsOutcomeCallable CdnClient::describeDomainConfigsCallable(const DescribeDomainConfigsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDomainConfigs(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(); @@ -2679,42 +411,6 @@ 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(); @@ -2751,186 +447,6 @@ 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(); @@ -2967,438 +483,6 @@ 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(); @@ -3543,330 +627,6 @@ 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(); @@ -3975,618 +735,6 @@ 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::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::DescribeLivePullStreamConfigOutcome CdnClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLivePullStreamConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLivePullStreamConfigOutcome(DescribeLivePullStreamConfigResult(outcome.result())); - else - return DescribeLivePullStreamConfigOutcome(outcome.error()); -} - -void CdnClient::describeLivePullStreamConfigAsync(const DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLivePullStreamConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLivePullStreamConfigOutcomeCallable CdnClient::describeLivePullStreamConfigCallable(const DescribeLivePullStreamConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLivePullStreamConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamOnlineUserNumOutcome CdnClient::describeLiveStreamOnlineUserNum(const DescribeLiveStreamOnlineUserNumRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamOnlineUserNumOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamOnlineUserNumOutcome(DescribeLiveStreamOnlineUserNumResult(outcome.result())); - else - return DescribeLiveStreamOnlineUserNumOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamOnlineUserNumAsync(const DescribeLiveStreamOnlineUserNumRequest& request, const DescribeLiveStreamOnlineUserNumAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamOnlineUserNum(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamOnlineUserNumOutcomeCallable CdnClient::describeLiveStreamOnlineUserNumCallable(const DescribeLiveStreamOnlineUserNumRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamOnlineUserNum(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamRecordContentOutcome CdnClient::describeLiveStreamRecordContent(const DescribeLiveStreamRecordContentRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamRecordContentOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamRecordContentOutcome(DescribeLiveStreamRecordContentResult(outcome.result())); - else - return DescribeLiveStreamRecordContentOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamRecordContentAsync(const DescribeLiveStreamRecordContentRequest& request, const DescribeLiveStreamRecordContentAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamRecordContent(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamRecordContentOutcomeCallable CdnClient::describeLiveStreamRecordContentCallable(const DescribeLiveStreamRecordContentRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamRecordContent(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamRecordIndexFileOutcome CdnClient::describeLiveStreamRecordIndexFile(const DescribeLiveStreamRecordIndexFileRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamRecordIndexFileOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamRecordIndexFileOutcome(DescribeLiveStreamRecordIndexFileResult(outcome.result())); - else - return DescribeLiveStreamRecordIndexFileOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamRecordIndexFileAsync(const DescribeLiveStreamRecordIndexFileRequest& request, const DescribeLiveStreamRecordIndexFileAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamRecordIndexFile(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamRecordIndexFileOutcomeCallable CdnClient::describeLiveStreamRecordIndexFileCallable(const DescribeLiveStreamRecordIndexFileRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamRecordIndexFile(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamRecordIndexFilesOutcome CdnClient::describeLiveStreamRecordIndexFiles(const DescribeLiveStreamRecordIndexFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamRecordIndexFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamRecordIndexFilesOutcome(DescribeLiveStreamRecordIndexFilesResult(outcome.result())); - else - return DescribeLiveStreamRecordIndexFilesOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamRecordIndexFilesAsync(const DescribeLiveStreamRecordIndexFilesRequest& request, const DescribeLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamRecordIndexFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamRecordIndexFilesOutcomeCallable CdnClient::describeLiveStreamRecordIndexFilesCallable(const DescribeLiveStreamRecordIndexFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamRecordIndexFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamSnapshotInfoOutcome CdnClient::describeLiveStreamSnapshotInfo(const DescribeLiveStreamSnapshotInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamSnapshotInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamSnapshotInfoOutcome(DescribeLiveStreamSnapshotInfoResult(outcome.result())); - else - return DescribeLiveStreamSnapshotInfoOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamSnapshotInfoAsync(const DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamSnapshotInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamSnapshotInfoOutcomeCallable CdnClient::describeLiveStreamSnapshotInfoCallable(const DescribeLiveStreamSnapshotInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamSnapshotInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcome CdnClient::describeLiveStreamsFrameRateAndBitRateData(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamsFrameRateAndBitRateDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamsFrameRateAndBitRateDataOutcome(DescribeLiveStreamsFrameRateAndBitRateDataResult(outcome.result())); - else - return DescribeLiveStreamsFrameRateAndBitRateDataOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamsFrameRateAndBitRateDataAsync(const DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamsFrameRateAndBitRateData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable CdnClient::describeLiveStreamsFrameRateAndBitRateDataCallable(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamsFrameRateAndBitRateData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamsOnlineListOutcome CdnClient::describeLiveStreamsOnlineList(const DescribeLiveStreamsOnlineListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamsOnlineListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamsOnlineListOutcome(DescribeLiveStreamsOnlineListResult(outcome.result())); - else - return DescribeLiveStreamsOnlineListOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamsOnlineListAsync(const DescribeLiveStreamsOnlineListRequest& request, const DescribeLiveStreamsOnlineListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamsOnlineList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamsOnlineListOutcomeCallable CdnClient::describeLiveStreamsOnlineListCallable(const DescribeLiveStreamsOnlineListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamsOnlineList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DescribeLiveStreamsPublishListOutcome CdnClient::describeLiveStreamsPublishList(const DescribeLiveStreamsPublishListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamsPublishListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamsPublishListOutcome(DescribeLiveStreamsPublishListResult(outcome.result())); - else - return DescribeLiveStreamsPublishListOutcome(outcome.error()); -} - -void CdnClient::describeLiveStreamsPublishListAsync(const DescribeLiveStreamsPublishListRequest& request, const DescribeLiveStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamsPublishList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DescribeLiveStreamsPublishListOutcomeCallable CdnClient::describeLiveStreamsPublishListCallable(const DescribeLiveStreamsPublishListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamsPublishList(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::DescribeRefreshQuotaOutcome CdnClient::describeRefreshQuota(const DescribeRefreshQuotaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4623,150 +771,6 @@ 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(); @@ -4803,78 +807,6 @@ 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(); @@ -4911,618 +843,6 @@ 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::ForbidLiveStreamOutcome CdnClient::forbidLiveStream(const ForbidLiveStreamRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ForbidLiveStreamOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ForbidLiveStreamOutcome(ForbidLiveStreamResult(outcome.result())); - else - return ForbidLiveStreamOutcome(outcome.error()); -} - -void CdnClient::forbidLiveStreamAsync(const ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, forbidLiveStream(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::ForbidLiveStreamOutcomeCallable CdnClient::forbidLiveStreamCallable(const ForbidLiveStreamRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->forbidLiveStream(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::ModifyDomainCustomLogConfigOutcome CdnClient::modifyDomainCustomLogConfig(const ModifyDomainCustomLogConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDomainCustomLogConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDomainCustomLogConfigOutcome(ModifyDomainCustomLogConfigResult(outcome.result())); - else - return ModifyDomainCustomLogConfigOutcome(outcome.error()); -} - -void CdnClient::modifyDomainCustomLogConfigAsync(const ModifyDomainCustomLogConfigRequest& request, const ModifyDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDomainCustomLogConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::ModifyDomainCustomLogConfigOutcomeCallable CdnClient::modifyDomainCustomLogConfigCallable(const ModifyDomainCustomLogConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDomainCustomLogConfig(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(); @@ -5559,42 +879,6 @@ 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(); @@ -5667,1224 +951,36 @@ CdnClient::RefreshObjectCachesOutcomeCallable CdnClient::refreshObjectCachesCall return task->get_future(); } -CdnClient::ResumeLiveStreamOutcome CdnClient::resumeLiveStream(const ResumeLiveStreamRequest &request) const +CdnClient::TestDescribeDomainBpsDataOutcome CdnClient::testDescribeDomainBpsData(const TestDescribeDomainBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ResumeLiveStreamOutcome(endpointOutcome.error()); + return TestDescribeDomainBpsDataOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ResumeLiveStreamOutcome(ResumeLiveStreamResult(outcome.result())); + return TestDescribeDomainBpsDataOutcome(TestDescribeDomainBpsDataResult(outcome.result())); else - return ResumeLiveStreamOutcome(outcome.error()); + return TestDescribeDomainBpsDataOutcome(outcome.error()); } -void CdnClient::resumeLiveStreamAsync(const ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr& context) const +void CdnClient::testDescribeDomainBpsDataAsync(const TestDescribeDomainBpsDataRequest& request, const TestDescribeDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, resumeLiveStream(request), context); + handler(this, request, testDescribeDomainBpsData(request), context); }; asyncExecute(new Runnable(fn)); } -CdnClient::ResumeLiveStreamOutcomeCallable CdnClient::resumeLiveStreamCallable(const ResumeLiveStreamRequest &request) const +CdnClient::TestDescribeDomainBpsDataOutcomeCallable CdnClient::testDescribeDomainBpsDataCallable(const TestDescribeDomainBpsDataRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->resumeLiveStream(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - 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::SetCcConfigOutcome CdnClient::setCcConfig(const SetCcConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetCcConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetCcConfigOutcome(SetCcConfigResult(outcome.result())); - else - return SetCcConfigOutcome(outcome.error()); -} - -void CdnClient::setCcConfigAsync(const SetCcConfigRequest& request, const SetCcConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setCcConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetCcConfigOutcomeCallable CdnClient::setCcConfigCallable(const SetCcConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setCcConfig(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::SetFileCacheExpiredConfigOutcome CdnClient::setFileCacheExpiredConfig(const SetFileCacheExpiredConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetFileCacheExpiredConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetFileCacheExpiredConfigOutcome(SetFileCacheExpiredConfigResult(outcome.result())); - else - return SetFileCacheExpiredConfigOutcome(outcome.error()); -} - -void CdnClient::setFileCacheExpiredConfigAsync(const SetFileCacheExpiredConfigRequest& request, const SetFileCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setFileCacheExpiredConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetFileCacheExpiredConfigOutcomeCallable CdnClient::setFileCacheExpiredConfigCallable(const SetFileCacheExpiredConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setFileCacheExpiredConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetForceRedirectConfigOutcome CdnClient::setForceRedirectConfig(const SetForceRedirectConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetForceRedirectConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetForceRedirectConfigOutcome(SetForceRedirectConfigResult(outcome.result())); - else - return SetForceRedirectConfigOutcome(outcome.error()); -} - -void CdnClient::setForceRedirectConfigAsync(const SetForceRedirectConfigRequest& request, const SetForceRedirectConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setForceRedirectConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetForceRedirectConfigOutcomeCallable CdnClient::setForceRedirectConfigCallable(const SetForceRedirectConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setForceRedirectConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetForwardSchemeConfigOutcome CdnClient::setForwardSchemeConfig(const SetForwardSchemeConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetForwardSchemeConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetForwardSchemeConfigOutcome(SetForwardSchemeConfigResult(outcome.result())); - else - return SetForwardSchemeConfigOutcome(outcome.error()); -} - -void CdnClient::setForwardSchemeConfigAsync(const SetForwardSchemeConfigRequest& request, const SetForwardSchemeConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setForwardSchemeConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetForwardSchemeConfigOutcomeCallable CdnClient::setForwardSchemeConfigCallable(const SetForwardSchemeConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setForwardSchemeConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetHttpHeaderConfigOutcome CdnClient::setHttpHeaderConfig(const SetHttpHeaderConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetHttpHeaderConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetHttpHeaderConfigOutcome(SetHttpHeaderConfigResult(outcome.result())); - else - return SetHttpHeaderConfigOutcome(outcome.error()); -} - -void CdnClient::setHttpHeaderConfigAsync(const SetHttpHeaderConfigRequest& request, const SetHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setHttpHeaderConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetHttpHeaderConfigOutcomeCallable CdnClient::setHttpHeaderConfigCallable(const SetHttpHeaderConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setHttpHeaderConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetHttpsOptionConfigOutcome CdnClient::setHttpsOptionConfig(const SetHttpsOptionConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetHttpsOptionConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetHttpsOptionConfigOutcome(SetHttpsOptionConfigResult(outcome.result())); - else - return SetHttpsOptionConfigOutcome(outcome.error()); -} - -void CdnClient::setHttpsOptionConfigAsync(const SetHttpsOptionConfigRequest& request, const SetHttpsOptionConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setHttpsOptionConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetHttpsOptionConfigOutcomeCallable CdnClient::setHttpsOptionConfigCallable(const SetHttpsOptionConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setHttpsOptionConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetIgnoreQueryStringConfigOutcome CdnClient::setIgnoreQueryStringConfig(const SetIgnoreQueryStringConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetIgnoreQueryStringConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetIgnoreQueryStringConfigOutcome(SetIgnoreQueryStringConfigResult(outcome.result())); - else - return SetIgnoreQueryStringConfigOutcome(outcome.error()); -} - -void CdnClient::setIgnoreQueryStringConfigAsync(const SetIgnoreQueryStringConfigRequest& request, const SetIgnoreQueryStringConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setIgnoreQueryStringConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetIgnoreQueryStringConfigOutcomeCallable CdnClient::setIgnoreQueryStringConfigCallable(const SetIgnoreQueryStringConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setIgnoreQueryStringConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetIpAllowListConfigOutcome CdnClient::setIpAllowListConfig(const SetIpAllowListConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetIpAllowListConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetIpAllowListConfigOutcome(SetIpAllowListConfigResult(outcome.result())); - else - return SetIpAllowListConfigOutcome(outcome.error()); -} - -void CdnClient::setIpAllowListConfigAsync(const SetIpAllowListConfigRequest& request, const SetIpAllowListConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setIpAllowListConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetIpAllowListConfigOutcomeCallable CdnClient::setIpAllowListConfigCallable(const SetIpAllowListConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setIpAllowListConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetIpBlackListConfigOutcome CdnClient::setIpBlackListConfig(const SetIpBlackListConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetIpBlackListConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetIpBlackListConfigOutcome(SetIpBlackListConfigResult(outcome.result())); - else - return SetIpBlackListConfigOutcome(outcome.error()); -} - -void CdnClient::setIpBlackListConfigAsync(const SetIpBlackListConfigRequest& request, const SetIpBlackListConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setIpBlackListConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetIpBlackListConfigOutcomeCallable CdnClient::setIpBlackListConfigCallable(const SetIpBlackListConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setIpBlackListConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetOptimizeConfigOutcome CdnClient::setOptimizeConfig(const SetOptimizeConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetOptimizeConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetOptimizeConfigOutcome(SetOptimizeConfigResult(outcome.result())); - else - return SetOptimizeConfigOutcome(outcome.error()); -} - -void CdnClient::setOptimizeConfigAsync(const SetOptimizeConfigRequest& request, const SetOptimizeConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setOptimizeConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetOptimizeConfigOutcomeCallable CdnClient::setOptimizeConfigCallable(const SetOptimizeConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setOptimizeConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetPageCompressConfigOutcome CdnClient::setPageCompressConfig(const SetPageCompressConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetPageCompressConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetPageCompressConfigOutcome(SetPageCompressConfigResult(outcome.result())); - else - return SetPageCompressConfigOutcome(outcome.error()); -} - -void CdnClient::setPageCompressConfigAsync(const SetPageCompressConfigRequest& request, const SetPageCompressConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setPageCompressConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetPageCompressConfigOutcomeCallable CdnClient::setPageCompressConfigCallable(const SetPageCompressConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setPageCompressConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetPathCacheExpiredConfigOutcome CdnClient::setPathCacheExpiredConfig(const SetPathCacheExpiredConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetPathCacheExpiredConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetPathCacheExpiredConfigOutcome(SetPathCacheExpiredConfigResult(outcome.result())); - else - return SetPathCacheExpiredConfigOutcome(outcome.error()); -} - -void CdnClient::setPathCacheExpiredConfigAsync(const SetPathCacheExpiredConfigRequest& request, const SetPathCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setPathCacheExpiredConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetPathCacheExpiredConfigOutcomeCallable CdnClient::setPathCacheExpiredConfigCallable(const SetPathCacheExpiredConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setPathCacheExpiredConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetRangeConfigOutcome CdnClient::setRangeConfig(const SetRangeConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetRangeConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetRangeConfigOutcome(SetRangeConfigResult(outcome.result())); - else - return SetRangeConfigOutcome(outcome.error()); -} - -void CdnClient::setRangeConfigAsync(const SetRangeConfigRequest& request, const SetRangeConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setRangeConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetRangeConfigOutcomeCallable CdnClient::setRangeConfigCallable(const SetRangeConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setRangeConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetRefererConfigOutcome CdnClient::setRefererConfig(const SetRefererConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetRefererConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetRefererConfigOutcome(SetRefererConfigResult(outcome.result())); - else - return SetRefererConfigOutcome(outcome.error()); -} - -void CdnClient::setRefererConfigAsync(const SetRefererConfigRequest& request, const SetRefererConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setRefererConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetRefererConfigOutcomeCallable CdnClient::setRefererConfigCallable(const SetRefererConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setRefererConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetRemoveQueryStringConfigOutcome CdnClient::setRemoveQueryStringConfig(const SetRemoveQueryStringConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetRemoveQueryStringConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetRemoveQueryStringConfigOutcome(SetRemoveQueryStringConfigResult(outcome.result())); - else - return SetRemoveQueryStringConfigOutcome(outcome.error()); -} - -void CdnClient::setRemoveQueryStringConfigAsync(const SetRemoveQueryStringConfigRequest& request, const SetRemoveQueryStringConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setRemoveQueryStringConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetRemoveQueryStringConfigOutcomeCallable CdnClient::setRemoveQueryStringConfigCallable(const SetRemoveQueryStringConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setRemoveQueryStringConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::SetReqAuthConfigOutcome CdnClient::setReqAuthConfig(const SetReqAuthConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetReqAuthConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetReqAuthConfigOutcome(SetReqAuthConfigResult(outcome.result())); - else - return SetReqAuthConfigOutcome(outcome.error()); -} - -void CdnClient::setReqAuthConfigAsync(const SetReqAuthConfigRequest& request, const SetReqAuthConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setReqAuthConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetReqAuthConfigOutcomeCallable CdnClient::setReqAuthConfigCallable(const SetReqAuthConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setReqAuthConfig(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::SetSourceHostConfigOutcome CdnClient::setSourceHostConfig(const SetSourceHostConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetSourceHostConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetSourceHostConfigOutcome(SetSourceHostConfigResult(outcome.result())); - else - return SetSourceHostConfigOutcome(outcome.error()); -} - -void CdnClient::setSourceHostConfigAsync(const SetSourceHostConfigRequest& request, const SetSourceHostConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setSourceHostConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::SetSourceHostConfigOutcomeCallable CdnClient::setSourceHostConfigCallable(const SetSourceHostConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setSourceHostConfig(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::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); + return this->testDescribeDomainBpsData(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/cdn/src/model/AddCdnDomainRequest.cc b/cdn/src/model/AddCdnDomainRequest.cc index 1a46118cf..37da9ea62 100644 --- a/cdn/src/model/AddCdnDomainRequest.cc +++ b/cdn/src/model/AddCdnDomainRequest.cc @@ -1,139 +1,153 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES 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::AddCdnDomainRequest; - -AddCdnDomainRequest::AddCdnDomainRequest() : - RpcServiceRequest("cdn", "2018-05-10", "AddCdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCdnDomainRequest::~AddCdnDomainRequest() -{} - -std::string AddCdnDomainRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Cdn::Model::AddCdnDomainRequest; + +AddCdnDomainRequest::AddCdnDomainRequest() + : RpcServiceRequest("cdn", "2014-11-11", "AddCdnDomain") { + setMethod(HttpRequest::Method::Post); } -void AddCdnDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +AddCdnDomainRequest::~AddCdnDomainRequest() {} + +std::string AddCdnDomainRequest::getSources() const { + return sources_; } -std::string AddCdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void AddCdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void AddCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string AddCdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string AddCdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void AddCdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void AddCdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +int AddCdnDomainRequest::getSourcePort() const { + return sourcePort_; } -std::string AddCdnDomainRequest::getCdnType()const -{ - return cdnType_; +void AddCdnDomainRequest::setSourcePort(int sourcePort) { + sourcePort_ = sourcePort; + setParameter(std::string("SourcePort"), std::to_string(sourcePort)); } -void AddCdnDomainRequest::setCdnType(const std::string& cdnType) -{ - cdnType_ = cdnType; - setParameter("CdnType", cdnType); +std::string AddCdnDomainRequest::getPriorities() const { + return priorities_; } -std::string AddCdnDomainRequest::getScope()const -{ - return scope_; +void AddCdnDomainRequest::setPriorities(const std::string &priorities) { + priorities_ = priorities; + setParameter(std::string("Priorities"), priorities); } -void AddCdnDomainRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +std::string AddCdnDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string AddCdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void AddCdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddCdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string AddCdnDomainRequest::getCdnType() const { + return cdnType_; } -std::string AddCdnDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; +void AddCdnDomainRequest::setCdnType(const std::string &cdnType) { + cdnType_ = cdnType; + setParameter(std::string("CdnType"), cdnType); } -void AddCdnDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string AddCdnDomainRequest::getScope() const { + return scope_; } -std::string AddCdnDomainRequest::getDomainName()const -{ - return domainName_; +void AddCdnDomainRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -void AddCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddCdnDomainRequest::getSourceType() const { + return sourceType_; } -long AddCdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void AddCdnDomainRequest::setSourceType(const std::string &sourceType) { + sourceType_ = sourceType; + setParameter(std::string("SourceType"), sourceType); } -void AddCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string AddCdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string AddCdnDomainRequest::getCheckUrl()const -{ - return checkUrl_; +void AddCdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void AddCdnDomainRequest::setCheckUrl(const std::string& checkUrl) -{ - checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); +std::string AddCdnDomainRequest::getOwnerAccount() const { + return ownerAccount_; +} + +void AddCdnDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); +} + +std::string AddCdnDomainRequest::getDomainName() const { + return domainName_; +} + +void AddCdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long AddCdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void AddCdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string AddCdnDomainRequest::getCheckUrl() const { + return checkUrl_; +} + +void AddCdnDomainRequest::setCheckUrl(const std::string &checkUrl) { + checkUrl_ = checkUrl; + setParameter(std::string("CheckUrl"), checkUrl); +} + +std::string AddCdnDomainRequest::getRegion() const { + return region_; +} + +void AddCdnDomainRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } diff --git a/cdn/src/model/AddFCTriggerRequest.cc b/cdn/src/model/AddFCTriggerRequest.cc deleted file mode 100644 index e14056f73..000000000 --- a/cdn/src/model/AddFCTriggerRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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& notes) -{ - notes_ = notes; - setBodyParameter("Notes", notes); -} - -std::string AddFCTriggerRequest::getEventMetaVersion()const -{ - return eventMetaVersion_; -} - -void AddFCTriggerRequest::setEventMetaVersion(const std::string& eventMetaVersion) -{ - eventMetaVersion_ = eventMetaVersion; - setBodyParameter("EventMetaVersion", eventMetaVersion); -} - -std::string AddFCTriggerRequest::getTriggerARN()const -{ - return triggerARN_; -} - -void AddFCTriggerRequest::setTriggerARN(const std::string& triggerARN) -{ - triggerARN_ = triggerARN; - setParameter("TriggerARN", triggerARN); -} - -std::string AddFCTriggerRequest::getSourceARN()const -{ - return sourceARN_; -} - -void AddFCTriggerRequest::setSourceARN(const std::string& sourceARN) -{ - sourceARN_ = sourceARN; - setBodyParameter("SourceARN", sourceARN); -} - -long AddFCTriggerRequest::getOwnerId()const -{ - return ownerId_; -} - -void AddFCTriggerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string AddFCTriggerRequest::getRoleARN()const -{ - return roleARN_; -} - -void AddFCTriggerRequest::setRoleARN(const std::string& roleARN) -{ - roleARN_ = roleARN; - setBodyParameter("RoleARN", roleARN); -} - -std::string AddFCTriggerRequest::getEventMetaName()const -{ - return eventMetaName_; -} - -void AddFCTriggerRequest::setEventMetaName(const std::string& eventMetaName) -{ - eventMetaName_ = eventMetaName; - setBodyParameter("EventMetaName", eventMetaName); -} - -std::string AddFCTriggerRequest::getFunctionARN()const -{ - return functionARN_; -} - -void AddFCTriggerRequest::setFunctionARN(const std::string& functionARN) -{ - functionARN_ = functionARN; - setBodyParameter("FunctionARN", functionARN); -} - diff --git a/cdn/src/model/AddFCTriggerResult.cc b/cdn/src/model/AddFCTriggerResult.cc deleted file mode 100644 index 878ca86fc..000000000 --- a/cdn/src/model/AddFCTriggerResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index b77f5a177..000000000 --- a/cdn/src/model/BatchAddCdnDomainRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Sources", sources); -} - -std::string BatchAddCdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void BatchAddCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string BatchAddCdnDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchAddCdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string BatchAddCdnDomainRequest::getCdnType()const -{ - return cdnType_; -} - -void BatchAddCdnDomainRequest::setCdnType(const std::string& cdnType) -{ - cdnType_ = cdnType; - setParameter("CdnType", cdnType); -} - -std::string BatchAddCdnDomainRequest::getScope()const -{ - return scope_; -} - -void BatchAddCdnDomainRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); -} - -std::string BatchAddCdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; -} - -void BatchAddCdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); -} - -std::string BatchAddCdnDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void BatchAddCdnDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string BatchAddCdnDomainRequest::getDomainName()const -{ - return domainName_; -} - -void BatchAddCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long BatchAddCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchAddCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string BatchAddCdnDomainRequest::getCheckUrl()const -{ - return checkUrl_; -} - -void BatchAddCdnDomainRequest::setCheckUrl(const std::string& checkUrl) -{ - checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); -} - diff --git a/cdn/src/model/BatchAddCdnDomainResult.cc b/cdn/src/model/BatchAddCdnDomainResult.cc deleted file mode 100644 index 83aa48f5e..000000000 --- a/cdn/src/model/BatchAddCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 99d84aace..000000000 --- a/cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest; - -BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() : - RpcServiceRequest("cdn", "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("FunctionNames", functionNames); -} - -std::string BatchDeleteCdnDomainConfigRequest::getDomainNames()const -{ - return domainNames_; -} - -void BatchDeleteCdnDomainConfigRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); -} - -std::string BatchDeleteCdnDomainConfigRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void BatchDeleteCdnDomainConfigRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long BatchDeleteCdnDomainConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchDeleteCdnDomainConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string BatchDeleteCdnDomainConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchDeleteCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc b/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc deleted file mode 100644 index bb5c6f91a..000000000 --- a/cdn/src/model/BatchDeleteCdnDomainConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult() : - ServiceResult() -{} - -BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BatchDeleteCdnDomainConfigResult::~BatchDeleteCdnDomainConfigResult() -{} - -void BatchDeleteCdnDomainConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/BatchSetCdnDomainConfigRequest.cc b/cdn/src/model/BatchSetCdnDomainConfigRequest.cc deleted file mode 100644 index 02d592e83..000000000 --- a/cdn/src/model/BatchSetCdnDomainConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Functions", functions); -} - -std::string BatchSetCdnDomainConfigRequest::getDomainNames()const -{ - return domainNames_; -} - -void BatchSetCdnDomainConfigRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); -} - -std::string BatchSetCdnDomainConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchSetCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string BatchSetCdnDomainConfigRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void BatchSetCdnDomainConfigRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long BatchSetCdnDomainConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchSetCdnDomainConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/BatchSetCdnDomainConfigResult.cc b/cdn/src/model/BatchSetCdnDomainConfigResult.cc deleted file mode 100644 index d31985f11..000000000 --- a/cdn/src/model/BatchSetCdnDomainConfigResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainConfigListObject.domainName = valueDomainConfigListDomainConfigModel["DomainName"].asString(); - if(!valueDomainConfigListDomainConfigModel["ConfigId"].isNull()) - domainConfigListObject.configId = std::stol(valueDomainConfigListDomainConfigModel["ConfigId"].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 deleted file mode 100644 index 1bed327ca..000000000 --- a/cdn/src/model/BatchSetCdnDomainServerCertificateRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SSLProtocol", sSLProtocol); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchSetCdnDomainServerCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getCertType()const -{ - return certType_; -} - -void BatchSetCdnDomainServerCertificateRequest::setCertType(const std::string& certType) -{ - certType_ = certType; - setParameter("CertType", certType); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getSSLPri()const -{ - return sSLPri_; -} - -void BatchSetCdnDomainServerCertificateRequest::setSSLPri(const std::string& sSLPri) -{ - sSLPri_ = sSLPri; - setParameter("SSLPri", sSLPri); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getForceSet()const -{ - return forceSet_; -} - -void BatchSetCdnDomainServerCertificateRequest::setForceSet(const std::string& forceSet) -{ - forceSet_ = forceSet; - setParameter("ForceSet", forceSet); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getCertName()const -{ - return certName_; -} - -void BatchSetCdnDomainServerCertificateRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getDomainName()const -{ - return domainName_; -} - -void BatchSetCdnDomainServerCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long BatchSetCdnDomainServerCertificateRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchSetCdnDomainServerCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getSSLPub()const -{ - return sSLPub_; -} - -void BatchSetCdnDomainServerCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); -} - -std::string BatchSetCdnDomainServerCertificateRequest::getRegion()const -{ - return region_; -} - -void BatchSetCdnDomainServerCertificateRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); -} - diff --git a/cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc b/cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc deleted file mode 100644 index f4db7ee6c..000000000 --- a/cdn/src/model/BatchSetCdnDomainServerCertificateResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index dd6785848..000000000 --- a/cdn/src/model/BatchStartCdnDomainRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainNames", domainNames); -} - -std::string BatchStartCdnDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchStartCdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -long BatchStartCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchStartCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/BatchStartCdnDomainResult.cc b/cdn/src/model/BatchStartCdnDomainResult.cc deleted file mode 100644 index 7340423bc..000000000 --- a/cdn/src/model/BatchStartCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index f47bc4aaa..000000000 --- a/cdn/src/model/BatchStopCdnDomainRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainNames", domainNames); -} - -std::string BatchStopCdnDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchStopCdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -long BatchStopCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchStopCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/BatchStopCdnDomainResult.cc b/cdn/src/model/BatchStopCdnDomainResult.cc deleted file mode 100644 index cfe32e26b..000000000 --- a/cdn/src/model/BatchStopCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 03a7de250..000000000 --- a/cdn/src/model/BatchUpdateCdnDomainRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Sources", sources); -} - -std::string BatchUpdateCdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void BatchUpdateCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string BatchUpdateCdnDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchUpdateCdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string BatchUpdateCdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; -} - -void BatchUpdateCdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); -} - -std::string BatchUpdateCdnDomainRequest::getDomainName()const -{ - return domainName_; -} - -void BatchUpdateCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long BatchUpdateCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void BatchUpdateCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/BatchUpdateCdnDomainResult.cc b/cdn/src/model/BatchUpdateCdnDomainResult.cc deleted file mode 100644 index 5d0d7a8ed..000000000 --- a/cdn/src/model/BatchUpdateCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index bb07d71eb..000000000 --- a/cdn/src/model/CreateCdnCertificateSigningRequestRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Country", country); -} - -std::string CreateCdnCertificateSigningRequestRequest::getCity()const -{ - return city_; -} - -void CreateCdnCertificateSigningRequestRequest::setCity(const std::string& city) -{ - city_ = city; - setParameter("City", city); -} - -std::string CreateCdnCertificateSigningRequestRequest::getCommonName()const -{ - return commonName_; -} - -void CreateCdnCertificateSigningRequestRequest::setCommonName(const std::string& commonName) -{ - commonName_ = commonName; - setParameter("CommonName", commonName); -} - -std::string CreateCdnCertificateSigningRequestRequest::getState()const -{ - return state_; -} - -void CreateCdnCertificateSigningRequestRequest::setState(const std::string& state) -{ - state_ = state; - setParameter("State", state); -} - -std::string CreateCdnCertificateSigningRequestRequest::getEmail()const -{ - return email_; -} - -void CreateCdnCertificateSigningRequestRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); -} - -std::string CreateCdnCertificateSigningRequestRequest::getSANs()const -{ - return sANs_; -} - -void CreateCdnCertificateSigningRequestRequest::setSANs(const std::string& sANs) -{ - sANs_ = sANs; - setParameter("SANs", sANs); -} - -long CreateCdnCertificateSigningRequestRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateCdnCertificateSigningRequestRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateCdnCertificateSigningRequestRequest::getOrganization()const -{ - return organization_; -} - -void CreateCdnCertificateSigningRequestRequest::setOrganization(const std::string& organization) -{ - organization_ = organization; - setParameter("Organization", organization); -} - -std::string CreateCdnCertificateSigningRequestRequest::getOrganizationUnit()const -{ - return organizationUnit_; -} - -void CreateCdnCertificateSigningRequestRequest::setOrganizationUnit(const std::string& organizationUnit) -{ - organizationUnit_ = organizationUnit; - setParameter("OrganizationUnit", organizationUnit); -} - diff --git a/cdn/src/model/CreateCdnCertificateSigningRequestResult.cc b/cdn/src/model/CreateCdnCertificateSigningRequestResult.cc deleted file mode 100644 index ef95664c8..000000000 --- a/cdn/src/model/CreateCdnCertificateSigningRequestResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["CommonName"].isNull()) - commonName_ = value["CommonName"].asString(); - if(!value["Csr"].isNull()) - csr_ = value["Csr"].asString(); - if(!value["PubMd5"].isNull()) - pubMd5_ = value["PubMd5"].asString(); - -} - -std::string CreateCdnCertificateSigningRequestResult::getCsr()const -{ - return csr_; -} - -std::string CreateCdnCertificateSigningRequestResult::getPubMd5()const -{ - return pubMd5_; -} - -std::string CreateCdnCertificateSigningRequestResult::getCommonName()const -{ - return commonName_; -} - diff --git a/cdn/src/model/CreateCdnDeliverTaskRequest.cc b/cdn/src/model/CreateCdnDeliverTaskRequest.cc deleted file mode 100644 index d2deda6a8..000000000 --- a/cdn/src/model/CreateCdnDeliverTaskRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::CreateCdnDeliverTaskRequest; - -CreateCdnDeliverTaskRequest::CreateCdnDeliverTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "CreateCdnDeliverTask") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCdnDeliverTaskRequest::~CreateCdnDeliverTaskRequest() -{} - -std::string CreateCdnDeliverTaskRequest::getReports()const -{ - return reports_; -} - -void CreateCdnDeliverTaskRequest::setReports(const std::string& reports) -{ - reports_ = reports; - setBodyParameter("Reports", reports); -} - -std::string CreateCdnDeliverTaskRequest::getDeliver()const -{ - return deliver_; -} - -void CreateCdnDeliverTaskRequest::setDeliver(const std::string& deliver) -{ - deliver_ = deliver; - setBodyParameter("Deliver", deliver); -} - -std::string CreateCdnDeliverTaskRequest::getDomainName()const -{ - return domainName_; -} - -void CreateCdnDeliverTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); -} - -long CreateCdnDeliverTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateCdnDeliverTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateCdnDeliverTaskRequest::getSchedule()const -{ - return schedule_; -} - -void CreateCdnDeliverTaskRequest::setSchedule(const std::string& schedule) -{ - schedule_ = schedule; - setBodyParameter("Schedule", schedule); -} - -std::string CreateCdnDeliverTaskRequest::getName()const -{ - return name_; -} - -void CreateCdnDeliverTaskRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - diff --git a/cdn/src/model/CreateCdnDeliverTaskResult.cc b/cdn/src/model/CreateCdnDeliverTaskResult.cc deleted file mode 100644 index 013cc08ba..000000000 --- a/cdn/src/model/CreateCdnDeliverTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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()); - -} - diff --git a/cdn/src/model/CreateCdnSubTaskRequest.cc b/cdn/src/model/CreateCdnSubTaskRequest.cc deleted file mode 100644 index 1bdb892e1..000000000 --- a/cdn/src/model/CreateCdnSubTaskRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainName", domainName); -} - -long CreateCdnSubTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateCdnSubTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateCdnSubTaskRequest::getReportIds()const -{ - return reportIds_; -} - -void CreateCdnSubTaskRequest::setReportIds(const std::string& reportIds) -{ - reportIds_ = reportIds; - setBodyParameter("ReportIds", reportIds); -} - diff --git a/cdn/src/model/CreateCdnSubTaskResult.cc b/cdn/src/model/CreateCdnSubTaskResult.cc deleted file mode 100644 index e10a1850d..000000000 --- a/cdn/src/model/CreateCdnSubTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 34bf1c7c0..000000000 --- a/cdn/src/model/CreateIllegalUrlExportTaskRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("TaskName", taskName); -} - -long CreateIllegalUrlExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateIllegalUrlExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateIllegalUrlExportTaskRequest::getTimePoint()const -{ - return timePoint_; -} - -void CreateIllegalUrlExportTaskRequest::setTimePoint(const std::string& timePoint) -{ - timePoint_ = timePoint; - setParameter("TimePoint", timePoint); -} - diff --git a/cdn/src/model/CreateIllegalUrlExportTaskResult.cc b/cdn/src/model/CreateIllegalUrlExportTaskResult.cc deleted file mode 100644 index 6da922c8d..000000000 --- a/cdn/src/model/CreateIllegalUrlExportTaskResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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/CreateLiveStreamRecordIndexFilesRequest.cc b/cdn/src/model/CreateLiveStreamRecordIndexFilesRequest.cc deleted file mode 100644 index a41a5ec28..000000000 --- a/cdn/src/model/CreateLiveStreamRecordIndexFilesRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::CreateLiveStreamRecordIndexFilesRequest; - -CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest() : - RpcServiceRequest("cdn", "2014-11-11", "CreateLiveStreamRecordIndexFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() -{} - -std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const -{ - return ossEndpoint_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const -{ - return startTime_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const -{ - return ossObject_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject) -{ - ossObject_ = ossObject; - setParameter("OssObject", ossObject); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const -{ - return appName_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const -{ - return securityToken_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const -{ - return streamName_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const -{ - return ossBucket_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const -{ - return domainName_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const -{ - return endTime_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/CreateLiveStreamRecordIndexFilesResult.cc b/cdn/src/model/CreateLiveStreamRecordIndexFilesResult.cc deleted file mode 100644 index 4b74da13d..000000000 --- a/cdn/src/model/CreateLiveStreamRecordIndexFilesResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -CreateLiveStreamRecordIndexFilesResult::CreateLiveStreamRecordIndexFilesResult() : - ServiceResult() -{} - -CreateLiveStreamRecordIndexFilesResult::CreateLiveStreamRecordIndexFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateLiveStreamRecordIndexFilesResult::~CreateLiveStreamRecordIndexFilesResult() -{} - -void CreateLiveStreamRecordIndexFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto recordInfoNode = value["RecordInfo"]; - if(!recordInfoNode["RecordId"].isNull()) - recordInfo_.recordId = recordInfoNode["RecordId"].asString(); - if(!recordInfoNode["RecordUrl"].isNull()) - recordInfo_.recordUrl = recordInfoNode["RecordUrl"].asString(); - if(!recordInfoNode["Duration"].isNull()) - recordInfo_.duration = std::stof(recordInfoNode["Duration"].asString()); - if(!recordInfoNode["Height"].isNull()) - recordInfo_.height = std::stoi(recordInfoNode["Height"].asString()); - if(!recordInfoNode["Width"].isNull()) - recordInfo_.width = std::stoi(recordInfoNode["Width"].asString()); - if(!recordInfoNode["CreateTime"].isNull()) - recordInfo_.createTime = recordInfoNode["CreateTime"].asString(); - -} - -CreateLiveStreamRecordIndexFilesResult::RecordInfo CreateLiveStreamRecordIndexFilesResult::getRecordInfo()const -{ - return recordInfo_; -} - diff --git a/cdn/src/model/CreateRealTimeLogDeliveryRequest.cc b/cdn/src/model/CreateRealTimeLogDeliveryRequest.cc deleted file mode 100644 index 77db8a307..000000000 --- a/cdn/src/model/CreateRealTimeLogDeliveryRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Project", project); -} - -long CreateRealTimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateRealTimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateRealTimeLogDeliveryRequest::getDomain()const -{ - return domain_; -} - -void CreateRealTimeLogDeliveryRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - -std::string CreateRealTimeLogDeliveryRequest::getRegion()const -{ - return region_; -} - -void CreateRealTimeLogDeliveryRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); -} - -std::string CreateRealTimeLogDeliveryRequest::getLogstore()const -{ - return logstore_; -} - -void CreateRealTimeLogDeliveryRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); -} - diff --git a/cdn/src/model/CreateRealTimeLogDeliveryResult.cc b/cdn/src/model/CreateRealTimeLogDeliveryResult.cc deleted file mode 100644 index bf14d1b3f..000000000 --- a/cdn/src/model/CreateRealTimeLogDeliveryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 95672bb28..000000000 --- a/cdn/src/model/CreateUsageDetailDataExportTaskRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainNames", domainNames); -} - -std::string CreateUsageDetailDataExportTaskRequest::getTaskName()const -{ - return taskName_; -} - -void CreateUsageDetailDataExportTaskRequest::setTaskName(const std::string& taskName) -{ - taskName_ = taskName; - setParameter("TaskName", taskName); -} - -std::string CreateUsageDetailDataExportTaskRequest::getLanguage()const -{ - return language_; -} - -void CreateUsageDetailDataExportTaskRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); -} - -std::string CreateUsageDetailDataExportTaskRequest::getStartTime()const -{ - return startTime_; -} - -void CreateUsageDetailDataExportTaskRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string CreateUsageDetailDataExportTaskRequest::getType()const -{ - return type_; -} - -void CreateUsageDetailDataExportTaskRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string CreateUsageDetailDataExportTaskRequest::getGroup()const -{ - return group_; -} - -void CreateUsageDetailDataExportTaskRequest::setGroup(const std::string& group) -{ - group_ = group; - setParameter("Group", group); -} - -std::string CreateUsageDetailDataExportTaskRequest::getEndTime()const -{ - return endTime_; -} - -void CreateUsageDetailDataExportTaskRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long CreateUsageDetailDataExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateUsageDetailDataExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/CreateUsageDetailDataExportTaskResult.cc b/cdn/src/model/CreateUsageDetailDataExportTaskResult.cc deleted file mode 100644 index 8cb8fd4f3..000000000 --- a/cdn/src/model/CreateUsageDetailDataExportTaskResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].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 deleted file mode 100644 index 1e9ccbf54..000000000 --- a/cdn/src/model/CreateUserUsageDataExportTaskRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("TaskName", taskName); -} - -std::string CreateUserUsageDataExportTaskRequest::getLanguage()const -{ - return language_; -} - -void CreateUserUsageDataExportTaskRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); -} - -std::string CreateUserUsageDataExportTaskRequest::getStartTime()const -{ - return startTime_; -} - -void CreateUserUsageDataExportTaskRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string CreateUserUsageDataExportTaskRequest::getEndTime()const -{ - return endTime_; -} - -void CreateUserUsageDataExportTaskRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long CreateUserUsageDataExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateUserUsageDataExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/CreateUserUsageDataExportTaskResult.cc b/cdn/src/model/CreateUserUsageDataExportTaskResult.cc deleted file mode 100644 index d295a792d..000000000 --- a/cdn/src/model/CreateUserUsageDataExportTaskResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].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/DeleteCacheExpiredConfigRequest.cc b/cdn/src/model/DeleteCacheExpiredConfigRequest.cc deleted file mode 100644 index 2ede0bfb4..000000000 --- a/cdn/src/model/DeleteCacheExpiredConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteCacheExpiredConfigRequest; - -DeleteCacheExpiredConfigRequest::DeleteCacheExpiredConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DeleteCacheExpiredConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCacheExpiredConfigRequest::~DeleteCacheExpiredConfigRequest() -{} - -std::string DeleteCacheExpiredConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteCacheExpiredConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteCacheExpiredConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteCacheExpiredConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteCacheExpiredConfigRequest::getCacheType()const -{ - return cacheType_; -} - -void DeleteCacheExpiredConfigRequest::setCacheType(const std::string& cacheType) -{ - cacheType_ = cacheType; - setParameter("CacheType", cacheType); -} - -std::string DeleteCacheExpiredConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteCacheExpiredConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteCacheExpiredConfigRequest::getConfigID()const -{ - return configID_; -} - -void DeleteCacheExpiredConfigRequest::setConfigID(const std::string& configID) -{ - configID_ = configID; - setParameter("ConfigID", configID); -} - diff --git a/cdn/src/model/DeleteCacheExpiredConfigResult.cc b/cdn/src/model/DeleteCacheExpiredConfigResult.cc deleted file mode 100644 index 77910b5a3..000000000 --- a/cdn/src/model/DeleteCacheExpiredConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DeleteCacheExpiredConfigResult::DeleteCacheExpiredConfigResult() : - ServiceResult() -{} - -DeleteCacheExpiredConfigResult::DeleteCacheExpiredConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteCacheExpiredConfigResult::~DeleteCacheExpiredConfigResult() -{} - -void DeleteCacheExpiredConfigResult::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/DeleteCdnDeliverTaskRequest.cc b/cdn/src/model/DeleteCdnDeliverTaskRequest.cc deleted file mode 100644 index 69ccc592b..000000000 --- a/cdn/src/model/DeleteCdnDeliverTaskRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteCdnDeliverTaskRequest; - -DeleteCdnDeliverTaskRequest::DeleteCdnDeliverTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnDeliverTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCdnDeliverTaskRequest::~DeleteCdnDeliverTaskRequest() -{} - -long DeleteCdnDeliverTaskRequest::getDeliverId()const -{ - return deliverId_; -} - -void DeleteCdnDeliverTaskRequest::setDeliverId(long deliverId) -{ - deliverId_ = deliverId; - setParameter("DeliverId", std::to_string(deliverId)); -} - -long DeleteCdnDeliverTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteCdnDeliverTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DeleteCdnDeliverTaskResult.cc b/cdn/src/model/DeleteCdnDeliverTaskResult.cc deleted file mode 100644 index 7156c3752..000000000 --- a/cdn/src/model/DeleteCdnDeliverTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index d8c8cd9da..000000000 --- a/cdn/src/model/DeleteCdnDomainRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SecurityToken", securityToken); -} - -std::string DeleteCdnDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DeleteCdnDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string DeleteCdnDomainRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DeleteCdnDomainResult.cc b/cdn/src/model/DeleteCdnDomainResult.cc deleted file mode 100644 index b0f812847..000000000 --- a/cdn/src/model/DeleteCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 55506cadc..000000000 --- a/cdn/src/model/DeleteCdnSubTaskRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteCdnSubTaskRequest; - -DeleteCdnSubTaskRequest::DeleteCdnSubTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnSubTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCdnSubTaskRequest::~DeleteCdnSubTaskRequest() -{} - -long DeleteCdnSubTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteCdnSubTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DeleteCdnSubTaskResult.cc b/cdn/src/model/DeleteCdnSubTaskResult.cc deleted file mode 100644 index 45e569fd6..000000000 --- a/cdn/src/model/DeleteCdnSubTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index bb0ad5d58..000000000 --- a/cdn/src/model/DeleteFCTriggerRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("TriggerARN", triggerARN); -} - -long DeleteFCTriggerRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteFCTriggerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DeleteFCTriggerResult.cc b/cdn/src/model/DeleteFCTriggerResult.cc deleted file mode 100644 index 0fa48fb37..000000000 --- a/cdn/src/model/DeleteFCTriggerResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/DeleteRealtimeLogDeliveryRequest.cc b/cdn/src/model/DeleteRealtimeLogDeliveryRequest.cc deleted file mode 100644 index 03b68491d..000000000 --- a/cdn/src/model/DeleteRealtimeLogDeliveryRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Project", project); -} - -long DeleteRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteRealtimeLogDeliveryRequest::getDomain()const -{ - return domain_; -} - -void DeleteRealtimeLogDeliveryRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - -std::string DeleteRealtimeLogDeliveryRequest::getRegion()const -{ - return region_; -} - -void DeleteRealtimeLogDeliveryRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); -} - -std::string DeleteRealtimeLogDeliveryRequest::getLogstore()const -{ - return logstore_; -} - -void DeleteRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); -} - diff --git a/cdn/src/model/DeleteRealtimeLogDeliveryResult.cc b/cdn/src/model/DeleteRealtimeLogDeliveryResult.cc deleted file mode 100644 index edda4976c..000000000 --- a/cdn/src/model/DeleteRealtimeLogDeliveryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 32a763f02..000000000 --- a/cdn/src/model/DeleteSpecificConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainName", domainName); -} - -long DeleteSpecificConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteSpecificConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteSpecificConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteSpecificConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteSpecificConfigRequest::getConfigId()const -{ - return configId_; -} - -void DeleteSpecificConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/DeleteSpecificConfigResult.cc b/cdn/src/model/DeleteSpecificConfigResult.cc deleted file mode 100644 index 96da4f345..000000000 --- a/cdn/src/model/DeleteSpecificConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 356e3719a..000000000 --- a/cdn/src/model/DeleteSpecificStagingConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SecurityToken", securityToken); -} - -std::string DeleteSpecificStagingConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteSpecificStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteSpecificStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteSpecificStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteSpecificStagingConfigRequest::getConfigId()const -{ - return configId_; -} - -void DeleteSpecificStagingConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/DeleteSpecificStagingConfigResult.cc b/cdn/src/model/DeleteSpecificStagingConfigResult.cc deleted file mode 100644 index 3b3369e3f..000000000 --- a/cdn/src/model/DeleteSpecificStagingConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 4c87354b1..000000000 --- a/cdn/src/model/DeleteUsageDetailDataExportTaskRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteUsageDetailDataExportTaskRequest; - -DeleteUsageDetailDataExportTaskRequest::DeleteUsageDetailDataExportTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DeleteUsageDetailDataExportTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteUsageDetailDataExportTaskRequest::~DeleteUsageDetailDataExportTaskRequest() -{} - -long DeleteUsageDetailDataExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteUsageDetailDataExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteUsageDetailDataExportTaskRequest::getTaskId()const -{ - return taskId_; -} - -void DeleteUsageDetailDataExportTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); -} - diff --git a/cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc b/cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc deleted file mode 100644 index dc9fc4983..000000000 --- a/cdn/src/model/DeleteUsageDetailDataExportTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index dadcb3bd0..000000000 --- a/cdn/src/model/DeleteUserUsageDataExportTaskRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteUserUsageDataExportTaskRequest; - -DeleteUserUsageDataExportTaskRequest::DeleteUserUsageDataExportTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DeleteUserUsageDataExportTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteUserUsageDataExportTaskRequest::~DeleteUserUsageDataExportTaskRequest() -{} - -long DeleteUserUsageDataExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteUserUsageDataExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteUserUsageDataExportTaskRequest::getTaskId()const -{ - return taskId_; -} - -void DeleteUserUsageDataExportTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); -} - diff --git a/cdn/src/model/DeleteUserUsageDataExportTaskResult.cc b/cdn/src/model/DeleteUserUsageDataExportTaskResult.cc deleted file mode 100644 index 25db6e837..000000000 --- a/cdn/src/model/DeleteUserUsageDataExportTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index a289455a1..000000000 --- a/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeActiveVersionOfConfigGroupRequest::getEnv()const -{ - return env_; -} - -void DescribeActiveVersionOfConfigGroupRequest::setEnv(const std::string& env) -{ - env_ = env; - setParameter("Env", env); -} - -std::string DescribeActiveVersionOfConfigGroupRequest::getConfigGroupId()const -{ - return configGroupId_; -} - -void DescribeActiveVersionOfConfigGroupRequest::setConfigGroupId(const std::string& configGroupId) -{ - configGroupId_ = configGroupId; - setParameter("ConfigGroupId", configGroupId); -} - diff --git a/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc b/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc deleted file mode 100644 index bdbdebb81..000000000 --- a/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["VersionId"].isNull()) - versionId_ = value["VersionId"].asString(); - if(!value["ConfigGroupId"].isNull()) - configGroupId_ = value["ConfigGroupId"].asString(); - if(!value["BaseVersionId"].isNull()) - baseVersionId_ = value["BaseVersionId"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["SeqId"].isNull()) - seqId_ = std::stol(value["SeqId"].asString()); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["Operator"].isNull()) - _operator_ = value["Operator"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = value["CreateTime"].asString(); - if(!value["UpdateTime"].isNull()) - updateTime_ = value["UpdateTime"].asString(); - -} - -std::string DescribeActiveVersionOfConfigGroupResult::getVersionId()const -{ - return versionId_; -} - -std::string DescribeActiveVersionOfConfigGroupResult::getStatus()const -{ - return status_; -} - -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 deleted file mode 100644 index 355445c48..000000000 --- a/cdn/src/model/DescribeBlockedRegionsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Language", language); -} - -long DescribeBlockedRegionsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeBlockedRegionsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeBlockedRegionsResult.cc b/cdn/src/model/DescribeBlockedRegionsResult.cc deleted file mode 100644 index 920858a66..000000000 --- a/cdn/src/model/DescribeBlockedRegionsResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["CountriesAndRegionsName"].isNull()) - infoListObject.countriesAndRegionsName = valueInfoListInfoItem["CountriesAndRegionsName"].asString(); - if(!valueInfoListInfoItem["Continent"].isNull()) - infoListObject.continent = valueInfoListInfoItem["Continent"].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 deleted file mode 100644 index f47e15597..000000000 --- a/cdn/src/model/DescribeCdnCertificateDetailRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("CertName", certName); -} - -long DescribeCdnCertificateDetailRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnCertificateDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnCertificateDetailRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnCertificateDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeCdnCertificateDetailResult.cc b/cdn/src/model/DescribeCdnCertificateDetailResult.cc deleted file mode 100644 index 7606b0f2a..000000000 --- a/cdn/src/model/DescribeCdnCertificateDetailResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["Cert"].isNull()) - cert_ = value["Cert"].asString(); - if(!value["Key"].isNull()) - key_ = value["Key"].asString(); - if(!value["CertId"].isNull()) - certId_ = std::stol(value["CertId"].asString()); - if(!value["CertName"].isNull()) - certName_ = value["CertName"].asString(); - -} - -long DescribeCdnCertificateDetailResult::getCertId()const -{ - return certId_; -} - -std::string DescribeCdnCertificateDetailResult::getCert()const -{ - return cert_; -} - -std::string DescribeCdnCertificateDetailResult::getCertName()const -{ - return certName_; -} - -std::string DescribeCdnCertificateDetailResult::getKey()const -{ - return key_; -} - diff --git a/cdn/src/model/DescribeCdnCertificateListRequest.cc b/cdn/src/model/DescribeCdnCertificateListRequest.cc deleted file mode 100644 index 62bdb48ac..000000000 --- a/cdn/src/model/DescribeCdnCertificateListRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnCertificateListRequest; - -DescribeCdnCertificateListRequest::DescribeCdnCertificateListRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnCertificateList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnCertificateListRequest::~DescribeCdnCertificateListRequest() -{} - -std::string DescribeCdnCertificateListRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnCertificateListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeCdnCertificateListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnCertificateListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnCertificateListRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnCertificateListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeCdnCertificateListResult.cc b/cdn/src/model/DescribeCdnCertificateListResult.cc deleted file mode 100644 index f2ddcfe94..000000000 --- a/cdn/src/model/DescribeCdnCertificateListResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["CertName"].isNull()) - certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); - if(!certificateListModelNodeCertListCert["CertId"].isNull()) - certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); - if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) - certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); - if(!certificateListModelNodeCertListCert["Common"].isNull()) - certObject.common = certificateListModelNodeCertListCert["Common"].asString(); - if(!certificateListModelNodeCertListCert["Issuer"].isNull()) - certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); - if(!certificateListModelNodeCertListCert["LastTime"].isNull()) - certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].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 deleted file mode 100644 index 45b405949..000000000 --- a/cdn/src/model/DescribeCdnDeletedDomainsRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("PageNumber", std::to_string(pageNumber)); -} - -int DescribeCdnDeletedDomainsRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeCdnDeletedDomainsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long DescribeCdnDeletedDomainsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnDeletedDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnDeletedDomainsResult.cc b/cdn/src/model/DescribeCdnDeletedDomainsResult.cc deleted file mode 100644 index 561b2fbd6..000000000 --- a/cdn/src/model/DescribeCdnDeletedDomainsResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); - if(!valueDomainsPageData["GmtModified"].isNull()) - domainsObject.gmtModified = valueDomainsPageData["GmtModified"].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 deleted file mode 100644 index f27d889b5..000000000 --- a/cdn/src/model/DescribeCdnDeliverListRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnDeliverListRequest; - -DescribeCdnDeliverListRequest::DescribeCdnDeliverListRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDeliverList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnDeliverListRequest::~DescribeCdnDeliverListRequest() -{} - -long DescribeCdnDeliverListRequest::getDeliverId()const -{ - return deliverId_; -} - -void DescribeCdnDeliverListRequest::setDeliverId(long deliverId) -{ - deliverId_ = deliverId; - setParameter("DeliverId", std::to_string(deliverId)); -} - -long DescribeCdnDeliverListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnDeliverListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnDeliverListResult.cc b/cdn/src/model/DescribeCdnDeliverListResult.cc deleted file mode 100644 index e2cc78396..000000000 --- a/cdn/src/model/DescribeCdnDeliverListResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 4bf19ab26..000000000 --- a/cdn/src/model/DescribeCdnDomainByCertificateRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnDomainByCertificateRequest::getSSLPub()const -{ - return sSLPub_; -} - -void DescribeCdnDomainByCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); -} - diff --git a/cdn/src/model/DescribeCdnDomainByCertificateResult.cc b/cdn/src/model/DescribeCdnDomainByCertificateResult.cc deleted file mode 100644 index 164052816..000000000 --- a/cdn/src/model/DescribeCdnDomainByCertificateResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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["Issuer"].isNull()) - certInfosObject.issuer = valueCertInfosCertInfo["Issuer"].asString(); - if(!valueCertInfosCertInfo["CertType"].isNull()) - certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); - if(!valueCertInfosCertInfo["CertSubjectCommonName"].isNull()) - certInfosObject.certSubjectCommonName = valueCertInfosCertInfo["CertSubjectCommonName"].asString(); - if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) - certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); - if(!valueCertInfosCertInfo["CertStartTime"].isNull()) - certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); - if(!valueCertInfosCertInfo["DomainNames"].isNull()) - certInfosObject.domainNames = valueCertInfosCertInfo["DomainNames"].asString(); - if(!valueCertInfosCertInfo["DomainList"].isNull()) - certInfosObject.domainList = valueCertInfosCertInfo["DomainList"].asString(); - if(!valueCertInfosCertInfo["CertExpired"].isNull()) - certInfosObject.certExpired = valueCertInfosCertInfo["CertExpired"].asString(); - if(!valueCertInfosCertInfo["CertCaIsLegacy"].isNull()) - certInfosObject.certCaIsLegacy = valueCertInfosCertInfo["CertCaIsLegacy"].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 deleted file mode 100644 index f978fec87..000000000 --- a/cdn/src/model/DescribeCdnDomainConfigsRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("FunctionNames", functionNames); -} - -std::string DescribeCdnDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeCdnDomainConfigsRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnDomainConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeCdnDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnDomainConfigsRequest::getConfigId()const -{ - return configId_; -} - -void DescribeCdnDomainConfigsRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/DescribeCdnDomainConfigsResult.cc b/cdn/src/model/DescribeCdnDomainConfigsResult.cc deleted file mode 100644 index a67725441..000000000 --- a/cdn/src/model/DescribeCdnDomainConfigsResult.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["FunctionName"].isNull()) - domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); - if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) - domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); - if(!valueDomainConfigsDomainConfig["Status"].isNull()) - domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); - auto allFunctionArgsNode = 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/DescribeCdnDomainDetailRequest.cc b/cdn/src/model/DescribeCdnDomainDetailRequest.cc index bb5a7fa42..fe15149fa 100644 --- a/cdn/src/model/DescribeCdnDomainDetailRequest.cc +++ b/cdn/src/model/DescribeCdnDomainDetailRequest.cc @@ -1,62 +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::DescribeCdnDomainDetailRequest; - -DescribeCdnDomainDetailRequest::DescribeCdnDomainDetailRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDomainDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnDomainDetailRequest::~DescribeCdnDomainDetailRequest() -{} - -std::string DescribeCdnDomainDetailRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDomainDetailRequest; + +DescribeCdnDomainDetailRequest::DescribeCdnDomainDetailRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeCdnDomainDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeCdnDomainDetailRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeCdnDomainDetailRequest::~DescribeCdnDomainDetailRequest() {} + +std::string DescribeCdnDomainDetailRequest::getDomainName() const { + return domainName_; } -long DescribeCdnDomainDetailRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCdnDomainDetailRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeCdnDomainDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCdnDomainDetailRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeCdnDomainDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeCdnDomainDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeCdnDomainDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeCdnDomainDetailRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnDomainDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/cdn/src/model/DescribeCdnDomainDetailResult.cc b/cdn/src/model/DescribeCdnDomainDetailResult.cc index 15a7aa5db..baf2091e0 100644 --- a/cdn/src/model/DescribeCdnDomainDetailResult.cc +++ b/cdn/src/model/DescribeCdnDomainDetailResult.cc @@ -40,46 +40,53 @@ void DescribeCdnDomainDetailResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto getDomainDetailModelNode = value["GetDomainDetailModel"]; - if(!getDomainDetailModelNode["DomainName"].isNull()) - getDomainDetailModel_.domainName = getDomainDetailModelNode["DomainName"].asString(); - if(!getDomainDetailModelNode["Cname"].isNull()) - getDomainDetailModel_.cname = getDomainDetailModelNode["Cname"].asString(); + if(!getDomainDetailModelNode["SourcePort"].isNull()) + getDomainDetailModel_.sourcePort = std::stoi(getDomainDetailModelNode["SourcePort"].asString()); if(!getDomainDetailModelNode["HttpsCname"].isNull()) getDomainDetailModel_.httpsCname = getDomainDetailModelNode["HttpsCname"].asString(); - if(!getDomainDetailModelNode["DomainStatus"].isNull()) - getDomainDetailModel_.domainStatus = getDomainDetailModelNode["DomainStatus"].asString(); - if(!getDomainDetailModelNode["CdnType"].isNull()) - getDomainDetailModel_.cdnType = getDomainDetailModelNode["CdnType"].asString(); + if(!getDomainDetailModelNode["SourceType"].isNull()) + getDomainDetailModel_.sourceType = getDomainDetailModelNode["SourceType"].asString(); if(!getDomainDetailModelNode["ServerCertificateStatus"].isNull()) getDomainDetailModel_.serverCertificateStatus = getDomainDetailModelNode["ServerCertificateStatus"].asString(); - if(!getDomainDetailModelNode["GmtCreated"].isNull()) - getDomainDetailModel_.gmtCreated = getDomainDetailModelNode["GmtCreated"].asString(); if(!getDomainDetailModelNode["GmtModified"].isNull()) getDomainDetailModel_.gmtModified = getDomainDetailModelNode["GmtModified"].asString(); - if(!getDomainDetailModelNode["ResourceGroupId"].isNull()) - getDomainDetailModel_.resourceGroupId = getDomainDetailModelNode["ResourceGroupId"].asString(); + if(!getDomainDetailModelNode["DomainName"].isNull()) + getDomainDetailModel_.domainName = getDomainDetailModelNode["DomainName"].asString(); + if(!getDomainDetailModelNode["GmtCreated"].isNull()) + getDomainDetailModel_.gmtCreated = getDomainDetailModelNode["GmtCreated"].asString(); if(!getDomainDetailModelNode["Description"].isNull()) getDomainDetailModel_.description = getDomainDetailModelNode["Description"].asString(); + if(!getDomainDetailModelNode["Region"].isNull()) + getDomainDetailModel_.region = getDomainDetailModelNode["Region"].asString(); + if(!getDomainDetailModelNode["ResourceGroupId"].isNull()) + getDomainDetailModel_.resourceGroupId = getDomainDetailModelNode["ResourceGroupId"].asString(); if(!getDomainDetailModelNode["Scope"].isNull()) getDomainDetailModel_.scope = getDomainDetailModelNode["Scope"].asString(); + if(!getDomainDetailModelNode["DomainStatus"].isNull()) + getDomainDetailModel_.domainStatus = getDomainDetailModelNode["DomainStatus"].asString(); + if(!getDomainDetailModelNode["Cname"].isNull()) + getDomainDetailModel_.cname = getDomainDetailModelNode["Cname"].asString(); + if(!getDomainDetailModelNode["CdnType"].isNull()) + getDomainDetailModel_.cdnType = getDomainDetailModelNode["CdnType"].asString(); auto allSourceModelsNode = getDomainDetailModelNode["SourceModels"]["SourceModel"]; for (auto getDomainDetailModelNodeSourceModelsSourceModel : allSourceModelsNode) { GetDomainDetailModel::SourceModel sourceModelObject; - if(!getDomainDetailModelNodeSourceModelsSourceModel["Content"].isNull()) - sourceModelObject.content = getDomainDetailModelNodeSourceModelsSourceModel["Content"].asString(); if(!getDomainDetailModelNodeSourceModelsSourceModel["Type"].isNull()) sourceModelObject.type = getDomainDetailModelNodeSourceModelsSourceModel["Type"].asString(); - if(!getDomainDetailModelNodeSourceModelsSourceModel["Port"].isNull()) - sourceModelObject.port = std::stoi(getDomainDetailModelNodeSourceModelsSourceModel["Port"].asString()); - if(!getDomainDetailModelNodeSourceModelsSourceModel["Enabled"].isNull()) - sourceModelObject.enabled = getDomainDetailModelNodeSourceModelsSourceModel["Enabled"].asString(); if(!getDomainDetailModelNodeSourceModelsSourceModel["Priority"].isNull()) sourceModelObject.priority = getDomainDetailModelNodeSourceModelsSourceModel["Priority"].asString(); - if(!getDomainDetailModelNodeSourceModelsSourceModel["Weight"].isNull()) - sourceModelObject.weight = getDomainDetailModelNodeSourceModelsSourceModel["Weight"].asString(); + if(!getDomainDetailModelNodeSourceModelsSourceModel["Port"].isNull()) + sourceModelObject.port = std::stoi(getDomainDetailModelNodeSourceModelsSourceModel["Port"].asString()); + if(!getDomainDetailModelNodeSourceModelsSourceModel["Content"].isNull()) + sourceModelObject.content = getDomainDetailModelNodeSourceModelsSourceModel["Content"].asString(); + if(!getDomainDetailModelNodeSourceModelsSourceModel["Enabled"].isNull()) + sourceModelObject.enabled = getDomainDetailModelNodeSourceModelsSourceModel["Enabled"].asString(); getDomainDetailModel_.sourceModels.push_back(sourceModelObject); } + auto allSources = getDomainDetailModelNode["Sources"]["Source"]; + for (auto value : allSources) + getDomainDetailModel_.sources.push_back(value.asString()); } diff --git a/cdn/src/model/DescribeCdnDomainLogsRequest.cc b/cdn/src/model/DescribeCdnDomainLogsRequest.cc index 2d44fc1ca..41f65f47f 100644 --- a/cdn/src/model/DescribeCdnDomainLogsRequest.cc +++ b/cdn/src/model/DescribeCdnDomainLogsRequest.cc @@ -1,95 +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::DescribeCdnDomainLogsRequest; - -DescribeCdnDomainLogsRequest::DescribeCdnDomainLogsRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDomainLogs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnDomainLogsRequest::~DescribeCdnDomainLogsRequest() -{} - -std::string DescribeCdnDomainLogsRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnDomainLogsRequest; + +DescribeCdnDomainLogsRequest::DescribeCdnDomainLogsRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeCdnDomainLogs") { + setMethod(HttpRequest::Method::Post); } -void DescribeCdnDomainLogsRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeCdnDomainLogsRequest::~DescribeCdnDomainLogsRequest() {} + +std::string DescribeCdnDomainLogsRequest::getStartTime() const { + return startTime_; } -long DescribeCdnDomainLogsRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeCdnDomainLogsRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeCdnDomainLogsRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long DescribeCdnDomainLogsRequest::getPageNumber() const { + return pageNumber_; } -long DescribeCdnDomainLogsRequest::getPageSize()const -{ - return pageSize_; +void DescribeCdnDomainLogsRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeCdnDomainLogsRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeCdnDomainLogsRequest::getLogDay() const { + return logDay_; } -std::string DescribeCdnDomainLogsRequest::getDomainName()const -{ - return domainName_; +void DescribeCdnDomainLogsRequest::setLogDay(const std::string &logDay) { + logDay_ = logDay; + setParameter(std::string("LogDay"), logDay); } -void DescribeCdnDomainLogsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeCdnDomainLogsRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeCdnDomainLogsRequest::getEndTime()const -{ - return endTime_; +void DescribeCdnDomainLogsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeCdnDomainLogsRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +long DescribeCdnDomainLogsRequest::getPageSize() const { + return pageSize_; } -long DescribeCdnDomainLogsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCdnDomainLogsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeCdnDomainLogsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeCdnDomainLogsRequest::getDomainName() const { + return domainName_; +} + +void DescribeCdnDomainLogsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeCdnDomainLogsRequest::getEndTime() const { + return endTime_; +} + +void DescribeCdnDomainLogsRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeCdnDomainLogsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCdnDomainLogsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/DescribeCdnDomainLogsResult.cc b/cdn/src/model/DescribeCdnDomainLogsResult.cc index db35872e8..a7927382c 100644 --- a/cdn/src/model/DescribeCdnDomainLogsResult.cc +++ b/cdn/src/model/DescribeCdnDomainLogsResult.cc @@ -39,44 +39,51 @@ void DescribeCdnDomainLogsResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allDomainLogDetailsNode = value["DomainLogDetails"]["DomainLogDetail"]; - for (auto valueDomainLogDetailsDomainLogDetail : allDomainLogDetailsNode) + auto domainLogModelNode = value["DomainLogModel"]; + if(!domainLogModelNode["DomainName"].isNull()) + domainLogModel_.domainName = domainLogModelNode["DomainName"].asString(); + auto allDomainLogDetailsNode = domainLogModelNode["DomainLogDetails"]["DomainLogDetail"]; + for (auto domainLogModelNodeDomainLogDetailsDomainLogDetail : allDomainLogDetailsNode) { - DomainLogDetail domainLogDetailsObject; - if(!valueDomainLogDetailsDomainLogDetail["DomainName"].isNull()) - domainLogDetailsObject.domainName = valueDomainLogDetailsDomainLogDetail["DomainName"].asString(); - if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull()) - domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString()); - auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"]; - for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode) - { - DomainLogDetail::LogInfoDetail logInfosObject; - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull()) - logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) - logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString(); - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull()) - logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString()); - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull()) - logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString(); - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull()) - logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString(); - domainLogDetailsObject.logInfos.push_back(logInfosObject); - } - auto pageInfosNode = value["PageInfos"]; - if(!pageInfosNode["PageIndex"].isNull()) - domainLogDetailsObject.pageInfos.pageIndex = std::stol(pageInfosNode["PageIndex"].asString()); - if(!pageInfosNode["PageSize"].isNull()) - domainLogDetailsObject.pageInfos.pageSize = std::stol(pageInfosNode["PageSize"].asString()); - if(!pageInfosNode["Total"].isNull()) - domainLogDetailsObject.pageInfos.total = std::stol(pageInfosNode["Total"].asString()); - domainLogDetails_.push_back(domainLogDetailsObject); + DomainLogModel::DomainLogDetail domainLogDetailObject; + if(!domainLogModelNodeDomainLogDetailsDomainLogDetail["EndTime"].isNull()) + domainLogDetailObject.endTime = domainLogModelNodeDomainLogDetailsDomainLogDetail["EndTime"].asString(); + if(!domainLogModelNodeDomainLogDetailsDomainLogDetail["LogSize"].isNull()) + domainLogDetailObject.logSize = std::stol(domainLogModelNodeDomainLogDetailsDomainLogDetail["LogSize"].asString()); + if(!domainLogModelNodeDomainLogDetailsDomainLogDetail["StartTime"].isNull()) + domainLogDetailObject.startTime = domainLogModelNodeDomainLogDetailsDomainLogDetail["StartTime"].asString(); + if(!domainLogModelNodeDomainLogDetailsDomainLogDetail["LogName"].isNull()) + domainLogDetailObject.logName = domainLogModelNodeDomainLogDetailsDomainLogDetail["LogName"].asString(); + if(!domainLogModelNodeDomainLogDetailsDomainLogDetail["LogPath"].isNull()) + domainLogDetailObject.logPath = domainLogModelNodeDomainLogDetailsDomainLogDetail["LogPath"].asString(); + domainLogModel_.domainLogDetails.push_back(domainLogDetailObject); } + 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 DescribeCdnDomainLogsResult::getDomainLogDetails()const +long DescribeCdnDomainLogsResult::getTotalCount()const { - return domainLogDetails_; + return totalCount_; +} + +long DescribeCdnDomainLogsResult::getPageSize()const +{ + return pageSize_; +} + +DescribeCdnDomainLogsResult::DomainLogModel DescribeCdnDomainLogsResult::getDomainLogModel()const +{ + return domainLogModel_; +} + +long DescribeCdnDomainLogsResult::getPageNumber()const +{ + return pageNumber_; } diff --git a/cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc b/cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc deleted file mode 100644 index 9f6a4836b..000000000 --- a/cdn/src/model/DescribeCdnDomainStagingConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("FunctionNames", functionNames); -} - -std::string DescribeCdnDomainStagingConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnDomainStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeCdnDomainStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnDomainStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnDomainStagingConfigResult.cc b/cdn/src/model/DescribeCdnDomainStagingConfigResult.cc deleted file mode 100644 index 8162af012..000000000 --- a/cdn/src/model/DescribeCdnDomainStagingConfigResult.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["FunctionName"].isNull()) - domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); - if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) - domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); - if(!valueDomainConfigsDomainConfig["Status"].isNull()) - domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); - auto allFunctionArgsNode = 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 DescribeCdnDomainStagingConfigResult::getDomainConfigs()const -{ - return domainConfigs_; -} - diff --git a/cdn/src/model/DescribeCdnHttpsDomainListRequest.cc b/cdn/src/model/DescribeCdnHttpsDomainListRequest.cc deleted file mode 100644 index f33ece1bb..000000000 --- a/cdn/src/model/DescribeCdnHttpsDomainListRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("PageNumber", std::to_string(pageNumber)); -} - -int DescribeCdnHttpsDomainListRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeCdnHttpsDomainListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeCdnHttpsDomainListRequest::getKeyword()const -{ - return keyword_; -} - -void DescribeCdnHttpsDomainListRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); -} - -long DescribeCdnHttpsDomainListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnHttpsDomainListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnHttpsDomainListResult.cc b/cdn/src/model/DescribeCdnHttpsDomainListResult.cc deleted file mode 100644 index ae91a6386..000000000 --- a/cdn/src/model/DescribeCdnHttpsDomainListResult.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["CertCommonName"].isNull()) - certInfosObject.certCommonName = valueCertInfosCertInfo["CertCommonName"].asString(); - if(!valueCertInfosCertInfo["CertName"].isNull()) - certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); - if(!valueCertInfosCertInfo["CertStartTime"].isNull()) - certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); - if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) - certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); - if(!valueCertInfosCertInfo["CertStatus"].isNull()) - certInfosObject.certStatus = valueCertInfosCertInfo["CertStatus"].asString(); - if(!valueCertInfosCertInfo["CertType"].isNull()) - certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); - if(!valueCertInfosCertInfo["DomainName"].isNull()) - certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); - if(!valueCertInfosCertInfo["CertUpdateTime"].isNull()) - certInfosObject.certUpdateTime = valueCertInfosCertInfo["CertUpdateTime"].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/DescribeCdnMonitorDataRequest.cc b/cdn/src/model/DescribeCdnMonitorDataRequest.cc deleted file mode 100644 index ed5b87c1b..000000000 --- a/cdn/src/model/DescribeCdnMonitorDataRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnMonitorDataRequest; - -DescribeCdnMonitorDataRequest::DescribeCdnMonitorDataRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeCdnMonitorData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnMonitorDataRequest::~DescribeCdnMonitorDataRequest() -{} - -std::string DescribeCdnMonitorDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeCdnMonitorDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeCdnMonitorDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnMonitorDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeCdnMonitorDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeCdnMonitorDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeCdnMonitorDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnMonitorDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnMonitorDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeCdnMonitorDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeCdnMonitorDataResult.cc b/cdn/src/model/DescribeCdnMonitorDataResult.cc deleted file mode 100644 index 0f60f923f..000000000 --- a/cdn/src/model/DescribeCdnMonitorDataResult.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeCdnMonitorDataResult::DescribeCdnMonitorDataResult() : - ServiceResult() -{} - -DescribeCdnMonitorDataResult::DescribeCdnMonitorDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCdnMonitorDataResult::~DescribeCdnMonitorDataResult() -{} - -void DescribeCdnMonitorDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allMonitorDatasNode = value["MonitorDatas"]["CDNMonitorData"]; - for (auto valueMonitorDatasCDNMonitorData : allMonitorDatasNode) - { - CDNMonitorData monitorDatasObject; - if(!valueMonitorDatasCDNMonitorData["TimeStamp"].isNull()) - monitorDatasObject.timeStamp = valueMonitorDatasCDNMonitorData["TimeStamp"].asString(); - if(!valueMonitorDatasCDNMonitorData["BytesPerSecond"].isNull()) - monitorDatasObject.bytesPerSecond = valueMonitorDatasCDNMonitorData["BytesPerSecond"].asString(); - if(!valueMonitorDatasCDNMonitorData["QueryPerSecond"].isNull()) - monitorDatasObject.queryPerSecond = valueMonitorDatasCDNMonitorData["QueryPerSecond"].asString(); - if(!valueMonitorDatasCDNMonitorData["RequestHitRate"].isNull()) - monitorDatasObject.requestHitRate = valueMonitorDatasCDNMonitorData["RequestHitRate"].asString(); - if(!valueMonitorDatasCDNMonitorData["BytesHitRate"].isNull()) - monitorDatasObject.bytesHitRate = valueMonitorDatasCDNMonitorData["BytesHitRate"].asString(); - if(!valueMonitorDatasCDNMonitorData["AverageObjectSize"].isNull()) - monitorDatasObject.averageObjectSize = valueMonitorDatasCDNMonitorData["AverageObjectSize"].asString(); - monitorDatas_.push_back(monitorDatasObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["MonitorInterval"].isNull()) - monitorInterval_ = value["MonitorInterval"].asString(); - -} - -std::string DescribeCdnMonitorDataResult::getMonitorInterval()const -{ - return monitorInterval_; -} - -std::string DescribeCdnMonitorDataResult::getEndTime()const -{ - return endTime_; -} - -std::string DescribeCdnMonitorDataResult::getDomainName()const -{ - return domainName_; -} - -std::vector DescribeCdnMonitorDataResult::getMonitorDatas()const -{ - return monitorDatas_; -} - -std::string DescribeCdnMonitorDataResult::getStartTime()const -{ - return startTime_; -} - diff --git a/cdn/src/model/DescribeCdnRegionAndIspRequest.cc b/cdn/src/model/DescribeCdnRegionAndIspRequest.cc deleted file mode 100644 index 1dee61888..000000000 --- a/cdn/src/model/DescribeCdnRegionAndIspRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnRegionAndIspRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnRegionAndIspRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeCdnRegionAndIspResult.cc b/cdn/src/model/DescribeCdnRegionAndIspResult.cc deleted file mode 100644 index 513e1376b..000000000 --- a/cdn/src/model/DescribeCdnRegionAndIspResult.cc +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["NameZh"].isNull()) - regionsObject.nameZh = valueRegionsRegion["NameZh"].asString(); - if(!valueRegionsRegion["NameEn"].isNull()) - regionsObject.nameEn = valueRegionsRegion["NameEn"].asString(); - regions_.push_back(regionsObject); - } - auto allIspsNode = value["Isps"]["Isp"]; - for (auto valueIspsIsp : allIspsNode) - { - Isp ispsObject; - if(!valueIspsIsp["NameZh"].isNull()) - ispsObject.nameZh = valueIspsIsp["NameZh"].asString(); - if(!valueIspsIsp["NameEn"].isNull()) - ispsObject.nameEn = valueIspsIsp["NameEn"].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 deleted file mode 100644 index 04318c82f..000000000 --- a/cdn/src/model/DescribeCdnReportListRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnReportListRequest; - -DescribeCdnReportListRequest::DescribeCdnReportListRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReportList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnReportListRequest::~DescribeCdnReportListRequest() -{} - -long DescribeCdnReportListRequest::getReportId()const -{ - return reportId_; -} - -void DescribeCdnReportListRequest::setReportId(long reportId) -{ - reportId_ = reportId; - setParameter("ReportId", std::to_string(reportId)); -} - -long DescribeCdnReportListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnReportListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnReportListResult.cc b/cdn/src/model/DescribeCdnReportListResult.cc deleted file mode 100644 index 69fd8c616..000000000 --- a/cdn/src/model/DescribeCdnReportListResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 1ff35720d..000000000 --- a/cdn/src/model/DescribeCdnReportRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnReportRequest; - -DescribeCdnReportRequest::DescribeCdnReportRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReport") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnReportRequest::~DescribeCdnReportRequest() -{} - -long DescribeCdnReportRequest::getReportId()const -{ - return reportId_; -} - -void DescribeCdnReportRequest::setReportId(long reportId) -{ - reportId_ = reportId; - setParameter("ReportId", std::to_string(reportId)); -} - -std::string DescribeCdnReportRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeCdnReportRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeCdnReportRequest::getArea()const -{ - return area_; -} - -void DescribeCdnReportRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); -} - -std::string DescribeCdnReportRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnReportRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeCdnReportRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeCdnReportRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeCdnReportRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnReportRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnReportRequest::getHttpCode()const -{ - return httpCode_; -} - -void DescribeCdnReportRequest::setHttpCode(const std::string& httpCode) -{ - httpCode_ = httpCode; - setParameter("HttpCode", httpCode); -} - -std::string DescribeCdnReportRequest::getIsOverseas()const -{ - return isOverseas_; -} - -void DescribeCdnReportRequest::setIsOverseas(const std::string& isOverseas) -{ - isOverseas_ = isOverseas; - setParameter("IsOverseas", isOverseas); -} - diff --git a/cdn/src/model/DescribeCdnReportResult.cc b/cdn/src/model/DescribeCdnReportResult.cc deleted file mode 100644 index e6193edda..000000000 --- a/cdn/src/model/DescribeCdnReportResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 7f157aa3c..000000000 --- a/cdn/src/model/DescribeCdnSMCertificateDetailRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnSMCertificateDetailRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnSMCertificateDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeCdnSMCertificateDetailRequest::getCertIdentifier()const -{ - return certIdentifier_; -} - -void DescribeCdnSMCertificateDetailRequest::setCertIdentifier(const std::string& certIdentifier) -{ - certIdentifier_ = certIdentifier; - setParameter("CertIdentifier", certIdentifier); -} - diff --git a/cdn/src/model/DescribeCdnSMCertificateDetailResult.cc b/cdn/src/model/DescribeCdnSMCertificateDetailResult.cc deleted file mode 100644 index 722de4cda..000000000 --- a/cdn/src/model/DescribeCdnSMCertificateDetailResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["SignCertificate"].isNull()) - signCertificate_ = value["SignCertificate"].asString(); - if(!value["EncryptCertificate"].isNull()) - encryptCertificate_ = value["EncryptCertificate"].asString(); - if(!value["CertIdentifier"].isNull()) - certIdentifier_ = value["CertIdentifier"].asString(); - if(!value["CertName"].isNull()) - certName_ = value["CertName"].asString(); - if(!value["CommonName"].isNull()) - commonName_ = value["CommonName"].asString(); - if(!value["Sans"].isNull()) - sans_ = value["Sans"].asString(); - if(!value["CertOrg"].isNull()) - certOrg_ = value["CertOrg"].asString(); - if(!value["CertExpireTime"].isNull()) - certExpireTime_ = value["CertExpireTime"].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::getSignCertificate()const -{ - return signCertificate_; -} - -std::string DescribeCdnSMCertificateDetailResult::getCertExpireTime()const -{ - return certExpireTime_; -} - -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 deleted file mode 100644 index 666c01749..000000000 --- a/cdn/src/model/DescribeCdnSMCertificateListRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnSMCertificateListRequest; - -DescribeCdnSMCertificateListRequest::DescribeCdnSMCertificateListRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSMCertificateList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnSMCertificateListRequest::~DescribeCdnSMCertificateListRequest() -{} - -std::string DescribeCdnSMCertificateListRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnSMCertificateListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeCdnSMCertificateListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnSMCertificateListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnSMCertificateListRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnSMCertificateListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeCdnSMCertificateListResult.cc b/cdn/src/model/DescribeCdnSMCertificateListResult.cc deleted file mode 100644 index 422729679..000000000 --- a/cdn/src/model/DescribeCdnSMCertificateListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["CertIdentifier"].isNull()) - certObject.certIdentifier = certificateListModelNodeCertListCert["CertIdentifier"].asString(); - if(!certificateListModelNodeCertListCert["Common"].isNull()) - certObject.common = certificateListModelNodeCertListCert["Common"].asString(); - if(!certificateListModelNodeCertListCert["Issuer"].isNull()) - certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); - certificateListModel_.certList.push_back(certObject); - } - -} - -DescribeCdnSMCertificateListResult::CertificateListModel DescribeCdnSMCertificateListResult::getCertificateListModel()const -{ - return certificateListModel_; -} - diff --git a/cdn/src/model/DescribeCdnServiceRequest.cc b/cdn/src/model/DescribeCdnServiceRequest.cc index 2e302cb4e..a671dc551 100644 --- a/cdn/src/model/DescribeCdnServiceRequest.cc +++ b/cdn/src/model/DescribeCdnServiceRequest.cc @@ -1,51 +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::DescribeCdnServiceRequest; - -DescribeCdnServiceRequest::DescribeCdnServiceRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnService") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnServiceRequest::~DescribeCdnServiceRequest() -{} - -long DescribeCdnServiceRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeCdnServiceRequest; + +DescribeCdnServiceRequest::DescribeCdnServiceRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeCdnService") { + setMethod(HttpRequest::Method::Post); } -void DescribeCdnServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeCdnServiceRequest::~DescribeCdnServiceRequest() {} + +long DescribeCdnServiceRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeCdnServiceRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeCdnServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeCdnServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeCdnServiceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeCdnServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/cdn/src/model/DescribeCdnServiceResult.cc b/cdn/src/model/DescribeCdnServiceResult.cc index 52a78c633..db364c01a 100644 --- a/cdn/src/model/DescribeCdnServiceResult.cc +++ b/cdn/src/model/DescribeCdnServiceResult.cc @@ -47,16 +47,16 @@ void DescribeCdnServiceResult::parse(const std::string &payload) operationLocksObject.lockReason = valueOperationLocksLockReason["LockReason"].asString(); operationLocks_.push_back(operationLocksObject); } - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - if(!value["InternetChargeType"].isNull()) - internetChargeType_ = value["InternetChargeType"].asString(); - if(!value["OpeningTime"].isNull()) - openingTime_ = value["OpeningTime"].asString(); - if(!value["ChangingChargeType"].isNull()) - changingChargeType_ = value["ChangingChargeType"].asString(); if(!value["ChangingAffectTime"].isNull()) changingAffectTime_ = value["ChangingAffectTime"].asString(); + if(!value["ChangingChargeType"].isNull()) + changingChargeType_ = value["ChangingChargeType"].asString(); + if(!value["OpeningTime"].isNull()) + openingTime_ = value["OpeningTime"].asString(); + if(!value["InternetChargeType"].isNull()) + internetChargeType_ = value["InternetChargeType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); } diff --git a/cdn/src/model/DescribeCdnSubListRequest.cc b/cdn/src/model/DescribeCdnSubListRequest.cc deleted file mode 100644 index 84a1e39b9..000000000 --- a/cdn/src/model/DescribeCdnSubListRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnSubListRequest; - -DescribeCdnSubListRequest::DescribeCdnSubListRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSubList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnSubListRequest::~DescribeCdnSubListRequest() -{} - -long DescribeCdnSubListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnSubListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnSubListResult.cc b/cdn/src/model/DescribeCdnSubListResult.cc deleted file mode 100644 index e5dbae828..000000000 --- a/cdn/src/model/DescribeCdnSubListResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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/DescribeCdnTypesRequest.cc b/cdn/src/model/DescribeCdnTypesRequest.cc deleted file mode 100644 index ec2cc5859..000000000 --- a/cdn/src/model/DescribeCdnTypesRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnTypesRequest; - -DescribeCdnTypesRequest::DescribeCdnTypesRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeCdnTypes") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnTypesRequest::~DescribeCdnTypesRequest() -{} - -std::string DescribeCdnTypesRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeCdnTypesRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long DescribeCdnTypesRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnTypesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnTypesRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnTypesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeCdnTypesResult.cc b/cdn/src/model/DescribeCdnTypesResult.cc deleted file mode 100644 index 4bf5ba0d6..000000000 --- a/cdn/src/model/DescribeCdnTypesResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeCdnTypesResult::DescribeCdnTypesResult() : - ServiceResult() -{} - -DescribeCdnTypesResult::DescribeCdnTypesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCdnTypesResult::~DescribeCdnTypesResult() -{} - -void DescribeCdnTypesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allCdnTypesNode = value["CdnTypes"]["CdnType"]; - for (auto valueCdnTypesCdnType : allCdnTypesNode) - { - CdnType cdnTypesObject; - if(!valueCdnTypesCdnType["Type"].isNull()) - cdnTypesObject.type = valueCdnTypesCdnType["Type"].asString(); - if(!valueCdnTypesCdnType["Desc"].isNull()) - cdnTypesObject.desc = valueCdnTypesCdnType["Desc"].asString(); - cdnTypes_.push_back(cdnTypesObject); - } - -} - -std::vector DescribeCdnTypesResult::getCdnTypes()const -{ - return cdnTypes_; -} - diff --git a/cdn/src/model/DescribeCdnUserBillHistoryRequest.cc b/cdn/src/model/DescribeCdnUserBillHistoryRequest.cc deleted file mode 100644 index f2e49ee6d..000000000 --- a/cdn/src/model/DescribeCdnUserBillHistoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeCdnUserBillHistoryRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeCdnUserBillHistoryRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeCdnUserBillHistoryRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnUserBillHistoryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnUserBillHistoryResult.cc b/cdn/src/model/DescribeCdnUserBillHistoryResult.cc deleted file mode 100644 index f828e6cc8..000000000 --- a/cdn/src/model/DescribeCdnUserBillHistoryResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["ChargeType"].isNull()) - billingDataObject.chargeType = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].asString(); - if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].isNull()) - billingDataObject.cdnRegion = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].asString(); - if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].isNull()) - billingDataObject.bandwidth = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].asString()); - if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].isNull()) - billingDataObject.flow = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].asString()); - if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].isNull()) - billingDataObject.count = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].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 deleted file mode 100644 index 5e95fc393..000000000 --- a/cdn/src/model/DescribeCdnUserBillPredictionRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeCdnUserBillPredictionRequest::getDimension()const -{ - return dimension_; -} - -void DescribeCdnUserBillPredictionRequest::setDimension(const std::string& dimension) -{ - dimension_ = dimension; - setParameter("Dimension", dimension); -} - -std::string DescribeCdnUserBillPredictionRequest::getArea()const -{ - return area_; -} - -void DescribeCdnUserBillPredictionRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); -} - -std::string DescribeCdnUserBillPredictionRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeCdnUserBillPredictionRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeCdnUserBillPredictionRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnUserBillPredictionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnUserBillPredictionResult.cc b/cdn/src/model/DescribeCdnUserBillPredictionResult.cc deleted file mode 100644 index e9b1ff9b5..000000000 --- a/cdn/src/model/DescribeCdnUserBillPredictionResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["Area"].isNull()) - billPredictionDataObject.area = valueBillPredictionDataBillPredictionDataItem["Area"].asString(); - if(!valueBillPredictionDataBillPredictionDataItem["TimeStp"].isNull()) - billPredictionDataObject.timeStp = valueBillPredictionDataBillPredictionDataItem["TimeStp"].asString(); - billPredictionData_.push_back(billPredictionDataObject); - } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].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 deleted file mode 100644 index c277ec214..000000000 --- a/cdn/src/model/DescribeCdnUserBillTypeRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeCdnUserBillTypeRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeCdnUserBillTypeRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeCdnUserBillTypeRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnUserBillTypeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnUserBillTypeResult.cc b/cdn/src/model/DescribeCdnUserBillTypeResult.cc deleted file mode 100644 index 4a1f4aef8..000000000 --- a/cdn/src/model/DescribeCdnUserBillTypeResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["StartTime"].isNull()) - billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString(); - if(!valueBillTypeDataBillTypeDataItem["EndTime"].isNull()) - billTypeDataObject.endTime = valueBillTypeDataBillTypeDataItem["EndTime"].asString(); - if(!valueBillTypeDataBillTypeDataItem["Product"].isNull()) - billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString(); - if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull()) - billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString(); - if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull()) - billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString(); - if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull()) - billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString(); - billTypeData_.push_back(billTypeDataObject); - } - -} - -std::vector DescribeCdnUserBillTypeResult::getBillTypeData()const -{ - return billTypeData_; -} - diff --git a/cdn/src/model/DescribeCdnUserConfigsRequest.cc b/cdn/src/model/DescribeCdnUserConfigsRequest.cc deleted file mode 100644 index b63fa5234..000000000 --- a/cdn/src/model/DescribeCdnUserConfigsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("FunctionName", functionName); -} - -long DescribeCdnUserConfigsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnUserConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnUserConfigsResult.cc b/cdn/src/model/DescribeCdnUserConfigsResult.cc deleted file mode 100644 index 1e0365baf..000000000 --- a/cdn/src/model/DescribeCdnUserConfigsResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 75db825d5..000000000 --- a/cdn/src/model/DescribeCdnUserDomainsByFuncRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeCdnUserDomainsByFuncRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeCdnUserDomainsByFuncRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -int DescribeCdnUserDomainsByFuncRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeCdnUserDomainsByFuncRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long DescribeCdnUserDomainsByFuncRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnUserDomainsByFuncRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -int DescribeCdnUserDomainsByFuncRequest::getFuncId()const -{ - return funcId_; -} - -void DescribeCdnUserDomainsByFuncRequest::setFuncId(int funcId) -{ - funcId_ = funcId; - setParameter("FuncId", std::to_string(funcId)); -} - diff --git a/cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc b/cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc deleted file mode 100644 index c97579829..000000000 --- a/cdn/src/model/DescribeCdnUserDomainsByFuncResult.cc +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); - if(!valueDomainsPageData["Cname"].isNull()) - domainsObject.cname = valueDomainsPageData["Cname"].asString(); - if(!valueDomainsPageData["CdnType"].isNull()) - domainsObject.cdnType = valueDomainsPageData["CdnType"].asString(); - if(!valueDomainsPageData["DomainStatus"].isNull()) - domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); - if(!valueDomainsPageData["GmtCreated"].isNull()) - domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); - if(!valueDomainsPageData["GmtModified"].isNull()) - domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); - if(!valueDomainsPageData["Description"].isNull()) - domainsObject.description = valueDomainsPageData["Description"].asString(); - if(!valueDomainsPageData["SslProtocol"].isNull()) - domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString(); - if(!valueDomainsPageData["ResourceGroupId"].isNull()) - domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); - auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; - for (auto valueDomainsPageDataSourcesSource : allSourcesNode) - { - PageData::Source sourcesObject; - if(!valueDomainsPageDataSourcesSource["Type"].isNull()) - sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); - if(!valueDomainsPageDataSourcesSource["Content"].isNull()) - sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); - if(!valueDomainsPageDataSourcesSource["Port"].isNull()) - sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); - if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) - sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); - if(!valueDomainsPageDataSourcesSource["Weight"].isNull()) - sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].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 deleted file mode 100644 index d937fd7de..000000000 --- a/cdn/src/model/DescribeCdnUserQuotaRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnUserQuotaRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnUserQuotaRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeCdnUserQuotaResult.cc b/cdn/src/model/DescribeCdnUserQuotaResult.cc deleted file mode 100644 index d5a7a2ed2..000000000 --- a/cdn/src/model/DescribeCdnUserQuotaResult.cc +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainQuota"].isNull()) - domainQuota_ = std::stoi(value["DomainQuota"].asString()); - if(!value["RefreshUrlQuota"].isNull()) - refreshUrlQuota_ = std::stoi(value["RefreshUrlQuota"].asString()); - if(!value["RefreshDirQuota"].isNull()) - refreshDirQuota_ = std::stoi(value["RefreshDirQuota"].asString()); - if(!value["RefreshUrlRemain"].isNull()) - refreshUrlRemain_ = std::stoi(value["RefreshUrlRemain"].asString()); - if(!value["RefreshDirRemain"].isNull()) - refreshDirRemain_ = std::stoi(value["RefreshDirRemain"].asString()); - if(!value["PreloadQuota"].isNull()) - preloadQuota_ = std::stoi(value["PreloadQuota"].asString()); - if(!value["PreloadRemain"].isNull()) - preloadRemain_ = std::stoi(value["PreloadRemain"].asString()); - if(!value["BlockQuota"].isNull()) - blockQuota_ = std::stoi(value["BlockQuota"].asString()); - if(!value["BlockRemain"].isNull()) - blockRemain_ = std::stoi(value["BlockRemain"].asString()); - -} - -int DescribeCdnUserQuotaResult::getRefreshUrlQuota()const -{ - return refreshUrlQuota_; -} - -int DescribeCdnUserQuotaResult::getPreloadRemain()const -{ - return preloadRemain_; -} - -int DescribeCdnUserQuotaResult::getBlockRemain()const -{ - return blockRemain_; -} - -int DescribeCdnUserQuotaResult::getRefreshDirRemain()const -{ - return refreshDirRemain_; -} - -int DescribeCdnUserQuotaResult::getRefreshDirQuota()const -{ - return refreshDirQuota_; -} - -int DescribeCdnUserQuotaResult::getBlockQuota()const -{ - return blockQuota_; -} - -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 deleted file mode 100644 index 4fb35f7de..000000000 --- a/cdn/src/model/DescribeCdnUserResourcePackageRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeCdnUserResourcePackageRequest; - -DescribeCdnUserResourcePackageRequest::DescribeCdnUserResourcePackageRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserResourcePackage") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCdnUserResourcePackageRequest::~DescribeCdnUserResourcePackageRequest() -{} - -long DescribeCdnUserResourcePackageRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnUserResourcePackageRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCdnUserResourcePackageRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeCdnUserResourcePackageRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeCdnUserResourcePackageRequest::getStatus()const -{ - return status_; -} - -void DescribeCdnUserResourcePackageRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/cdn/src/model/DescribeCdnUserResourcePackageResult.cc b/cdn/src/model/DescribeCdnUserResourcePackageResult.cc deleted file mode 100644 index b238d6789..000000000 --- a/cdn/src/model/DescribeCdnUserResourcePackageResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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["CurrCapacity"].isNull()) - resourcePackageInfosObject.currCapacity = valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["InitCapacity"].isNull()) - resourcePackageInfosObject.initCapacity = valueResourcePackageInfosResourcePackageInfo["InitCapacity"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["CommodityCode"].isNull()) - resourcePackageInfosObject.commodityCode = valueResourcePackageInfosResourcePackageInfo["CommodityCode"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["DisplayName"].isNull()) - resourcePackageInfosObject.displayName = valueResourcePackageInfosResourcePackageInfo["DisplayName"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["TemplateName"].isNull()) - resourcePackageInfosObject.templateName = valueResourcePackageInfosResourcePackageInfo["TemplateName"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["InstanceId"].isNull()) - resourcePackageInfosObject.instanceId = valueResourcePackageInfosResourcePackageInfo["InstanceId"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["Status"].isNull()) - resourcePackageInfosObject.status = valueResourcePackageInfosResourcePackageInfo["Status"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["StartTime"].isNull()) - resourcePackageInfosObject.startTime = valueResourcePackageInfosResourcePackageInfo["StartTime"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["EndTime"].isNull()) - resourcePackageInfosObject.endTime = valueResourcePackageInfosResourcePackageInfo["EndTime"].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 deleted file mode 100644 index ee552a71c..000000000 --- a/cdn/src/model/DescribeCdnWafDomainRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("ResourceGroupId", resourceGroupId); -} - -std::string DescribeCdnWafDomainRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeCdnWafDomainRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeCdnWafDomainRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeCdnWafDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeCdnWafDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCdnWafDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCdnWafDomainResult.cc b/cdn/src/model/DescribeCdnWafDomainResult.cc deleted file mode 100644 index cf7b3e5e5..000000000 --- a/cdn/src/model/DescribeCdnWafDomainResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["Status"].isNull()) - outPutDomainsObject.status = valueOutPutDomainsOutPutDomain["Status"].asString(); - if(!valueOutPutDomainsOutPutDomain["Domain"].isNull()) - outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString(); - if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull()) - outPutDomainsObject.wafStatus = valueOutPutDomainsOutPutDomain["WafStatus"].asString(); - if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull()) - outPutDomainsObject.ccStatus = valueOutPutDomainsOutPutDomain["CcStatus"].asString(); - if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull()) - outPutDomainsObject.aclStatus = valueOutPutDomainsOutPutDomain["AclStatus"].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 deleted file mode 100644 index 0f17cfed5..000000000 --- a/cdn/src/model/DescribeCertificateInfoByIDRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("CertId", certId); -} - -long DescribeCertificateInfoByIDRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeCertificateInfoByIDRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeCertificateInfoByIDResult.cc b/cdn/src/model/DescribeCertificateInfoByIDResult.cc deleted file mode 100644 index 78c3881c7..000000000 --- a/cdn/src/model/DescribeCertificateInfoByIDResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["CertId"].isNull()) - certInfosObject.certId = valueCertInfosCertInfo["CertId"].asString(); - if(!valueCertInfosCertInfo["CertName"].isNull()) - certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); - if(!valueCertInfosCertInfo["CreateTime"].isNull()) - certInfosObject.createTime = valueCertInfosCertInfo["CreateTime"].asString(); - if(!valueCertInfosCertInfo["HttpsCrt"].isNull()) - certInfosObject.httpsCrt = valueCertInfosCertInfo["HttpsCrt"].asString(); - if(!valueCertInfosCertInfo["CertType"].isNull()) - certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); - if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) - certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); - if(!valueCertInfosCertInfo["DomainList"].isNull()) - certInfosObject.domainList = valueCertInfosCertInfo["DomainList"].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 deleted file mode 100644 index b89521ffd..000000000 --- a/cdn/src/model/DescribeConfigGroupDetailRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("ConfigGroupName", configGroupName); -} - -long DescribeConfigGroupDetailRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeConfigGroupDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeConfigGroupDetailRequest::getConfigGroupId()const -{ - return configGroupId_; -} - -void DescribeConfigGroupDetailRequest::setConfigGroupId(const std::string& configGroupId) -{ - configGroupId_ = configGroupId; - setParameter("ConfigGroupId", configGroupId); -} - diff --git a/cdn/src/model/DescribeConfigGroupDetailResult.cc b/cdn/src/model/DescribeConfigGroupDetailResult.cc deleted file mode 100644 index c028f2e27..000000000 --- a/cdn/src/model/DescribeConfigGroupDetailResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["ConfigGroupId"].isNull()) - configGroupId_ = value["ConfigGroupId"].asString(); - if(!value["ConfigGroupName"].isNull()) - configGroupName_ = value["ConfigGroupName"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["BizName"].isNull()) - bizName_ = value["BizName"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = value["CreateTime"].asString(); - if(!value["UpdateTime"].isNull()) - updateTime_ = value["UpdateTime"].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::getConfigGroupName()const -{ - return configGroupName_; -} - -std::string DescribeConfigGroupDetailResult::getUpdateTime()const -{ - return updateTime_; -} - -std::string DescribeConfigGroupDetailResult::getBizName()const -{ - return bizName_; -} - diff --git a/cdn/src/model/DescribeConfigOfVersionRequest.cc b/cdn/src/model/DescribeConfigOfVersionRequest.cc deleted file mode 100644 index b6e1fe3a7..000000000 --- a/cdn/src/model/DescribeConfigOfVersionRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("VersionId", versionId); -} - -std::string DescribeConfigOfVersionRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeConfigOfVersionRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeConfigOfVersionRequest::getFunctionName()const -{ - return functionName_; -} - -void DescribeConfigOfVersionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - -long DescribeConfigOfVersionRequest::getGroupId()const -{ - return groupId_; -} - -void DescribeConfigOfVersionRequest::setGroupId(long groupId) -{ - groupId_ = groupId; - setParameter("GroupId", std::to_string(groupId)); -} - -long DescribeConfigOfVersionRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeConfigOfVersionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -int DescribeConfigOfVersionRequest::getFunctionId()const -{ - return functionId_; -} - -void DescribeConfigOfVersionRequest::setFunctionId(int functionId) -{ - functionId_ = functionId; - setParameter("FunctionId", std::to_string(functionId)); -} - diff --git a/cdn/src/model/DescribeConfigOfVersionResult.cc b/cdn/src/model/DescribeConfigOfVersionResult.cc deleted file mode 100644 index 585b235ae..000000000 --- a/cdn/src/model/DescribeConfigOfVersionResult.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index f84362281..000000000 --- a/cdn/src/model/DescribeCustomLogConfigRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeCustomLogConfigRequest::getConfigId()const -{ - return configId_; -} - -void DescribeCustomLogConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/DescribeCustomLogConfigResult.cc b/cdn/src/model/DescribeCustomLogConfigResult.cc deleted file mode 100644 index 1263efa93..000000000 --- a/cdn/src/model/DescribeCustomLogConfigResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["Remark"].isNull()) - remark_ = value["Remark"].asString(); - if(!value["Sample"].isNull()) - sample_ = value["Sample"].asString(); - if(!value["Tag"].isNull()) - tag_ = value["Tag"].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 deleted file mode 100644 index a33cff325..000000000 --- a/cdn/src/model/DescribeDomainAverageResponseTimeRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainAverageResponseTimeRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainAverageResponseTimeRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainAverageResponseTimeRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainAverageResponseTimeRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainAverageResponseTimeRequest::getDomainType()const -{ - return domainType_; -} - -void DescribeDomainAverageResponseTimeRequest::setDomainType(const std::string& domainType) -{ - domainType_ = domainType; - setParameter("DomainType", domainType); -} - -std::string DescribeDomainAverageResponseTimeRequest::getTimeMerge()const -{ - return timeMerge_; -} - -void DescribeDomainAverageResponseTimeRequest::setTimeMerge(const std::string& timeMerge) -{ - timeMerge_ = timeMerge; - setParameter("TimeMerge", timeMerge); -} - -std::string DescribeDomainAverageResponseTimeRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainAverageResponseTimeRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainAverageResponseTimeRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainAverageResponseTimeRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainAverageResponseTimeRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainAverageResponseTimeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainAverageResponseTimeRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainAverageResponseTimeRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainAverageResponseTimeResult.cc b/cdn/src/model/DescribeDomainAverageResponseTimeResult.cc deleted file mode 100644 index 9886bf81c..000000000 --- a/cdn/src/model/DescribeDomainAverageResponseTimeResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - avgRTPerIntervalObject.timeStamp = valueAvgRTPerIntervalDataModule["TimeStamp"].asString(); - if(!valueAvgRTPerIntervalDataModule["Value"].isNull()) - avgRTPerIntervalObject.value = valueAvgRTPerIntervalDataModule["Value"].asString(); - avgRTPerInterval_.push_back(avgRTPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::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 deleted file mode 100644 index f0554fffa..000000000 --- a/cdn/src/model/DescribeDomainBpsDataByLayerRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainBpsDataByLayerRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainBpsDataByLayerRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainBpsDataByLayerRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainBpsDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainBpsDataByLayerRequest::getLayer()const -{ - return layer_; -} - -void DescribeDomainBpsDataByLayerRequest::setLayer(const std::string& layer) -{ - layer_ = layer; - setParameter("Layer", layer); -} - -std::string DescribeDomainBpsDataByLayerRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainBpsDataByLayerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainBpsDataByLayerRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainBpsDataByLayerRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainBpsDataByLayerRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainBpsDataByLayerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainBpsDataByLayerRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainBpsDataByLayerRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainBpsDataByLayerResult.cc b/cdn/src/model/DescribeDomainBpsDataByLayerResult.cc deleted file mode 100644 index e8254c37b..000000000 --- a/cdn/src/model/DescribeDomainBpsDataByLayerResult.cc +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - bpsDataIntervalObject.timeStamp = valueBpsDataIntervalDataModule["TimeStamp"].asString(); - if(!valueBpsDataIntervalDataModule["Value"].isNull()) - bpsDataIntervalObject.value = valueBpsDataIntervalDataModule["Value"].asString(); - if(!valueBpsDataIntervalDataModule["TrafficValue"].isNull()) - bpsDataIntervalObject.trafficValue = valueBpsDataIntervalDataModule["TrafficValue"].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/DescribeDomainBpsDataByTimeStampRequest.cc b/cdn/src/model/DescribeDomainBpsDataByTimeStampRequest.cc index 439077d76..a6a8a136a 100644 --- a/cdn/src/model/DescribeDomainBpsDataByTimeStampRequest.cc +++ b/cdn/src/model/DescribeDomainBpsDataByTimeStampRequest.cc @@ -1,84 +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::DescribeDomainBpsDataByTimeStampRequest; - -DescribeDomainBpsDataByTimeStampRequest::DescribeDomainBpsDataByTimeStampRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainBpsDataByTimeStamp") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainBpsDataByTimeStampRequest::~DescribeDomainBpsDataByTimeStampRequest() -{} - -std::string DescribeDomainBpsDataByTimeStampRequest::getLocationNames()const -{ - return locationNames_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainBpsDataByTimeStampRequest; + +DescribeDomainBpsDataByTimeStampRequest::DescribeDomainBpsDataByTimeStampRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainBpsDataByTimeStamp") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainBpsDataByTimeStampRequest::setLocationNames(const std::string& locationNames) -{ - locationNames_ = locationNames; - setParameter("LocationNames", locationNames); +DescribeDomainBpsDataByTimeStampRequest::~DescribeDomainBpsDataByTimeStampRequest() {} + +std::string DescribeDomainBpsDataByTimeStampRequest::getLocationNames() const { + return locationNames_; } -std::string DescribeDomainBpsDataByTimeStampRequest::getIspNames()const -{ - return ispNames_; +void DescribeDomainBpsDataByTimeStampRequest::setLocationNames(const std::string &locationNames) { + locationNames_ = locationNames; + setParameter(std::string("LocationNames"), locationNames); } -void DescribeDomainBpsDataByTimeStampRequest::setIspNames(const std::string& ispNames) -{ - ispNames_ = ispNames; - setParameter("IspNames", ispNames); +std::string DescribeDomainBpsDataByTimeStampRequest::getIspNames() const { + return ispNames_; } -std::string DescribeDomainBpsDataByTimeStampRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainBpsDataByTimeStampRequest::setIspNames(const std::string &ispNames) { + ispNames_ = ispNames; + setParameter(std::string("IspNames"), ispNames); } -void DescribeDomainBpsDataByTimeStampRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainBpsDataByTimeStampRequest::getDomainName() const { + return domainName_; } -long DescribeDomainBpsDataByTimeStampRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainBpsDataByTimeStampRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainBpsDataByTimeStampRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainBpsDataByTimeStampRequest::getTimePoint()const -{ - return timePoint_; +void DescribeDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainBpsDataByTimeStampRequest::setTimePoint(const std::string& timePoint) -{ - timePoint_ = timePoint; - setParameter("TimePoint", timePoint); +std::string DescribeDomainBpsDataByTimeStampRequest::getTimePoint() const { + return timePoint_; +} + +void DescribeDomainBpsDataByTimeStampRequest::setTimePoint(const std::string &timePoint) { + timePoint_ = timePoint; + setParameter(std::string("TimePoint"), timePoint); } diff --git a/cdn/src/model/DescribeDomainBpsDataByTimeStampResult.cc b/cdn/src/model/DescribeDomainBpsDataByTimeStampResult.cc index 08108f75b..ec6895960 100644 --- a/cdn/src/model/DescribeDomainBpsDataByTimeStampResult.cc +++ b/cdn/src/model/DescribeDomainBpsDataByTimeStampResult.cc @@ -43,20 +43,20 @@ void DescribeDomainBpsDataByTimeStampResult::parse(const std::string &payload) for (auto valueBpsDataListBpsDataModel : allBpsDataListNode) { BpsDataModel bpsDataListObject; - if(!valueBpsDataListBpsDataModel["TimeStamp"].isNull()) - bpsDataListObject.timeStamp = valueBpsDataListBpsDataModel["TimeStamp"].asString(); if(!valueBpsDataListBpsDataModel["LocationName"].isNull()) bpsDataListObject.locationName = valueBpsDataListBpsDataModel["LocationName"].asString(); + if(!valueBpsDataListBpsDataModel["TimeStamp"].isNull()) + bpsDataListObject.timeStamp = valueBpsDataListBpsDataModel["TimeStamp"].asString(); if(!valueBpsDataListBpsDataModel["IspName"].isNull()) bpsDataListObject.ispName = valueBpsDataListBpsDataModel["IspName"].asString(); if(!valueBpsDataListBpsDataModel["Bps"].isNull()) bpsDataListObject.bps = std::stol(valueBpsDataListBpsDataModel["Bps"].asString()); bpsDataList_.push_back(bpsDataListObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); if(!value["TimeStamp"].isNull()) timeStamp_ = value["TimeStamp"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); } diff --git a/cdn/src/model/DescribeDomainBpsDataRequest.cc b/cdn/src/model/DescribeDomainBpsDataRequest.cc index 9761d6527..5f464d007 100644 --- a/cdn/src/model/DescribeDomainBpsDataRequest.cc +++ b/cdn/src/model/DescribeDomainBpsDataRequest.cc @@ -1,106 +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::DescribeDomainBpsDataRequest; - -DescribeDomainBpsDataRequest::DescribeDomainBpsDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainBpsDataRequest::~DescribeDomainBpsDataRequest() -{} - -std::string DescribeDomainBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainBpsDataRequest; + +DescribeDomainBpsDataRequest::DescribeDomainBpsDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDomainBpsDataRequest::~DescribeDomainBpsDataRequest() {} + +std::string DescribeDomainBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDomainBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDomainBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDomainBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDomainBpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDomainBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDomainBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDomainBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeDomainBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainBpsDataRequest::getDomainType() const { + return domainType_; } -std::string DescribeDomainBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainBpsDataRequest::setDomainType(const std::string &domainType) { + domainType_ = domainType; + setParameter(std::string("DomainType"), domainType); } -void DescribeDomainBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainBpsDataRequest::getTimeMerge() const { + return timeMerge_; } -long DescribeDomainBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainBpsDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDomainBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDomainBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainBpsDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainBpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainBpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainBpsDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainBpsDataResult.cc b/cdn/src/model/DescribeDomainBpsDataResult.cc index 3c67e82db..86a5788a5 100644 --- a/cdn/src/model/DescribeDomainBpsDataResult.cc +++ b/cdn/src/model/DescribeDomainBpsDataResult.cc @@ -43,32 +43,48 @@ void DescribeDomainBpsDataResult::parse(const std::string &payload) for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode) { DataModule bpsDataPerIntervalObject; - if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueBpsDataPerIntervalDataModule["Value"].isNull()) - bpsDataPerIntervalObject.value = valueBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["L2Value"].isNull()) + bpsDataPerIntervalObject.l2Value = valueBpsDataPerIntervalDataModule["L2Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["DynamicValue"].isNull()) + bpsDataPerIntervalObject.dynamicValue = valueBpsDataPerIntervalDataModule["DynamicValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DynamicDomesticValue"].isNull()) + bpsDataPerIntervalObject.dynamicDomesticValue = valueBpsDataPerIntervalDataModule["DynamicDomesticValue"].asString(); if(!valueBpsDataPerIntervalDataModule["DomesticValue"].isNull()) bpsDataPerIntervalObject.domesticValue = valueBpsDataPerIntervalDataModule["DomesticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["Value"].isNull()) + bpsDataPerIntervalObject.value = valueBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["OverseasL2Value"].isNull()) + bpsDataPerIntervalObject.overseasL2Value = valueBpsDataPerIntervalDataModule["OverseasL2Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["StaticDomesticValue"].isNull()) + bpsDataPerIntervalObject.staticDomesticValue = valueBpsDataPerIntervalDataModule["StaticDomesticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DomesticL2Value"].isNull()) + bpsDataPerIntervalObject.domesticL2Value = valueBpsDataPerIntervalDataModule["DomesticL2Value"].asString(); if(!valueBpsDataPerIntervalDataModule["OverseasValue"].isNull()) bpsDataPerIntervalObject.overseasValue = valueBpsDataPerIntervalDataModule["OverseasValue"].asString(); - if(!valueBpsDataPerIntervalDataModule["HttpsValue"].isNull()) - bpsDataPerIntervalObject.httpsValue = valueBpsDataPerIntervalDataModule["HttpsValue"].asString(); - if(!valueBpsDataPerIntervalDataModule["HttpsDomesticValue"].isNull()) - bpsDataPerIntervalObject.httpsDomesticValue = valueBpsDataPerIntervalDataModule["HttpsDomesticValue"].asString(); - if(!valueBpsDataPerIntervalDataModule["HttpsOverseasValue"].isNull()) - bpsDataPerIntervalObject.httpsOverseasValue = valueBpsDataPerIntervalDataModule["HttpsOverseasValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["StaticValue"].isNull()) + bpsDataPerIntervalObject.staticValue = valueBpsDataPerIntervalDataModule["StaticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueBpsDataPerIntervalDataModule["StaticOverseasValue"].isNull()) + bpsDataPerIntervalObject.staticOverseasValue = valueBpsDataPerIntervalDataModule["StaticOverseasValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DynamicOverseasValue"].isNull()) + bpsDataPerIntervalObject.dynamicOverseasValue = valueBpsDataPerIntervalDataModule["DynamicOverseasValue"].asString(); bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); - if(!value["LocationNameEn"].isNull()) - locationNameEn_ = value["LocationNameEn"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); if(!value["IspNameEn"].isNull()) ispNameEn_ = value["IspNameEn"].asString(); + if(!value["LocationNameEn"].isNull()) + locationNameEn_ = value["LocationNameEn"].asString(); + if(!value["LocationName"].isNull()) + locationName_ = value["LocationName"].asString(); + if(!value["IspName"].isNull()) + ispName_ = value["IspName"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); @@ -79,6 +95,11 @@ std::string DescribeDomainBpsDataResult::getIspNameEn()const return ispNameEn_; } +std::string DescribeDomainBpsDataResult::getIspName()const +{ + return ispName_; +} + std::string DescribeDomainBpsDataResult::getEndTime()const { return endTime_; @@ -109,3 +130,8 @@ std::vector DescribeDomainBpsDataResult return bpsDataPerInterval_; } +std::string DescribeDomainBpsDataResult::getLocationName()const +{ + return locationName_; +} + diff --git a/cdn/src/model/DescribeDomainCcActivityLogRequest.cc b/cdn/src/model/DescribeDomainCcActivityLogRequest.cc deleted file mode 100644 index a84b8cd48..000000000 --- a/cdn/src/model/DescribeDomainCcActivityLogRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("RuleName", ruleName); -} - -std::string DescribeDomainCcActivityLogRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainCcActivityLogRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainCcActivityLogRequest::getTriggerObject()const -{ - return triggerObject_; -} - -void DescribeDomainCcActivityLogRequest::setTriggerObject(const std::string& triggerObject) -{ - triggerObject_ = triggerObject; - setParameter("TriggerObject", triggerObject); -} - -long DescribeDomainCcActivityLogRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeDomainCcActivityLogRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -long DescribeDomainCcActivityLogRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeDomainCcActivityLogRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeDomainCcActivityLogRequest::getValue()const -{ - return value_; -} - -void DescribeDomainCcActivityLogRequest::setValue(const std::string& value) -{ - value_ = value; - setParameter("Value", value); -} - -std::string DescribeDomainCcActivityLogRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainCcActivityLogRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainCcActivityLogRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainCcActivityLogRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainCcActivityLogRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainCcActivityLogRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainCcActivityLogResult.cc b/cdn/src/model/DescribeDomainCcActivityLogResult.cc deleted file mode 100644 index 6a96642d4..000000000 --- a/cdn/src/model/DescribeDomainCcActivityLogResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - activityLogObject.timeStamp = valueActivityLogLogInfo["TimeStamp"].asString(); - if(!valueActivityLogLogInfo["Value"].isNull()) - activityLogObject.value = valueActivityLogLogInfo["Value"].asString(); - if(!valueActivityLogLogInfo["TriggerObject"].isNull()) - activityLogObject.triggerObject = valueActivityLogLogInfo["TriggerObject"].asString(); - if(!valueActivityLogLogInfo["DomainName"].isNull()) - activityLogObject.domainName = valueActivityLogLogInfo["DomainName"].asString(); - if(!valueActivityLogLogInfo["Ttl"].isNull()) - activityLogObject.ttl = std::stol(valueActivityLogLogInfo["Ttl"].asString()); - if(!valueActivityLogLogInfo["Action"].isNull()) - activityLogObject.action = valueActivityLogLogInfo["Action"].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 deleted file mode 100644 index d171db759..000000000 --- a/cdn/src/model/DescribeDomainCertificateInfoRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainName", domainName); -} - -long DescribeDomainCertificateInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainCertificateInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainCertificateInfoResult.cc b/cdn/src/model/DescribeDomainCertificateInfoResult.cc deleted file mode 100644 index 7f8af103e..000000000 --- a/cdn/src/model/DescribeDomainCertificateInfoResult.cc +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); - if(!valueCertInfosCertInfo["CertName"].isNull()) - certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); - if(!valueCertInfosCertInfo["CertDomainName"].isNull()) - certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString(); - if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) - certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); - if(!valueCertInfosCertInfo["CertLife"].isNull()) - certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString(); - if(!valueCertInfosCertInfo["CertOrg"].isNull()) - certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString(); - if(!valueCertInfosCertInfo["CertType"].isNull()) - certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); - if(!valueCertInfosCertInfo["ServerCertificateStatus"].isNull()) - certInfosObject.serverCertificateStatus = valueCertInfosCertInfo["ServerCertificateStatus"].asString(); - if(!valueCertInfosCertInfo["Status"].isNull()) - certInfosObject.status = valueCertInfosCertInfo["Status"].asString(); - if(!valueCertInfosCertInfo["ServerCertificate"].isNull()) - certInfosObject.serverCertificate = valueCertInfosCertInfo["ServerCertificate"].asString(); - if(!valueCertInfosCertInfo["CertUpdateTime"].isNull()) - certInfosObject.certUpdateTime = valueCertInfosCertInfo["CertUpdateTime"].asString(); - if(!valueCertInfosCertInfo["CertStartTime"].isNull()) - certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); - if(!valueCertInfosCertInfo["DomainCnameStatus"].isNull()) - certInfosObject.domainCnameStatus = valueCertInfosCertInfo["DomainCnameStatus"].asString(); - certInfos_.push_back(certInfosObject); - } - -} - -std::vector DescribeDomainCertificateInfoResult::getCertInfos()const -{ - return certInfos_; -} - diff --git a/cdn/src/model/DescribeDomainConfigsRequest.cc b/cdn/src/model/DescribeDomainConfigsRequest.cc deleted file mode 100644 index a91c5758b..000000000 --- a/cdn/src/model/DescribeDomainConfigsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeDomainConfigsRequest; - -DescribeDomainConfigsRequest::DescribeDomainConfigsRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainConfigsRequest::~DescribeDomainConfigsRequest() -{} - -std::string DescribeDomainConfigsRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeDomainConfigsRequest::getConfigList()const -{ - return configList_; -} - -void DescribeDomainConfigsRequest::setConfigList(const std::string& configList) -{ - configList_ = configList; - setParameter("ConfigList", configList); -} - diff --git a/cdn/src/model/DescribeDomainConfigsResult.cc b/cdn/src/model/DescribeDomainConfigsResult.cc deleted file mode 100644 index a05079b72..000000000 --- a/cdn/src/model/DescribeDomainConfigsResult.cc +++ /dev/null @@ -1,322 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeDomainConfigsResult::DescribeDomainConfigsResult() : - ServiceResult() -{} - -DescribeDomainConfigsResult::DescribeDomainConfigsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDomainConfigsResult::~DescribeDomainConfigsResult() -{} - -void DescribeDomainConfigsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto domainConfigsNode = value["DomainConfigs"]; - auto allCacheExpiredConfigsNode = domainConfigsNode["CacheExpiredConfigs"]["CacheExpiredConfig"]; - for (auto domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig : allCacheExpiredConfigsNode) - { - DomainConfigs::CacheExpiredConfig cacheExpiredConfigObject; - if(!domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["ConfigId"].isNull()) - cacheExpiredConfigObject.configId = domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["ConfigId"].asString(); - if(!domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["CacheType"].isNull()) - cacheExpiredConfigObject.cacheType = domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["CacheType"].asString(); - if(!domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["CacheContent"].isNull()) - cacheExpiredConfigObject.cacheContent = domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["CacheContent"].asString(); - if(!domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["TTL"].isNull()) - cacheExpiredConfigObject.tTL = domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["TTL"].asString(); - if(!domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["Weight"].isNull()) - cacheExpiredConfigObject.weight = domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["Weight"].asString(); - if(!domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["Status"].isNull()) - cacheExpiredConfigObject.status = domainConfigsNodeCacheExpiredConfigsCacheExpiredConfig["Status"].asString(); - domainConfigs_.cacheExpiredConfigs.push_back(cacheExpiredConfigObject); - } - auto allHttpErrorPageConfigsNode = domainConfigsNode["HttpErrorPageConfigs"]["HttpErrorPageConfig"]; - for (auto domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig : allHttpErrorPageConfigsNode) - { - DomainConfigs::HttpErrorPageConfig httpErrorPageConfigObject; - if(!domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["ConfigId"].isNull()) - httpErrorPageConfigObject.configId = domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["ConfigId"].asString(); - if(!domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["ErrorCode"].isNull()) - httpErrorPageConfigObject.errorCode = domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["ErrorCode"].asString(); - if(!domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["PageUrl"].isNull()) - httpErrorPageConfigObject.pageUrl = domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["PageUrl"].asString(); - if(!domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["Status"].isNull()) - httpErrorPageConfigObject.status = domainConfigsNodeHttpErrorPageConfigsHttpErrorPageConfig["Status"].asString(); - domainConfigs_.httpErrorPageConfigs.push_back(httpErrorPageConfigObject); - } - auto allHttpHeaderConfigsNode = domainConfigsNode["HttpHeaderConfigs"]["HttpHeaderConfig"]; - for (auto domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig : allHttpHeaderConfigsNode) - { - DomainConfigs::HttpHeaderConfig httpHeaderConfigObject; - if(!domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["ConfigId"].isNull()) - httpHeaderConfigObject.configId = domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["ConfigId"].asString(); - if(!domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["HeaderKey"].isNull()) - httpHeaderConfigObject.headerKey = domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["HeaderKey"].asString(); - if(!domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["HeaderValue"].isNull()) - httpHeaderConfigObject.headerValue = domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["HeaderValue"].asString(); - if(!domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["Status"].isNull()) - httpHeaderConfigObject.status = domainConfigsNodeHttpHeaderConfigsHttpHeaderConfig["Status"].asString(); - domainConfigs_.httpHeaderConfigs.push_back(httpHeaderConfigObject); - } - auto allDynamicConfigsNode = domainConfigsNode["DynamicConfigs"]["DynamicConfig"]; - for (auto domainConfigsNodeDynamicConfigsDynamicConfig : allDynamicConfigsNode) - { - DomainConfigs::DynamicConfig dynamicConfigObject; - if(!domainConfigsNodeDynamicConfigsDynamicConfig["ConfigId"].isNull()) - dynamicConfigObject.configId = domainConfigsNodeDynamicConfigsDynamicConfig["ConfigId"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["Enable"].isNull()) - dynamicConfigObject.enable = domainConfigsNodeDynamicConfigsDynamicConfig["Enable"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["DynamicOrigin"].isNull()) - dynamicConfigObject.dynamicOrigin = domainConfigsNodeDynamicConfigsDynamicConfig["DynamicOrigin"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["StaticType"].isNull()) - dynamicConfigObject.staticType = domainConfigsNodeDynamicConfigsDynamicConfig["StaticType"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["StaticUri"].isNull()) - dynamicConfigObject.staticUri = domainConfigsNodeDynamicConfigsDynamicConfig["StaticUri"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["StaticPath"].isNull()) - dynamicConfigObject.staticPath = domainConfigsNodeDynamicConfigsDynamicConfig["StaticPath"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["DynamicCacheControl"].isNull()) - dynamicConfigObject.dynamicCacheControl = domainConfigsNodeDynamicConfigsDynamicConfig["DynamicCacheControl"].asString(); - if(!domainConfigsNodeDynamicConfigsDynamicConfig["Status"].isNull()) - dynamicConfigObject.status = domainConfigsNodeDynamicConfigsDynamicConfig["Status"].asString(); - domainConfigs_.dynamicConfigs.push_back(dynamicConfigObject); - } - auto allReqHeaderConfigsNode = domainConfigsNode["ReqHeaderConfigs"]["ReqHeaderConfig"]; - for (auto domainConfigsNodeReqHeaderConfigsReqHeaderConfig : allReqHeaderConfigsNode) - { - DomainConfigs::ReqHeaderConfig reqHeaderConfigObject; - if(!domainConfigsNodeReqHeaderConfigsReqHeaderConfig["ConfigId"].isNull()) - reqHeaderConfigObject.configId = domainConfigsNodeReqHeaderConfigsReqHeaderConfig["ConfigId"].asString(); - if(!domainConfigsNodeReqHeaderConfigsReqHeaderConfig["Key"].isNull()) - reqHeaderConfigObject.key = domainConfigsNodeReqHeaderConfigsReqHeaderConfig["Key"].asString(); - if(!domainConfigsNodeReqHeaderConfigsReqHeaderConfig["Value"].isNull()) - reqHeaderConfigObject.value = domainConfigsNodeReqHeaderConfigsReqHeaderConfig["Value"].asString(); - if(!domainConfigsNodeReqHeaderConfigsReqHeaderConfig["Status"].isNull()) - reqHeaderConfigObject.status = domainConfigsNodeReqHeaderConfigsReqHeaderConfig["Status"].asString(); - domainConfigs_.reqHeaderConfigs.push_back(reqHeaderConfigObject); - } - auto allSetVarsConfigsNode = domainConfigsNode["SetVarsConfigs"]["SetVarsConfig"]; - for (auto domainConfigsNodeSetVarsConfigsSetVarsConfig : allSetVarsConfigsNode) - { - DomainConfigs::SetVarsConfig setVarsConfigObject; - if(!domainConfigsNodeSetVarsConfigsSetVarsConfig["ConfigId"].isNull()) - setVarsConfigObject.configId = domainConfigsNodeSetVarsConfigsSetVarsConfig["ConfigId"].asString(); - if(!domainConfigsNodeSetVarsConfigsSetVarsConfig["VarName"].isNull()) - setVarsConfigObject.varName = domainConfigsNodeSetVarsConfigsSetVarsConfig["VarName"].asString(); - if(!domainConfigsNodeSetVarsConfigsSetVarsConfig["VarValue"].isNull()) - setVarsConfigObject.varValue = domainConfigsNodeSetVarsConfigsSetVarsConfig["VarValue"].asString(); - if(!domainConfigsNodeSetVarsConfigsSetVarsConfig["Status"].isNull()) - setVarsConfigObject.status = domainConfigsNodeSetVarsConfigsSetVarsConfig["Status"].asString(); - domainConfigs_.setVarsConfigs.push_back(setVarsConfigObject); - } - auto ccConfigNode = domainConfigsNode["CcConfig"]; - if(!ccConfigNode["ConfigId"].isNull()) - domainConfigs_.ccConfig.configId = ccConfigNode["ConfigId"].asString(); - if(!ccConfigNode["Enable"].isNull()) - domainConfigs_.ccConfig.enable = ccConfigNode["Enable"].asString(); - if(!ccConfigNode["AllowIps"].isNull()) - domainConfigs_.ccConfig.allowIps = ccConfigNode["AllowIps"].asString(); - if(!ccConfigNode["BlockIps"].isNull()) - domainConfigs_.ccConfig.blockIps = ccConfigNode["BlockIps"].asString(); - if(!ccConfigNode["Status"].isNull()) - domainConfigs_.ccConfig.status = ccConfigNode["Status"].asString(); - auto errorPageConfigNode = domainConfigsNode["ErrorPageConfig"]; - if(!errorPageConfigNode["ConfigId"].isNull()) - domainConfigs_.errorPageConfig.configId = errorPageConfigNode["ConfigId"].asString(); - if(!errorPageConfigNode["ErrorCode"].isNull()) - domainConfigs_.errorPageConfig.errorCode = errorPageConfigNode["ErrorCode"].asString(); - if(!errorPageConfigNode["PageType"].isNull()) - domainConfigs_.errorPageConfig.pageType = errorPageConfigNode["PageType"].asString(); - if(!errorPageConfigNode["CustomPageUrl"].isNull()) - domainConfigs_.errorPageConfig.customPageUrl = errorPageConfigNode["CustomPageUrl"].asString(); - if(!errorPageConfigNode["Status"].isNull()) - domainConfigs_.errorPageConfig.status = errorPageConfigNode["Status"].asString(); - auto optimizeConfigNode = domainConfigsNode["OptimizeConfig"]; - if(!optimizeConfigNode["ConfigId"].isNull()) - domainConfigs_.optimizeConfig.configId = optimizeConfigNode["ConfigId"].asString(); - if(!optimizeConfigNode["Enable"].isNull()) - domainConfigs_.optimizeConfig.enable = optimizeConfigNode["Enable"].asString(); - if(!optimizeConfigNode["Status"].isNull()) - domainConfigs_.optimizeConfig.status = optimizeConfigNode["Status"].asString(); - auto pageCompressConfigNode = domainConfigsNode["PageCompressConfig"]; - if(!pageCompressConfigNode["ConfigId"].isNull()) - domainConfigs_.pageCompressConfig.configId = pageCompressConfigNode["ConfigId"].asString(); - if(!pageCompressConfigNode["Enable"].isNull()) - domainConfigs_.pageCompressConfig.enable = pageCompressConfigNode["Enable"].asString(); - if(!pageCompressConfigNode["Status"].isNull()) - domainConfigs_.pageCompressConfig.status = pageCompressConfigNode["Status"].asString(); - auto ignoreQueryStringConfigNode = domainConfigsNode["IgnoreQueryStringConfig"]; - if(!ignoreQueryStringConfigNode["ConfigId"].isNull()) - domainConfigs_.ignoreQueryStringConfig.configId = ignoreQueryStringConfigNode["ConfigId"].asString(); - if(!ignoreQueryStringConfigNode["HashKeyArgs"].isNull()) - domainConfigs_.ignoreQueryStringConfig.hashKeyArgs = ignoreQueryStringConfigNode["HashKeyArgs"].asString(); - if(!ignoreQueryStringConfigNode["Enable"].isNull()) - domainConfigs_.ignoreQueryStringConfig.enable = ignoreQueryStringConfigNode["Enable"].asString(); - if(!ignoreQueryStringConfigNode["Status"].isNull()) - domainConfigs_.ignoreQueryStringConfig.status = ignoreQueryStringConfigNode["Status"].asString(); - auto rangeConfigNode = domainConfigsNode["RangeConfig"]; - if(!rangeConfigNode["ConfigId"].isNull()) - domainConfigs_.rangeConfig.configId = rangeConfigNode["ConfigId"].asString(); - if(!rangeConfigNode["Enable"].isNull()) - domainConfigs_.rangeConfig.enable = rangeConfigNode["Enable"].asString(); - if(!rangeConfigNode["Status"].isNull()) - domainConfigs_.rangeConfig.status = rangeConfigNode["Status"].asString(); - auto refererConfigNode = domainConfigsNode["RefererConfig"]; - if(!refererConfigNode["ConfigId"].isNull()) - domainConfigs_.refererConfig.configId = refererConfigNode["ConfigId"].asString(); - if(!refererConfigNode["ReferType"].isNull()) - domainConfigs_.refererConfig.referType = refererConfigNode["ReferType"].asString(); - if(!refererConfigNode["ReferList"].isNull()) - domainConfigs_.refererConfig.referList = refererConfigNode["ReferList"].asString(); - if(!refererConfigNode["AllowEmpty"].isNull()) - domainConfigs_.refererConfig.allowEmpty = refererConfigNode["AllowEmpty"].asString(); - if(!refererConfigNode["DisableAst"].isNull()) - domainConfigs_.refererConfig.disableAst = refererConfigNode["DisableAst"].asString(); - if(!refererConfigNode["Status"].isNull()) - domainConfigs_.refererConfig.status = refererConfigNode["Status"].asString(); - auto reqAuthConfigNode = domainConfigsNode["ReqAuthConfig"]; - if(!reqAuthConfigNode["ConfigId"].isNull()) - domainConfigs_.reqAuthConfig.configId = reqAuthConfigNode["ConfigId"].asString(); - if(!reqAuthConfigNode["AuthType"].isNull()) - domainConfigs_.reqAuthConfig.authType = reqAuthConfigNode["AuthType"].asString(); - if(!reqAuthConfigNode["Key1"].isNull()) - domainConfigs_.reqAuthConfig.key1 = reqAuthConfigNode["Key1"].asString(); - if(!reqAuthConfigNode["Key2"].isNull()) - domainConfigs_.reqAuthConfig.key2 = reqAuthConfigNode["Key2"].asString(); - if(!reqAuthConfigNode["Status"].isNull()) - domainConfigs_.reqAuthConfig.status = reqAuthConfigNode["Status"].asString(); - if(!reqAuthConfigNode["AliAuthWhiteList"].isNull()) - domainConfigs_.reqAuthConfig.aliAuthWhiteList = reqAuthConfigNode["AliAuthWhiteList"].asString(); - if(!reqAuthConfigNode["AuthM3u8"].isNull()) - domainConfigs_.reqAuthConfig.authM3u8 = reqAuthConfigNode["AuthM3u8"].asString(); - if(!reqAuthConfigNode["AuthAddr"].isNull()) - domainConfigs_.reqAuthConfig.authAddr = reqAuthConfigNode["AuthAddr"].asString(); - if(!reqAuthConfigNode["AuthRemoteDesc"].isNull()) - domainConfigs_.reqAuthConfig.authRemoteDesc = reqAuthConfigNode["AuthRemoteDesc"].asString(); - if(!reqAuthConfigNode["TimeOut"].isNull()) - domainConfigs_.reqAuthConfig.timeOut = reqAuthConfigNode["TimeOut"].asString(); - auto srcHostConfigNode = domainConfigsNode["SrcHostConfig"]; - if(!srcHostConfigNode["ConfigId"].isNull()) - domainConfigs_.srcHostConfig.configId = srcHostConfigNode["ConfigId"].asString(); - if(!srcHostConfigNode["DomainName"].isNull()) - domainConfigs_.srcHostConfig.domainName = srcHostConfigNode["DomainName"].asString(); - if(!srcHostConfigNode["Status"].isNull()) - domainConfigs_.srcHostConfig.status = srcHostConfigNode["Status"].asString(); - auto videoSeekConfigNode = domainConfigsNode["VideoSeekConfig"]; - if(!videoSeekConfigNode["ConfigId"].isNull()) - domainConfigs_.videoSeekConfig.configId = videoSeekConfigNode["ConfigId"].asString(); - if(!videoSeekConfigNode["Enable"].isNull()) - domainConfigs_.videoSeekConfig.enable = videoSeekConfigNode["Enable"].asString(); - if(!videoSeekConfigNode["Status"].isNull()) - domainConfigs_.videoSeekConfig.status = videoSeekConfigNode["Status"].asString(); - auto wafConfigNode = domainConfigsNode["WafConfig"]; - if(!wafConfigNode["ConfigId"].isNull()) - domainConfigs_.wafConfig.configId = wafConfigNode["ConfigId"].asString(); - if(!wafConfigNode["Enable"].isNull()) - domainConfigs_.wafConfig.enable = wafConfigNode["Enable"].asString(); - if(!wafConfigNode["Status"].isNull()) - domainConfigs_.wafConfig.status = wafConfigNode["Status"].asString(); - auto notifyUrlConfigNode = domainConfigsNode["NotifyUrlConfig"]; - if(!notifyUrlConfigNode["Enable"].isNull()) - domainConfigs_.notifyUrlConfig.enable = notifyUrlConfigNode["Enable"].asString(); - if(!notifyUrlConfigNode["NotifyUrl"].isNull()) - domainConfigs_.notifyUrlConfig.notifyUrl = notifyUrlConfigNode["NotifyUrl"].asString(); - auto redirectTypeConfigNode = domainConfigsNode["RedirectTypeConfig"]; - if(!redirectTypeConfigNode["RedirectType"].isNull()) - domainConfigs_.redirectTypeConfig.redirectType = redirectTypeConfigNode["RedirectType"].asString(); - auto forwardSchemeConfigNode = domainConfigsNode["ForwardSchemeConfig"]; - if(!forwardSchemeConfigNode["ConfigId"].isNull()) - domainConfigs_.forwardSchemeConfig.configId = forwardSchemeConfigNode["ConfigId"].asString(); - if(!forwardSchemeConfigNode["Enable"].isNull()) - domainConfigs_.forwardSchemeConfig.enable = forwardSchemeConfigNode["Enable"].asString(); - if(!forwardSchemeConfigNode["SchemeOrigin"].isNull()) - domainConfigs_.forwardSchemeConfig.schemeOrigin = forwardSchemeConfigNode["SchemeOrigin"].asString(); - if(!forwardSchemeConfigNode["SchemeOriginPort"].isNull()) - domainConfigs_.forwardSchemeConfig.schemeOriginPort = forwardSchemeConfigNode["SchemeOriginPort"].asString(); - if(!forwardSchemeConfigNode["Status"].isNull()) - domainConfigs_.forwardSchemeConfig.status = forwardSchemeConfigNode["Status"].asString(); - auto removeQueryStringConfigNode = domainConfigsNode["RemoveQueryStringConfig"]; - if(!removeQueryStringConfigNode["AliRemoveArgs"].isNull()) - domainConfigs_.removeQueryStringConfig.aliRemoveArgs = removeQueryStringConfigNode["AliRemoveArgs"].asString(); - if(!removeQueryStringConfigNode["ConfigId"].isNull()) - domainConfigs_.removeQueryStringConfig.configId = removeQueryStringConfigNode["ConfigId"].asString(); - if(!removeQueryStringConfigNode["Status"].isNull()) - domainConfigs_.removeQueryStringConfig.status = removeQueryStringConfigNode["Status"].asString(); - auto l2OssKeyConfigNode = domainConfigsNode["L2OssKeyConfig"]; - if(!l2OssKeyConfigNode["PrivateOssAuth"].isNull()) - domainConfigs_.l2OssKeyConfig.privateOssAuth = l2OssKeyConfigNode["PrivateOssAuth"].asString(); - if(!l2OssKeyConfigNode["ConfigId"].isNull()) - domainConfigs_.l2OssKeyConfig.configId = l2OssKeyConfigNode["ConfigId"].asString(); - if(!l2OssKeyConfigNode["Status"].isNull()) - domainConfigs_.l2OssKeyConfig.status = l2OssKeyConfigNode["Status"].asString(); - auto macServiceConfigNode = domainConfigsNode["MacServiceConfig"]; - if(!macServiceConfigNode["AppList"].isNull()) - domainConfigs_.macServiceConfig.appList = macServiceConfigNode["AppList"].asString(); - if(!macServiceConfigNode["Enabled"].isNull()) - domainConfigs_.macServiceConfig.enabled = macServiceConfigNode["Enabled"].asString(); - if(!macServiceConfigNode["ProcessResult"].isNull()) - domainConfigs_.macServiceConfig.processResult = macServiceConfigNode["ProcessResult"].asString(); - if(!macServiceConfigNode["ConfigId"].isNull()) - domainConfigs_.macServiceConfig.configId = macServiceConfigNode["ConfigId"].asString(); - if(!macServiceConfigNode["Status"].isNull()) - domainConfigs_.macServiceConfig.status = macServiceConfigNode["Status"].asString(); - auto httpsOptionConfigNode = domainConfigsNode["HttpsOptionConfig"]; - if(!httpsOptionConfigNode["Http2"].isNull()) - domainConfigs_.httpsOptionConfig.http2 = httpsOptionConfigNode["Http2"].asString(); - if(!httpsOptionConfigNode["ConfigId"].isNull()) - domainConfigs_.httpsOptionConfig.configId = httpsOptionConfigNode["ConfigId"].asString(); - if(!httpsOptionConfigNode["Status"].isNull()) - domainConfigs_.httpsOptionConfig.status = httpsOptionConfigNode["Status"].asString(); - auto aliBusinessConfigNode = domainConfigsNode["AliBusinessConfig"]; - if(!aliBusinessConfigNode["AliBusinessTable"].isNull()) - domainConfigs_.aliBusinessConfig.aliBusinessTable = aliBusinessConfigNode["AliBusinessTable"].asString(); - if(!aliBusinessConfigNode["AliBusinessType"].isNull()) - domainConfigs_.aliBusinessConfig.aliBusinessType = aliBusinessConfigNode["AliBusinessType"].asString(); - if(!aliBusinessConfigNode["ConfigId"].isNull()) - domainConfigs_.aliBusinessConfig.configId = aliBusinessConfigNode["ConfigId"].asString(); - if(!aliBusinessConfigNode["Status"].isNull()) - domainConfigs_.aliBusinessConfig.status = aliBusinessConfigNode["Status"].asString(); - auto ipAllowListConfigNode = domainConfigsNode["IpAllowListConfig"]; - if(!ipAllowListConfigNode["ConfigId"].isNull()) - domainConfigs_.ipAllowListConfig.configId = ipAllowListConfigNode["ConfigId"].asString(); - if(!ipAllowListConfigNode["IpList"].isNull()) - domainConfigs_.ipAllowListConfig.ipList = ipAllowListConfigNode["IpList"].asString(); - if(!ipAllowListConfigNode["IpAclXfwd"].isNull()) - domainConfigs_.ipAllowListConfig.ipAclXfwd = ipAllowListConfigNode["IpAclXfwd"].asString(); - if(!ipAllowListConfigNode["Status"].isNull()) - domainConfigs_.ipAllowListConfig.status = ipAllowListConfigNode["Status"].asString(); - -} - -DescribeDomainConfigsResult::DomainConfigs DescribeDomainConfigsResult::getDomainConfigs()const -{ - return domainConfigs_; -} - diff --git a/cdn/src/model/DescribeDomainCustomLogConfigRequest.cc b/cdn/src/model/DescribeDomainCustomLogConfigRequest.cc deleted file mode 100644 index 1182bd293..000000000 --- a/cdn/src/model/DescribeDomainCustomLogConfigRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainName", domainName); -} - -long DescribeDomainCustomLogConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainCustomLogConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainCustomLogConfigResult.cc b/cdn/src/model/DescribeDomainCustomLogConfigResult.cc deleted file mode 100644 index be9840ee6..000000000 --- a/cdn/src/model/DescribeDomainCustomLogConfigResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["Remark"].isNull()) - remark_ = value["Remark"].asString(); - if(!value["Sample"].isNull()) - sample_ = value["Sample"].asString(); - if(!value["Tag"].isNull()) - tag_ = value["Tag"].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 deleted file mode 100644 index e01397ca4..000000000 --- a/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainDetailDataByLayerRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainDetailDataByLayerRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainDetailDataByLayerRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainDetailDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainDetailDataByLayerRequest::getLayer()const -{ - return layer_; -} - -void DescribeDomainDetailDataByLayerRequest::setLayer(const std::string& layer) -{ - layer_ = layer; - setParameter("Layer", layer); -} - -std::string DescribeDomainDetailDataByLayerRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainDetailDataByLayerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainDetailDataByLayerRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainDetailDataByLayerRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainDetailDataByLayerRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainDetailDataByLayerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainDetailDataByLayerRequest::getField()const -{ - return field_; -} - -void DescribeDomainDetailDataByLayerRequest::setField(const std::string& field) -{ - field_ = field; - setParameter("Field", field); -} - diff --git a/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc b/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc deleted file mode 100644 index 9814b9e3d..000000000 --- a/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - dataObject.timeStamp = valueDataDataModule["TimeStamp"].asString(); - if(!valueDataDataModule["DomainName"].isNull()) - dataObject.domainName = valueDataDataModule["DomainName"].asString(); - if(!valueDataDataModule["Bps"].isNull()) - dataObject.bps = std::stof(valueDataDataModule["Bps"].asString()); - if(!valueDataDataModule["Qps"].isNull()) - dataObject.qps = std::stof(valueDataDataModule["Qps"].asString()); - if(!valueDataDataModule["Traf"].isNull()) - dataObject.traf = std::stol(valueDataDataModule["Traf"].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["Ipv6Bps"].isNull()) - dataObject.ipv6Bps = std::stof(valueDataDataModule["Ipv6Bps"].asString()); - if(!valueDataDataModule["Ipv6Acc"].isNull()) - dataObject.ipv6Acc = std::stol(valueDataDataModule["Ipv6Acc"].asString()); - if(!valueDataDataModule["Ipv6Qps"].isNull()) - dataObject.ipv6Qps = std::stof(valueDataDataModule["Ipv6Qps"].asString()); - if(!valueDataDataModule["HttpCode"].isNull()) - dataObject.httpCode = valueDataDataModule["HttpCode"].asString(); - data_.push_back(dataObject); - } - -} - -std::vector DescribeDomainDetailDataByLayerResult::getData()const -{ - return data_; -} - diff --git a/cdn/src/model/DescribeDomainFileSizeProportionDataRequest.cc b/cdn/src/model/DescribeDomainFileSizeProportionDataRequest.cc index 938be331d..0349914bc 100644 --- a/cdn/src/model/DescribeDomainFileSizeProportionDataRequest.cc +++ b/cdn/src/model/DescribeDomainFileSizeProportionDataRequest.cc @@ -1,84 +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::DescribeDomainFileSizeProportionDataRequest; - -DescribeDomainFileSizeProportionDataRequest::DescribeDomainFileSizeProportionDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainFileSizeProportionData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainFileSizeProportionDataRequest::~DescribeDomainFileSizeProportionDataRequest() -{} - -std::string DescribeDomainFileSizeProportionDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainFileSizeProportionDataRequest; + +DescribeDomainFileSizeProportionDataRequest::DescribeDomainFileSizeProportionDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainFileSizeProportionData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainFileSizeProportionDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainFileSizeProportionDataRequest::~DescribeDomainFileSizeProportionDataRequest() {} + +std::string DescribeDomainFileSizeProportionDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainFileSizeProportionDataRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDomainFileSizeProportionDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainFileSizeProportionDataRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDomainFileSizeProportionDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDomainFileSizeProportionDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainFileSizeProportionDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainFileSizeProportionDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainFileSizeProportionDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainFileSizeProportionDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainFileSizeProportionDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainFileSizeProportionDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +long DescribeDomainFileSizeProportionDataRequest::getOwnerId() const { + return ownerId_; } -long DescribeDomainFileSizeProportionDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainFileSizeProportionDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainFileSizeProportionDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDomainFileSizeProportionDataRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDomainFileSizeProportionDataRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/cdn/src/model/DescribeDomainFileSizeProportionDataResult.cc b/cdn/src/model/DescribeDomainFileSizeProportionDataResult.cc index f14bd6f2c..b02b79435 100644 --- a/cdn/src/model/DescribeDomainFileSizeProportionDataResult.cc +++ b/cdn/src/model/DescribeDomainFileSizeProportionDataResult.cc @@ -49,22 +49,22 @@ void DescribeDomainFileSizeProportionDataResult::parse(const std::string &payloa for (auto valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData : allValueNode) { UsageData::FileSizeProportionData valueObject; - if(!valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData["FileSize"].isNull()) - valueObject.fileSize = valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData["FileSize"].asString(); if(!valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData["Proportion"].isNull()) valueObject.proportion = valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData["Proportion"].asString(); + if(!valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData["FileSize"].isNull()) + valueObject.fileSize = valueFileSizeProportionDataIntervalUsageDataValueFileSizeProportionData["FileSize"].asString(); fileSizeProportionDataIntervalObject.value.push_back(valueObject); } fileSizeProportionDataInterval_.push_back(fileSizeProportionDataIntervalObject); } + 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(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); } @@ -83,13 +83,13 @@ std::string DescribeDomainFileSizeProportionDataResult::getDomainName()const return domainName_; } -std::string DescribeDomainFileSizeProportionDataResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDomainFileSizeProportionDataResult::getStartTime()const { return startTime_; } +std::string DescribeDomainFileSizeProportionDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainFlowDataRequest.cc b/cdn/src/model/DescribeDomainFlowDataRequest.cc index 91a75190d..7168967af 100644 --- a/cdn/src/model/DescribeDomainFlowDataRequest.cc +++ b/cdn/src/model/DescribeDomainFlowDataRequest.cc @@ -1,128 +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::DescribeDomainFlowDataRequest; - -DescribeDomainFlowDataRequest::DescribeDomainFlowDataRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainFlowData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainFlowDataRequest::~DescribeDomainFlowDataRequest() -{} - -std::string DescribeDomainFlowDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainFlowDataRequest; + +DescribeDomainFlowDataRequest::DescribeDomainFlowDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainFlowData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainFlowDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDomainFlowDataRequest::~DescribeDomainFlowDataRequest() {} + +std::string DescribeDomainFlowDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDomainFlowDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDomainFlowDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDomainFlowDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDomainFlowDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainFlowDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDomainFlowDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainFlowDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDomainFlowDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDomainFlowDataRequest::getDomainType()const -{ - return domainType_; +void DescribeDomainFlowDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeDomainFlowDataRequest::setDomainType(const std::string& domainType) -{ - domainType_ = domainType; - setParameter("DomainType", domainType); +std::string DescribeDomainFlowDataRequest::getDomainType() const { + return domainType_; } -std::string DescribeDomainFlowDataRequest::getTimeMerge()const -{ - return timeMerge_; +void DescribeDomainFlowDataRequest::setDomainType(const std::string &domainType) { + domainType_ = domainType; + setParameter(std::string("DomainType"), domainType); } -void DescribeDomainFlowDataRequest::setTimeMerge(const std::string& timeMerge) -{ - timeMerge_ = timeMerge; - setParameter("TimeMerge", timeMerge); +std::string DescribeDomainFlowDataRequest::getTimeMerge() const { + return timeMerge_; } -std::string DescribeDomainFlowDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainFlowDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDomainFlowDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainFlowDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainFlowDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainFlowDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainFlowDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainFlowDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainFlowDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainFlowDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainFlowDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainFlowDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainFlowDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainFlowDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainFlowDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainFlowDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainFlowDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainFlowDataResult.cc b/cdn/src/model/DescribeDomainFlowDataResult.cc index ac2cc11cc..9d977cf1b 100644 --- a/cdn/src/model/DescribeDomainFlowDataResult.cc +++ b/cdn/src/model/DescribeDomainFlowDataResult.cc @@ -43,34 +43,34 @@ void DescribeDomainFlowDataResult::parse(const std::string &payload) for (auto valueFlowDataPerIntervalDataModule : allFlowDataPerIntervalNode) { DataModule flowDataPerIntervalObject; - if(!valueFlowDataPerIntervalDataModule["TimeStamp"].isNull()) - flowDataPerIntervalObject.timeStamp = valueFlowDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueFlowDataPerIntervalDataModule["Value"].isNull()) flowDataPerIntervalObject.value = valueFlowDataPerIntervalDataModule["Value"].asString(); - if(!valueFlowDataPerIntervalDataModule["DomesticValue"].isNull()) - flowDataPerIntervalObject.domesticValue = valueFlowDataPerIntervalDataModule["DomesticValue"].asString(); - if(!valueFlowDataPerIntervalDataModule["OverseasValue"].isNull()) - flowDataPerIntervalObject.overseasValue = valueFlowDataPerIntervalDataModule["OverseasValue"].asString(); - if(!valueFlowDataPerIntervalDataModule["DynamicValue"].isNull()) - flowDataPerIntervalObject.dynamicValue = valueFlowDataPerIntervalDataModule["DynamicValue"].asString(); - if(!valueFlowDataPerIntervalDataModule["DynamicDomesticValue"].isNull()) - flowDataPerIntervalObject.dynamicDomesticValue = valueFlowDataPerIntervalDataModule["DynamicDomesticValue"].asString(); - if(!valueFlowDataPerIntervalDataModule["DynamicOverseasValue"].isNull()) - flowDataPerIntervalObject.dynamicOverseasValue = valueFlowDataPerIntervalDataModule["DynamicOverseasValue"].asString(); - if(!valueFlowDataPerIntervalDataModule["StaticValue"].isNull()) - flowDataPerIntervalObject.staticValue = valueFlowDataPerIntervalDataModule["StaticValue"].asString(); if(!valueFlowDataPerIntervalDataModule["StaticDomesticValue"].isNull()) flowDataPerIntervalObject.staticDomesticValue = valueFlowDataPerIntervalDataModule["StaticDomesticValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["DynamicValue"].isNull()) + flowDataPerIntervalObject.dynamicValue = valueFlowDataPerIntervalDataModule["DynamicValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["OverseasValue"].isNull()) + flowDataPerIntervalObject.overseasValue = valueFlowDataPerIntervalDataModule["OverseasValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["StaticValue"].isNull()) + flowDataPerIntervalObject.staticValue = valueFlowDataPerIntervalDataModule["StaticValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["TimeStamp"].isNull()) + flowDataPerIntervalObject.timeStamp = valueFlowDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueFlowDataPerIntervalDataModule["StaticOverseasValue"].isNull()) flowDataPerIntervalObject.staticOverseasValue = valueFlowDataPerIntervalDataModule["StaticOverseasValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["DynamicDomesticValue"].isNull()) + flowDataPerIntervalObject.dynamicDomesticValue = valueFlowDataPerIntervalDataModule["DynamicDomesticValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["DomesticValue"].isNull()) + flowDataPerIntervalObject.domesticValue = valueFlowDataPerIntervalDataModule["DomesticValue"].asString(); + if(!valueFlowDataPerIntervalDataModule["DynamicOverseasValue"].isNull()) + flowDataPerIntervalObject.dynamicOverseasValue = valueFlowDataPerIntervalDataModule["DynamicOverseasValue"].asString(); flowDataPerInterval_.push_back(flowDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainHitRateDataRequest.cc b/cdn/src/model/DescribeDomainHitRateDataRequest.cc index ddad20955..71dd80031 100644 --- a/cdn/src/model/DescribeDomainHitRateDataRequest.cc +++ b/cdn/src/model/DescribeDomainHitRateDataRequest.cc @@ -1,84 +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::DescribeDomainHitRateDataRequest; - -DescribeDomainHitRateDataRequest::DescribeDomainHitRateDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainHitRateData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainHitRateDataRequest::~DescribeDomainHitRateDataRequest() -{} - -std::string DescribeDomainHitRateDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainHitRateDataRequest; + +DescribeDomainHitRateDataRequest::DescribeDomainHitRateDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainHitRateData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainHitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainHitRateDataRequest::~DescribeDomainHitRateDataRequest() {} + +std::string DescribeDomainHitRateDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainHitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainHitRateDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainHitRateDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainHitRateDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainHitRateDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainHitRateDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainHitRateDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainHitRateDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainHitRateDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainHitRateDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainHitRateDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainHitRateDataResult.cc b/cdn/src/model/DescribeDomainHitRateDataResult.cc index bc90b8e93..e59e3c5a7 100644 --- a/cdn/src/model/DescribeDomainHitRateDataResult.cc +++ b/cdn/src/model/DescribeDomainHitRateDataResult.cc @@ -43,20 +43,18 @@ void DescribeDomainHitRateDataResult::parse(const std::string &payload) for (auto valueHitRateIntervalDataModule : allHitRateIntervalNode) { DataModule hitRateIntervalObject; - if(!valueHitRateIntervalDataModule["TimeStamp"].isNull()) - hitRateIntervalObject.timeStamp = valueHitRateIntervalDataModule["TimeStamp"].asString(); if(!valueHitRateIntervalDataModule["Value"].isNull()) hitRateIntervalObject.value = valueHitRateIntervalDataModule["Value"].asString(); - if(!valueHitRateIntervalDataModule["HttpsValue"].isNull()) - hitRateIntervalObject.httpsValue = valueHitRateIntervalDataModule["HttpsValue"].asString(); + if(!valueHitRateIntervalDataModule["TimeStamp"].isNull()) + hitRateIntervalObject.timeStamp = valueHitRateIntervalDataModule["TimeStamp"].asString(); hitRateInterval_.push_back(hitRateIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc b/cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc deleted file mode 100644 index 6f71aea57..000000000 --- a/cdn/src/model/DescribeDomainHttpCodeDataByLayerRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainHttpCodeDataByLayerRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainHttpCodeDataByLayerRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainHttpCodeDataByLayerRequest::getLayer()const -{ - return layer_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setLayer(const std::string& layer) -{ - layer_ = layer; - setParameter("Layer", layer); -} - -std::string DescribeDomainHttpCodeDataByLayerRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainHttpCodeDataByLayerRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainHttpCodeDataByLayerRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainHttpCodeDataByLayerRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainHttpCodeDataByLayerRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc b/cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc deleted file mode 100644 index 39a3b4109..000000000 --- a/cdn/src/model/DescribeDomainHttpCodeDataByLayerResult.cc +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - httpCodeDataIntervalObject.timeStamp = valueHttpCodeDataIntervalDataModule["TimeStamp"].asString(); - if(!valueHttpCodeDataIntervalDataModule["Value"].isNull()) - httpCodeDataIntervalObject.value = valueHttpCodeDataIntervalDataModule["Value"].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/DescribeDomainHttpCodeDataRequest.cc b/cdn/src/model/DescribeDomainHttpCodeDataRequest.cc index bbcda2384..8e57cb750 100644 --- a/cdn/src/model/DescribeDomainHttpCodeDataRequest.cc +++ b/cdn/src/model/DescribeDomainHttpCodeDataRequest.cc @@ -1,84 +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::DescribeDomainHttpCodeDataRequest; - -DescribeDomainHttpCodeDataRequest::DescribeDomainHttpCodeDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainHttpCodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainHttpCodeDataRequest::~DescribeDomainHttpCodeDataRequest() -{} - -std::string DescribeDomainHttpCodeDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainHttpCodeDataRequest; + +DescribeDomainHttpCodeDataRequest::DescribeDomainHttpCodeDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainHttpCodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainHttpCodeDataRequest::~DescribeDomainHttpCodeDataRequest() {} + +std::string DescribeDomainHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDomainHttpCodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDomainHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainHttpCodeDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainHttpCodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; } -long DescribeDomainHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeDomainHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDomainHttpCodeDataRequest::getTimeMerge() const { + return timeMerge_; } -std::string DescribeDomainHttpCodeDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainHttpCodeDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDomainHttpCodeDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainHttpCodeDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDomainHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDomainHttpCodeDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainHttpCodeDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainHttpCodeDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainHttpCodeDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainHttpCodeDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainHttpCodeDataResult.cc index 0a62fac81..55967feed 100644 --- a/cdn/src/model/DescribeDomainHttpCodeDataResult.cc +++ b/cdn/src/model/DescribeDomainHttpCodeDataResult.cc @@ -59,12 +59,12 @@ void DescribeDomainHttpCodeDataResult::parse(const std::string &payload) } httpCodeData_.push_back(httpCodeDataObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainISPDataRequest.cc b/cdn/src/model/DescribeDomainISPDataRequest.cc index 84da56e0c..a06327042 100644 --- a/cdn/src/model/DescribeDomainISPDataRequest.cc +++ b/cdn/src/model/DescribeDomainISPDataRequest.cc @@ -1,73 +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::DescribeDomainISPDataRequest; - -DescribeDomainISPDataRequest::DescribeDomainISPDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainISPData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainISPDataRequest::~DescribeDomainISPDataRequest() -{} - -std::string DescribeDomainISPDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainISPDataRequest; + +DescribeDomainISPDataRequest::DescribeDomainISPDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainISPData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainISPDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainISPDataRequest::~DescribeDomainISPDataRequest() {} + +std::string DescribeDomainISPDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainISPDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainISPDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainISPDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainISPDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainISPDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainISPDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainISPDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainISPDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainISPDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainISPDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainISPDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainISPDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainISPDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/DescribeDomainISPDataResult.cc b/cdn/src/model/DescribeDomainISPDataResult.cc index 7c95d1e97..c274a06a1 100644 --- a/cdn/src/model/DescribeDomainISPDataResult.cc +++ b/cdn/src/model/DescribeDomainISPDataResult.cc @@ -43,40 +43,44 @@ void DescribeDomainISPDataResult::parse(const std::string &payload) for (auto valueValueISPProportionData : allValueNode) { ISPProportionData valueObject; - if(!valueValueISPProportionData["ISP"].isNull()) - valueObject.iSP = valueValueISPProportionData["ISP"].asString(); - if(!valueValueISPProportionData["Proportion"].isNull()) - valueObject.proportion = valueValueISPProportionData["Proportion"].asString(); - if(!valueValueISPProportionData["IspEname"].isNull()) - valueObject.ispEname = valueValueISPProportionData["IspEname"].asString(); - if(!valueValueISPProportionData["AvgObjectSize"].isNull()) - valueObject.avgObjectSize = valueValueISPProportionData["AvgObjectSize"].asString(); + if(!valueValueISPProportionData["TotalQuery"].isNull()) + valueObject.totalQuery = valueValueISPProportionData["TotalQuery"].asString(); + if(!valueValueISPProportionData["ByteHitRate"].isNull()) + valueObject.byteHitRate = valueValueISPProportionData["ByteHitRate"].asString(); + if(!valueValueISPProportionData["TotalBytes"].isNull()) + valueObject.totalBytes = valueValueISPProportionData["TotalBytes"].asString(); + if(!valueValueISPProportionData["ReqHitRate"].isNull()) + valueObject.reqHitRate = valueValueISPProportionData["ReqHitRate"].asString(); + if(!valueValueISPProportionData["AvgResponseRate"].isNull()) + valueObject.avgResponseRate = valueValueISPProportionData["AvgResponseRate"].asString(); if(!valueValueISPProportionData["AvgResponseTime"].isNull()) valueObject.avgResponseTime = valueValueISPProportionData["AvgResponseTime"].asString(); + if(!valueValueISPProportionData["ReqErrRate"].isNull()) + valueObject.reqErrRate = valueValueISPProportionData["ReqErrRate"].asString(); + if(!valueValueISPProportionData["AvgObjectSize"].isNull()) + valueObject.avgObjectSize = valueValueISPProportionData["AvgObjectSize"].asString(); if(!valueValueISPProportionData["Bps"].isNull()) valueObject.bps = valueValueISPProportionData["Bps"].asString(); if(!valueValueISPProportionData["Qps"].isNull()) valueObject.qps = valueValueISPProportionData["Qps"].asString(); - if(!valueValueISPProportionData["AvgResponseRate"].isNull()) - valueObject.avgResponseRate = valueValueISPProportionData["AvgResponseRate"].asString(); - if(!valueValueISPProportionData["ReqErrRate"].isNull()) - valueObject.reqErrRate = valueValueISPProportionData["ReqErrRate"].asString(); - if(!valueValueISPProportionData["TotalBytes"].isNull()) - valueObject.totalBytes = valueValueISPProportionData["TotalBytes"].asString(); + if(!valueValueISPProportionData["Proportion"].isNull()) + valueObject.proportion = valueValueISPProportionData["Proportion"].asString(); + if(!valueValueISPProportionData["IspEname"].isNull()) + valueObject.ispEname = valueValueISPProportionData["IspEname"].asString(); + if(!valueValueISPProportionData["ISP"].isNull()) + valueObject.iSP = valueValueISPProportionData["ISP"].asString(); if(!valueValueISPProportionData["BytesProportion"].isNull()) valueObject.bytesProportion = valueValueISPProportionData["BytesProportion"].asString(); - if(!valueValueISPProportionData["TotalQuery"].isNull()) - valueObject.totalQuery = valueValueISPProportionData["TotalQuery"].asString(); value_.push_back(valueObject); } + 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(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); } @@ -95,13 +99,13 @@ std::vector DescribeDomainISPDat return value_; } -std::string DescribeDomainISPDataResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDomainISPDataResult::getStartTime()const { return startTime_; } +std::string DescribeDomainISPDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainMax95BpsDataRequest.cc b/cdn/src/model/DescribeDomainMax95BpsDataRequest.cc deleted file mode 100644 index 53139735a..000000000 --- a/cdn/src/model/DescribeDomainMax95BpsDataRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainMax95BpsDataRequest::getCycle()const -{ - return cycle_; -} - -void DescribeDomainMax95BpsDataRequest::setCycle(const std::string& cycle) -{ - cycle_ = cycle; - setParameter("Cycle", cycle); -} - -std::string DescribeDomainMax95BpsDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainMax95BpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainMax95BpsDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainMax95BpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainMax95BpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainMax95BpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainMax95BpsDataRequest::getTimePoint()const -{ - return timePoint_; -} - -void DescribeDomainMax95BpsDataRequest::setTimePoint(const std::string& timePoint) -{ - timePoint_ = timePoint; - setParameter("TimePoint", timePoint); -} - diff --git a/cdn/src/model/DescribeDomainMax95BpsDataResult.cc b/cdn/src/model/DescribeDomainMax95BpsDataResult.cc deleted file mode 100644 index 4d1b6f607..000000000 --- a/cdn/src/model/DescribeDomainMax95BpsDataResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["Max95Bps"].isNull()) - max95Bps_ = value["Max95Bps"].asString(); - if(!value["DomesticMax95Bps"].isNull()) - domesticMax95Bps_ = value["DomesticMax95Bps"].asString(); - if(!value["OverseasMax95Bps"].isNull()) - overseasMax95Bps_ = value["OverseasMax95Bps"].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 deleted file mode 100644 index 7f5b23ed7..000000000 --- a/cdn/src/model/DescribeDomainMultiUsageDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainMultiUsageDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainMultiUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainMultiUsageDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainMultiUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainMultiUsageDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainMultiUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainMultiUsageDataResult.cc b/cdn/src/model/DescribeDomainMultiUsageDataResult.cc deleted file mode 100644 index cc7c75897..000000000 --- a/cdn/src/model/DescribeDomainMultiUsageDataResult.cc +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - requestPerIntervalObject.timeStamp = valueRequestPerIntervalRequestDataModule["TimeStamp"].asString(); - if(!valueRequestPerIntervalRequestDataModule["Domain"].isNull()) - requestPerIntervalObject.domain = valueRequestPerIntervalRequestDataModule["Domain"].asString(); - if(!valueRequestPerIntervalRequestDataModule["Request"].isNull()) - requestPerIntervalObject.request = std::stol(valueRequestPerIntervalRequestDataModule["Request"].asString()); - if(!valueRequestPerIntervalRequestDataModule["Type"].isNull()) - requestPerIntervalObject.type = valueRequestPerIntervalRequestDataModule["Type"].asString(); - requestPerInterval_.push_back(requestPerIntervalObject); - } - auto allTrafficPerIntervalNode = value["TrafficPerInterval"]["TrafficDataModule"]; - for (auto valueTrafficPerIntervalTrafficDataModule : allTrafficPerIntervalNode) - { - TrafficDataModule trafficPerIntervalObject; - if(!valueTrafficPerIntervalTrafficDataModule["TimeStamp"].isNull()) - trafficPerIntervalObject.timeStamp = valueTrafficPerIntervalTrafficDataModule["TimeStamp"].asString(); - if(!valueTrafficPerIntervalTrafficDataModule["Domain"].isNull()) - trafficPerIntervalObject.domain = valueTrafficPerIntervalTrafficDataModule["Domain"].asString(); - if(!valueTrafficPerIntervalTrafficDataModule["Bps"].isNull()) - trafficPerIntervalObject.bps = std::stof(valueTrafficPerIntervalTrafficDataModule["Bps"].asString()); - if(!valueTrafficPerIntervalTrafficDataModule["Type"].isNull()) - trafficPerIntervalObject.type = valueTrafficPerIntervalTrafficDataModule["Type"].asString(); - if(!valueTrafficPerIntervalTrafficDataModule["Area"].isNull()) - trafficPerIntervalObject.area = valueTrafficPerIntervalTrafficDataModule["Area"].asString(); - trafficPerInterval_.push_back(trafficPerIntervalObject); - } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - -} - -std::string 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 deleted file mode 100644 index e28b9c57d..000000000 --- a/cdn/src/model/DescribeDomainNamesOfVersionRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("VersionId", versionId); -} - -std::string DescribeDomainNamesOfVersionRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeDomainNamesOfVersionRequest::setPageSize(const std::string& pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", pageSize); -} - -int DescribeDomainNamesOfVersionRequest::getPageIndex()const -{ - return pageIndex_; -} - -void DescribeDomainNamesOfVersionRequest::setPageIndex(int pageIndex) -{ - pageIndex_ = pageIndex; - setParameter("PageIndex", std::to_string(pageIndex)); -} - -long DescribeDomainNamesOfVersionRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainNamesOfVersionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainNamesOfVersionResult.cc b/cdn/src/model/DescribeDomainNamesOfVersionResult.cc deleted file mode 100644 index 6f27443bb..000000000 --- a/cdn/src/model/DescribeDomainNamesOfVersionResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["DomainId"].isNull()) - contentsObject.domainId = valueContentscontent["DomainId"].asString(); - if(!valueContentscontent["DomainName"].isNull()) - contentsObject.domainName = valueContentscontent["DomainName"].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 deleted file mode 100644 index af5062f29..000000000 --- a/cdn/src/model/DescribeDomainPathDataRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -int DescribeDomainPathDataRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeDomainPathDataRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeDomainPathDataRequest::getPath()const -{ - return path_; -} - -void DescribeDomainPathDataRequest::setPath(const std::string& path) -{ - path_ = path; - setParameter("Path", path); -} - -int DescribeDomainPathDataRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeDomainPathDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeDomainPathDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainPathDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainPathDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainPathDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainPathDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainPathDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainPathDataResult.cc b/cdn/src/model/DescribeDomainPathDataResult.cc deleted file mode 100644 index e664d1cfc..000000000 --- a/cdn/src/model/DescribeDomainPathDataResult.cc +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["Traffic"].isNull()) - pathDataPerIntervalObject.traffic = std::stoi(valuePathDataPerIntervalUsageData["Traffic"].asString()); - if(!valuePathDataPerIntervalUsageData["Acc"].isNull()) - pathDataPerIntervalObject.acc = std::stoi(valuePathDataPerIntervalUsageData["Acc"].asString()); - if(!valuePathDataPerIntervalUsageData["Path"].isNull()) - pathDataPerIntervalObject.path = valuePathDataPerIntervalUsageData["Path"].asString(); - if(!valuePathDataPerIntervalUsageData["Time"].isNull()) - pathDataPerIntervalObject.time = valuePathDataPerIntervalUsageData["Time"].asString(); - pathDataPerInterval_.push_back(pathDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeDomainPathDataResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeDomainPathDataResult::getEndTime()const -{ - return endTime_; -} - -int DescribeDomainPathDataResult::getPageSize()const -{ - return pageSize_; -} - -std::string DescribeDomainPathDataResult::getDomainName()const -{ - return domainName_; -} - -int DescribeDomainPathDataResult::getPageNumber()const -{ - return pageNumber_; -} - -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 deleted file mode 100644 index f2d066288..000000000 --- a/cdn/src/model/DescribeDomainPvDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainPvDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainPvDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainPvDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainPvDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainPvDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainPvDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainPvDataResult.cc b/cdn/src/model/DescribeDomainPvDataResult.cc deleted file mode 100644 index 2f5725e33..000000000 --- a/cdn/src/model/DescribeDomainPvDataResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 35722fcb4..000000000 --- a/cdn/src/model/DescribeDomainQpsDataByLayerRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainQpsDataByLayerRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainQpsDataByLayerRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainQpsDataByLayerRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainQpsDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainQpsDataByLayerRequest::getLayer()const -{ - return layer_; -} - -void DescribeDomainQpsDataByLayerRequest::setLayer(const std::string& layer) -{ - layer_ = layer; - setParameter("Layer", layer); -} - -std::string DescribeDomainQpsDataByLayerRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainQpsDataByLayerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainQpsDataByLayerRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainQpsDataByLayerRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainQpsDataByLayerRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainQpsDataByLayerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainQpsDataByLayerRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainQpsDataByLayerRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainQpsDataByLayerResult.cc b/cdn/src/model/DescribeDomainQpsDataByLayerResult.cc deleted file mode 100644 index 9682193e3..000000000 --- a/cdn/src/model/DescribeDomainQpsDataByLayerResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - qpsDataIntervalObject.timeStamp = valueQpsDataIntervalDataModule["TimeStamp"].asString(); - if(!valueQpsDataIntervalDataModule["Value"].isNull()) - qpsDataIntervalObject.value = valueQpsDataIntervalDataModule["Value"].asString(); - if(!valueQpsDataIntervalDataModule["DomesticValue"].isNull()) - qpsDataIntervalObject.domesticValue = valueQpsDataIntervalDataModule["DomesticValue"].asString(); - if(!valueQpsDataIntervalDataModule["OverseasValue"].isNull()) - qpsDataIntervalObject.overseasValue = valueQpsDataIntervalDataModule["OverseasValue"].asString(); - if(!valueQpsDataIntervalDataModule["AccValue"].isNull()) - qpsDataIntervalObject.accValue = valueQpsDataIntervalDataModule["AccValue"].asString(); - if(!valueQpsDataIntervalDataModule["AccDomesticValue"].isNull()) - qpsDataIntervalObject.accDomesticValue = valueQpsDataIntervalDataModule["AccDomesticValue"].asString(); - if(!valueQpsDataIntervalDataModule["AccOverseasValue"].isNull()) - qpsDataIntervalObject.accOverseasValue = valueQpsDataIntervalDataModule["AccOverseasValue"].asString(); - qpsDataInterval_.push_back(qpsDataIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - if(!value["Layer"].isNull()) - layer_ = value["Layer"].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/DescribeDomainQpsDataRequest.cc b/cdn/src/model/DescribeDomainQpsDataRequest.cc index 5e3cceaa6..bf5eeee11 100644 --- a/cdn/src/model/DescribeDomainQpsDataRequest.cc +++ b/cdn/src/model/DescribeDomainQpsDataRequest.cc @@ -1,106 +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::DescribeDomainQpsDataRequest; - -DescribeDomainQpsDataRequest::DescribeDomainQpsDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainQpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainQpsDataRequest::~DescribeDomainQpsDataRequest() -{} - -std::string DescribeDomainQpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainQpsDataRequest; + +DescribeDomainQpsDataRequest::DescribeDomainQpsDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainQpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainQpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDomainQpsDataRequest::~DescribeDomainQpsDataRequest() {} + +std::string DescribeDomainQpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDomainQpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDomainQpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDomainQpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDomainQpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainQpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDomainQpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainQpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDomainQpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDomainQpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainQpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeDomainQpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainQpsDataRequest::getDomainType() const { + return domainType_; } -std::string DescribeDomainQpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainQpsDataRequest::setDomainType(const std::string &domainType) { + domainType_ = domainType; + setParameter(std::string("DomainType"), domainType); } -void DescribeDomainQpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainQpsDataRequest::getTimeMerge() const { + return timeMerge_; } -long DescribeDomainQpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainQpsDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDomainQpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDomainQpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainQpsDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainQpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainQpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainQpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainQpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainQpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainQpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainQpsDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainQpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainQpsDataResult.cc b/cdn/src/model/DescribeDomainQpsDataResult.cc index 1bef0e35e..2f6ec96d9 100644 --- a/cdn/src/model/DescribeDomainQpsDataResult.cc +++ b/cdn/src/model/DescribeDomainQpsDataResult.cc @@ -43,40 +43,40 @@ void DescribeDomainQpsDataResult::parse(const std::string &payload) for (auto valueQpsDataIntervalDataModule : allQpsDataIntervalNode) { DataModule qpsDataIntervalObject; - if(!valueQpsDataIntervalDataModule["TimeStamp"].isNull()) - qpsDataIntervalObject.timeStamp = valueQpsDataIntervalDataModule["TimeStamp"].asString(); - if(!valueQpsDataIntervalDataModule["Value"].isNull()) - qpsDataIntervalObject.value = valueQpsDataIntervalDataModule["Value"].asString(); - if(!valueQpsDataIntervalDataModule["DomesticValue"].isNull()) - qpsDataIntervalObject.domesticValue = valueQpsDataIntervalDataModule["DomesticValue"].asString(); - if(!valueQpsDataIntervalDataModule["OverseasValue"].isNull()) - qpsDataIntervalObject.overseasValue = valueQpsDataIntervalDataModule["OverseasValue"].asString(); if(!valueQpsDataIntervalDataModule["AccValue"].isNull()) qpsDataIntervalObject.accValue = valueQpsDataIntervalDataModule["AccValue"].asString(); + if(!valueQpsDataIntervalDataModule["DynamicValue"].isNull()) + qpsDataIntervalObject.dynamicValue = valueQpsDataIntervalDataModule["DynamicValue"].asString(); if(!valueQpsDataIntervalDataModule["AccDomesticValue"].isNull()) qpsDataIntervalObject.accDomesticValue = valueQpsDataIntervalDataModule["AccDomesticValue"].asString(); if(!valueQpsDataIntervalDataModule["AccOverseasValue"].isNull()) qpsDataIntervalObject.accOverseasValue = valueQpsDataIntervalDataModule["AccOverseasValue"].asString(); - if(!valueQpsDataIntervalDataModule["HttpsValue"].isNull()) - qpsDataIntervalObject.httpsValue = valueQpsDataIntervalDataModule["HttpsValue"].asString(); - if(!valueQpsDataIntervalDataModule["HttpsDomesticValue"].isNull()) - qpsDataIntervalObject.httpsDomesticValue = valueQpsDataIntervalDataModule["HttpsDomesticValue"].asString(); - if(!valueQpsDataIntervalDataModule["HttpsOverseasValue"].isNull()) - qpsDataIntervalObject.httpsOverseasValue = valueQpsDataIntervalDataModule["HttpsOverseasValue"].asString(); - if(!valueQpsDataIntervalDataModule["HttpsAccValue"].isNull()) - qpsDataIntervalObject.httpsAccValue = valueQpsDataIntervalDataModule["HttpsAccValue"].asString(); - if(!valueQpsDataIntervalDataModule["HttpsAccDomesticValue"].isNull()) - qpsDataIntervalObject.httpsAccDomesticValue = valueQpsDataIntervalDataModule["HttpsAccDomesticValue"].asString(); - if(!valueQpsDataIntervalDataModule["HttpsAccOverseasValue"].isNull()) - qpsDataIntervalObject.httpsAccOverseasValue = valueQpsDataIntervalDataModule["HttpsAccOverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["DynamicDomesticValue"].isNull()) + qpsDataIntervalObject.dynamicDomesticValue = valueQpsDataIntervalDataModule["DynamicDomesticValue"].asString(); + if(!valueQpsDataIntervalDataModule["DomesticValue"].isNull()) + qpsDataIntervalObject.domesticValue = valueQpsDataIntervalDataModule["DomesticValue"].asString(); + if(!valueQpsDataIntervalDataModule["Value"].isNull()) + qpsDataIntervalObject.value = valueQpsDataIntervalDataModule["Value"].asString(); + if(!valueQpsDataIntervalDataModule["StaticDomesticValue"].isNull()) + qpsDataIntervalObject.staticDomesticValue = valueQpsDataIntervalDataModule["StaticDomesticValue"].asString(); + if(!valueQpsDataIntervalDataModule["OverseasValue"].isNull()) + qpsDataIntervalObject.overseasValue = valueQpsDataIntervalDataModule["OverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["StaticValue"].isNull()) + qpsDataIntervalObject.staticValue = valueQpsDataIntervalDataModule["StaticValue"].asString(); + if(!valueQpsDataIntervalDataModule["TimeStamp"].isNull()) + qpsDataIntervalObject.timeStamp = valueQpsDataIntervalDataModule["TimeStamp"].asString(); + if(!valueQpsDataIntervalDataModule["StaticOverseasValue"].isNull()) + qpsDataIntervalObject.staticOverseasValue = valueQpsDataIntervalDataModule["StaticOverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["DynamicOverseasValue"].isNull()) + qpsDataIntervalObject.dynamicOverseasValue = valueQpsDataIntervalDataModule["DynamicOverseasValue"].asString(); qpsDataInterval_.push_back(qpsDataIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc b/cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc deleted file mode 100644 index d607c797a..000000000 --- a/cdn/src/model/DescribeDomainRealTimeBpsDataRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainRealTimeBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainRealTimeBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainRealTimeBpsDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainRealTimeBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainRealTimeBpsDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeBpsDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeBpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc b/cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc deleted file mode 100644 index c4c72d05b..000000000 --- a/cdn/src/model/DescribeDomainRealTimeBpsDataResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 61ef6ff28..000000000 --- a/cdn/src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainRealTimeByteHitRateDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeByteHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeByteHitRateDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeByteHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeByteHitRateDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeByteHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc b/cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc deleted file mode 100644 index 0d0f1c794..000000000 --- a/cdn/src/model/DescribeDomainRealTimeByteHitRateDataResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 71744baba..000000000 --- a/cdn/src/model/DescribeDomainRealTimeDetailDataRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainRealTimeDetailDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainRealTimeDetailDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getMerge()const -{ - return merge_; -} - -void DescribeDomainRealTimeDetailDataRequest::setMerge(const std::string& merge) -{ - merge_ = merge; - setParameter("Merge", merge); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeDetailDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeDetailDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getMergeLocIsp()const -{ - return mergeLocIsp_; -} - -void DescribeDomainRealTimeDetailDataRequest::setMergeLocIsp(const std::string& mergeLocIsp) -{ - mergeLocIsp_ = mergeLocIsp; - setParameter("MergeLocIsp", mergeLocIsp); -} - -long DescribeDomainRealTimeDetailDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeDetailDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainRealTimeDetailDataRequest::getField()const -{ - return field_; -} - -void DescribeDomainRealTimeDetailDataRequest::setField(const std::string& field) -{ - field_ = field; - setParameter("Field", field); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc b/cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc deleted file mode 100644 index 2b0c71651..000000000 --- a/cdn/src/model/DescribeDomainRealTimeDetailDataResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 514ea898e..000000000 --- a/cdn/src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainRealTimeHttpCodeDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainRealTimeHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainRealTimeHttpCodeDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeHttpCodeDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc deleted file mode 100644 index 6c328b9ff..000000000 --- a/cdn/src/model/DescribeDomainRealTimeHttpCodeDataResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 93ee62292..000000000 --- a/cdn/src/model/DescribeDomainRealTimeQpsDataRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainRealTimeQpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainRealTimeQpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainRealTimeQpsDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainRealTimeQpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainRealTimeQpsDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeQpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeQpsDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeQpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeQpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeQpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc b/cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc deleted file mode 100644 index 11a6f48a9..000000000 --- a/cdn/src/model/DescribeDomainRealTimeQpsDataResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index c3c8aac2f..000000000 --- a/cdn/src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainRealTimeReqHitRateDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeReqHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeReqHitRateDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeReqHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeReqHitRateDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeReqHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc b/cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc deleted file mode 100644 index 57860aa36..000000000 --- a/cdn/src/model/DescribeDomainRealTimeReqHitRateDataResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index e1c6caa26..000000000 --- a/cdn/src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainRealTimeSrcBpsDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeSrcBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeSrcBpsDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeSrcBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeSrcBpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeSrcBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc b/cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc deleted file mode 100644 index b454fd988..000000000 --- a/cdn/src/model/DescribeDomainRealTimeSrcBpsDataResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - realTimeSrcBpsDataPerIntervalObject.timeStamp = valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueRealTimeSrcBpsDataPerIntervalDataModule["Value"].isNull()) - realTimeSrcBpsDataPerIntervalObject.value = valueRealTimeSrcBpsDataPerIntervalDataModule["Value"].asString(); - realTimeSrcBpsDataPerInterval_.push_back(realTimeSrcBpsDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 469229a2e..000000000 --- a/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainRealTimeSrcHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainRealTimeSrcHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeSrcHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeSrcHttpCodeDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeSrcHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeSrcHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeSrcHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc deleted file mode 100644 index bb8f50a26..000000000 --- a/cdn/src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index e2249ac55..000000000 --- a/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainRealTimeSrcTrafficDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeSrcTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeSrcTrafficDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeSrcTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeSrcTrafficDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeSrcTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc b/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc deleted file mode 100644 index 9ae2452fd..000000000 --- a/cdn/src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - realTimeSrcTrafficDataPerIntervalObject.timeStamp = valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueRealTimeSrcTrafficDataPerIntervalDataModule["Value"].isNull()) - realTimeSrcTrafficDataPerIntervalObject.value = valueRealTimeSrcTrafficDataPerIntervalDataModule["Value"].asString(); - realTimeSrcTrafficDataPerInterval_.push_back(realTimeSrcTrafficDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 8b39c5c34..000000000 --- a/cdn/src/model/DescribeDomainRealTimeTrafficDataRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainRealTimeTrafficDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainRealTimeTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainRealTimeTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainRealTimeTrafficDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainRealTimeTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainRealTimeTrafficDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainRealTimeTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainRealTimeTrafficDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc b/cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc deleted file mode 100644 index 854d0e15b..000000000 --- a/cdn/src/model/DescribeDomainRealTimeTrafficDataResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueRealTimeTrafficDataPerIntervalDataModule["Value"].isNull()) - realTimeTrafficDataPerIntervalObject.value = valueRealTimeTrafficDataPerIntervalDataModule["Value"].asString(); - realTimeTrafficDataPerInterval_.push_back(realTimeTrafficDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index a0b5509fe..000000000 --- a/cdn/src/model/DescribeDomainRealtimeLogDeliveryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainRealtimeLogDeliveryRequest::getDomain()const -{ - return domain_; -} - -void DescribeDomainRealtimeLogDeliveryRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - diff --git a/cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc b/cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc deleted file mode 100644 index 0f2ad2a2b..000000000 --- a/cdn/src/model/DescribeDomainRealtimeLogDeliveryResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["Project"].isNull()) - project_ = value["Project"].asString(); - if(!value["Region"].isNull()) - region_ = value["Region"].asString(); - if(!value["Logstore"].isNull()) - logstore_ = value["Logstore"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].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/DescribeDomainRegionDataRequest.cc b/cdn/src/model/DescribeDomainRegionDataRequest.cc index 799e11353..d15a967cd 100644 --- a/cdn/src/model/DescribeDomainRegionDataRequest.cc +++ b/cdn/src/model/DescribeDomainRegionDataRequest.cc @@ -1,73 +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::DescribeDomainRegionDataRequest; - -DescribeDomainRegionDataRequest::DescribeDomainRegionDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainRegionData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainRegionDataRequest::~DescribeDomainRegionDataRequest() -{} - -std::string DescribeDomainRegionDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainRegionDataRequest; + +DescribeDomainRegionDataRequest::DescribeDomainRegionDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainRegionData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainRegionDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainRegionDataRequest::~DescribeDomainRegionDataRequest() {} + +std::string DescribeDomainRegionDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainRegionDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainRegionDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainRegionDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainRegionDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainRegionDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainRegionDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainRegionDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainRegionDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainRegionDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainRegionDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainRegionDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainRegionDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainRegionDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/DescribeDomainRegionDataResult.cc b/cdn/src/model/DescribeDomainRegionDataResult.cc index 53381e3ac..8ed7c76e4 100644 --- a/cdn/src/model/DescribeDomainRegionDataResult.cc +++ b/cdn/src/model/DescribeDomainRegionDataResult.cc @@ -43,40 +43,44 @@ void DescribeDomainRegionDataResult::parse(const std::string &payload) for (auto valueValueRegionProportionData : allValueNode) { RegionProportionData valueObject; - if(!valueValueRegionProportionData["Region"].isNull()) - valueObject.region = valueValueRegionProportionData["Region"].asString(); - if(!valueValueRegionProportionData["Proportion"].isNull()) - valueObject.proportion = valueValueRegionProportionData["Proportion"].asString(); - if(!valueValueRegionProportionData["RegionEname"].isNull()) - valueObject.regionEname = valueValueRegionProportionData["RegionEname"].asString(); - if(!valueValueRegionProportionData["AvgObjectSize"].isNull()) - valueObject.avgObjectSize = valueValueRegionProportionData["AvgObjectSize"].asString(); + if(!valueValueRegionProportionData["TotalQuery"].isNull()) + valueObject.totalQuery = valueValueRegionProportionData["TotalQuery"].asString(); + if(!valueValueRegionProportionData["ByteHitRate"].isNull()) + valueObject.byteHitRate = valueValueRegionProportionData["ByteHitRate"].asString(); + if(!valueValueRegionProportionData["TotalBytes"].isNull()) + valueObject.totalBytes = valueValueRegionProportionData["TotalBytes"].asString(); + if(!valueValueRegionProportionData["ReqHitRate"].isNull()) + valueObject.reqHitRate = valueValueRegionProportionData["ReqHitRate"].asString(); + if(!valueValueRegionProportionData["AvgResponseRate"].isNull()) + valueObject.avgResponseRate = valueValueRegionProportionData["AvgResponseRate"].asString(); if(!valueValueRegionProportionData["AvgResponseTime"].isNull()) valueObject.avgResponseTime = valueValueRegionProportionData["AvgResponseTime"].asString(); + if(!valueValueRegionProportionData["ReqErrRate"].isNull()) + valueObject.reqErrRate = valueValueRegionProportionData["ReqErrRate"].asString(); + if(!valueValueRegionProportionData["AvgObjectSize"].isNull()) + valueObject.avgObjectSize = valueValueRegionProportionData["AvgObjectSize"].asString(); if(!valueValueRegionProportionData["Bps"].isNull()) valueObject.bps = valueValueRegionProportionData["Bps"].asString(); if(!valueValueRegionProportionData["Qps"].isNull()) valueObject.qps = valueValueRegionProportionData["Qps"].asString(); - if(!valueValueRegionProportionData["AvgResponseRate"].isNull()) - valueObject.avgResponseRate = valueValueRegionProportionData["AvgResponseRate"].asString(); - if(!valueValueRegionProportionData["ReqErrRate"].isNull()) - valueObject.reqErrRate = valueValueRegionProportionData["ReqErrRate"].asString(); - if(!valueValueRegionProportionData["TotalBytes"].isNull()) - valueObject.totalBytes = valueValueRegionProportionData["TotalBytes"].asString(); + if(!valueValueRegionProportionData["RegionEname"].isNull()) + valueObject.regionEname = valueValueRegionProportionData["RegionEname"].asString(); + if(!valueValueRegionProportionData["Region"].isNull()) + valueObject.region = valueValueRegionProportionData["Region"].asString(); + if(!valueValueRegionProportionData["Proportion"].isNull()) + valueObject.proportion = valueValueRegionProportionData["Proportion"].asString(); if(!valueValueRegionProportionData["BytesProportion"].isNull()) valueObject.bytesProportion = valueValueRegionProportionData["BytesProportion"].asString(); - if(!valueValueRegionProportionData["TotalQuery"].isNull()) - valueObject.totalQuery = valueValueRegionProportionData["TotalQuery"].asString(); value_.push_back(valueObject); } + 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(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); } @@ -95,13 +99,13 @@ std::vector DescribeDomain return value_; } -std::string DescribeDomainRegionDataResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDomainRegionDataResult::getStartTime()const { return startTime_; } +std::string DescribeDomainRegionDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainReqHitRateDataRequest.cc b/cdn/src/model/DescribeDomainReqHitRateDataRequest.cc index e5ee2ba4c..e1440849c 100644 --- a/cdn/src/model/DescribeDomainReqHitRateDataRequest.cc +++ b/cdn/src/model/DescribeDomainReqHitRateDataRequest.cc @@ -1,84 +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::DescribeDomainReqHitRateDataRequest; - -DescribeDomainReqHitRateDataRequest::DescribeDomainReqHitRateDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainReqHitRateData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainReqHitRateDataRequest::~DescribeDomainReqHitRateDataRequest() -{} - -std::string DescribeDomainReqHitRateDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainReqHitRateDataRequest; + +DescribeDomainReqHitRateDataRequest::DescribeDomainReqHitRateDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainReqHitRateData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainReqHitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainReqHitRateDataRequest::~DescribeDomainReqHitRateDataRequest() {} + +std::string DescribeDomainReqHitRateDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainReqHitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainReqHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainReqHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainReqHitRateDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainReqHitRateDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainReqHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainReqHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainReqHitRateDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainReqHitRateDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainReqHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainReqHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainReqHitRateDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainReqHitRateDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainReqHitRateDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainReqHitRateDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainReqHitRateDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainReqHitRateDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainReqHitRateDataResult.cc b/cdn/src/model/DescribeDomainReqHitRateDataResult.cc index 598456e3e..9069052e3 100644 --- a/cdn/src/model/DescribeDomainReqHitRateDataResult.cc +++ b/cdn/src/model/DescribeDomainReqHitRateDataResult.cc @@ -43,22 +43,20 @@ void DescribeDomainReqHitRateDataResult::parse(const std::string &payload) for (auto valueReqHitRateIntervalDataModule : allReqHitRateIntervalNode) { DataModule reqHitRateIntervalObject; - if(!valueReqHitRateIntervalDataModule["TimeStamp"].isNull()) - reqHitRateIntervalObject.timeStamp = valueReqHitRateIntervalDataModule["TimeStamp"].asString(); if(!valueReqHitRateIntervalDataModule["Value"].isNull()) reqHitRateIntervalObject.value = valueReqHitRateIntervalDataModule["Value"].asString(); - if(!valueReqHitRateIntervalDataModule["HttpsValue"].isNull()) - reqHitRateIntervalObject.httpsValue = valueReqHitRateIntervalDataModule["HttpsValue"].asString(); + if(!valueReqHitRateIntervalDataModule["TimeStamp"].isNull()) + reqHitRateIntervalObject.timeStamp = valueReqHitRateIntervalDataModule["TimeStamp"].asString(); reqHitRateInterval_.push_back(reqHitRateIntervalObject); } + 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(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); } @@ -77,13 +75,13 @@ std::string DescribeDomainReqHitRateDataResult::getDomainName()const return domainName_; } -std::string DescribeDomainReqHitRateDataResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDomainReqHitRateDataResult::getStartTime()const { return startTime_; } +std::string DescribeDomainReqHitRateDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/cdn/src/model/DescribeDomainSrcBpsDataRequest.cc b/cdn/src/model/DescribeDomainSrcBpsDataRequest.cc index f89fe440d..a9a2038d4 100644 --- a/cdn/src/model/DescribeDomainSrcBpsDataRequest.cc +++ b/cdn/src/model/DescribeDomainSrcBpsDataRequest.cc @@ -1,84 +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::DescribeDomainSrcBpsDataRequest; - -DescribeDomainSrcBpsDataRequest::DescribeDomainSrcBpsDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainSrcBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainSrcBpsDataRequest::~DescribeDomainSrcBpsDataRequest() -{} - -std::string DescribeDomainSrcBpsDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainSrcBpsDataRequest; + +DescribeDomainSrcBpsDataRequest::DescribeDomainSrcBpsDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainSrcBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainSrcBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainSrcBpsDataRequest::~DescribeDomainSrcBpsDataRequest() {} + +std::string DescribeDomainSrcBpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainSrcBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainSrcBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainSrcBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainSrcBpsDataRequest::getFixTimeGap() const { + return fixTimeGap_; } -std::string DescribeDomainSrcBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainSrcBpsDataRequest::setFixTimeGap(const std::string &fixTimeGap) { + fixTimeGap_ = fixTimeGap; + setParameter(std::string("FixTimeGap"), fixTimeGap); } -void DescribeDomainSrcBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainSrcBpsDataRequest::getTimeMerge() const { + return timeMerge_; } -long DescribeDomainSrcBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainSrcBpsDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDomainSrcBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDomainSrcBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainSrcBpsDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainSrcBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainSrcBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainSrcBpsDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainSrcBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainSrcBpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainSrcBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDomainSrcBpsDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainSrcBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainSrcBpsDataResult.cc b/cdn/src/model/DescribeDomainSrcBpsDataResult.cc index 40039dc8d..ef35763af 100644 --- a/cdn/src/model/DescribeDomainSrcBpsDataResult.cc +++ b/cdn/src/model/DescribeDomainSrcBpsDataResult.cc @@ -43,20 +43,18 @@ void DescribeDomainSrcBpsDataResult::parse(const std::string &payload) for (auto valueSrcBpsDataPerIntervalDataModule : allSrcBpsDataPerIntervalNode) { DataModule srcBpsDataPerIntervalObject; - if(!valueSrcBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - srcBpsDataPerIntervalObject.timeStamp = valueSrcBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueSrcBpsDataPerIntervalDataModule["Value"].isNull()) srcBpsDataPerIntervalObject.value = valueSrcBpsDataPerIntervalDataModule["Value"].asString(); - if(!valueSrcBpsDataPerIntervalDataModule["HttpsValue"].isNull()) - srcBpsDataPerIntervalObject.httpsValue = valueSrcBpsDataPerIntervalDataModule["HttpsValue"].asString(); + if(!valueSrcBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + srcBpsDataPerIntervalObject.timeStamp = valueSrcBpsDataPerIntervalDataModule["TimeStamp"].asString(); srcBpsDataPerInterval_.push_back(srcBpsDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainSrcFlowDataRequest.cc b/cdn/src/model/DescribeDomainSrcFlowDataRequest.cc index 45e202a52..dc6486e10 100644 --- a/cdn/src/model/DescribeDomainSrcFlowDataRequest.cc +++ b/cdn/src/model/DescribeDomainSrcFlowDataRequest.cc @@ -1,106 +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::DescribeDomainSrcFlowDataRequest; - -DescribeDomainSrcFlowDataRequest::DescribeDomainSrcFlowDataRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainSrcFlowData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainSrcFlowDataRequest::~DescribeDomainSrcFlowDataRequest() -{} - -std::string DescribeDomainSrcFlowDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainSrcFlowDataRequest; + +DescribeDomainSrcFlowDataRequest::DescribeDomainSrcFlowDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainSrcFlowData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainSrcFlowDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainSrcFlowDataRequest::~DescribeDomainSrcFlowDataRequest() {} + +std::string DescribeDomainSrcFlowDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainSrcFlowDataRequest::getFixTimeGap()const -{ - return fixTimeGap_; +void DescribeDomainSrcFlowDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainSrcFlowDataRequest::setFixTimeGap(const std::string& fixTimeGap) -{ - fixTimeGap_ = fixTimeGap; - setParameter("FixTimeGap", fixTimeGap); +std::string DescribeDomainSrcFlowDataRequest::getFixTimeGap() const { + return fixTimeGap_; } -std::string DescribeDomainSrcFlowDataRequest::getTimeMerge()const -{ - return timeMerge_; +void DescribeDomainSrcFlowDataRequest::setFixTimeGap(const std::string &fixTimeGap) { + fixTimeGap_ = fixTimeGap; + setParameter(std::string("FixTimeGap"), fixTimeGap); } -void DescribeDomainSrcFlowDataRequest::setTimeMerge(const std::string& timeMerge) -{ - timeMerge_ = timeMerge; - setParameter("TimeMerge", timeMerge); +std::string DescribeDomainSrcFlowDataRequest::getTimeMerge() const { + return timeMerge_; } -std::string DescribeDomainSrcFlowDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainSrcFlowDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDomainSrcFlowDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainSrcFlowDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainSrcFlowDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainSrcFlowDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainSrcFlowDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainSrcFlowDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainSrcFlowDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainSrcFlowDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainSrcFlowDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainSrcFlowDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainSrcFlowDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainSrcFlowDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainSrcFlowDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainSrcFlowDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainSrcFlowDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/cdn/src/model/DescribeDomainSrcFlowDataResult.cc b/cdn/src/model/DescribeDomainSrcFlowDataResult.cc index 32b8104c4..1c6254277 100644 --- a/cdn/src/model/DescribeDomainSrcFlowDataResult.cc +++ b/cdn/src/model/DescribeDomainSrcFlowDataResult.cc @@ -43,18 +43,18 @@ void DescribeDomainSrcFlowDataResult::parse(const std::string &payload) for (auto valueSrcFlowDataPerIntervalDataModule : allSrcFlowDataPerIntervalNode) { DataModule srcFlowDataPerIntervalObject; - if(!valueSrcFlowDataPerIntervalDataModule["TimeStamp"].isNull()) - srcFlowDataPerIntervalObject.timeStamp = valueSrcFlowDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueSrcFlowDataPerIntervalDataModule["Value"].isNull()) srcFlowDataPerIntervalObject.value = valueSrcFlowDataPerIntervalDataModule["Value"].asString(); + if(!valueSrcFlowDataPerIntervalDataModule["TimeStamp"].isNull()) + srcFlowDataPerIntervalObject.timeStamp = valueSrcFlowDataPerIntervalDataModule["TimeStamp"].asString(); srcFlowDataPerInterval_.push_back(srcFlowDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc b/cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc deleted file mode 100644 index 75ba7e377..000000000 --- a/cdn/src/model/DescribeDomainSrcHttpCodeDataRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainSrcHttpCodeDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainSrcHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainSrcHttpCodeDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainSrcHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainSrcHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainSrcHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainSrcHttpCodeDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainSrcHttpCodeDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc b/cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc deleted file mode 100644 index 6284aaa62..000000000 --- a/cdn/src/model/DescribeDomainSrcHttpCodeDataResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 67d194bd4..000000000 --- a/cdn/src/model/DescribeDomainSrcQpsDataRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainSrcQpsDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainSrcQpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainSrcQpsDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainSrcQpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainSrcQpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainSrcQpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainSrcQpsDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainSrcQpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainSrcQpsDataResult.cc b/cdn/src/model/DescribeDomainSrcQpsDataResult.cc deleted file mode 100644 index 08d7b51c5..000000000 --- a/cdn/src/model/DescribeDomainSrcQpsDataResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - srcQpsDataPerIntervalObject.timeStamp = valueSrcQpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueSrcQpsDataPerIntervalDataModule["Value"].isNull()) - srcQpsDataPerIntervalObject.value = valueSrcQpsDataPerIntervalDataModule["Value"].asString(); - srcQpsDataPerInterval_.push_back(srcQpsDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 79b8005cb..000000000 --- a/cdn/src/model/DescribeDomainSrcTopUrlVisitRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainSrcTopUrlVisitRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainSrcTopUrlVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainSrcTopUrlVisitRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainSrcTopUrlVisitRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainSrcTopUrlVisitRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainSrcTopUrlVisitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainSrcTopUrlVisitRequest::getSortBy()const -{ - return sortBy_; -} - -void DescribeDomainSrcTopUrlVisitRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); -} - diff --git a/cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc b/cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc deleted file mode 100644 index a846999de..000000000 --- a/cdn/src/model/DescribeDomainSrcTopUrlVisitResult.cc +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["UrlDetail"].isNull()) - allUrlListObject.urlDetail = valueAllUrlListUrlList["UrlDetail"].asString(); - if(!valueAllUrlListUrlList["VisitData"].isNull()) - allUrlListObject.visitData = valueAllUrlListUrlList["VisitData"].asString(); - if(!valueAllUrlListUrlList["VisitProportion"].isNull()) - allUrlListObject.visitProportion = std::stof(valueAllUrlListUrlList["VisitProportion"].asString()); - if(!valueAllUrlListUrlList["Flow"].isNull()) - allUrlListObject.flow = valueAllUrlListUrlList["Flow"].asString(); - if(!valueAllUrlListUrlList["FlowProportion"].isNull()) - allUrlListObject.flowProportion = std::stof(valueAllUrlListUrlList["FlowProportion"].asString()); - allUrlList_.push_back(allUrlListObject); - } - auto allUrl200ListNode = value["Url200List"]["UrlList"]; - for (auto valueUrl200ListUrlList : allUrl200ListNode) - { - UrlList url200ListObject; - if(!valueUrl200ListUrlList["UrlDetail"].isNull()) - url200ListObject.urlDetail = valueUrl200ListUrlList["UrlDetail"].asString(); - if(!valueUrl200ListUrlList["VisitData"].isNull()) - url200ListObject.visitData = valueUrl200ListUrlList["VisitData"].asString(); - if(!valueUrl200ListUrlList["VisitProportion"].isNull()) - url200ListObject.visitProportion = std::stof(valueUrl200ListUrlList["VisitProportion"].asString()); - if(!valueUrl200ListUrlList["Flow"].isNull()) - url200ListObject.flow = valueUrl200ListUrlList["Flow"].asString(); - if(!valueUrl200ListUrlList["FlowProportion"].isNull()) - url200ListObject.flowProportion = std::stof(valueUrl200ListUrlList["FlowProportion"].asString()); - url200List_.push_back(url200ListObject); - } - auto allUrl300ListNode = value["Url300List"]["UrlList"]; - for (auto valueUrl300ListUrlList : allUrl300ListNode) - { - UrlList url300ListObject; - if(!valueUrl300ListUrlList["UrlDetail"].isNull()) - url300ListObject.urlDetail = valueUrl300ListUrlList["UrlDetail"].asString(); - if(!valueUrl300ListUrlList["VisitData"].isNull()) - url300ListObject.visitData = valueUrl300ListUrlList["VisitData"].asString(); - if(!valueUrl300ListUrlList["VisitProportion"].isNull()) - url300ListObject.visitProportion = std::stof(valueUrl300ListUrlList["VisitProportion"].asString()); - if(!valueUrl300ListUrlList["Flow"].isNull()) - url300ListObject.flow = valueUrl300ListUrlList["Flow"].asString(); - if(!valueUrl300ListUrlList["FlowProportion"].isNull()) - url300ListObject.flowProportion = std::stof(valueUrl300ListUrlList["FlowProportion"].asString()); - url300List_.push_back(url300ListObject); - } - auto allUrl400ListNode = value["Url400List"]["UrlList"]; - for (auto valueUrl400ListUrlList : allUrl400ListNode) - { - UrlList url400ListObject; - if(!valueUrl400ListUrlList["UrlDetail"].isNull()) - url400ListObject.urlDetail = valueUrl400ListUrlList["UrlDetail"].asString(); - if(!valueUrl400ListUrlList["VisitData"].isNull()) - url400ListObject.visitData = valueUrl400ListUrlList["VisitData"].asString(); - if(!valueUrl400ListUrlList["VisitProportion"].isNull()) - url400ListObject.visitProportion = std::stof(valueUrl400ListUrlList["VisitProportion"].asString()); - if(!valueUrl400ListUrlList["Flow"].isNull()) - url400ListObject.flow = valueUrl400ListUrlList["Flow"].asString(); - if(!valueUrl400ListUrlList["FlowProportion"].isNull()) - url400ListObject.flowProportion = std::stof(valueUrl400ListUrlList["FlowProportion"].asString()); - url400List_.push_back(url400ListObject); - } - auto allUrl500ListNode = value["Url500List"]["UrlList"]; - for (auto valueUrl500ListUrlList : allUrl500ListNode) - { - UrlList url500ListObject; - if(!valueUrl500ListUrlList["UrlDetail"].isNull()) - url500ListObject.urlDetail = valueUrl500ListUrlList["UrlDetail"].asString(); - if(!valueUrl500ListUrlList["VisitData"].isNull()) - url500ListObject.visitData = valueUrl500ListUrlList["VisitData"].asString(); - if(!valueUrl500ListUrlList["VisitProportion"].isNull()) - url500ListObject.visitProportion = std::stof(valueUrl500ListUrlList["VisitProportion"].asString()); - if(!valueUrl500ListUrlList["Flow"].isNull()) - url500ListObject.flow = valueUrl500ListUrlList["Flow"].asString(); - if(!valueUrl500ListUrlList["FlowProportion"].isNull()) - url500ListObject.flowProportion = std::stof(valueUrl500ListUrlList["FlowProportion"].asString()); - url500List_.push_back(url500ListObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].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 deleted file mode 100644 index 316a75caf..000000000 --- a/cdn/src/model/DescribeDomainSrcTrafficDataRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainSrcTrafficDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainSrcTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainSrcTrafficDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainSrcTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainSrcTrafficDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainSrcTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainSrcTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainSrcTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainSrcTrafficDataResult.cc b/cdn/src/model/DescribeDomainSrcTrafficDataResult.cc deleted file mode 100644 index 5599b465e..000000000 --- a/cdn/src/model/DescribeDomainSrcTrafficDataResult.cc +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - srcTrafficDataPerIntervalObject.timeStamp = valueSrcTrafficDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueSrcTrafficDataPerIntervalDataModule["Value"].isNull()) - srcTrafficDataPerIntervalObject.value = valueSrcTrafficDataPerIntervalDataModule["Value"].asString(); - if(!valueSrcTrafficDataPerIntervalDataModule["HttpsValue"].isNull()) - srcTrafficDataPerIntervalObject.httpsValue = valueSrcTrafficDataPerIntervalDataModule["HttpsValue"].asString(); - srcTrafficDataPerInterval_.push_back(srcTrafficDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index 5a27fda7b..000000000 --- a/cdn/src/model/DescribeDomainTopClientIpVisitRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainTopClientIpVisitRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainTopClientIpVisitRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainTopClientIpVisitRequest::getLimit()const -{ - return limit_; -} - -void DescribeDomainTopClientIpVisitRequest::setLimit(const std::string& limit) -{ - limit_ = limit; - setParameter("Limit", limit); -} - -std::string DescribeDomainTopClientIpVisitRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainTopClientIpVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainTopClientIpVisitRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainTopClientIpVisitRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainTopClientIpVisitRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainTopClientIpVisitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainTopClientIpVisitRequest::getSortBy()const -{ - return sortBy_; -} - -void DescribeDomainTopClientIpVisitRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); -} - diff --git a/cdn/src/model/DescribeDomainTopClientIpVisitResult.cc b/cdn/src/model/DescribeDomainTopClientIpVisitResult.cc deleted file mode 100644 index dd2700022..000000000 --- a/cdn/src/model/DescribeDomainTopClientIpVisitResult.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["Traffic"].isNull()) - clientIpListObject.traffic = std::stol(valueClientIpListClientIp["Traffic"].asString()); - if(!valueClientIpListClientIp["Acc"].isNull()) - clientIpListObject.acc = std::stol(valueClientIpListClientIp["Acc"].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 deleted file mode 100644 index 4bfd3206c..000000000 --- a/cdn/src/model/DescribeDomainTopReferVisitRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainTopReferVisitRequest::getPercent()const -{ - return percent_; -} - -void DescribeDomainTopReferVisitRequest::setPercent(const std::string& percent) -{ - percent_ = percent; - setParameter("Percent", percent); -} - -std::string DescribeDomainTopReferVisitRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainTopReferVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainTopReferVisitRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainTopReferVisitRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainTopReferVisitRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainTopReferVisitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainTopReferVisitRequest::getSortBy()const -{ - return sortBy_; -} - -void DescribeDomainTopReferVisitRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); -} - diff --git a/cdn/src/model/DescribeDomainTopReferVisitResult.cc b/cdn/src/model/DescribeDomainTopReferVisitResult.cc deleted file mode 100644 index 5e1d4ea97..000000000 --- a/cdn/src/model/DescribeDomainTopReferVisitResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["ReferDetail"].isNull()) - topReferListObject.referDetail = valueTopReferListReferList["ReferDetail"].asString(); - if(!valueTopReferListReferList["VisitData"].isNull()) - topReferListObject.visitData = valueTopReferListReferList["VisitData"].asString(); - if(!valueTopReferListReferList["VisitProportion"].isNull()) - topReferListObject.visitProportion = std::stof(valueTopReferListReferList["VisitProportion"].asString()); - if(!valueTopReferListReferList["Flow"].isNull()) - topReferListObject.flow = valueTopReferListReferList["Flow"].asString(); - if(!valueTopReferListReferList["FlowProportion"].isNull()) - topReferListObject.flowProportion = std::stof(valueTopReferListReferList["FlowProportion"].asString()); - topReferList_.push_back(topReferListObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].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 deleted file mode 100644 index 8ebda52a7..000000000 --- a/cdn/src/model/DescribeDomainTopUrlVisitRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainTopUrlVisitRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainTopUrlVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainTopUrlVisitRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainTopUrlVisitRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainTopUrlVisitRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainTopUrlVisitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainTopUrlVisitRequest::getSortBy()const -{ - return sortBy_; -} - -void DescribeDomainTopUrlVisitRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); -} - diff --git a/cdn/src/model/DescribeDomainTopUrlVisitResult.cc b/cdn/src/model/DescribeDomainTopUrlVisitResult.cc deleted file mode 100644 index 4205e6957..000000000 --- a/cdn/src/model/DescribeDomainTopUrlVisitResult.cc +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["UrlDetail"].isNull()) - allUrlListObject.urlDetail = valueAllUrlListUrlList["UrlDetail"].asString(); - if(!valueAllUrlListUrlList["VisitData"].isNull()) - allUrlListObject.visitData = valueAllUrlListUrlList["VisitData"].asString(); - if(!valueAllUrlListUrlList["VisitProportion"].isNull()) - allUrlListObject.visitProportion = std::stof(valueAllUrlListUrlList["VisitProportion"].asString()); - if(!valueAllUrlListUrlList["Flow"].isNull()) - allUrlListObject.flow = valueAllUrlListUrlList["Flow"].asString(); - if(!valueAllUrlListUrlList["FlowProportion"].isNull()) - allUrlListObject.flowProportion = std::stof(valueAllUrlListUrlList["FlowProportion"].asString()); - allUrlList_.push_back(allUrlListObject); - } - auto allUrl200ListNode = value["Url200List"]["UrlList"]; - for (auto valueUrl200ListUrlList : allUrl200ListNode) - { - UrlList url200ListObject; - if(!valueUrl200ListUrlList["UrlDetail"].isNull()) - url200ListObject.urlDetail = valueUrl200ListUrlList["UrlDetail"].asString(); - if(!valueUrl200ListUrlList["VisitData"].isNull()) - url200ListObject.visitData = valueUrl200ListUrlList["VisitData"].asString(); - if(!valueUrl200ListUrlList["VisitProportion"].isNull()) - url200ListObject.visitProportion = std::stof(valueUrl200ListUrlList["VisitProportion"].asString()); - if(!valueUrl200ListUrlList["Flow"].isNull()) - url200ListObject.flow = valueUrl200ListUrlList["Flow"].asString(); - if(!valueUrl200ListUrlList["FlowProportion"].isNull()) - url200ListObject.flowProportion = std::stof(valueUrl200ListUrlList["FlowProportion"].asString()); - url200List_.push_back(url200ListObject); - } - auto allUrl300ListNode = value["Url300List"]["UrlList"]; - for (auto valueUrl300ListUrlList : allUrl300ListNode) - { - UrlList url300ListObject; - if(!valueUrl300ListUrlList["UrlDetail"].isNull()) - url300ListObject.urlDetail = valueUrl300ListUrlList["UrlDetail"].asString(); - if(!valueUrl300ListUrlList["VisitData"].isNull()) - url300ListObject.visitData = valueUrl300ListUrlList["VisitData"].asString(); - if(!valueUrl300ListUrlList["VisitProportion"].isNull()) - url300ListObject.visitProportion = std::stof(valueUrl300ListUrlList["VisitProportion"].asString()); - if(!valueUrl300ListUrlList["Flow"].isNull()) - url300ListObject.flow = valueUrl300ListUrlList["Flow"].asString(); - if(!valueUrl300ListUrlList["FlowProportion"].isNull()) - url300ListObject.flowProportion = std::stof(valueUrl300ListUrlList["FlowProportion"].asString()); - url300List_.push_back(url300ListObject); - } - auto allUrl400ListNode = value["Url400List"]["UrlList"]; - for (auto valueUrl400ListUrlList : allUrl400ListNode) - { - UrlList url400ListObject; - if(!valueUrl400ListUrlList["UrlDetail"].isNull()) - url400ListObject.urlDetail = valueUrl400ListUrlList["UrlDetail"].asString(); - if(!valueUrl400ListUrlList["VisitData"].isNull()) - url400ListObject.visitData = valueUrl400ListUrlList["VisitData"].asString(); - if(!valueUrl400ListUrlList["VisitProportion"].isNull()) - url400ListObject.visitProportion = std::stof(valueUrl400ListUrlList["VisitProportion"].asString()); - if(!valueUrl400ListUrlList["Flow"].isNull()) - url400ListObject.flow = valueUrl400ListUrlList["Flow"].asString(); - if(!valueUrl400ListUrlList["FlowProportion"].isNull()) - url400ListObject.flowProportion = std::stof(valueUrl400ListUrlList["FlowProportion"].asString()); - url400List_.push_back(url400ListObject); - } - auto allUrl500ListNode = value["Url500List"]["UrlList"]; - for (auto valueUrl500ListUrlList : allUrl500ListNode) - { - UrlList url500ListObject; - if(!valueUrl500ListUrlList["UrlDetail"].isNull()) - url500ListObject.urlDetail = valueUrl500ListUrlList["UrlDetail"].asString(); - if(!valueUrl500ListUrlList["VisitData"].isNull()) - url500ListObject.visitData = valueUrl500ListUrlList["VisitData"].asString(); - if(!valueUrl500ListUrlList["VisitProportion"].isNull()) - url500ListObject.visitProportion = std::stof(valueUrl500ListUrlList["VisitProportion"].asString()); - if(!valueUrl500ListUrlList["Flow"].isNull()) - url500ListObject.flow = valueUrl500ListUrlList["Flow"].asString(); - if(!valueUrl500ListUrlList["FlowProportion"].isNull()) - url500ListObject.flowProportion = std::stof(valueUrl500ListUrlList["FlowProportion"].asString()); - url500List_.push_back(url500ListObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].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 deleted file mode 100644 index 01adaa22e..000000000 --- a/cdn/src/model/DescribeDomainTrafficDataRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("LocationNameEn", locationNameEn); -} - -std::string DescribeDomainTrafficDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDomainTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDomainTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; -} - -void DescribeDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); -} - -std::string DescribeDomainTrafficDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainTrafficDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainTrafficDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainTrafficDataResult.cc b/cdn/src/model/DescribeDomainTrafficDataResult.cc deleted file mode 100644 index 407b81fdf..000000000 --- a/cdn/src/model/DescribeDomainTrafficDataResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueTrafficDataPerIntervalDataModule["Value"].isNull()) - trafficDataPerIntervalObject.value = valueTrafficDataPerIntervalDataModule["Value"].asString(); - if(!valueTrafficDataPerIntervalDataModule["DomesticValue"].isNull()) - trafficDataPerIntervalObject.domesticValue = valueTrafficDataPerIntervalDataModule["DomesticValue"].asString(); - if(!valueTrafficDataPerIntervalDataModule["OverseasValue"].isNull()) - trafficDataPerIntervalObject.overseasValue = valueTrafficDataPerIntervalDataModule["OverseasValue"].asString(); - if(!valueTrafficDataPerIntervalDataModule["HttpsValue"].isNull()) - trafficDataPerIntervalObject.httpsValue = valueTrafficDataPerIntervalDataModule["HttpsValue"].asString(); - if(!valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].isNull()) - trafficDataPerIntervalObject.httpsDomesticValue = valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].asString(); - if(!valueTrafficDataPerIntervalDataModule["HttpsOverseasValue"].isNull()) - trafficDataPerIntervalObject.httpsOverseasValue = valueTrafficDataPerIntervalDataModule["HttpsOverseasValue"].asString(); - trafficDataPerInterval_.push_back(trafficDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DataInterval"].isNull()) - dataInterval_ = value["DataInterval"].asString(); - -} - -std::string 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 deleted file mode 100644 index d2e760284..000000000 --- a/cdn/src/model/DescribeDomainUsageDataRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("StartTime", startTime); -} - -std::string DescribeDomainUsageDataRequest::getType()const -{ - return type_; -} - -void DescribeDomainUsageDataRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string DescribeDomainUsageDataRequest::getDataProtocol()const -{ - return dataProtocol_; -} - -void DescribeDomainUsageDataRequest::setDataProtocol(const std::string& dataProtocol) -{ - dataProtocol_ = dataProtocol; - setParameter("DataProtocol", dataProtocol); -} - -std::string DescribeDomainUsageDataRequest::getArea()const -{ - return area_; -} - -void DescribeDomainUsageDataRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); -} - -std::string DescribeDomainUsageDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDomainUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeDomainUsageDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDomainUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDomainUsageDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDomainUsageDataRequest::getField()const -{ - return field_; -} - -void DescribeDomainUsageDataRequest::setField(const std::string& field) -{ - field_ = field; - setParameter("Field", field); -} - -std::string DescribeDomainUsageDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDomainUsageDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - diff --git a/cdn/src/model/DescribeDomainUsageDataResult.cc b/cdn/src/model/DescribeDomainUsageDataResult.cc deleted file mode 100644 index 8b2b55818..000000000 --- a/cdn/src/model/DescribeDomainUsageDataResult.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TimeStamp"].isNull()) - usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueUsageDataPerIntervalDataModule["PeakTime"].isNull()) - usageDataPerIntervalObject.peakTime = valueUsageDataPerIntervalDataModule["PeakTime"].asString(); - if(!valueUsageDataPerIntervalDataModule["Value"].isNull()) - usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString(); - if(!valueUsageDataPerIntervalDataModule["SpecialValue"].isNull()) - usageDataPerIntervalObject.specialValue = valueUsageDataPerIntervalDataModule["SpecialValue"].asString(); - usageDataPerInterval_.push_back(usageDataPerIntervalObject); - } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["Area"].isNull()) - area_ = value["Area"].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/DescribeDomainUvDataRequest.cc b/cdn/src/model/DescribeDomainUvDataRequest.cc index 816bda8d0..eef2b953d 100644 --- a/cdn/src/model/DescribeDomainUvDataRequest.cc +++ b/cdn/src/model/DescribeDomainUvDataRequest.cc @@ -1,73 +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::DescribeDomainUvDataRequest; - -DescribeDomainUvDataRequest::DescribeDomainUvDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainUvData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainUvDataRequest::~DescribeDomainUvDataRequest() -{} - -std::string DescribeDomainUvDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainUvDataRequest; + +DescribeDomainUvDataRequest::DescribeDomainUvDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainUvData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainUvDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainUvDataRequest::~DescribeDomainUvDataRequest() {} + +std::string DescribeDomainUvDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainUvDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainUvDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainUvDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainUvDataRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeDomainUvDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainUvDataRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDomainUvDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainUvDataRequest::getDomainName() const { + return domainName_; } -long DescribeDomainUvDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainUvDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainUvDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDomainUvDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDomainUvDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeDomainUvDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainUvDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/DescribeDomainUvDataResult.cc b/cdn/src/model/DescribeDomainUvDataResult.cc index 69260094b..81cd74093 100644 --- a/cdn/src/model/DescribeDomainUvDataResult.cc +++ b/cdn/src/model/DescribeDomainUvDataResult.cc @@ -49,12 +49,12 @@ void DescribeDomainUvDataResult::parse(const std::string &payload) uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString(); uvDataInterval_.push_back(uvDataIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/cdn/src/model/DescribeDomainsBySourceRequest.cc b/cdn/src/model/DescribeDomainsBySourceRequest.cc index 898818aa7..804fa1afe 100644 --- a/cdn/src/model/DescribeDomainsBySourceRequest.cc +++ b/cdn/src/model/DescribeDomainsBySourceRequest.cc @@ -1,62 +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::DescribeDomainsBySourceRequest; - -DescribeDomainsBySourceRequest::DescribeDomainsBySourceRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainsBySource") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainsBySourceRequest::~DescribeDomainsBySourceRequest() -{} - -std::string DescribeDomainsBySourceRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainsBySourceRequest; + +DescribeDomainsBySourceRequest::DescribeDomainsBySourceRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainsBySource") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainsBySourceRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +DescribeDomainsBySourceRequest::~DescribeDomainsBySourceRequest() {} + +std::string DescribeDomainsBySourceRequest::getSources() const { + return sources_; } -long DescribeDomainsBySourceRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainsBySourceRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void DescribeDomainsBySourceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainsBySourceRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainsBySourceRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDomainsBySourceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainsBySourceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDomainsBySourceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDomainsBySourceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/cdn/src/model/DescribeDomainsBySourceResult.cc b/cdn/src/model/DescribeDomainsBySourceResult.cc index 74aeb5547..160ddffd1 100644 --- a/cdn/src/model/DescribeDomainsBySourceResult.cc +++ b/cdn/src/model/DescribeDomainsBySourceResult.cc @@ -49,18 +49,16 @@ void DescribeDomainsBySourceResult::parse(const std::string &payload) for (auto valueDomainsListDomainsDataDomainInfosdomainInfo : allDomainInfosNode) { DomainsData::DomainInfo domainInfosObject; - if(!valueDomainsListDomainsDataDomainInfosdomainInfo["DomainName"].isNull()) - domainInfosObject.domainName = valueDomainsListDomainsDataDomainInfosdomainInfo["DomainName"].asString(); - if(!valueDomainsListDomainsDataDomainInfosdomainInfo["DomainCname"].isNull()) - domainInfosObject.domainCname = valueDomainsListDomainsDataDomainInfosdomainInfo["DomainCname"].asString(); - if(!valueDomainsListDomainsDataDomainInfosdomainInfo["CreateTime"].isNull()) - domainInfosObject.createTime = valueDomainsListDomainsDataDomainInfosdomainInfo["CreateTime"].asString(); - if(!valueDomainsListDomainsDataDomainInfosdomainInfo["UpdateTime"].isNull()) - domainInfosObject.updateTime = valueDomainsListDomainsDataDomainInfosdomainInfo["UpdateTime"].asString(); if(!valueDomainsListDomainsDataDomainInfosdomainInfo["Status"].isNull()) domainInfosObject.status = valueDomainsListDomainsDataDomainInfosdomainInfo["Status"].asString(); - if(!valueDomainsListDomainsDataDomainInfosdomainInfo["CdnType"].isNull()) - domainInfosObject.cdnType = valueDomainsListDomainsDataDomainInfosdomainInfo["CdnType"].asString(); + if(!valueDomainsListDomainsDataDomainInfosdomainInfo["UpdateTime"].isNull()) + domainInfosObject.updateTime = valueDomainsListDomainsDataDomainInfosdomainInfo["UpdateTime"].asString(); + if(!valueDomainsListDomainsDataDomainInfosdomainInfo["DomainCname"].isNull()) + domainInfosObject.domainCname = valueDomainsListDomainsDataDomainInfosdomainInfo["DomainCname"].asString(); + if(!valueDomainsListDomainsDataDomainInfosdomainInfo["DomainName"].isNull()) + domainInfosObject.domainName = valueDomainsListDomainsDataDomainInfosdomainInfo["DomainName"].asString(); + if(!valueDomainsListDomainsDataDomainInfosdomainInfo["CreateTime"].isNull()) + domainInfosObject.createTime = valueDomainsListDomainsDataDomainInfosdomainInfo["CreateTime"].asString(); domainsListObject.domainInfos.push_back(domainInfosObject); } auto allDomains = value["Domains"]["domainNames"]; diff --git a/cdn/src/model/DescribeDomainsUsageByDayRequest.cc b/cdn/src/model/DescribeDomainsUsageByDayRequest.cc index fb73c1aa7..e88480f3a 100644 --- a/cdn/src/model/DescribeDomainsUsageByDayRequest.cc +++ b/cdn/src/model/DescribeDomainsUsageByDayRequest.cc @@ -1,73 +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::DescribeDomainsUsageByDayRequest; - -DescribeDomainsUsageByDayRequest::DescribeDomainsUsageByDayRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainsUsageByDay") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainsUsageByDayRequest::~DescribeDomainsUsageByDayRequest() -{} - -std::string DescribeDomainsUsageByDayRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainsUsageByDayRequest; + +DescribeDomainsUsageByDayRequest::DescribeDomainsUsageByDayRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainsUsageByDay") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainsUsageByDayRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainsUsageByDayRequest::~DescribeDomainsUsageByDayRequest() {} + +std::string DescribeDomainsUsageByDayRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainsUsageByDayRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainsUsageByDayRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainsUsageByDayRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainsUsageByDayRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainsUsageByDayRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainsUsageByDayRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainsUsageByDayRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainsUsageByDayRequest::getEndTime() const { + return endTime_; } -long DescribeDomainsUsageByDayRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainsUsageByDayRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainsUsageByDayRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainsUsageByDayRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainsUsageByDayRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/DescribeDomainsUsageByDayResult.cc b/cdn/src/model/DescribeDomainsUsageByDayResult.cc index 3715dad0e..1b72eb56a 100644 --- a/cdn/src/model/DescribeDomainsUsageByDayResult.cc +++ b/cdn/src/model/DescribeDomainsUsageByDayResult.cc @@ -43,53 +43,53 @@ void DescribeDomainsUsageByDayResult::parse(const std::string &payload) for (auto valueUsageByDaysUsageByDay : allUsageByDaysNode) { UsageByDay usageByDaysObject; - if(!valueUsageByDaysUsageByDay["TimeStamp"].isNull()) - usageByDaysObject.timeStamp = valueUsageByDaysUsageByDay["TimeStamp"].asString(); + if(!valueUsageByDaysUsageByDay["MaxSrcBpsTime"].isNull()) + usageByDaysObject.maxSrcBpsTime = valueUsageByDaysUsageByDay["MaxSrcBpsTime"].asString(); if(!valueUsageByDaysUsageByDay["Qps"].isNull()) usageByDaysObject.qps = valueUsageByDaysUsageByDay["Qps"].asString(); - if(!valueUsageByDaysUsageByDay["BytesHitRate"].isNull()) - usageByDaysObject.bytesHitRate = valueUsageByDaysUsageByDay["BytesHitRate"].asString(); if(!valueUsageByDaysUsageByDay["RequestHitRate"].isNull()) usageByDaysObject.requestHitRate = valueUsageByDaysUsageByDay["RequestHitRate"].asString(); if(!valueUsageByDaysUsageByDay["MaxBps"].isNull()) usageByDaysObject.maxBps = valueUsageByDaysUsageByDay["MaxBps"].asString(); - if(!valueUsageByDaysUsageByDay["MaxBpsTime"].isNull()) - usageByDaysObject.maxBpsTime = valueUsageByDaysUsageByDay["MaxBpsTime"].asString(); - if(!valueUsageByDaysUsageByDay["MaxSrcBps"].isNull()) - usageByDaysObject.maxSrcBps = valueUsageByDaysUsageByDay["MaxSrcBps"].asString(); - if(!valueUsageByDaysUsageByDay["MaxSrcBpsTime"].isNull()) - usageByDaysObject.maxSrcBpsTime = valueUsageByDaysUsageByDay["MaxSrcBpsTime"].asString(); if(!valueUsageByDaysUsageByDay["TotalAccess"].isNull()) usageByDaysObject.totalAccess = valueUsageByDaysUsageByDay["TotalAccess"].asString(); + if(!valueUsageByDaysUsageByDay["TimeStamp"].isNull()) + usageByDaysObject.timeStamp = valueUsageByDaysUsageByDay["TimeStamp"].asString(); + if(!valueUsageByDaysUsageByDay["BytesHitRate"].isNull()) + usageByDaysObject.bytesHitRate = valueUsageByDaysUsageByDay["BytesHitRate"].asString(); if(!valueUsageByDaysUsageByDay["TotalTraffic"].isNull()) usageByDaysObject.totalTraffic = valueUsageByDaysUsageByDay["TotalTraffic"].asString(); + if(!valueUsageByDaysUsageByDay["MaxSrcBps"].isNull()) + usageByDaysObject.maxSrcBps = valueUsageByDaysUsageByDay["MaxSrcBps"].asString(); + if(!valueUsageByDaysUsageByDay["MaxBpsTime"].isNull()) + usageByDaysObject.maxBpsTime = valueUsageByDaysUsageByDay["MaxBpsTime"].asString(); usageByDays_.push_back(usageByDaysObject); } auto usageTotalNode = value["UsageTotal"]; - if(!usageTotalNode["BytesHitRate"].isNull()) - usageTotal_.bytesHitRate = usageTotalNode["BytesHitRate"].asString(); + if(!usageTotalNode["MaxSrcBpsTime"].isNull()) + usageTotal_.maxSrcBpsTime = usageTotalNode["MaxSrcBpsTime"].asString(); if(!usageTotalNode["RequestHitRate"].isNull()) usageTotal_.requestHitRate = usageTotalNode["RequestHitRate"].asString(); if(!usageTotalNode["MaxBps"].isNull()) usageTotal_.maxBps = usageTotalNode["MaxBps"].asString(); + if(!usageTotalNode["TotalAccess"].isNull()) + usageTotal_.totalAccess = usageTotalNode["TotalAccess"].asString(); + if(!usageTotalNode["BytesHitRate"].isNull()) + usageTotal_.bytesHitRate = usageTotalNode["BytesHitRate"].asString(); + if(!usageTotalNode["TotalTraffic"].isNull()) + usageTotal_.totalTraffic = usageTotalNode["TotalTraffic"].asString(); if(!usageTotalNode["MaxBpsTime"].isNull()) usageTotal_.maxBpsTime = usageTotalNode["MaxBpsTime"].asString(); if(!usageTotalNode["MaxSrcBps"].isNull()) usageTotal_.maxSrcBps = usageTotalNode["MaxSrcBps"].asString(); - if(!usageTotalNode["MaxSrcBpsTime"].isNull()) - usageTotal_.maxSrcBpsTime = usageTotalNode["MaxSrcBpsTime"].asString(); - if(!usageTotalNode["TotalAccess"].isNull()) - usageTotal_.totalAccess = usageTotalNode["TotalAccess"].asString(); - if(!usageTotalNode["TotalTraffic"].isNull()) - usageTotal_.totalTraffic = usageTotalNode["TotalTraffic"].asString(); + 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(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); } @@ -108,16 +108,16 @@ std::string DescribeDomainsUsageByDayResult::getDomainName()const return domainName_; } -std::string DescribeDomainsUsageByDayResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDomainsUsageByDayResult::getStartTime()const { return startTime_; } +std::string DescribeDomainsUsageByDayResult::getDataInterval()const +{ + return dataInterval_; +} + std::vector DescribeDomainsUsageByDayResult::getUsageByDays()const { return usageByDays_; diff --git a/cdn/src/model/DescribeEsExceptionDataRequest.cc b/cdn/src/model/DescribeEsExceptionDataRequest.cc deleted file mode 100644 index 504c063a3..000000000 --- a/cdn/src/model/DescribeEsExceptionDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeEsExceptionDataRequest; - -DescribeEsExceptionDataRequest::DescribeEsExceptionDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExceptionData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeEsExceptionDataRequest::~DescribeEsExceptionDataRequest() -{} - -std::string DescribeEsExceptionDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeEsExceptionDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeEsExceptionDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeEsExceptionDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeEsExceptionDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeEsExceptionDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeEsExceptionDataRequest::getRuleId()const -{ - return ruleId_; -} - -void DescribeEsExceptionDataRequest::setRuleId(const std::string& ruleId) -{ - ruleId_ = ruleId; - setParameter("RuleId", ruleId); -} - diff --git a/cdn/src/model/DescribeEsExceptionDataResult.cc b/cdn/src/model/DescribeEsExceptionDataResult.cc deleted file mode 100644 index daf13e72f..000000000 --- a/cdn/src/model/DescribeEsExceptionDataResult.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeEsExceptionDataResult::DescribeEsExceptionDataResult() : - ServiceResult() -{} - -DescribeEsExceptionDataResult::DescribeEsExceptionDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEsExceptionDataResult::~DescribeEsExceptionDataResult() -{} - -void DescribeEsExceptionDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allContentsNode = value["Contents"]["Content"]; - for (auto valueContentsContent : allContentsNode) - { - Content contentsObject; - if(!valueContentsContent["Name"].isNull()) - contentsObject.name = valueContentsContent["Name"].asString(); - auto allColumns = value["Columns"]["columns"]; - for (auto value : allColumns) - contentsObject.columns.push_back(value.asString()); - auto allPoints = value["Points"]["points"]; - for (auto value : allPoints) - contentsObject.points.push_back(value.asString()); - contents_.push_back(contentsObject); - } - -} - -std::vector DescribeEsExceptionDataResult::getContents()const -{ - return contents_; -} - diff --git a/cdn/src/model/DescribeEsExecuteDataRequest.cc b/cdn/src/model/DescribeEsExecuteDataRequest.cc deleted file mode 100644 index 8a4e6fe92..000000000 --- a/cdn/src/model/DescribeEsExecuteDataRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeEsExecuteDataRequest; - -DescribeEsExecuteDataRequest::DescribeEsExecuteDataRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExecuteData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeEsExecuteDataRequest::~DescribeEsExecuteDataRequest() -{} - -std::string DescribeEsExecuteDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeEsExecuteDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeEsExecuteDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeEsExecuteDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeEsExecuteDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeEsExecuteDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeEsExecuteDataRequest::getRuleId()const -{ - return ruleId_; -} - -void DescribeEsExecuteDataRequest::setRuleId(const std::string& ruleId) -{ - ruleId_ = ruleId; - setParameter("RuleId", ruleId); -} - diff --git a/cdn/src/model/DescribeEsExecuteDataResult.cc b/cdn/src/model/DescribeEsExecuteDataResult.cc deleted file mode 100644 index a4afc35a2..000000000 --- a/cdn/src/model/DescribeEsExecuteDataResult.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeEsExecuteDataResult::DescribeEsExecuteDataResult() : - ServiceResult() -{} - -DescribeEsExecuteDataResult::DescribeEsExecuteDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEsExecuteDataResult::~DescribeEsExecuteDataResult() -{} - -void DescribeEsExecuteDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allContentsNode = value["Contents"]["Content"]; - for (auto valueContentsContent : allContentsNode) - { - Content contentsObject; - if(!valueContentsContent["Name"].isNull()) - contentsObject.name = valueContentsContent["Name"].asString(); - auto allColumns = value["Columns"]["columns"]; - for (auto value : allColumns) - contentsObject.columns.push_back(value.asString()); - auto allPoints = value["Points"]["points"]; - for (auto value : allPoints) - contentsObject.points.push_back(value.asString()); - contents_.push_back(contentsObject); - } - -} - -std::vector DescribeEsExecuteDataResult::getContents()const -{ - return contents_; -} - diff --git a/cdn/src/model/DescribeFCTriggerRequest.cc b/cdn/src/model/DescribeFCTriggerRequest.cc deleted file mode 100644 index 18e2f7884..000000000 --- a/cdn/src/model/DescribeFCTriggerRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("TriggerARN", triggerARN); -} - -long DescribeFCTriggerRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeFCTriggerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeFCTriggerResult.cc b/cdn/src/model/DescribeFCTriggerResult.cc deleted file mode 100644 index adf83065a..000000000 --- a/cdn/src/model/DescribeFCTriggerResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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["EventMetaName"].isNull()) - fCTrigger_.eventMetaName = fCTriggerNode["EventMetaName"].asString(); - if(!fCTriggerNode["EventMetaVersion"].isNull()) - fCTrigger_.eventMetaVersion = fCTriggerNode["EventMetaVersion"].asString(); - 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(); - -} - -DescribeFCTriggerResult::FCTrigger DescribeFCTriggerResult::getFCTrigger()const -{ - return fCTrigger_; -} - diff --git a/cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc b/cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc deleted file mode 100644 index 100c17de8..000000000 --- a/cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("TaskId", taskId); -} - -long DescribeIllegalUrlExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeIllegalUrlExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeIllegalUrlExportTaskResult.cc b/cdn/src/model/DescribeIllegalUrlExportTaskResult.cc deleted file mode 100644 index e8cd39b4b..000000000 --- a/cdn/src/model/DescribeIllegalUrlExportTaskResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index f0bce42ac..000000000 --- a/cdn/src/model/DescribeIpInfoRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("IP", iP); -} - -long DescribeIpInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeIpInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeIpInfoRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeIpInfoRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeIpInfoResult.cc b/cdn/src/model/DescribeIpInfoResult.cc deleted file mode 100644 index 0ce1d989d..000000000 --- a/cdn/src/model/DescribeIpInfoResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["ISP"].isNull()) - iSP_ = value["ISP"].asString(); - if(!value["IspEname"].isNull()) - ispEname_ = value["IspEname"].asString(); - if(!value["Region"].isNull()) - region_ = value["Region"].asString(); - if(!value["RegionEname"].isNull()) - regionEname_ = value["RegionEname"].asString(); - -} - -std::string 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/DescribeL2VipsByDomainRequest.cc b/cdn/src/model/DescribeL2VipsByDomainRequest.cc deleted file mode 100644 index a75961fb1..000000000 --- a/cdn/src/model/DescribeL2VipsByDomainRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainName", domainName); -} - -long DescribeL2VipsByDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeL2VipsByDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeL2VipsByDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeL2VipsByDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeL2VipsByDomainResult.cc b/cdn/src/model/DescribeL2VipsByDomainResult.cc deleted file mode 100644 index 3bc0ff164..000000000 --- a/cdn/src/model/DescribeL2VipsByDomainResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/DescribeLivePullStreamConfigRequest.cc b/cdn/src/model/DescribeLivePullStreamConfigRequest.cc deleted file mode 100644 index 1a02fb5d4..000000000 --- a/cdn/src/model/DescribeLivePullStreamConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLivePullStreamConfigRequest; - -DescribeLivePullStreamConfigRequest::DescribeLivePullStreamConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLivePullStreamConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLivePullStreamConfigRequest::~DescribeLivePullStreamConfigRequest() -{} - -std::string DescribeLivePullStreamConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLivePullStreamConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeLivePullStreamConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLivePullStreamConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLivePullStreamConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLivePullStreamConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DescribeLivePullStreamConfigResult.cc b/cdn/src/model/DescribeLivePullStreamConfigResult.cc deleted file mode 100644 index 0a01c0f95..000000000 --- a/cdn/src/model/DescribeLivePullStreamConfigResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLivePullStreamConfigResult::DescribeLivePullStreamConfigResult() : - ServiceResult() -{} - -DescribeLivePullStreamConfigResult::DescribeLivePullStreamConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLivePullStreamConfigResult::~DescribeLivePullStreamConfigResult() -{} - -void DescribeLivePullStreamConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLiveAppRecordListNode = value["LiveAppRecordList"]["LiveAppRecord"]; - for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode) - { - LiveAppRecord liveAppRecordListObject; - if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) - liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["StreamName"].isNull()) - liveAppRecordListObject.streamName = valueLiveAppRecordListLiveAppRecord["StreamName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["SourceUrl"].isNull()) - liveAppRecordListObject.sourceUrl = valueLiveAppRecordListLiveAppRecord["SourceUrl"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) - liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["EndTime"].isNull()) - liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString(); - liveAppRecordList_.push_back(liveAppRecordListObject); - } - -} - -std::vector DescribeLivePullStreamConfigResult::getLiveAppRecordList()const -{ - return liveAppRecordList_; -} - diff --git a/cdn/src/model/DescribeLiveStreamOnlineUserNumRequest.cc b/cdn/src/model/DescribeLiveStreamOnlineUserNumRequest.cc deleted file mode 100644 index d5d3887d0..000000000 --- a/cdn/src/model/DescribeLiveStreamOnlineUserNumRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamOnlineUserNumRequest; - -DescribeLiveStreamOnlineUserNumRequest::DescribeLiveStreamOnlineUserNumRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamOnlineUserNum") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamOnlineUserNumRequest::~DescribeLiveStreamOnlineUserNumRequest() -{} - -std::string DescribeLiveStreamOnlineUserNumRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeLiveStreamOnlineUserNumRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamOnlineUserNumRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamOnlineUserNumRequest::getHlsSwitch()const -{ - return hlsSwitch_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setHlsSwitch(const std::string& hlsSwitch) -{ - hlsSwitch_ = hlsSwitch; - setParameter("HlsSwitch", hlsSwitch); -} - -std::string DescribeLiveStreamOnlineUserNumRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamOnlineUserNumRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamOnlineUserNumRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamOnlineUserNumRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamOnlineUserNumRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamOnlineUserNumResult.cc b/cdn/src/model/DescribeLiveStreamOnlineUserNumResult.cc deleted file mode 100644 index afdf7c7f9..000000000 --- a/cdn/src/model/DescribeLiveStreamOnlineUserNumResult.cc +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamOnlineUserNumResult::DescribeLiveStreamOnlineUserNumResult() : - ServiceResult() -{} - -DescribeLiveStreamOnlineUserNumResult::DescribeLiveStreamOnlineUserNumResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamOnlineUserNumResult::~DescribeLiveStreamOnlineUserNumResult() -{} - -void DescribeLiveStreamOnlineUserNumResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allOnlineUserInfoNode = value["OnlineUserInfo"]["LiveStreamOnlineUserNumInfo"]; - for (auto valueOnlineUserInfoLiveStreamOnlineUserNumInfo : allOnlineUserInfoNode) - { - LiveStreamOnlineUserNumInfo onlineUserInfoObject; - if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfo["StreamUrl"].isNull()) - onlineUserInfoObject.streamUrl = valueOnlineUserInfoLiveStreamOnlineUserNumInfo["StreamUrl"].asString(); - if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfo["UserNumber"].isNull()) - onlineUserInfoObject.userNumber = std::stol(valueOnlineUserInfoLiveStreamOnlineUserNumInfo["UserNumber"].asString()); - if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfo["Time"].isNull()) - onlineUserInfoObject.time = valueOnlineUserInfoLiveStreamOnlineUserNumInfo["Time"].asString(); - onlineUserInfo_.push_back(onlineUserInfoObject); - } - if(!value["TotalUserNumber"].isNull()) - totalUserNumber_ = std::stol(value["TotalUserNumber"].asString()); - -} - -std::vector DescribeLiveStreamOnlineUserNumResult::getOnlineUserInfo()const -{ - return onlineUserInfo_; -} - -long DescribeLiveStreamOnlineUserNumResult::getTotalUserNumber()const -{ - return totalUserNumber_; -} - diff --git a/cdn/src/model/DescribeLiveStreamRecordContentRequest.cc b/cdn/src/model/DescribeLiveStreamRecordContentRequest.cc deleted file mode 100644 index f3df6495b..000000000 --- a/cdn/src/model/DescribeLiveStreamRecordContentRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamRecordContentRequest; - -DescribeLiveStreamRecordContentRequest::DescribeLiveStreamRecordContentRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamRecordContent") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamRecordContentRequest::~DescribeLiveStreamRecordContentRequest() -{} - -std::string DescribeLiveStreamRecordContentRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeLiveStreamRecordContentRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamRecordContentRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamRecordContentRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamRecordContentRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamRecordContentRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamRecordContentRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamRecordContentRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamRecordContentRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamRecordContentResult.cc b/cdn/src/model/DescribeLiveStreamRecordContentResult.cc deleted file mode 100644 index 17a10a654..000000000 --- a/cdn/src/model/DescribeLiveStreamRecordContentResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamRecordContentResult::DescribeLiveStreamRecordContentResult() : - ServiceResult() -{} - -DescribeLiveStreamRecordContentResult::DescribeLiveStreamRecordContentResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamRecordContentResult::~DescribeLiveStreamRecordContentResult() -{} - -void DescribeLiveStreamRecordContentResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRecordContentInfoListNode = value["RecordContentInfoList"]["RecordContentInfo"]; - for (auto valueRecordContentInfoListRecordContentInfo : allRecordContentInfoListNode) - { - RecordContentInfo recordContentInfoListObject; - if(!valueRecordContentInfoListRecordContentInfo["OssEndpoint"].isNull()) - recordContentInfoListObject.ossEndpoint = valueRecordContentInfoListRecordContentInfo["OssEndpoint"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["OssBucket"].isNull()) - recordContentInfoListObject.ossBucket = valueRecordContentInfoListRecordContentInfo["OssBucket"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["OssObjectPrefix"].isNull()) - recordContentInfoListObject.ossObjectPrefix = valueRecordContentInfoListRecordContentInfo["OssObjectPrefix"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["StartTime"].isNull()) - recordContentInfoListObject.startTime = valueRecordContentInfoListRecordContentInfo["StartTime"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["EndTime"].isNull()) - recordContentInfoListObject.endTime = valueRecordContentInfoListRecordContentInfo["EndTime"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["Duration"].isNull()) - recordContentInfoListObject.duration = std::stof(valueRecordContentInfoListRecordContentInfo["Duration"].asString()); - recordContentInfoList_.push_back(recordContentInfoListObject); - } - -} - -std::vector DescribeLiveStreamRecordContentResult::getRecordContentInfoList()const -{ - return recordContentInfoList_; -} - diff --git a/cdn/src/model/DescribeLiveStreamRecordIndexFileRequest.cc b/cdn/src/model/DescribeLiveStreamRecordIndexFileRequest.cc deleted file mode 100644 index 8e8b6496b..000000000 --- a/cdn/src/model/DescribeLiveStreamRecordIndexFileRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamRecordIndexFileRequest; - -DescribeLiveStreamRecordIndexFileRequest::DescribeLiveStreamRecordIndexFileRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamRecordIndexFile") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamRecordIndexFileRequest::~DescribeLiveStreamRecordIndexFileRequest() -{} - -std::string DescribeLiveStreamRecordIndexFileRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeLiveStreamRecordIndexFileRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId()const -{ - return recordId_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); -} - diff --git a/cdn/src/model/DescribeLiveStreamRecordIndexFileResult.cc b/cdn/src/model/DescribeLiveStreamRecordIndexFileResult.cc deleted file mode 100644 index e907fdcd0..000000000 --- a/cdn/src/model/DescribeLiveStreamRecordIndexFileResult.cc +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamRecordIndexFileResult::DescribeLiveStreamRecordIndexFileResult() : - ServiceResult() -{} - -DescribeLiveStreamRecordIndexFileResult::DescribeLiveStreamRecordIndexFileResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamRecordIndexFileResult::~DescribeLiveStreamRecordIndexFileResult() -{} - -void DescribeLiveStreamRecordIndexFileResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto recordIndexInfoNode = value["RecordIndexInfo"]; - if(!recordIndexInfoNode["RecordId"].isNull()) - recordIndexInfo_.recordId = recordIndexInfoNode["RecordId"].asString(); - if(!recordIndexInfoNode["RecordUrl"].isNull()) - recordIndexInfo_.recordUrl = recordIndexInfoNode["RecordUrl"].asString(); - if(!recordIndexInfoNode["DomainName"].isNull()) - recordIndexInfo_.domainName = recordIndexInfoNode["DomainName"].asString(); - if(!recordIndexInfoNode["AppName"].isNull()) - recordIndexInfo_.appName = recordIndexInfoNode["AppName"].asString(); - if(!recordIndexInfoNode["StreamName"].isNull()) - recordIndexInfo_.streamName = recordIndexInfoNode["StreamName"].asString(); - if(!recordIndexInfoNode["OssObject"].isNull()) - recordIndexInfo_.ossObject = recordIndexInfoNode["OssObject"].asString(); - if(!recordIndexInfoNode["StartTime"].isNull()) - recordIndexInfo_.startTime = recordIndexInfoNode["StartTime"].asString(); - if(!recordIndexInfoNode["EndTime"].isNull()) - recordIndexInfo_.endTime = recordIndexInfoNode["EndTime"].asString(); - if(!recordIndexInfoNode["Duration"].isNull()) - recordIndexInfo_.duration = std::stof(recordIndexInfoNode["Duration"].asString()); - if(!recordIndexInfoNode["Height"].isNull()) - recordIndexInfo_.height = std::stoi(recordIndexInfoNode["Height"].asString()); - if(!recordIndexInfoNode["Width"].isNull()) - recordIndexInfo_.width = std::stoi(recordIndexInfoNode["Width"].asString()); - if(!recordIndexInfoNode["CreateTime"].isNull()) - recordIndexInfo_.createTime = recordIndexInfoNode["CreateTime"].asString(); - -} - -DescribeLiveStreamRecordIndexFileResult::RecordIndexInfo DescribeLiveStreamRecordIndexFileResult::getRecordIndexInfo()const -{ - return recordIndexInfo_; -} - diff --git a/cdn/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc b/cdn/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc deleted file mode 100644 index c2b7e3321..000000000 --- a/cdn/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamRecordIndexFilesRequest; - -DescribeLiveStreamRecordIndexFilesRequest::DescribeLiveStreamRecordIndexFilesRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamRecordIndexFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamRecordIndexFilesRequest::~DescribeLiveStreamRecordIndexFilesRequest() -{} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc b/cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc deleted file mode 100644 index 82a9a0d2e..000000000 --- a/cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamRecordIndexFilesResult::DescribeLiveStreamRecordIndexFilesResult() : - ServiceResult() -{} - -DescribeLiveStreamRecordIndexFilesResult::DescribeLiveStreamRecordIndexFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamRecordIndexFilesResult::~DescribeLiveStreamRecordIndexFilesResult() -{} - -void DescribeLiveStreamRecordIndexFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRecordIndexInfoListNode = value["RecordIndexInfoList"]["RecordIndexInfo"]; - for (auto valueRecordIndexInfoListRecordIndexInfo : allRecordIndexInfoListNode) - { - RecordIndexInfo recordIndexInfoListObject; - if(!valueRecordIndexInfoListRecordIndexInfo["RecordId"].isNull()) - recordIndexInfoListObject.recordId = valueRecordIndexInfoListRecordIndexInfo["RecordId"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["RecordUrl"].isNull()) - recordIndexInfoListObject.recordUrl = valueRecordIndexInfoListRecordIndexInfo["RecordUrl"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["DomainName"].isNull()) - recordIndexInfoListObject.domainName = valueRecordIndexInfoListRecordIndexInfo["DomainName"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["AppName"].isNull()) - recordIndexInfoListObject.appName = valueRecordIndexInfoListRecordIndexInfo["AppName"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["StreamName"].isNull()) - recordIndexInfoListObject.streamName = valueRecordIndexInfoListRecordIndexInfo["StreamName"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["OssObject"].isNull()) - recordIndexInfoListObject.ossObject = valueRecordIndexInfoListRecordIndexInfo["OssObject"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["StartTime"].isNull()) - recordIndexInfoListObject.startTime = valueRecordIndexInfoListRecordIndexInfo["StartTime"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["EndTime"].isNull()) - recordIndexInfoListObject.endTime = valueRecordIndexInfoListRecordIndexInfo["EndTime"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["Duration"].isNull()) - recordIndexInfoListObject.duration = std::stof(valueRecordIndexInfoListRecordIndexInfo["Duration"].asString()); - if(!valueRecordIndexInfoListRecordIndexInfo["Height"].isNull()) - recordIndexInfoListObject.height = std::stoi(valueRecordIndexInfoListRecordIndexInfo["Height"].asString()); - if(!valueRecordIndexInfoListRecordIndexInfo["Width"].isNull()) - recordIndexInfoListObject.width = std::stoi(valueRecordIndexInfoListRecordIndexInfo["Width"].asString()); - if(!valueRecordIndexInfoListRecordIndexInfo["CreateTime"].isNull()) - recordIndexInfoListObject.createTime = valueRecordIndexInfoListRecordIndexInfo["CreateTime"].asString(); - recordIndexInfoList_.push_back(recordIndexInfoListObject); - } - -} - -std::vector DescribeLiveStreamRecordIndexFilesResult::getRecordIndexInfoList()const -{ - return recordIndexInfoList_; -} - diff --git a/cdn/src/model/DescribeLiveStreamSnapshotInfoRequest.cc b/cdn/src/model/DescribeLiveStreamSnapshotInfoRequest.cc deleted file mode 100644 index 9293161c5..000000000 --- a/cdn/src/model/DescribeLiveStreamSnapshotInfoRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamSnapshotInfoRequest; - -DescribeLiveStreamSnapshotInfoRequest::DescribeLiveStreamSnapshotInfoRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamSnapshotInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamSnapshotInfoRequest::~DescribeLiveStreamSnapshotInfoRequest() -{} - -std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeLiveStreamSnapshotInfoRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -int DescribeLiveStreamSnapshotInfoRequest::getLimit()const -{ - return limit_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamSnapshotInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamSnapshotInfoResult.cc b/cdn/src/model/DescribeLiveStreamSnapshotInfoResult.cc deleted file mode 100644 index 6a123c2ea..000000000 --- a/cdn/src/model/DescribeLiveStreamSnapshotInfoResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamSnapshotInfoResult::DescribeLiveStreamSnapshotInfoResult() : - ServiceResult() -{} - -DescribeLiveStreamSnapshotInfoResult::DescribeLiveStreamSnapshotInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamSnapshotInfoResult::~DescribeLiveStreamSnapshotInfoResult() -{} - -void DescribeLiveStreamSnapshotInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLiveStreamSnapshotInfoListNode = value["LiveStreamSnapshotInfoList"]["LiveStreamSnapshotInfo"]; - for (auto valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo : allLiveStreamSnapshotInfoListNode) - { - LiveStreamSnapshotInfo liveStreamSnapshotInfoListObject; - if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssEndpoint"].isNull()) - liveStreamSnapshotInfoListObject.ossEndpoint = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssEndpoint"].asString(); - if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].isNull()) - liveStreamSnapshotInfoListObject.ossBucket = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].asString(); - if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssObject"].isNull()) - liveStreamSnapshotInfoListObject.ossObject = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssObject"].asString(); - if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTime"].isNull()) - liveStreamSnapshotInfoListObject.createTime = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTime"].asString(); - liveStreamSnapshotInfoList_.push_back(liveStreamSnapshotInfoListObject); - } - if(!value["NextStartTime"].isNull()) - nextStartTime_ = value["NextStartTime"].asString(); - -} - -std::vector DescribeLiveStreamSnapshotInfoResult::getLiveStreamSnapshotInfoList()const -{ - return liveStreamSnapshotInfoList_; -} - -std::string DescribeLiveStreamSnapshotInfoResult::getNextStartTime()const -{ - return nextStartTime_; -} - diff --git a/cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc b/cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc deleted file mode 100644 index 1efa30755..000000000 --- a/cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest; - -DescribeLiveStreamsFrameRateAndBitRateDataRequest::DescribeLiveStreamsFrameRateAndBitRateDataRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsFrameRateAndBitRateData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsFrameRateAndBitRateDataRequest::~DescribeLiveStreamsFrameRateAndBitRateDataRequest() -{} - -std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamsFrameRateAndBitRateDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc b/cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc deleted file mode 100644 index ce913c170..000000000 --- a/cdn/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamsFrameRateAndBitRateDataResult::DescribeLiveStreamsFrameRateAndBitRateDataResult() : - ServiceResult() -{} - -DescribeLiveStreamsFrameRateAndBitRateDataResult::DescribeLiveStreamsFrameRateAndBitRateDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamsFrameRateAndBitRateDataResult::~DescribeLiveStreamsFrameRateAndBitRateDataResult() -{} - -void DescribeLiveStreamsFrameRateAndBitRateDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allFrameRateAndBitRateInfosNode = value["FrameRateAndBitRateInfos"]["FrameRateAndBitRateInfo"]; - for (auto valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo : allFrameRateAndBitRateInfosNode) - { - FrameRateAndBitRateInfo frameRateAndBitRateInfosObject; - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull()) - frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].asString(); - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].isNull()) - frameRateAndBitRateInfosObject.videoFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].asString()); - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].isNull()) - frameRateAndBitRateInfosObject.audioFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].asString()); - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].isNull()) - frameRateAndBitRateInfosObject.bitRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].asString()); - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].isNull()) - frameRateAndBitRateInfosObject.time = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].asString(); - frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); - } - -} - -std::vector DescribeLiveStreamsFrameRateAndBitRateDataResult::getFrameRateAndBitRateInfos()const -{ - return frameRateAndBitRateInfos_; -} - diff --git a/cdn/src/model/DescribeLiveStreamsOnlineListRequest.cc b/cdn/src/model/DescribeLiveStreamsOnlineListRequest.cc deleted file mode 100644 index b45eecff5..000000000 --- a/cdn/src/model/DescribeLiveStreamsOnlineListRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamsOnlineListRequest; - -DescribeLiveStreamsOnlineListRequest::DescribeLiveStreamsOnlineListRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsOnlineList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsOnlineListRequest::~DescribeLiveStreamsOnlineListRequest() -{} - -int DescribeLiveStreamsOnlineListRequest::getPageNum()const -{ - return pageNum_; -} - -void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - -std::string DescribeLiveStreamsOnlineListRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamsOnlineListRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamsOnlineListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -int DescribeLiveStreamsOnlineListRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeLiveStreamsOnlineListRequest::getStreamType()const -{ - return streamType_; -} - -void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string& streamType) -{ - streamType_ = streamType; - setParameter("StreamType", streamType); -} - -std::string DescribeLiveStreamsOnlineListRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeLiveStreamsOnlineListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamsOnlineListResult.cc b/cdn/src/model/DescribeLiveStreamsOnlineListResult.cc deleted file mode 100644 index ebfe9358c..000000000 --- a/cdn/src/model/DescribeLiveStreamsOnlineListResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamsOnlineListResult::DescribeLiveStreamsOnlineListResult() : - ServiceResult() -{} - -DescribeLiveStreamsOnlineListResult::DescribeLiveStreamsOnlineListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamsOnlineListResult::~DescribeLiveStreamsOnlineListResult() -{} - -void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allOnlineInfoNode = value["OnlineInfo"]["LiveStreamOnlineInfo"]; - for (auto valueOnlineInfoLiveStreamOnlineInfo : allOnlineInfoNode) - { - LiveStreamOnlineInfo onlineInfoObject; - if(!valueOnlineInfoLiveStreamOnlineInfo["DomainName"].isNull()) - onlineInfoObject.domainName = valueOnlineInfoLiveStreamOnlineInfo["DomainName"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["AppName"].isNull()) - onlineInfoObject.appName = valueOnlineInfoLiveStreamOnlineInfo["AppName"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["StreamName"].isNull()) - onlineInfoObject.streamName = valueOnlineInfoLiveStreamOnlineInfo["StreamName"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].isNull()) - onlineInfoObject.publishTime = valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["PublishUrl"].isNull()) - onlineInfoObject.publishUrl = valueOnlineInfoLiveStreamOnlineInfo["PublishUrl"].asString(); - onlineInfo_.push_back(onlineInfoObject); - } - if(!value["PageNum"].isNull()) - pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - -int DescribeLiveStreamsOnlineListResult::getTotalNum()const -{ - return totalNum_; -} - -int DescribeLiveStreamsOnlineListResult::getPageNum()const -{ - return pageNum_; -} - -int DescribeLiveStreamsOnlineListResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeLiveStreamsOnlineListResult::getTotalPage()const -{ - return totalPage_; -} - -std::vector DescribeLiveStreamsOnlineListResult::getOnlineInfo()const -{ - return onlineInfo_; -} - diff --git a/cdn/src/model/DescribeLiveStreamsPublishListRequest.cc b/cdn/src/model/DescribeLiveStreamsPublishListRequest.cc deleted file mode 100644 index d52ec1838..000000000 --- a/cdn/src/model/DescribeLiveStreamsPublishListRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeLiveStreamsPublishListRequest; - -DescribeLiveStreamsPublishListRequest::DescribeLiveStreamsPublishListRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsPublishList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsPublishListRequest::~DescribeLiveStreamsPublishListRequest() -{} - -std::string DescribeLiveStreamsPublishListRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -long DescribeLiveStreamsPublishListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeLiveStreamsPublishListRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeLiveStreamsPublishListRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamsPublishListRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamsPublishListRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamsPublishListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -long DescribeLiveStreamsPublishListRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeLiveStreamsPublishListRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeLiveStreamsPublishListRequest::getStreamName()const -{ - return streamName_; -} - -void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string DescribeLiveStreamsPublishListRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeLiveStreamsPublishListRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeLiveStreamsPublishListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeLiveStreamsPublishListResult.cc b/cdn/src/model/DescribeLiveStreamsPublishListResult.cc deleted file mode 100644 index f5e7ce234..000000000 --- a/cdn/src/model/DescribeLiveStreamsPublishListResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DescribeLiveStreamsPublishListResult::DescribeLiveStreamsPublishListResult() : - ServiceResult() -{} - -DescribeLiveStreamsPublishListResult::DescribeLiveStreamsPublishListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamsPublishListResult::~DescribeLiveStreamsPublishListResult() -{} - -void DescribeLiveStreamsPublishListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPublishInfoNode = value["PublishInfo"]["LiveStreamPublishInfo"]; - for (auto valuePublishInfoLiveStreamPublishInfo : allPublishInfoNode) - { - LiveStreamPublishInfo publishInfoObject; - if(!valuePublishInfoLiveStreamPublishInfo["DomainName"].isNull()) - publishInfoObject.domainName = valuePublishInfoLiveStreamPublishInfo["DomainName"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["AppName"].isNull()) - publishInfoObject.appName = valuePublishInfoLiveStreamPublishInfo["AppName"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StreamName"].isNull()) - publishInfoObject.streamName = valuePublishInfoLiveStreamPublishInfo["StreamName"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StreamUrl"].isNull()) - publishInfoObject.streamUrl = valuePublishInfoLiveStreamPublishInfo["StreamUrl"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["PublishTime"].isNull()) - publishInfoObject.publishTime = valuePublishInfoLiveStreamPublishInfo["PublishTime"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StopTime"].isNull()) - publishInfoObject.stopTime = valuePublishInfoLiveStreamPublishInfo["StopTime"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["PublishUrl"].isNull()) - publishInfoObject.publishUrl = valuePublishInfoLiveStreamPublishInfo["PublishUrl"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["ClientAddr"].isNull()) - publishInfoObject.clientAddr = valuePublishInfoLiveStreamPublishInfo["ClientAddr"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["EdgeNodeAddr"].isNull()) - publishInfoObject.edgeNodeAddr = valuePublishInfoLiveStreamPublishInfo["EdgeNodeAddr"].asString(); - publishInfo_.push_back(publishInfoObject); - } - -} - -std::vector DescribeLiveStreamsPublishListResult::getPublishInfo()const -{ - return publishInfo_; -} - diff --git a/cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc b/cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc deleted file mode 100644 index 4fc1ae1f5..000000000 --- a/cdn/src/model/DescribeRangeDataByLocateAndIspServiceRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainNames", domainNames); -} - -std::string DescribeRangeDataByLocateAndIspServiceRequest::getLocationNames()const -{ - return locationNames_; -} - -void DescribeRangeDataByLocateAndIspServiceRequest::setLocationNames(const std::string& locationNames) -{ - locationNames_ = locationNames; - setParameter("LocationNames", locationNames); -} - -std::string DescribeRangeDataByLocateAndIspServiceRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeRangeDataByLocateAndIspServiceRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeRangeDataByLocateAndIspServiceRequest::getIspNames()const -{ - return ispNames_; -} - -void DescribeRangeDataByLocateAndIspServiceRequest::setIspNames(const std::string& ispNames) -{ - ispNames_ = ispNames; - setParameter("IspNames", ispNames); -} - -std::string DescribeRangeDataByLocateAndIspServiceRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeRangeDataByLocateAndIspServiceRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeRangeDataByLocateAndIspServiceRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeRangeDataByLocateAndIspServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc b/cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc deleted file mode 100644 index d86dc7a4c..000000000 --- a/cdn/src/model/DescribeRangeDataByLocateAndIspServiceResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index d6aaaa622..000000000 --- a/cdn/src/model/DescribeRealtimeDeliveryAccRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Project", project); -} - -std::string DescribeRealtimeDeliveryAccRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeRealtimeDeliveryAccRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeRealtimeDeliveryAccRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeRealtimeDeliveryAccRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeRealtimeDeliveryAccRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeRealtimeDeliveryAccRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeRealtimeDeliveryAccRequest::getInterval()const -{ - return interval_; -} - -void DescribeRealtimeDeliveryAccRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); -} - -std::string DescribeRealtimeDeliveryAccRequest::getLogStore()const -{ - return logStore_; -} - -void DescribeRealtimeDeliveryAccRequest::setLogStore(const std::string& logStore) -{ - logStore_ = logStore; - setParameter("LogStore", logStore); -} - diff --git a/cdn/src/model/DescribeRealtimeDeliveryAccResult.cc b/cdn/src/model/DescribeRealtimeDeliveryAccResult.cc deleted file mode 100644 index 0a0c6abe9..000000000 --- a/cdn/src/model/DescribeRealtimeDeliveryAccResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["SuccessNum"].isNull()) - reatTimeDeliveryAccDataObject.successNum = std::stoi(valueReatTimeDeliveryAccDataAccData["SuccessNum"].asString()); - if(!valueReatTimeDeliveryAccDataAccData["FailedNum"].isNull()) - reatTimeDeliveryAccDataObject.failedNum = std::stoi(valueReatTimeDeliveryAccDataAccData["FailedNum"].asString()); - reatTimeDeliveryAccData_.push_back(reatTimeDeliveryAccDataObject); - } - -} - -std::vector DescribeRealtimeDeliveryAccResult::getReatTimeDeliveryAccData()const -{ - return reatTimeDeliveryAccData_; -} - diff --git a/cdn/src/model/DescribeRefreshQuotaRequest.cc b/cdn/src/model/DescribeRefreshQuotaRequest.cc index 35450aaf1..74b2f38ce 100644 --- a/cdn/src/model/DescribeRefreshQuotaRequest.cc +++ b/cdn/src/model/DescribeRefreshQuotaRequest.cc @@ -1,51 +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::DescribeRefreshQuotaRequest; - -DescribeRefreshQuotaRequest::DescribeRefreshQuotaRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeRefreshQuota") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRefreshQuotaRequest::~DescribeRefreshQuotaRequest() -{} - -long DescribeRefreshQuotaRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeRefreshQuotaRequest; + +DescribeRefreshQuotaRequest::DescribeRefreshQuotaRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeRefreshQuota") { + setMethod(HttpRequest::Method::Post); } -void DescribeRefreshQuotaRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeRefreshQuotaRequest::~DescribeRefreshQuotaRequest() {} + +long DescribeRefreshQuotaRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeRefreshQuotaRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeRefreshQuotaRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeRefreshQuotaRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeRefreshQuotaRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeRefreshQuotaRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/cdn/src/model/DescribeRefreshQuotaResult.cc b/cdn/src/model/DescribeRefreshQuotaResult.cc index ab0fcabe0..abe36f69b 100644 --- a/cdn/src/model/DescribeRefreshQuotaResult.cc +++ b/cdn/src/model/DescribeRefreshQuotaResult.cc @@ -39,30 +39,22 @@ void DescribeRefreshQuotaResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["UrlQuota"].isNull()) - urlQuota_ = value["UrlQuota"].asString(); - if(!value["DirQuota"].isNull()) - dirQuota_ = value["DirQuota"].asString(); - if(!value["UrlRemain"].isNull()) - urlRemain_ = value["UrlRemain"].asString(); - if(!value["DirRemain"].isNull()) - dirRemain_ = value["DirRemain"].asString(); - if(!value["PreloadQuota"].isNull()) - preloadQuota_ = value["PreloadQuota"].asString(); if(!value["BlockQuota"].isNull()) blockQuota_ = value["BlockQuota"].asString(); - if(!value["PreloadRemain"].isNull()) - preloadRemain_ = value["PreloadRemain"].asString(); if(!value["BlockRemain"].isNull()) blockRemain_ = value["BlockRemain"].asString(); - if(!value["RegexQuota"].isNull()) - regexQuota_ = value["RegexQuota"].asString(); - if(!value["RegexRemain"].isNull()) - regexRemain_ = value["RegexRemain"].asString(); - if(!value["PreloadEdgeQuota"].isNull()) - preloadEdgeQuota_ = value["PreloadEdgeQuota"].asString(); - if(!value["PreloadEdgeRemain"].isNull()) - preloadEdgeRemain_ = value["PreloadEdgeRemain"].asString(); + if(!value["PreloadRemain"].isNull()) + preloadRemain_ = value["PreloadRemain"].asString(); + if(!value["DirRemain"].isNull()) + dirRemain_ = value["DirRemain"].asString(); + if(!value["UrlRemain"].isNull()) + urlRemain_ = value["UrlRemain"].asString(); + if(!value["DirQuota"].isNull()) + dirQuota_ = value["DirQuota"].asString(); + if(!value["UrlQuota"].isNull()) + urlQuota_ = value["UrlQuota"].asString(); + if(!value["PreloadQuota"].isNull()) + preloadQuota_ = value["PreloadQuota"].asString(); } @@ -71,9 +63,9 @@ std::string DescribeRefreshQuotaResult::getUrlRemain()const return urlRemain_; } -std::string DescribeRefreshQuotaResult::getPreloadEdgeRemain()const +std::string DescribeRefreshQuotaResult::getBlockRemain()const { - return preloadEdgeRemain_; + return blockRemain_; } std::string DescribeRefreshQuotaResult::getPreloadRemain()const @@ -81,29 +73,14 @@ std::string DescribeRefreshQuotaResult::getPreloadRemain()const return preloadRemain_; } -std::string DescribeRefreshQuotaResult::getBlockRemain()const -{ - return blockRemain_; -} - -std::string DescribeRefreshQuotaResult::getRegexRemain()const -{ - return regexRemain_; -} - -std::string DescribeRefreshQuotaResult::getDirRemain()const -{ - return dirRemain_; -} - std::string DescribeRefreshQuotaResult::getBlockQuota()const { return blockQuota_; } -std::string DescribeRefreshQuotaResult::getRegexQuota()const +std::string DescribeRefreshQuotaResult::getDirRemain()const { - return regexQuota_; + return dirRemain_; } std::string DescribeRefreshQuotaResult::getUrlQuota()const @@ -121,8 +98,3 @@ std::string DescribeRefreshQuotaResult::getPreloadQuota()const return preloadQuota_; } -std::string DescribeRefreshQuotaResult::getPreloadEdgeQuota()const -{ - return preloadEdgeQuota_; -} - diff --git a/cdn/src/model/DescribeRefreshTaskByIdRequest.cc b/cdn/src/model/DescribeRefreshTaskByIdRequest.cc deleted file mode 100644 index db93ea772..000000000 --- a/cdn/src/model/DescribeRefreshTaskByIdRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("TaskId", taskId); -} - -long DescribeRefreshTaskByIdRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeRefreshTaskByIdRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeRefreshTaskByIdResult.cc b/cdn/src/model/DescribeRefreshTaskByIdResult.cc deleted file mode 100644 index 8ff3b0577..000000000 --- a/cdn/src/model/DescribeRefreshTaskByIdResult.cc +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TaskId"].isNull()) - tasksObject.taskId = valueTasksCDNTask["TaskId"].asString(); - if(!valueTasksCDNTask["ObjectPath"].isNull()) - tasksObject.objectPath = valueTasksCDNTask["ObjectPath"].asString(); - if(!valueTasksCDNTask["Process"].isNull()) - tasksObject.process = valueTasksCDNTask["Process"].asString(); - if(!valueTasksCDNTask["Status"].isNull()) - tasksObject.status = valueTasksCDNTask["Status"].asString(); - if(!valueTasksCDNTask["CreationTime"].isNull()) - tasksObject.creationTime = valueTasksCDNTask["CreationTime"].asString(); - if(!valueTasksCDNTask["Description"].isNull()) - tasksObject.description = valueTasksCDNTask["Description"].asString(); - if(!valueTasksCDNTask["ObjectType"].isNull()) - tasksObject.objectType = valueTasksCDNTask["ObjectType"].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 deleted file mode 100644 index e85041cbc..000000000 --- a/cdn/src/model/DescribeRefreshTasksRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("ObjectPath", objectPath); -} - -std::string DescribeRefreshTasksRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeRefreshTasksRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -int DescribeRefreshTasksRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeRefreshTasksRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeRefreshTasksRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeRefreshTasksRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeRefreshTasksRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeRefreshTasksRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -int DescribeRefreshTasksRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeRefreshTasksRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeRefreshTasksRequest::getObjectType()const -{ - return objectType_; -} - -void DescribeRefreshTasksRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); -} - -std::string DescribeRefreshTasksRequest::getTaskId()const -{ - return taskId_; -} - -void DescribeRefreshTasksRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); -} - -std::string DescribeRefreshTasksRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeRefreshTasksRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string DescribeRefreshTasksRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeRefreshTasksRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeRefreshTasksRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeRefreshTasksRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeRefreshTasksRequest::getStatus()const -{ - return status_; -} - -void DescribeRefreshTasksRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/cdn/src/model/DescribeRefreshTasksResult.cc b/cdn/src/model/DescribeRefreshTasksResult.cc deleted file mode 100644 index bd7826da7..000000000 --- a/cdn/src/model/DescribeRefreshTasksResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TaskId"].isNull()) - tasksObject.taskId = valueTasksCDNTask["TaskId"].asString(); - if(!valueTasksCDNTask["ObjectPath"].isNull()) - tasksObject.objectPath = valueTasksCDNTask["ObjectPath"].asString(); - if(!valueTasksCDNTask["Process"].isNull()) - tasksObject.process = valueTasksCDNTask["Process"].asString(); - if(!valueTasksCDNTask["Status"].isNull()) - tasksObject.status = valueTasksCDNTask["Status"].asString(); - if(!valueTasksCDNTask["CreationTime"].isNull()) - tasksObject.creationTime = valueTasksCDNTask["CreationTime"].asString(); - if(!valueTasksCDNTask["Description"].isNull()) - tasksObject.description = valueTasksCDNTask["Description"].asString(); - if(!valueTasksCDNTask["ObjectType"].isNull()) - tasksObject.objectType = valueTasksCDNTask["ObjectType"].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 deleted file mode 100644 index 73e9924a4..000000000 --- a/cdn/src/model/DescribeStagingIpRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeStagingIpResult.cc b/cdn/src/model/DescribeStagingIpResult.cc deleted file mode 100644 index 1fa47cd5e..000000000 --- a/cdn/src/model/DescribeStagingIpResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 5298bc56a..000000000 --- a/cdn/src/model/DescribeTagResourcesRequest.cc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("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 = "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; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -long DescribeTagResourcesRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeTagResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeTagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void DescribeTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/cdn/src/model/DescribeTagResourcesResult.cc b/cdn/src/model/DescribeTagResourcesResult.cc deleted file mode 100644 index 9e85b89d7..000000000 --- a/cdn/src/model/DescribeTagResourcesResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/DescribeTopDomainsByFlowRequest.cc b/cdn/src/model/DescribeTopDomainsByFlowRequest.cc index db888cd86..b61b3ca2c 100644 --- a/cdn/src/model/DescribeTopDomainsByFlowRequest.cc +++ b/cdn/src/model/DescribeTopDomainsByFlowRequest.cc @@ -1,73 +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::DescribeTopDomainsByFlowRequest; - -DescribeTopDomainsByFlowRequest::DescribeTopDomainsByFlowRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeTopDomainsByFlow") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeTopDomainsByFlowRequest::~DescribeTopDomainsByFlowRequest() -{} - -std::string DescribeTopDomainsByFlowRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeTopDomainsByFlowRequest; + +DescribeTopDomainsByFlowRequest::DescribeTopDomainsByFlowRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeTopDomainsByFlow") { + setMethod(HttpRequest::Method::Post); } -void DescribeTopDomainsByFlowRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeTopDomainsByFlowRequest::~DescribeTopDomainsByFlowRequest() {} + +std::string DescribeTopDomainsByFlowRequest::getStartTime() const { + return startTime_; } -long DescribeTopDomainsByFlowRequest::getLimit()const -{ - return limit_; +void DescribeTopDomainsByFlowRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeTopDomainsByFlowRequest::setLimit(long limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); +long DescribeTopDomainsByFlowRequest::getLimit() const { + return limit_; } -std::string DescribeTopDomainsByFlowRequest::getEndTime()const -{ - return endTime_; +void DescribeTopDomainsByFlowRequest::setLimit(long limit) { + limit_ = limit; + setParameter(std::string("Limit"), std::to_string(limit)); } -void DescribeTopDomainsByFlowRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeTopDomainsByFlowRequest::getProduct() const { + return product_; } -long DescribeTopDomainsByFlowRequest::getOwnerId()const -{ - return ownerId_; +void DescribeTopDomainsByFlowRequest::setProduct(const std::string &product) { + product_ = product; + setParameter(std::string("Product"), product); } -void DescribeTopDomainsByFlowRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeTopDomainsByFlowRequest::getEndTime() const { + return endTime_; +} + +void DescribeTopDomainsByFlowRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeTopDomainsByFlowRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeTopDomainsByFlowRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/DescribeTopDomainsByFlowResult.cc b/cdn/src/model/DescribeTopDomainsByFlowResult.cc index 243f20112..101b5ad46 100644 --- a/cdn/src/model/DescribeTopDomainsByFlowResult.cc +++ b/cdn/src/model/DescribeTopDomainsByFlowResult.cc @@ -43,30 +43,30 @@ void DescribeTopDomainsByFlowResult::parse(const std::string &payload) for (auto valueTopDomainsTopDomain : allTopDomainsNode) { TopDomain topDomainsObject; - if(!valueTopDomainsTopDomain["DomainName"].isNull()) - topDomainsObject.domainName = valueTopDomainsTopDomain["DomainName"].asString(); - if(!valueTopDomainsTopDomain["Rank"].isNull()) - topDomainsObject.rank = std::stol(valueTopDomainsTopDomain["Rank"].asString()); - if(!valueTopDomainsTopDomain["TotalTraffic"].isNull()) - topDomainsObject.totalTraffic = valueTopDomainsTopDomain["TotalTraffic"].asString(); - if(!valueTopDomainsTopDomain["TrafficPercent"].isNull()) - topDomainsObject.trafficPercent = valueTopDomainsTopDomain["TrafficPercent"].asString(); if(!valueTopDomainsTopDomain["MaxBps"].isNull()) topDomainsObject.maxBps = std::stof(valueTopDomainsTopDomain["MaxBps"].asString()); - if(!valueTopDomainsTopDomain["MaxBpsTime"].isNull()) - topDomainsObject.maxBpsTime = valueTopDomainsTopDomain["MaxBpsTime"].asString(); + if(!valueTopDomainsTopDomain["Rank"].isNull()) + topDomainsObject.rank = std::stol(valueTopDomainsTopDomain["Rank"].asString()); if(!valueTopDomainsTopDomain["TotalAccess"].isNull()) topDomainsObject.totalAccess = std::stol(valueTopDomainsTopDomain["TotalAccess"].asString()); + if(!valueTopDomainsTopDomain["TrafficPercent"].isNull()) + topDomainsObject.trafficPercent = valueTopDomainsTopDomain["TrafficPercent"].asString(); + if(!valueTopDomainsTopDomain["DomainName"].isNull()) + topDomainsObject.domainName = valueTopDomainsTopDomain["DomainName"].asString(); + if(!valueTopDomainsTopDomain["TotalTraffic"].isNull()) + topDomainsObject.totalTraffic = valueTopDomainsTopDomain["TotalTraffic"].asString(); + if(!valueTopDomainsTopDomain["MaxBpsTime"].isNull()) + topDomainsObject.maxBpsTime = valueTopDomainsTopDomain["MaxBpsTime"].asString(); topDomains_.push_back(topDomainsObject); } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DomainCount"].isNull()) - domainCount_ = std::stol(value["DomainCount"].asString()); if(!value["DomainOnlineCount"].isNull()) domainOnlineCount_ = std::stol(value["DomainOnlineCount"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainCount"].isNull()) + domainCount_ = std::stol(value["DomainCount"].asString()); } diff --git a/cdn/src/model/DescribeUserCertificateExpireCountRequest.cc b/cdn/src/model/DescribeUserCertificateExpireCountRequest.cc deleted file mode 100644 index 67315c955..000000000 --- a/cdn/src/model/DescribeUserCertificateExpireCountRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeUserCertificateExpireCountResult.cc b/cdn/src/model/DescribeUserCertificateExpireCountResult.cc deleted file mode 100644 index 1f1f2852a..000000000 --- a/cdn/src/model/DescribeUserCertificateExpireCountResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index 7d739463b..000000000 --- a/cdn/src/model/DescribeUserConfigsRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DescribeUserConfigsRequest; - -DescribeUserConfigsRequest::DescribeUserConfigsRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeUserConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserConfigsRequest::~DescribeUserConfigsRequest() -{} - -long DescribeUserConfigsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeUserConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeUserConfigsRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeUserConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeUserConfigsRequest::getConfig()const -{ - return config_; -} - -void DescribeUserConfigsRequest::setConfig(const std::string& config) -{ - config_ = config; - setParameter("Config", config); -} - diff --git a/cdn/src/model/DescribeUserConfigsResult.cc b/cdn/src/model/DescribeUserConfigsResult.cc deleted file mode 100644 index af2715a75..000000000 --- a/cdn/src/model/DescribeUserConfigsResult.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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["Enable"].isNull()) - configs_.ossLogConfig.enable = ossLogConfigNode["Enable"].asString(); - if(!ossLogConfigNode["Bucket"].isNull()) - configs_.ossLogConfig.bucket = ossLogConfigNode["Bucket"].asString(); - if(!ossLogConfigNode["Prefix"].isNull()) - configs_.ossLogConfig.prefix = ossLogConfigNode["Prefix"].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/DescribeUserDomainsRequest.cc b/cdn/src/model/DescribeUserDomainsRequest.cc index 73e548ae6..f63e217a8 100644 --- a/cdn/src/model/DescribeUserDomainsRequest.cc +++ b/cdn/src/model/DescribeUserDomainsRequest.cc @@ -1,221 +1,144 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES 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::DescribeUserDomainsRequest; - -DescribeUserDomainsRequest::DescribeUserDomainsRequest() : - RpcServiceRequest("cdn", "2018-05-10", "DescribeUserDomains") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserDomainsRequest::~DescribeUserDomainsRequest() -{} - -std::string DescribeUserDomainsRequest::getSource()const -{ - return source_; + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeUserDomainsRequest; + +DescribeUserDomainsRequest::DescribeUserDomainsRequest() + : RpcServiceRequest("cdn", "2014-11-11", "DescribeUserDomains") { + setMethod(HttpRequest::Method::Post); } -void DescribeUserDomainsRequest::setSource(const std::string& source) -{ - source_ = source; - setParameter("Source", source); +DescribeUserDomainsRequest::~DescribeUserDomainsRequest() {} + +std::string DescribeUserDomainsRequest::getSources() const { + return sources_; } -int DescribeUserDomainsRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeUserDomainsRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void DescribeUserDomainsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int DescribeUserDomainsRequest::getPageNumber() const { + return pageNumber_; } -bool DescribeUserDomainsRequest::getCheckDomainShow()const -{ - return checkDomainShow_; +void DescribeUserDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) -{ - checkDomainShow_ = checkDomainShow; - setParameter("CheckDomainShow", checkDomainShow ? "true" : "false"); +bool DescribeUserDomainsRequest::getCheckDomainShow() const { + return checkDomainShow_; } -std::string DescribeUserDomainsRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void DescribeUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) { + checkDomainShow_ = checkDomainShow; + setParameter(std::string("CheckDomainShow"), checkDomainShow ? "true" : "false"); } -void DescribeUserDomainsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string DescribeUserDomainsRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string DescribeUserDomainsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeUserDomainsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void DescribeUserDomainsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeUserDomainsRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeUserDomainsRequest::getCdnType()const -{ - return cdnType_; +void DescribeUserDomainsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeUserDomainsRequest::setCdnType(const std::string& cdnType) -{ - cdnType_ = cdnType; - setParameter("CdnType", cdnType); +std::string DescribeUserDomainsRequest::getCdnType() const { + return cdnType_; } -std::string DescribeUserDomainsRequest::getChangeEndTime()const -{ - return changeEndTime_; +void DescribeUserDomainsRequest::setCdnType(const std::string &cdnType) { + cdnType_ = cdnType; + setParameter(std::string("CdnType"), cdnType); } -void DescribeUserDomainsRequest::setChangeEndTime(const std::string& changeEndTime) -{ - changeEndTime_ = changeEndTime; - setParameter("ChangeEndTime", changeEndTime); +int DescribeUserDomainsRequest::getPageSize() const { + return pageSize_; } -int DescribeUserDomainsRequest::getPageSize()const -{ - return pageSize_; +void DescribeUserDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeUserDomainsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeUserDomainsRequest::getFuncFilter() const { + return funcFilter_; } -std::vector DescribeUserDomainsRequest::getTag()const -{ - return tag_; +void DescribeUserDomainsRequest::setFuncFilter(const std::string &funcFilter) { + funcFilter_ = funcFilter; + setParameter(std::string("FuncFilter"), funcFilter); } -void DescribeUserDomainsRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } +std::string DescribeUserDomainsRequest::getDomainName() const { + return domainName_; } -std::string DescribeUserDomainsRequest::getFuncFilter()const -{ - return funcFilter_; +void DescribeUserDomainsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeUserDomainsRequest::setFuncFilter(const std::string& funcFilter) -{ - funcFilter_ = funcFilter; - setParameter("FuncFilter", funcFilter); +long DescribeUserDomainsRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUserDomainsRequest::getCoverage()const -{ - return coverage_; +void DescribeUserDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeUserDomainsRequest::setCoverage(const std::string& coverage) -{ - coverage_ = coverage; - setParameter("Coverage", coverage); +std::string DescribeUserDomainsRequest::getFuncId() const { + return funcId_; } -std::string DescribeUserDomainsRequest::getDomainName()const -{ - return domainName_; +void DescribeUserDomainsRequest::setFuncId(const std::string &funcId) { + funcId_ = funcId; + setParameter(std::string("FuncId"), funcId); } -void DescribeUserDomainsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeUserDomainsRequest::getDomainStatus() const { + return domainStatus_; } -long DescribeUserDomainsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeUserDomainsRequest::setDomainStatus(const std::string &domainStatus) { + domainStatus_ = domainStatus; + setParameter(std::string("DomainStatus"), domainStatus); } -void DescribeUserDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeUserDomainsRequest::getDomainSearchType() const { + return domainSearchType_; } -std::string DescribeUserDomainsRequest::getFuncId()const -{ - return funcId_; -} - -void DescribeUserDomainsRequest::setFuncId(const std::string& funcId) -{ - funcId_ = funcId; - setParameter("FuncId", funcId); -} - -std::string DescribeUserDomainsRequest::getDomainStatus()const -{ - return domainStatus_; -} - -void DescribeUserDomainsRequest::setDomainStatus(const std::string& domainStatus) -{ - domainStatus_ = domainStatus; - setParameter("DomainStatus", domainStatus); -} - -std::string DescribeUserDomainsRequest::getDomainSearchType()const -{ - return domainSearchType_; -} - -void DescribeUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType) -{ - domainSearchType_ = domainSearchType; - setParameter("DomainSearchType", domainSearchType); -} - -std::string DescribeUserDomainsRequest::getChangeStartTime()const -{ - return changeStartTime_; -} - -void DescribeUserDomainsRequest::setChangeStartTime(const std::string& changeStartTime) -{ - changeStartTime_ = changeStartTime; - setParameter("ChangeStartTime", changeStartTime); +void DescribeUserDomainsRequest::setDomainSearchType(const std::string &domainSearchType) { + domainSearchType_ = domainSearchType; + setParameter(std::string("DomainSearchType"), domainSearchType); } diff --git a/cdn/src/model/DescribeUserDomainsResult.cc b/cdn/src/model/DescribeUserDomainsResult.cc index 81190d0d1..4f3e2d52d 100644 --- a/cdn/src/model/DescribeUserDomainsResult.cc +++ b/cdn/src/model/DescribeUserDomainsResult.cc @@ -43,44 +43,31 @@ void DescribeUserDomainsResult::parse(const std::string &payload) for (auto valueDomainsPageData : allDomainsNode) { PageData domainsObject; - if(!valueDomainsPageData["DomainName"].isNull()) - domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); - if(!valueDomainsPageData["Cname"].isNull()) - domainsObject.cname = valueDomainsPageData["Cname"].asString(); - if(!valueDomainsPageData["CdnType"].isNull()) - domainsObject.cdnType = valueDomainsPageData["CdnType"].asString(); - if(!valueDomainsPageData["DomainStatus"].isNull()) - domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); if(!valueDomainsPageData["GmtCreated"].isNull()) domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); - if(!valueDomainsPageData["GmtModified"].isNull()) - domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); - if(!valueDomainsPageData["Description"].isNull()) - domainsObject.description = valueDomainsPageData["Description"].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["SourceType"].isNull()) + domainsObject.sourceType = valueDomainsPageData["SourceType"].asString(); if(!valueDomainsPageData["Sandbox"].isNull()) domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); - if(!valueDomainsPageData["Coverage"].isNull()) - domainsObject.coverage = valueDomainsPageData["Coverage"].asString(); - auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; - for (auto valueDomainsPageDataSourcesSource : allSourcesNode) - { - PageData::Source sourcesObject; - if(!valueDomainsPageDataSourcesSource["Type"].isNull()) - sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); - if(!valueDomainsPageDataSourcesSource["Content"].isNull()) - sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); - if(!valueDomainsPageDataSourcesSource["Port"].isNull()) - sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); - if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) - sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); - if(!valueDomainsPageDataSourcesSource["Weight"].isNull()) - sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString(); - domainsObject.sources.push_back(sourcesObject); - } + 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 allSources = value["Sources"]["Source"]; + for (auto value : allSources) + domainsObject.sources.push_back(value.asString()); domains_.push_back(domainsObject); } if(!value["PageNumber"].isNull()) diff --git a/cdn/src/model/DescribeUserTagsRequest.cc b/cdn/src/model/DescribeUserTagsRequest.cc deleted file mode 100644 index a0e4af617..000000000 --- a/cdn/src/model/DescribeUserTagsRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeUserTagsResult.cc b/cdn/src/model/DescribeUserTagsResult.cc deleted file mode 100644 index 269cfc31e..000000000 --- a/cdn/src/model/DescribeUserTagsResult.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index ca69d5fbb..000000000 --- a/cdn/src/model/DescribeUserUsageDataExportTaskRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("PageNumber", pageNumber); -} - -std::string DescribeUserUsageDataExportTaskRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeUserUsageDataExportTaskRequest::setPageSize(const std::string& pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", pageSize); -} - -long DescribeUserUsageDataExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeUserUsageDataExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeUserUsageDataExportTaskResult.cc b/cdn/src/model/DescribeUserUsageDataExportTaskResult.cc deleted file mode 100644 index cd9efad87..000000000 --- a/cdn/src/model/DescribeUserUsageDataExportTaskResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TotalCount"].isNull()) - usageDataPerPage_.totalCount = std::stoi(usageDataPerPageNode["TotalCount"].asString()); - if(!usageDataPerPageNode["PageSize"].isNull()) - usageDataPerPage_.pageSize = std::stoi(usageDataPerPageNode["PageSize"].asString()); - if(!usageDataPerPageNode["PageNumber"].isNull()) - usageDataPerPage_.pageNumber = std::stoi(usageDataPerPageNode["PageNumber"].asString()); - auto allDataNode = usageDataPerPageNode["Data"]["DataItem"]; - for (auto usageDataPerPageNodeDataDataItem : allDataNode) - { - UsageDataPerPage::DataItem dataItemObject; - if(!usageDataPerPageNodeDataDataItem["TaskName"].isNull()) - dataItemObject.taskName = usageDataPerPageNodeDataDataItem["TaskName"].asString(); - if(!usageDataPerPageNodeDataDataItem["TaskId"].isNull()) - dataItemObject.taskId = usageDataPerPageNodeDataDataItem["TaskId"].asString(); - if(!usageDataPerPageNodeDataDataItem["CreateTime"].isNull()) - dataItemObject.createTime = usageDataPerPageNodeDataDataItem["CreateTime"].asString(); - if(!usageDataPerPageNodeDataDataItem["UpdateTime"].isNull()) - dataItemObject.updateTime = usageDataPerPageNodeDataDataItem["UpdateTime"].asString(); - if(!usageDataPerPageNodeDataDataItem["Status"].isNull()) - dataItemObject.status = usageDataPerPageNodeDataDataItem["Status"].asString(); - if(!usageDataPerPageNodeDataDataItem["DownloadUrl"].isNull()) - dataItemObject.downloadUrl = usageDataPerPageNodeDataDataItem["DownloadUrl"].asString(); - auto taskConfigNode = value["TaskConfig"]; - if(!taskConfigNode["StartTime"].isNull()) - dataItemObject.taskConfig.startTime = taskConfigNode["StartTime"].asString(); - if(!taskConfigNode["EndTime"].isNull()) - dataItemObject.taskConfig.endTime = taskConfigNode["EndTime"].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 deleted file mode 100644 index c2b8eb5cd..000000000 --- a/cdn/src/model/DescribeUserUsageDetailDataExportTaskRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("PageNumber", pageNumber); -} - -std::string DescribeUserUsageDetailDataExportTaskRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeUserUsageDetailDataExportTaskRequest::setPageSize(const std::string& pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", pageSize); -} - -long DescribeUserUsageDetailDataExportTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeUserUsageDetailDataExportTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc b/cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc deleted file mode 100644 index c19c01643..000000000 --- a/cdn/src/model/DescribeUserUsageDetailDataExportTaskResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["TotalCount"].isNull()) - usageDataPerPage_.totalCount = std::stoi(usageDataPerPageNode["TotalCount"].asString()); - if(!usageDataPerPageNode["PageSize"].isNull()) - usageDataPerPage_.pageSize = std::stoi(usageDataPerPageNode["PageSize"].asString()); - if(!usageDataPerPageNode["PageNumber"].isNull()) - usageDataPerPage_.pageNumber = std::stoi(usageDataPerPageNode["PageNumber"].asString()); - auto allDataNode = usageDataPerPageNode["Data"]["DataItem"]; - for (auto usageDataPerPageNodeDataDataItem : allDataNode) - { - UsageDataPerPage::DataItem dataItemObject; - if(!usageDataPerPageNodeDataDataItem["TaskName"].isNull()) - dataItemObject.taskName = usageDataPerPageNodeDataDataItem["TaskName"].asString(); - if(!usageDataPerPageNodeDataDataItem["TaskId"].isNull()) - dataItemObject.taskId = usageDataPerPageNodeDataDataItem["TaskId"].asString(); - if(!usageDataPerPageNodeDataDataItem["CreateTime"].isNull()) - dataItemObject.createTime = usageDataPerPageNodeDataDataItem["CreateTime"].asString(); - if(!usageDataPerPageNodeDataDataItem["UpdateTime"].isNull()) - dataItemObject.updateTime = usageDataPerPageNodeDataDataItem["UpdateTime"].asString(); - if(!usageDataPerPageNodeDataDataItem["Status"].isNull()) - dataItemObject.status = usageDataPerPageNodeDataDataItem["Status"].asString(); - if(!usageDataPerPageNodeDataDataItem["DownloadUrl"].isNull()) - dataItemObject.downloadUrl = usageDataPerPageNodeDataDataItem["DownloadUrl"].asString(); - auto taskConfigNode = value["TaskConfig"]; - if(!taskConfigNode["StartTime"].isNull()) - dataItemObject.taskConfig.startTime = taskConfigNode["StartTime"].asString(); - if(!taskConfigNode["EndTime"].isNull()) - dataItemObject.taskConfig.endTime = taskConfigNode["EndTime"].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 deleted file mode 100644 index 9dcda88ad..000000000 --- a/cdn/src/model/DescribeUserVipsByDomainRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Available", available); -} - -std::string DescribeUserVipsByDomainRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeUserVipsByDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeUserVipsByDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeUserVipsByDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeUserVipsByDomainResult.cc b/cdn/src/model/DescribeUserVipsByDomainResult.cc deleted file mode 100644 index d2a1996a5..000000000 --- a/cdn/src/model/DescribeUserVipsByDomainResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index f204c9a3d..000000000 --- a/cdn/src/model/DescribeVerifyContentRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("DomainName", domainName); -} - -long DescribeVerifyContentRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeVerifyContentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/DescribeVerifyContentResult.cc b/cdn/src/model/DescribeVerifyContentResult.cc deleted file mode 100644 index f02306719..000000000 --- a/cdn/src/model/DescribeVerifyContentResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index cd7cdc198..000000000 --- a/cdn/src/model/DisableRealtimeLogDeliveryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string DisableRealtimeLogDeliveryRequest::getDomain()const -{ - return domain_; -} - -void DisableRealtimeLogDeliveryRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - diff --git a/cdn/src/model/DisableRealtimeLogDeliveryResult.cc b/cdn/src/model/DisableRealtimeLogDeliveryResult.cc deleted file mode 100644 index d753cd64e..000000000 --- a/cdn/src/model/DisableRealtimeLogDeliveryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 139982dc5..000000000 --- a/cdn/src/model/EnableRealtimeLogDeliveryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string EnableRealtimeLogDeliveryRequest::getDomain()const -{ - return domain_; -} - -void EnableRealtimeLogDeliveryRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - diff --git a/cdn/src/model/EnableRealtimeLogDeliveryResult.cc b/cdn/src/model/EnableRealtimeLogDeliveryResult.cc deleted file mode 100644 index ad3020e6c..000000000 --- a/cdn/src/model/EnableRealtimeLogDeliveryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/ForbidLiveStreamRequest.cc b/cdn/src/model/ForbidLiveStreamRequest.cc deleted file mode 100644 index bb74e457a..000000000 --- a/cdn/src/model/ForbidLiveStreamRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::ForbidLiveStreamRequest; - -ForbidLiveStreamRequest::ForbidLiveStreamRequest() : - RpcServiceRequest("cdn", "2014-11-11", "ForbidLiveStream") -{ - setMethod(HttpRequest::Method::Post); -} - -ForbidLiveStreamRequest::~ForbidLiveStreamRequest() -{} - -std::string ForbidLiveStreamRequest::getAppName()const -{ - return appName_; -} - -void ForbidLiveStreamRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string ForbidLiveStreamRequest::getSecurityToken()const -{ - return securityToken_; -} - -void ForbidLiveStreamRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string ForbidLiveStreamRequest::getStreamName()const -{ - return streamName_; -} - -void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string ForbidLiveStreamRequest::getResumeTime()const -{ - return resumeTime_; -} - -void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) -{ - resumeTime_ = resumeTime; - setParameter("ResumeTime", resumeTime); -} - -std::string ForbidLiveStreamRequest::getLiveStreamType()const -{ - return liveStreamType_; -} - -void ForbidLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) -{ - liveStreamType_ = liveStreamType; - setParameter("LiveStreamType", liveStreamType); -} - -std::string ForbidLiveStreamRequest::getDomainName()const -{ - return domainName_; -} - -void ForbidLiveStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long ForbidLiveStreamRequest::getOwnerId()const -{ - return ownerId_; -} - -void ForbidLiveStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/ForbidLiveStreamResult.cc b/cdn/src/model/ForbidLiveStreamResult.cc deleted file mode 100644 index a84b77a3c..000000000 --- a/cdn/src/model/ForbidLiveStreamResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -ForbidLiveStreamResult::ForbidLiveStreamResult() : - ServiceResult() -{} - -ForbidLiveStreamResult::ForbidLiveStreamResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ForbidLiveStreamResult::~ForbidLiveStreamResult() -{} - -void ForbidLiveStreamResult::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 deleted file mode 100644 index b5f21c7c0..000000000 --- a/cdn/src/model/ListDomainsByLogConfigIdRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - -std::string ListDomainsByLogConfigIdRequest::getConfigId()const -{ - return configId_; -} - -void ListDomainsByLogConfigIdRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/ListDomainsByLogConfigIdResult.cc b/cdn/src/model/ListDomainsByLogConfigIdResult.cc deleted file mode 100644 index ef4a5f2c4..000000000 --- a/cdn/src/model/ListDomainsByLogConfigIdResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 4f02c688f..000000000 --- a/cdn/src/model/ListFCTriggerRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("EventMetaVersion", eventMetaVersion); -} - -long ListFCTriggerRequest::getOwnerId()const -{ - return ownerId_; -} - -void ListFCTriggerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ListFCTriggerRequest::getEventMetaName()const -{ - return eventMetaName_; -} - -void ListFCTriggerRequest::setEventMetaName(const std::string& eventMetaName) -{ - eventMetaName_ = eventMetaName; - setParameter("EventMetaName", eventMetaName); -} - diff --git a/cdn/src/model/ListFCTriggerResult.cc b/cdn/src/model/ListFCTriggerResult.cc deleted file mode 100644 index b539e2016..000000000 --- a/cdn/src/model/ListFCTriggerResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["EventMetaName"].isNull()) - fCTriggersObject.eventMetaName = valueFCTriggersFCTrigger["EventMetaName"].asString(); - if(!valueFCTriggersFCTrigger["EventMetaVersion"].isNull()) - fCTriggersObject.eventMetaVersion = valueFCTriggersFCTrigger["EventMetaVersion"].asString(); - 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(); - 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 deleted file mode 100644 index 88fc4a45b..000000000 --- a/cdn/src/model/ListRealtimeLogDeliveryDomainsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Project", project); -} - -long ListRealtimeLogDeliveryDomainsRequest::getOwnerId()const -{ - return ownerId_; -} - -void ListRealtimeLogDeliveryDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ListRealtimeLogDeliveryDomainsRequest::getRegion()const -{ - return region_; -} - -void ListRealtimeLogDeliveryDomainsRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); -} - -std::string ListRealtimeLogDeliveryDomainsRequest::getLogstore()const -{ - return logstore_; -} - -void ListRealtimeLogDeliveryDomainsRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); -} - diff --git a/cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc b/cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc deleted file mode 100644 index 3304074c5..000000000 --- a/cdn/src/model/ListRealtimeLogDeliveryDomainsResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["DomainName"].isNull()) - contentObject.domainName = valueContentDomains["DomainName"].asString(); - if(!valueContentDomains["Status"].isNull()) - contentObject.status = valueContentDomains["Status"].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 deleted file mode 100644 index af4ded2d5..000000000 --- a/cdn/src/model/ListRealtimeLogDeliveryInfosRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc b/cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc deleted file mode 100644 index 4388fd1ef..000000000 --- a/cdn/src/model/ListRealtimeLogDeliveryInfosResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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["Project"].isNull()) - contentObject.project = valueContentRealtimeLogDeliveryInfos["Project"].asString(); - if(!valueContentRealtimeLogDeliveryInfos["Logstore"].isNull()) - contentObject.logstore = valueContentRealtimeLogDeliveryInfos["Logstore"].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 deleted file mode 100644 index a2ef222bf..000000000 --- a/cdn/src/model/ListUserCustomLogConfigRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/ListUserCustomLogConfigResult.cc b/cdn/src/model/ListUserCustomLogConfigResult.cc deleted file mode 100644 index 5b42a798f..000000000 --- a/cdn/src/model/ListUserCustomLogConfigResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 8d12ccaf8..000000000 --- a/cdn/src/model/ModifyCdnDomainRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Sources", sources); -} - -std::string ModifyCdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ModifyCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ModifyCdnDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void ModifyCdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string ModifyCdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; -} - -void ModifyCdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); -} - -std::string ModifyCdnDomainRequest::getDomainName()const -{ - return domainName_; -} - -void ModifyCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long ModifyCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/ModifyCdnDomainResult.cc b/cdn/src/model/ModifyCdnDomainResult.cc deleted file mode 100644 index 41bdca2eb..000000000 --- a/cdn/src/model/ModifyCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index b3cb4a7d7..000000000 --- a/cdn/src/model/ModifyCdnDomainSchdmByPropertyRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::ModifyCdnDomainSchdmByPropertyRequest; - -ModifyCdnDomainSchdmByPropertyRequest::ModifyCdnDomainSchdmByPropertyRequest() : - RpcServiceRequest("cdn", "2018-05-10", "ModifyCdnDomainSchdmByProperty") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCdnDomainSchdmByPropertyRequest::~ModifyCdnDomainSchdmByPropertyRequest() -{} - -std::string ModifyCdnDomainSchdmByPropertyRequest::getDomainName()const -{ - return domainName_; -} - -void ModifyCdnDomainSchdmByPropertyRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long ModifyCdnDomainSchdmByPropertyRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyCdnDomainSchdmByPropertyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ModifyCdnDomainSchdmByPropertyRequest::getProperty()const -{ - return property_; -} - -void ModifyCdnDomainSchdmByPropertyRequest::setProperty(const std::string& property) -{ - property_ = property; - setParameter("Property", property); -} - diff --git a/cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc b/cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc deleted file mode 100644 index 1d13626aa..000000000 --- a/cdn/src/model/ModifyCdnDomainSchdmByPropertyResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/ModifyDomainCustomLogConfigRequest.cc b/cdn/src/model/ModifyDomainCustomLogConfigRequest.cc deleted file mode 100644 index 244276c5f..000000000 --- a/cdn/src/model/ModifyDomainCustomLogConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::ModifyDomainCustomLogConfigRequest; - -ModifyDomainCustomLogConfigRequest::ModifyDomainCustomLogConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "ModifyDomainCustomLogConfig") -{ - setMethod(HttpRequest::Method::Get); -} - -ModifyDomainCustomLogConfigRequest::~ModifyDomainCustomLogConfigRequest() -{} - -std::string ModifyDomainCustomLogConfigRequest::getDomainName()const -{ - return domainName_; -} - -void ModifyDomainCustomLogConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long ModifyDomainCustomLogConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyDomainCustomLogConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ModifyDomainCustomLogConfigRequest::getConfigId()const -{ - return configId_; -} - -void ModifyDomainCustomLogConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/ModifyDomainCustomLogConfigResult.cc b/cdn/src/model/ModifyDomainCustomLogConfigResult.cc deleted file mode 100644 index dc5dde80b..000000000 --- a/cdn/src/model/ModifyDomainCustomLogConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -ModifyDomainCustomLogConfigResult::ModifyDomainCustomLogConfigResult() : - ServiceResult() -{} - -ModifyDomainCustomLogConfigResult::ModifyDomainCustomLogConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDomainCustomLogConfigResult::~ModifyDomainCustomLogConfigResult() -{} - -void ModifyDomainCustomLogConfigResult::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 deleted file mode 100644 index dc51a2e9a..000000000 --- a/cdn/src/model/ModifyRealtimeLogDeliveryRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Project", project); -} - -long ModifyRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string ModifyRealtimeLogDeliveryRequest::getDomain()const -{ - return domain_; -} - -void ModifyRealtimeLogDeliveryRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - -std::string ModifyRealtimeLogDeliveryRequest::getRegion()const -{ - return region_; -} - -void ModifyRealtimeLogDeliveryRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); -} - -std::string ModifyRealtimeLogDeliveryRequest::getLogstore()const -{ - return logstore_; -} - -void ModifyRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); -} - diff --git a/cdn/src/model/ModifyRealtimeLogDeliveryResult.cc b/cdn/src/model/ModifyRealtimeLogDeliveryResult.cc deleted file mode 100644 index ebe5dcf77..000000000 --- a/cdn/src/model/ModifyRealtimeLogDeliveryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/OpenCdnServiceRequest.cc b/cdn/src/model/OpenCdnServiceRequest.cc index 5b0db5dab..74d627ae7 100644 --- a/cdn/src/model/OpenCdnServiceRequest.cc +++ b/cdn/src/model/OpenCdnServiceRequest.cc @@ -1,62 +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::OpenCdnServiceRequest; - -OpenCdnServiceRequest::OpenCdnServiceRequest() : - RpcServiceRequest("cdn", "2018-05-10", "OpenCdnService") -{ - setMethod(HttpRequest::Method::Post); -} - -OpenCdnServiceRequest::~OpenCdnServiceRequest() -{} - -long OpenCdnServiceRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Cdn::Model::OpenCdnServiceRequest; + +OpenCdnServiceRequest::OpenCdnServiceRequest() + : RpcServiceRequest("cdn", "2014-11-11", "OpenCdnService") { + setMethod(HttpRequest::Method::Post); } -void OpenCdnServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +OpenCdnServiceRequest::~OpenCdnServiceRequest() {} + +long OpenCdnServiceRequest::getOwnerId() const { + return ownerId_; } -std::string OpenCdnServiceRequest::getSecurityToken()const -{ - return securityToken_; +void OpenCdnServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void OpenCdnServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string OpenCdnServiceRequest::getSecurityToken() const { + return securityToken_; } -std::string OpenCdnServiceRequest::getInternetChargeType()const -{ - return internetChargeType_; +void OpenCdnServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void OpenCdnServiceRequest::setInternetChargeType(const std::string& internetChargeType) -{ - internetChargeType_ = internetChargeType; - setParameter("InternetChargeType", internetChargeType); +std::string OpenCdnServiceRequest::getInternetChargeType() const { + return internetChargeType_; +} + +void OpenCdnServiceRequest::setInternetChargeType(const std::string &internetChargeType) { + internetChargeType_ = internetChargeType; + setParameter(std::string("InternetChargeType"), internetChargeType); } diff --git a/cdn/src/model/PublishStagingConfigToProductionRequest.cc b/cdn/src/model/PublishStagingConfigToProductionRequest.cc deleted file mode 100644 index 4d21b0b0a..000000000 --- a/cdn/src/model/PublishStagingConfigToProductionRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::PublishStagingConfigToProductionRequest; - -PublishStagingConfigToProductionRequest::PublishStagingConfigToProductionRequest() : - RpcServiceRequest("cdn", "2018-05-10", "PublishStagingConfigToProduction") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishStagingConfigToProductionRequest::~PublishStagingConfigToProductionRequest() -{} - -std::string PublishStagingConfigToProductionRequest::getFunctionName()const -{ - return functionName_; -} - -void PublishStagingConfigToProductionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - -std::string PublishStagingConfigToProductionRequest::getDomainName()const -{ - return domainName_; -} - -void PublishStagingConfigToProductionRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long PublishStagingConfigToProductionRequest::getOwnerId()const -{ - return ownerId_; -} - -void PublishStagingConfigToProductionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/PublishStagingConfigToProductionResult.cc b/cdn/src/model/PublishStagingConfigToProductionResult.cc deleted file mode 100644 index 14317a168..000000000 --- a/cdn/src/model/PublishStagingConfigToProductionResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/PushObjectCacheRequest.cc b/cdn/src/model/PushObjectCacheRequest.cc index 74a48446a..7d094e8fb 100644 --- a/cdn/src/model/PushObjectCacheRequest.cc +++ b/cdn/src/model/PushObjectCacheRequest.cc @@ -1,73 +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::PushObjectCacheRequest; - -PushObjectCacheRequest::PushObjectCacheRequest() : - RpcServiceRequest("cdn", "2018-05-10", "PushObjectCache") -{ - setMethod(HttpRequest::Method::Post); -} - -PushObjectCacheRequest::~PushObjectCacheRequest() -{} - -std::string PushObjectCacheRequest::getObjectPath()const -{ - return objectPath_; + */ + +#include + +using AlibabaCloud::Cdn::Model::PushObjectCacheRequest; + +PushObjectCacheRequest::PushObjectCacheRequest() + : RpcServiceRequest("cdn", "2014-11-11", "PushObjectCache") { + setMethod(HttpRequest::Method::Post); } -void PushObjectCacheRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +PushObjectCacheRequest::~PushObjectCacheRequest() {} + +std::string PushObjectCacheRequest::getObjectPath() const { + return objectPath_; } -std::string PushObjectCacheRequest::getSecurityToken()const -{ - return securityToken_; +void PushObjectCacheRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void PushObjectCacheRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string PushObjectCacheRequest::getSecurityToken() const { + return securityToken_; } -std::string PushObjectCacheRequest::getArea()const -{ - return area_; +void PushObjectCacheRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void PushObjectCacheRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); +std::string PushObjectCacheRequest::getArea() const { + return area_; } -long PushObjectCacheRequest::getOwnerId()const -{ - return ownerId_; +void PushObjectCacheRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); } -void PushObjectCacheRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long PushObjectCacheRequest::getOwnerId() const { + return ownerId_; +} + +void PushObjectCacheRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/RefreshObjectCachesRequest.cc b/cdn/src/model/RefreshObjectCachesRequest.cc index 9aee20831..713836a89 100644 --- a/cdn/src/model/RefreshObjectCachesRequest.cc +++ b/cdn/src/model/RefreshObjectCachesRequest.cc @@ -1,73 +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::RefreshObjectCachesRequest; - -RefreshObjectCachesRequest::RefreshObjectCachesRequest() : - RpcServiceRequest("cdn", "2018-05-10", "RefreshObjectCaches") -{ - setMethod(HttpRequest::Method::Post); -} - -RefreshObjectCachesRequest::~RefreshObjectCachesRequest() -{} - -std::string RefreshObjectCachesRequest::getObjectPath()const -{ - return objectPath_; + */ + +#include + +using AlibabaCloud::Cdn::Model::RefreshObjectCachesRequest; + +RefreshObjectCachesRequest::RefreshObjectCachesRequest() + : RpcServiceRequest("cdn", "2014-11-11", "RefreshObjectCaches") { + setMethod(HttpRequest::Method::Post); } -void RefreshObjectCachesRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +RefreshObjectCachesRequest::~RefreshObjectCachesRequest() {} + +std::string RefreshObjectCachesRequest::getObjectPath() const { + return objectPath_; } -std::string RefreshObjectCachesRequest::getSecurityToken()const -{ - return securityToken_; +void RefreshObjectCachesRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void RefreshObjectCachesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string RefreshObjectCachesRequest::getSecurityToken() const { + return securityToken_; } -std::string RefreshObjectCachesRequest::getObjectType()const -{ - return objectType_; +void RefreshObjectCachesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void RefreshObjectCachesRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); +std::string RefreshObjectCachesRequest::getObjectType() const { + return objectType_; } -long RefreshObjectCachesRequest::getOwnerId()const -{ - return ownerId_; +void RefreshObjectCachesRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); } -void RefreshObjectCachesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long RefreshObjectCachesRequest::getOwnerId() const { + return ownerId_; +} + +void RefreshObjectCachesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/cdn/src/model/ResumeLiveStreamRequest.cc b/cdn/src/model/ResumeLiveStreamRequest.cc deleted file mode 100644 index 07c85c3cf..000000000 --- a/cdn/src/model/ResumeLiveStreamRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::ResumeLiveStreamRequest; - -ResumeLiveStreamRequest::ResumeLiveStreamRequest() : - RpcServiceRequest("cdn", "2014-11-11", "ResumeLiveStream") -{ - setMethod(HttpRequest::Method::Post); -} - -ResumeLiveStreamRequest::~ResumeLiveStreamRequest() -{} - -std::string ResumeLiveStreamRequest::getAppName()const -{ - return appName_; -} - -void ResumeLiveStreamRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string ResumeLiveStreamRequest::getSecurityToken()const -{ - return securityToken_; -} - -void ResumeLiveStreamRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string ResumeLiveStreamRequest::getStreamName()const -{ - return streamName_; -} - -void ResumeLiveStreamRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); -} - -std::string ResumeLiveStreamRequest::getLiveStreamType()const -{ - return liveStreamType_; -} - -void ResumeLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) -{ - liveStreamType_ = liveStreamType; - setParameter("LiveStreamType", liveStreamType); -} - -std::string ResumeLiveStreamRequest::getDomainName()const -{ - return domainName_; -} - -void ResumeLiveStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long ResumeLiveStreamRequest::getOwnerId()const -{ - return ownerId_; -} - -void ResumeLiveStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/ResumeLiveStreamResult.cc b/cdn/src/model/ResumeLiveStreamResult.cc deleted file mode 100644 index 8174fd202..000000000 --- a/cdn/src/model/ResumeLiveStreamResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -ResumeLiveStreamResult::ResumeLiveStreamResult() : - ServiceResult() -{} - -ResumeLiveStreamResult::ResumeLiveStreamResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResumeLiveStreamResult::~ResumeLiveStreamResult() -{} - -void ResumeLiveStreamResult::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 deleted file mode 100644 index 044d6dda5..000000000 --- a/cdn/src/model/RollbackStagingConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::RollbackStagingConfigRequest; - -RollbackStagingConfigRequest::RollbackStagingConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "RollbackStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -RollbackStagingConfigRequest::~RollbackStagingConfigRequest() -{} - -std::string RollbackStagingConfigRequest::getFunctionName()const -{ - return functionName_; -} - -void RollbackStagingConfigRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - -std::string RollbackStagingConfigRequest::getDomainName()const -{ - return domainName_; -} - -void RollbackStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long RollbackStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void RollbackStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/RollbackStagingConfigResult.cc b/cdn/src/model/RollbackStagingConfigResult.cc deleted file mode 100644 index 20733500d..000000000 --- a/cdn/src/model/RollbackStagingConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/SetCcConfigRequest.cc b/cdn/src/model/SetCcConfigRequest.cc deleted file mode 100644 index 3192df54d..000000000 --- a/cdn/src/model/SetCcConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetCcConfigRequest; - -SetCcConfigRequest::SetCcConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetCcConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCcConfigRequest::~SetCcConfigRequest() -{} - -std::string SetCcConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetCcConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetCcConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetCcConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetCcConfigRequest::getAllowIps()const -{ - return allowIps_; -} - -void SetCcConfigRequest::setAllowIps(const std::string& allowIps) -{ - allowIps_ = allowIps; - setParameter("AllowIps", allowIps); -} - -std::string SetCcConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetCcConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetCcConfigRequest::getBlockIps()const -{ - return blockIps_; -} - -void SetCcConfigRequest::setBlockIps(const std::string& blockIps) -{ - blockIps_ = blockIps; - setParameter("BlockIps", blockIps); -} - diff --git a/cdn/src/model/SetCcConfigResult.cc b/cdn/src/model/SetCcConfigResult.cc deleted file mode 100644 index d6dfe01dd..000000000 --- a/cdn/src/model/SetCcConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetCcConfigResult::SetCcConfigResult() : - ServiceResult() -{} - -SetCcConfigResult::SetCcConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetCcConfigResult::~SetCcConfigResult() -{} - -void SetCcConfigResult::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 deleted file mode 100644 index ed6f4a7a7..000000000 --- a/cdn/src/model/SetCdnDomainCSRCertificateRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("ServerCertificate", serverCertificate); -} - -std::string SetCdnDomainCSRCertificateRequest::getDomainName()const -{ - return domainName_; -} - -void SetCdnDomainCSRCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetCdnDomainCSRCertificateRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetCdnDomainCSRCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/SetCdnDomainCSRCertificateResult.cc b/cdn/src/model/SetCdnDomainCSRCertificateResult.cc deleted file mode 100644 index e2970d236..000000000 --- a/cdn/src/model/SetCdnDomainCSRCertificateResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index d932279f3..000000000 --- a/cdn/src/model/SetCdnDomainSMCertificateRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SSLProtocol", sSLProtocol); -} - -std::string SetCdnDomainSMCertificateRequest::getDomainName()const -{ - return domainName_; -} - -void SetCdnDomainSMCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetCdnDomainSMCertificateRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetCdnDomainSMCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetCdnDomainSMCertificateRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetCdnDomainSMCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetCdnDomainSMCertificateRequest::getCertIdentifier()const -{ - return certIdentifier_; -} - -void SetCdnDomainSMCertificateRequest::setCertIdentifier(const std::string& certIdentifier) -{ - certIdentifier_ = certIdentifier; - setParameter("CertIdentifier", certIdentifier); -} - diff --git a/cdn/src/model/SetCdnDomainSMCertificateResult.cc b/cdn/src/model/SetCdnDomainSMCertificateResult.cc deleted file mode 100644 index 2cc3d50cc..000000000 --- a/cdn/src/model/SetCdnDomainSMCertificateResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index f17fcba14..000000000 --- a/cdn/src/model/SetCdnDomainStagingConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("Functions", functions); -} - -std::string SetCdnDomainStagingConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetCdnDomainStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetCdnDomainStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetCdnDomainStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/SetCdnDomainStagingConfigResult.cc b/cdn/src/model/SetCdnDomainStagingConfigResult.cc deleted file mode 100644 index bf4ce9fd7..000000000 --- a/cdn/src/model/SetCdnDomainStagingConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index d227143bb..000000000 --- a/cdn/src/model/SetConfigOfVersionRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetConfigOfVersionRequest; - -SetConfigOfVersionRequest::SetConfigOfVersionRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetConfigOfVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -SetConfigOfVersionRequest::~SetConfigOfVersionRequest() -{} - -std::string SetConfigOfVersionRequest::getFunctionMatches()const -{ - return functionMatches_; -} - -void SetConfigOfVersionRequest::setFunctionMatches(const std::string& functionMatches) -{ - functionMatches_ = functionMatches; - setParameter("FunctionMatches", functionMatches); -} - -std::string SetConfigOfVersionRequest::getVersionId()const -{ - return versionId_; -} - -void SetConfigOfVersionRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); -} - -std::string SetConfigOfVersionRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetConfigOfVersionRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetConfigOfVersionRequest::getFunctionName()const -{ - return functionName_; -} - -void SetConfigOfVersionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - -std::string SetConfigOfVersionRequest::getFunctionArgs()const -{ - return functionArgs_; -} - -void SetConfigOfVersionRequest::setFunctionArgs(const std::string& functionArgs) -{ - functionArgs_ = functionArgs; - setParameter("FunctionArgs", functionArgs); -} - -std::string SetConfigOfVersionRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void SetConfigOfVersionRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long SetConfigOfVersionRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetConfigOfVersionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetConfigOfVersionRequest::getFunctionId()const -{ - return functionId_; -} - -void SetConfigOfVersionRequest::setFunctionId(long functionId) -{ - functionId_ = functionId; - setParameter("FunctionId", std::to_string(functionId)); -} - -std::string SetConfigOfVersionRequest::getConfigId()const -{ - return configId_; -} - -void SetConfigOfVersionRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/cdn/src/model/SetConfigOfVersionResult.cc b/cdn/src/model/SetConfigOfVersionResult.cc deleted file mode 100644 index 497da4645..000000000 --- a/cdn/src/model/SetConfigOfVersionResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index ced1d3279..000000000 --- a/cdn/src/model/SetDomainServerCertificateRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("ServerCertificate", serverCertificate); -} - -std::string SetDomainServerCertificateRequest::getPrivateKey()const -{ - return privateKey_; -} - -void SetDomainServerCertificateRequest::setPrivateKey(const std::string& privateKey) -{ - privateKey_ = privateKey; - setParameter("PrivateKey", privateKey); -} - -std::string SetDomainServerCertificateRequest::getServerCertificateStatus()const -{ - return serverCertificateStatus_; -} - -void SetDomainServerCertificateRequest::setServerCertificateStatus(const std::string& serverCertificateStatus) -{ - serverCertificateStatus_ = serverCertificateStatus; - setParameter("ServerCertificateStatus", serverCertificateStatus); -} - -std::string SetDomainServerCertificateRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetDomainServerCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetDomainServerCertificateRequest::getCertType()const -{ - return certType_; -} - -void SetDomainServerCertificateRequest::setCertType(const std::string& certType) -{ - certType_ = certType; - setParameter("CertType", certType); -} - -std::string SetDomainServerCertificateRequest::getForceSet()const -{ - return forceSet_; -} - -void SetDomainServerCertificateRequest::setForceSet(const std::string& forceSet) -{ - forceSet_ = forceSet; - setParameter("ForceSet", forceSet); -} - -std::string SetDomainServerCertificateRequest::getCertName()const -{ - return certName_; -} - -void SetDomainServerCertificateRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); -} - -std::string SetDomainServerCertificateRequest::getDomainName()const -{ - return domainName_; -} - -void SetDomainServerCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetDomainServerCertificateRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetDomainServerCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/SetDomainServerCertificateResult.cc b/cdn/src/model/SetDomainServerCertificateResult.cc deleted file mode 100644 index 65b5efa96..000000000 --- a/cdn/src/model/SetDomainServerCertificateResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/SetFileCacheExpiredConfigRequest.cc b/cdn/src/model/SetFileCacheExpiredConfigRequest.cc deleted file mode 100644 index 757f4e4a3..000000000 --- a/cdn/src/model/SetFileCacheExpiredConfigRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetFileCacheExpiredConfigRequest; - -SetFileCacheExpiredConfigRequest::SetFileCacheExpiredConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetFileCacheExpiredConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetFileCacheExpiredConfigRequest::~SetFileCacheExpiredConfigRequest() -{} - -std::string SetFileCacheExpiredConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetFileCacheExpiredConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetFileCacheExpiredConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetFileCacheExpiredConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string SetFileCacheExpiredConfigRequest::getWeight()const -{ - return weight_; -} - -void SetFileCacheExpiredConfigRequest::setWeight(const std::string& weight) -{ - weight_ = weight; - setParameter("Weight", weight); -} - -std::string SetFileCacheExpiredConfigRequest::getCacheContent()const -{ - return cacheContent_; -} - -void SetFileCacheExpiredConfigRequest::setCacheContent(const std::string& cacheContent) -{ - cacheContent_ = cacheContent; - setParameter("CacheContent", cacheContent); -} - -long SetFileCacheExpiredConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetFileCacheExpiredConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetFileCacheExpiredConfigRequest::getTTL()const -{ - return tTL_; -} - -void SetFileCacheExpiredConfigRequest::setTTL(const std::string& tTL) -{ - tTL_ = tTL; - setParameter("TTL", tTL); -} - diff --git a/cdn/src/model/SetFileCacheExpiredConfigResult.cc b/cdn/src/model/SetFileCacheExpiredConfigResult.cc deleted file mode 100644 index e517609f4..000000000 --- a/cdn/src/model/SetFileCacheExpiredConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetFileCacheExpiredConfigResult::SetFileCacheExpiredConfigResult() : - ServiceResult() -{} - -SetFileCacheExpiredConfigResult::SetFileCacheExpiredConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetFileCacheExpiredConfigResult::~SetFileCacheExpiredConfigResult() -{} - -void SetFileCacheExpiredConfigResult::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/SetForceRedirectConfigRequest.cc b/cdn/src/model/SetForceRedirectConfigRequest.cc deleted file mode 100644 index 27c52956e..000000000 --- a/cdn/src/model/SetForceRedirectConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetForceRedirectConfigRequest; - -SetForceRedirectConfigRequest::SetForceRedirectConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetForceRedirectConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetForceRedirectConfigRequest::~SetForceRedirectConfigRequest() -{} - -std::string SetForceRedirectConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetForceRedirectConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string SetForceRedirectConfigRequest::getRedirectType()const -{ - return redirectType_; -} - -void SetForceRedirectConfigRequest::setRedirectType(const std::string& redirectType) -{ - redirectType_ = redirectType; - setParameter("RedirectType", redirectType); -} - -long SetForceRedirectConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetForceRedirectConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetForceRedirectConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetForceRedirectConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/SetForceRedirectConfigResult.cc b/cdn/src/model/SetForceRedirectConfigResult.cc deleted file mode 100644 index 643bf8718..000000000 --- a/cdn/src/model/SetForceRedirectConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetForceRedirectConfigResult::SetForceRedirectConfigResult() : - ServiceResult() -{} - -SetForceRedirectConfigResult::SetForceRedirectConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetForceRedirectConfigResult::~SetForceRedirectConfigResult() -{} - -void SetForceRedirectConfigResult::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/SetForwardSchemeConfigRequest.cc b/cdn/src/model/SetForwardSchemeConfigRequest.cc deleted file mode 100644 index 4b66e7426..000000000 --- a/cdn/src/model/SetForwardSchemeConfigRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetForwardSchemeConfigRequest; - -SetForwardSchemeConfigRequest::SetForwardSchemeConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetForwardSchemeConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetForwardSchemeConfigRequest::~SetForwardSchemeConfigRequest() -{} - -std::string SetForwardSchemeConfigRequest::getSchemeOriginPort()const -{ - return schemeOriginPort_; -} - -void SetForwardSchemeConfigRequest::setSchemeOriginPort(const std::string& schemeOriginPort) -{ - schemeOriginPort_ = schemeOriginPort; - setParameter("SchemeOriginPort", schemeOriginPort); -} - -std::string SetForwardSchemeConfigRequest::getEnable()const -{ - return enable_; -} - -void SetForwardSchemeConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - -std::string SetForwardSchemeConfigRequest::getSchemeOrigin()const -{ - return schemeOrigin_; -} - -void SetForwardSchemeConfigRequest::setSchemeOrigin(const std::string& schemeOrigin) -{ - schemeOrigin_ = schemeOrigin; - setParameter("SchemeOrigin", schemeOrigin); -} - -std::string SetForwardSchemeConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetForwardSchemeConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetForwardSchemeConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetForwardSchemeConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetForwardSchemeConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetForwardSchemeConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetForwardSchemeConfigResult.cc b/cdn/src/model/SetForwardSchemeConfigResult.cc deleted file mode 100644 index 7d44f3c98..000000000 --- a/cdn/src/model/SetForwardSchemeConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetForwardSchemeConfigResult::SetForwardSchemeConfigResult() : - ServiceResult() -{} - -SetForwardSchemeConfigResult::SetForwardSchemeConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetForwardSchemeConfigResult::~SetForwardSchemeConfigResult() -{} - -void SetForwardSchemeConfigResult::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/SetHttpHeaderConfigRequest.cc b/cdn/src/model/SetHttpHeaderConfigRequest.cc deleted file mode 100644 index 75d4e71ae..000000000 --- a/cdn/src/model/SetHttpHeaderConfigRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetHttpHeaderConfigRequest; - -SetHttpHeaderConfigRequest::SetHttpHeaderConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetHttpHeaderConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetHttpHeaderConfigRequest::~SetHttpHeaderConfigRequest() -{} - -std::string SetHttpHeaderConfigRequest::getHeaderValue()const -{ - return headerValue_; -} - -void SetHttpHeaderConfigRequest::setHeaderValue(const std::string& headerValue) -{ - headerValue_ = headerValue; - setParameter("HeaderValue", headerValue); -} - -std::string SetHttpHeaderConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetHttpHeaderConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetHttpHeaderConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetHttpHeaderConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetHttpHeaderConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetHttpHeaderConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetHttpHeaderConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetHttpHeaderConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - -std::string SetHttpHeaderConfigRequest::getHeaderKey()const -{ - return headerKey_; -} - -void SetHttpHeaderConfigRequest::setHeaderKey(const std::string& headerKey) -{ - headerKey_ = headerKey; - setParameter("HeaderKey", headerKey); -} - diff --git a/cdn/src/model/SetHttpHeaderConfigResult.cc b/cdn/src/model/SetHttpHeaderConfigResult.cc deleted file mode 100644 index 0d84f5412..000000000 --- a/cdn/src/model/SetHttpHeaderConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetHttpHeaderConfigResult::SetHttpHeaderConfigResult() : - ServiceResult() -{} - -SetHttpHeaderConfigResult::SetHttpHeaderConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetHttpHeaderConfigResult::~SetHttpHeaderConfigResult() -{} - -void SetHttpHeaderConfigResult::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/SetHttpsOptionConfigRequest.cc b/cdn/src/model/SetHttpsOptionConfigRequest.cc deleted file mode 100644 index 4e4c1a8cf..000000000 --- a/cdn/src/model/SetHttpsOptionConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetHttpsOptionConfigRequest; - -SetHttpsOptionConfigRequest::SetHttpsOptionConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetHttpsOptionConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetHttpsOptionConfigRequest::~SetHttpsOptionConfigRequest() -{} - -std::string SetHttpsOptionConfigRequest::getHttp2()const -{ - return http2_; -} - -void SetHttpsOptionConfigRequest::setHttp2(const std::string& http2) -{ - http2_ = http2; - setParameter("Http2", http2); -} - -std::string SetHttpsOptionConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetHttpsOptionConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetHttpsOptionConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetHttpsOptionConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetHttpsOptionConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetHttpsOptionConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetHttpsOptionConfigResult.cc b/cdn/src/model/SetHttpsOptionConfigResult.cc deleted file mode 100644 index 14030fb92..000000000 --- a/cdn/src/model/SetHttpsOptionConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetHttpsOptionConfigResult::SetHttpsOptionConfigResult() : - ServiceResult() -{} - -SetHttpsOptionConfigResult::SetHttpsOptionConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetHttpsOptionConfigResult::~SetHttpsOptionConfigResult() -{} - -void SetHttpsOptionConfigResult::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/SetIgnoreQueryStringConfigRequest.cc b/cdn/src/model/SetIgnoreQueryStringConfigRequest.cc deleted file mode 100644 index 93af68312..000000000 --- a/cdn/src/model/SetIgnoreQueryStringConfigRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetIgnoreQueryStringConfigRequest; - -SetIgnoreQueryStringConfigRequest::SetIgnoreQueryStringConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetIgnoreQueryStringConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetIgnoreQueryStringConfigRequest::~SetIgnoreQueryStringConfigRequest() -{} - -std::string SetIgnoreQueryStringConfigRequest::getEnable()const -{ - return enable_; -} - -void SetIgnoreQueryStringConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - -std::string SetIgnoreQueryStringConfigRequest::getKeepOssArgs()const -{ - return keepOssArgs_; -} - -void SetIgnoreQueryStringConfigRequest::setKeepOssArgs(const std::string& keepOssArgs) -{ - keepOssArgs_ = keepOssArgs; - setParameter("KeepOssArgs", keepOssArgs); -} - -std::string SetIgnoreQueryStringConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetIgnoreQueryStringConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetIgnoreQueryStringConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetIgnoreQueryStringConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetIgnoreQueryStringConfigRequest::getHashKeyArgs()const -{ - return hashKeyArgs_; -} - -void SetIgnoreQueryStringConfigRequest::setHashKeyArgs(const std::string& hashKeyArgs) -{ - hashKeyArgs_ = hashKeyArgs; - setParameter("HashKeyArgs", hashKeyArgs); -} - -long SetIgnoreQueryStringConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetIgnoreQueryStringConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetIgnoreQueryStringConfigResult.cc b/cdn/src/model/SetIgnoreQueryStringConfigResult.cc deleted file mode 100644 index ffc94ff98..000000000 --- a/cdn/src/model/SetIgnoreQueryStringConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetIgnoreQueryStringConfigResult::SetIgnoreQueryStringConfigResult() : - ServiceResult() -{} - -SetIgnoreQueryStringConfigResult::SetIgnoreQueryStringConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetIgnoreQueryStringConfigResult::~SetIgnoreQueryStringConfigResult() -{} - -void SetIgnoreQueryStringConfigResult::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/SetIpAllowListConfigRequest.cc b/cdn/src/model/SetIpAllowListConfigRequest.cc deleted file mode 100644 index e8546817f..000000000 --- a/cdn/src/model/SetIpAllowListConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetIpAllowListConfigRequest; - -SetIpAllowListConfigRequest::SetIpAllowListConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetIpAllowListConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetIpAllowListConfigRequest::~SetIpAllowListConfigRequest() -{} - -std::string SetIpAllowListConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetIpAllowListConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetIpAllowListConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetIpAllowListConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetIpAllowListConfigRequest::getAllowIps()const -{ - return allowIps_; -} - -void SetIpAllowListConfigRequest::setAllowIps(const std::string& allowIps) -{ - allowIps_ = allowIps; - setParameter("AllowIps", allowIps); -} - -std::string SetIpAllowListConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetIpAllowListConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/SetIpAllowListConfigResult.cc b/cdn/src/model/SetIpAllowListConfigResult.cc deleted file mode 100644 index cc3c7e252..000000000 --- a/cdn/src/model/SetIpAllowListConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetIpAllowListConfigResult::SetIpAllowListConfigResult() : - ServiceResult() -{} - -SetIpAllowListConfigResult::SetIpAllowListConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetIpAllowListConfigResult::~SetIpAllowListConfigResult() -{} - -void SetIpAllowListConfigResult::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/SetIpBlackListConfigRequest.cc b/cdn/src/model/SetIpBlackListConfigRequest.cc deleted file mode 100644 index 2b449640a..000000000 --- a/cdn/src/model/SetIpBlackListConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetIpBlackListConfigRequest; - -SetIpBlackListConfigRequest::SetIpBlackListConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetIpBlackListConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetIpBlackListConfigRequest::~SetIpBlackListConfigRequest() -{} - -std::string SetIpBlackListConfigRequest::getBlockIps()const -{ - return blockIps_; -} - -void SetIpBlackListConfigRequest::setBlockIps(const std::string& blockIps) -{ - blockIps_ = blockIps; - setParameter("BlockIps", blockIps); -} - -std::string SetIpBlackListConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetIpBlackListConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetIpBlackListConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetIpBlackListConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetIpBlackListConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetIpBlackListConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetIpBlackListConfigResult.cc b/cdn/src/model/SetIpBlackListConfigResult.cc deleted file mode 100644 index fdbcd3718..000000000 --- a/cdn/src/model/SetIpBlackListConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetIpBlackListConfigResult::SetIpBlackListConfigResult() : - ServiceResult() -{} - -SetIpBlackListConfigResult::SetIpBlackListConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetIpBlackListConfigResult::~SetIpBlackListConfigResult() -{} - -void SetIpBlackListConfigResult::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/SetOptimizeConfigRequest.cc b/cdn/src/model/SetOptimizeConfigRequest.cc deleted file mode 100644 index 1d4fdd691..000000000 --- a/cdn/src/model/SetOptimizeConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetOptimizeConfigRequest; - -SetOptimizeConfigRequest::SetOptimizeConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetOptimizeConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetOptimizeConfigRequest::~SetOptimizeConfigRequest() -{} - -std::string SetOptimizeConfigRequest::getEnable()const -{ - return enable_; -} - -void SetOptimizeConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - -std::string SetOptimizeConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetOptimizeConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetOptimizeConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetOptimizeConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetOptimizeConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetOptimizeConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetOptimizeConfigResult.cc b/cdn/src/model/SetOptimizeConfigResult.cc deleted file mode 100644 index f27c1da39..000000000 --- a/cdn/src/model/SetOptimizeConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetOptimizeConfigResult::SetOptimizeConfigResult() : - ServiceResult() -{} - -SetOptimizeConfigResult::SetOptimizeConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetOptimizeConfigResult::~SetOptimizeConfigResult() -{} - -void SetOptimizeConfigResult::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/SetPageCompressConfigRequest.cc b/cdn/src/model/SetPageCompressConfigRequest.cc deleted file mode 100644 index addd953c3..000000000 --- a/cdn/src/model/SetPageCompressConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetPageCompressConfigRequest; - -SetPageCompressConfigRequest::SetPageCompressConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetPageCompressConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetPageCompressConfigRequest::~SetPageCompressConfigRequest() -{} - -std::string SetPageCompressConfigRequest::getEnable()const -{ - return enable_; -} - -void SetPageCompressConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - -std::string SetPageCompressConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetPageCompressConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetPageCompressConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetPageCompressConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetPageCompressConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetPageCompressConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetPageCompressConfigResult.cc b/cdn/src/model/SetPageCompressConfigResult.cc deleted file mode 100644 index e74c59fd8..000000000 --- a/cdn/src/model/SetPageCompressConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetPageCompressConfigResult::SetPageCompressConfigResult() : - ServiceResult() -{} - -SetPageCompressConfigResult::SetPageCompressConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetPageCompressConfigResult::~SetPageCompressConfigResult() -{} - -void SetPageCompressConfigResult::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/SetPathCacheExpiredConfigRequest.cc b/cdn/src/model/SetPathCacheExpiredConfigRequest.cc deleted file mode 100644 index 232f1ac63..000000000 --- a/cdn/src/model/SetPathCacheExpiredConfigRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetPathCacheExpiredConfigRequest; - -SetPathCacheExpiredConfigRequest::SetPathCacheExpiredConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "SetPathCacheExpiredConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetPathCacheExpiredConfigRequest::~SetPathCacheExpiredConfigRequest() -{} - -std::string SetPathCacheExpiredConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetPathCacheExpiredConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetPathCacheExpiredConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetPathCacheExpiredConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -std::string SetPathCacheExpiredConfigRequest::getWeight()const -{ - return weight_; -} - -void SetPathCacheExpiredConfigRequest::setWeight(const std::string& weight) -{ - weight_ = weight; - setParameter("Weight", weight); -} - -std::string SetPathCacheExpiredConfigRequest::getCacheContent()const -{ - return cacheContent_; -} - -void SetPathCacheExpiredConfigRequest::setCacheContent(const std::string& cacheContent) -{ - cacheContent_ = cacheContent; - setParameter("CacheContent", cacheContent); -} - -long SetPathCacheExpiredConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetPathCacheExpiredConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetPathCacheExpiredConfigRequest::getTTL()const -{ - return tTL_; -} - -void SetPathCacheExpiredConfigRequest::setTTL(const std::string& tTL) -{ - tTL_ = tTL; - setParameter("TTL", tTL); -} - diff --git a/cdn/src/model/SetPathCacheExpiredConfigResult.cc b/cdn/src/model/SetPathCacheExpiredConfigResult.cc deleted file mode 100644 index 112e27619..000000000 --- a/cdn/src/model/SetPathCacheExpiredConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetPathCacheExpiredConfigResult::SetPathCacheExpiredConfigResult() : - ServiceResult() -{} - -SetPathCacheExpiredConfigResult::SetPathCacheExpiredConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetPathCacheExpiredConfigResult::~SetPathCacheExpiredConfigResult() -{} - -void SetPathCacheExpiredConfigResult::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/SetRangeConfigRequest.cc b/cdn/src/model/SetRangeConfigRequest.cc deleted file mode 100644 index d891e1bb7..000000000 --- a/cdn/src/model/SetRangeConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetRangeConfigRequest; - -SetRangeConfigRequest::SetRangeConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetRangeConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetRangeConfigRequest::~SetRangeConfigRequest() -{} - -std::string SetRangeConfigRequest::getEnable()const -{ - return enable_; -} - -void SetRangeConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - -std::string SetRangeConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetRangeConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetRangeConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetRangeConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetRangeConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetRangeConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetRangeConfigResult.cc b/cdn/src/model/SetRangeConfigResult.cc deleted file mode 100644 index 86accebcf..000000000 --- a/cdn/src/model/SetRangeConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetRangeConfigResult::SetRangeConfigResult() : - ServiceResult() -{} - -SetRangeConfigResult::SetRangeConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetRangeConfigResult::~SetRangeConfigResult() -{} - -void SetRangeConfigResult::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/SetRefererConfigRequest.cc b/cdn/src/model/SetRefererConfigRequest.cc deleted file mode 100644 index 97d657edc..000000000 --- a/cdn/src/model/SetRefererConfigRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetRefererConfigRequest; - -SetRefererConfigRequest::SetRefererConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetRefererConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetRefererConfigRequest::~SetRefererConfigRequest() -{} - -std::string SetRefererConfigRequest::getReferList()const -{ - return referList_; -} - -void SetRefererConfigRequest::setReferList(const std::string& referList) -{ - referList_ = referList; - setParameter("ReferList", referList); -} - -std::string SetRefererConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetRefererConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetRefererConfigRequest::getReferType()const -{ - return referType_; -} - -void SetRefererConfigRequest::setReferType(const std::string& referType) -{ - referType_ = referType; - setParameter("ReferType", referType); -} - -std::string SetRefererConfigRequest::getDisableAst()const -{ - return disableAst_; -} - -void SetRefererConfigRequest::setDisableAst(const std::string& disableAst) -{ - disableAst_ = disableAst; - setParameter("DisableAst", disableAst); -} - -std::string SetRefererConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetRefererConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetRefererConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetRefererConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetRefererConfigRequest::getAllowEmpty()const -{ - return allowEmpty_; -} - -void SetRefererConfigRequest::setAllowEmpty(const std::string& allowEmpty) -{ - allowEmpty_ = allowEmpty; - setParameter("AllowEmpty", allowEmpty); -} - diff --git a/cdn/src/model/SetRefererConfigResult.cc b/cdn/src/model/SetRefererConfigResult.cc deleted file mode 100644 index c49fc96b4..000000000 --- a/cdn/src/model/SetRefererConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetRefererConfigResult::SetRefererConfigResult() : - ServiceResult() -{} - -SetRefererConfigResult::SetRefererConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetRefererConfigResult::~SetRefererConfigResult() -{} - -void SetRefererConfigResult::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/SetRemoveQueryStringConfigRequest.cc b/cdn/src/model/SetRemoveQueryStringConfigRequest.cc deleted file mode 100644 index 9baf42e5b..000000000 --- a/cdn/src/model/SetRemoveQueryStringConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetRemoveQueryStringConfigRequest; - -SetRemoveQueryStringConfigRequest::SetRemoveQueryStringConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetRemoveQueryStringConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetRemoveQueryStringConfigRequest::~SetRemoveQueryStringConfigRequest() -{} - -std::string SetRemoveQueryStringConfigRequest::getAliRemoveArgs()const -{ - return aliRemoveArgs_; -} - -void SetRemoveQueryStringConfigRequest::setAliRemoveArgs(const std::string& aliRemoveArgs) -{ - aliRemoveArgs_ = aliRemoveArgs; - setParameter("AliRemoveArgs", aliRemoveArgs); -} - -std::string SetRemoveQueryStringConfigRequest::getKeepOssArgs()const -{ - return keepOssArgs_; -} - -void SetRemoveQueryStringConfigRequest::setKeepOssArgs(const std::string& keepOssArgs) -{ - keepOssArgs_ = keepOssArgs; - setParameter("KeepOssArgs", keepOssArgs); -} - -std::string SetRemoveQueryStringConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetRemoveQueryStringConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetRemoveQueryStringConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetRemoveQueryStringConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetRemoveQueryStringConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetRemoveQueryStringConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetRemoveQueryStringConfigResult.cc b/cdn/src/model/SetRemoveQueryStringConfigResult.cc deleted file mode 100644 index 578dd3952..000000000 --- a/cdn/src/model/SetRemoveQueryStringConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetRemoveQueryStringConfigResult::SetRemoveQueryStringConfigResult() : - ServiceResult() -{} - -SetRemoveQueryStringConfigResult::SetRemoveQueryStringConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetRemoveQueryStringConfigResult::~SetRemoveQueryStringConfigResult() -{} - -void SetRemoveQueryStringConfigResult::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/SetReqAuthConfigRequest.cc b/cdn/src/model/SetReqAuthConfigRequest.cc deleted file mode 100644 index 96a824eec..000000000 --- a/cdn/src/model/SetReqAuthConfigRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetReqAuthConfigRequest; - -SetReqAuthConfigRequest::SetReqAuthConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetReqAuthConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetReqAuthConfigRequest::~SetReqAuthConfigRequest() -{} - -std::string SetReqAuthConfigRequest::getKey1()const -{ - return key1_; -} - -void SetReqAuthConfigRequest::setKey1(const std::string& key1) -{ - key1_ = key1; - setParameter("Key1", key1); -} - -std::string SetReqAuthConfigRequest::getKey2()const -{ - return key2_; -} - -void SetReqAuthConfigRequest::setKey2(const std::string& key2) -{ - key2_ = key2; - setParameter("Key2", key2); -} - -std::string SetReqAuthConfigRequest::getTimeOut()const -{ - return timeOut_; -} - -void SetReqAuthConfigRequest::setTimeOut(const std::string& timeOut) -{ - timeOut_ = timeOut; - setParameter("TimeOut", timeOut); -} - -std::string SetReqAuthConfigRequest::getAuthType()const -{ - return authType_; -} - -void SetReqAuthConfigRequest::setAuthType(const std::string& authType) -{ - authType_ = authType; - setParameter("AuthType", authType); -} - -std::string SetReqAuthConfigRequest::getAuthRemoteDesc()const -{ - return authRemoteDesc_; -} - -void SetReqAuthConfigRequest::setAuthRemoteDesc(const std::string& authRemoteDesc) -{ - authRemoteDesc_ = authRemoteDesc; - setParameter("AuthRemoteDesc", authRemoteDesc); -} - -std::string SetReqAuthConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetReqAuthConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetReqAuthConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetReqAuthConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetReqAuthConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetReqAuthConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/SetReqAuthConfigResult.cc b/cdn/src/model/SetReqAuthConfigResult.cc deleted file mode 100644 index 1178d2799..000000000 --- a/cdn/src/model/SetReqAuthConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetReqAuthConfigResult::SetReqAuthConfigResult() : - ServiceResult() -{} - -SetReqAuthConfigResult::SetReqAuthConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetReqAuthConfigResult::~SetReqAuthConfigResult() -{} - -void SetReqAuthConfigResult::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 deleted file mode 100644 index f45ec7737..000000000 --- a/cdn/src/model/SetReqHeaderConfigRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SecurityToken", securityToken); -} - -std::string SetReqHeaderConfigRequest::getValue()const -{ - return value_; -} - -void SetReqHeaderConfigRequest::setValue(const std::string& value) -{ - value_ = value; - setParameter("Value", value); -} - -std::string SetReqHeaderConfigRequest::getKey()const -{ - return key_; -} - -void SetReqHeaderConfigRequest::setKey(const std::string& key) -{ - key_ = key; - setParameter("Key", key); -} - -std::string SetReqHeaderConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetReqHeaderConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetReqHeaderConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetReqHeaderConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetReqHeaderConfigRequest::getConfigId()const -{ - return configId_; -} - -void SetReqHeaderConfigRequest::setConfigId(long configId) -{ - configId_ = configId; - setParameter("ConfigId", std::to_string(configId)); -} - diff --git a/cdn/src/model/SetReqHeaderConfigResult.cc b/cdn/src/model/SetReqHeaderConfigResult.cc deleted file mode 100644 index 4beaf7ce0..000000000 --- a/cdn/src/model/SetReqHeaderConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/SetSourceHostConfigRequest.cc b/cdn/src/model/SetSourceHostConfigRequest.cc deleted file mode 100644 index 671bb5441..000000000 --- a/cdn/src/model/SetSourceHostConfigRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::SetSourceHostConfigRequest; - -SetSourceHostConfigRequest::SetSourceHostConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "SetSourceHostConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetSourceHostConfigRequest::~SetSourceHostConfigRequest() -{} - -std::string SetSourceHostConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetSourceHostConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetSourceHostConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetSourceHostConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetSourceHostConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetSourceHostConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetSourceHostConfigRequest::getEnable()const -{ - return enable_; -} - -void SetSourceHostConfigRequest::setEnable(const std::string& enable) -{ - enable_ = enable; - setParameter("Enable", enable); -} - -std::string SetSourceHostConfigRequest::getBackSrcDomain()const -{ - return backSrcDomain_; -} - -void SetSourceHostConfigRequest::setBackSrcDomain(const std::string& backSrcDomain) -{ - backSrcDomain_ = backSrcDomain; - setParameter("BackSrcDomain", backSrcDomain); -} - diff --git a/cdn/src/model/SetSourceHostConfigResult.cc b/cdn/src/model/SetSourceHostConfigResult.cc deleted file mode 100644 index 15c9a0119..000000000 --- a/cdn/src/model/SetSourceHostConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -SetSourceHostConfigResult::SetSourceHostConfigResult() : - ServiceResult() -{} - -SetSourceHostConfigResult::SetSourceHostConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetSourceHostConfigResult::~SetSourceHostConfigResult() -{} - -void SetSourceHostConfigResult::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 deleted file mode 100644 index ccba72152..000000000 --- a/cdn/src/model/SetWaitingRoomConfigRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("WaitUrl", waitUrl); -} - -std::string SetWaitingRoomConfigRequest::getWaitUri()const -{ - return waitUri_; -} - -void SetWaitingRoomConfigRequest::setWaitUri(const std::string& waitUri) -{ - waitUri_ = waitUri; - setParameter("WaitUri", waitUri); -} - -int SetWaitingRoomConfigRequest::getMaxTimeWait()const -{ - return maxTimeWait_; -} - -void SetWaitingRoomConfigRequest::setMaxTimeWait(int maxTimeWait) -{ - maxTimeWait_ = maxTimeWait; - setParameter("MaxTimeWait", std::to_string(maxTimeWait)); -} - -std::string SetWaitingRoomConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetWaitingRoomConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -int SetWaitingRoomConfigRequest::getAllowPct()const -{ - return allowPct_; -} - -void SetWaitingRoomConfigRequest::setAllowPct(int allowPct) -{ - allowPct_ = allowPct; - setParameter("AllowPct", std::to_string(allowPct)); -} - -int SetWaitingRoomConfigRequest::getGapTime()const -{ - return gapTime_; -} - -void SetWaitingRoomConfigRequest::setGapTime(int gapTime) -{ - gapTime_ = gapTime; - setParameter("GapTime", std::to_string(gapTime)); -} - -long SetWaitingRoomConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetWaitingRoomConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/SetWaitingRoomConfigResult.cc b/cdn/src/model/SetWaitingRoomConfigResult.cc deleted file mode 100644 index cc297b26a..000000000 --- a/cdn/src/model/SetWaitingRoomConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index ba66c1843..000000000 --- a/cdn/src/model/StartCdnDomainRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SecurityToken", securityToken); -} - -std::string StartCdnDomainRequest::getDomainName()const -{ - return domainName_; -} - -void StartCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long StartCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void StartCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/StartCdnDomainResult.cc b/cdn/src/model/StartCdnDomainResult.cc deleted file mode 100644 index e769a14fe..000000000 --- a/cdn/src/model/StartCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 3a1b03f81..000000000 --- a/cdn/src/model/StopCdnDomainRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("SecurityToken", securityToken); -} - -std::string StopCdnDomainRequest::getDomainName()const -{ - return domainName_; -} - -void StopCdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long StopCdnDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void StopCdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/StopCdnDomainResult.cc b/cdn/src/model/StopCdnDomainResult.cc deleted file mode 100644 index e9747ab88..000000000 --- a/cdn/src/model/StopCdnDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index f99109016..000000000 --- a/cdn/src/model/TagResourcesRequest.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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 = "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; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -long TagResourcesRequest::getOwnerId()const -{ - return ownerId_; -} - -void TagResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string TagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void TagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/cdn/src/model/TagResourcesResult.cc b/cdn/src/model/TagResourcesResult.cc deleted file mode 100644 index d8bf790e9..000000000 --- a/cdn/src/model/TagResourcesResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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/TestDescribeDomainBpsDataRequest.cc b/cdn/src/model/TestDescribeDomainBpsDataRequest.cc new file mode 100644 index 000000000..da8f07bc2 --- /dev/null +++ b/cdn/src/model/TestDescribeDomainBpsDataRequest.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::TestDescribeDomainBpsDataRequest; + +TestDescribeDomainBpsDataRequest::TestDescribeDomainBpsDataRequest() + : RpcServiceRequest("cdn", "2014-11-11", "TestDescribeDomainBpsData") { + setMethod(HttpRequest::Method::Post); +} + +TestDescribeDomainBpsDataRequest::~TestDescribeDomainBpsDataRequest() {} + +std::string TestDescribeDomainBpsDataRequest::getDomainType() const { + return domainType_; +} + +void TestDescribeDomainBpsDataRequest::setDomainType(const std::string &domainType) { + domainType_ = domainType; + setParameter(std::string("DomainType"), domainType); +} + +std::string TestDescribeDomainBpsDataRequest::getTimeMerge() const { + return timeMerge_; +} + +void TestDescribeDomainBpsDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); +} + +std::string TestDescribeDomainBpsDataRequest::getDomainName() const { + return domainName_; +} + +void TestDescribeDomainBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string TestDescribeDomainBpsDataRequest::getEndTime() const { + return endTime_; +} + +void TestDescribeDomainBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string TestDescribeDomainBpsDataRequest::getInterval() const { + return interval_; +} + +void TestDescribeDomainBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string TestDescribeDomainBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void TestDescribeDomainBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string TestDescribeDomainBpsDataRequest::getStartTime() const { + return startTime_; +} + +void TestDescribeDomainBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string TestDescribeDomainBpsDataRequest::getIspNameEn() const { + return ispNameEn_; +} + +void TestDescribeDomainBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + diff --git a/cdn/src/model/TestDescribeDomainBpsDataResult.cc b/cdn/src/model/TestDescribeDomainBpsDataResult.cc new file mode 100644 index 000000000..37e2e2b43 --- /dev/null +++ b/cdn/src/model/TestDescribeDomainBpsDataResult.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +TestDescribeDomainBpsDataResult::TestDescribeDomainBpsDataResult() : + ServiceResult() +{} + +TestDescribeDomainBpsDataResult::TestDescribeDomainBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TestDescribeDomainBpsDataResult::~TestDescribeDomainBpsDataResult() +{} + +void TestDescribeDomainBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBpsDataPerIntervalNode = value["BpsDataPerInterval"]["DataModule"]; + for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode) + { + DataModule bpsDataPerIntervalObject; + if(!valueBpsDataPerIntervalDataModule["L2Value"].isNull()) + bpsDataPerIntervalObject.l2Value = valueBpsDataPerIntervalDataModule["L2Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["DynamicValue"].isNull()) + bpsDataPerIntervalObject.dynamicValue = valueBpsDataPerIntervalDataModule["DynamicValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DynamicDomesticValue"].isNull()) + bpsDataPerIntervalObject.dynamicDomesticValue = valueBpsDataPerIntervalDataModule["DynamicDomesticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DomesticValue"].isNull()) + bpsDataPerIntervalObject.domesticValue = valueBpsDataPerIntervalDataModule["DomesticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["Value"].isNull()) + bpsDataPerIntervalObject.value = valueBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["OverseasL2Value"].isNull()) + bpsDataPerIntervalObject.overseasL2Value = valueBpsDataPerIntervalDataModule["OverseasL2Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["StaticDomesticValue"].isNull()) + bpsDataPerIntervalObject.staticDomesticValue = valueBpsDataPerIntervalDataModule["StaticDomesticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DomesticL2Value"].isNull()) + bpsDataPerIntervalObject.domesticL2Value = valueBpsDataPerIntervalDataModule["DomesticL2Value"].asString(); + if(!valueBpsDataPerIntervalDataModule["OverseasValue"].isNull()) + bpsDataPerIntervalObject.overseasValue = valueBpsDataPerIntervalDataModule["OverseasValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["StaticValue"].isNull()) + bpsDataPerIntervalObject.staticValue = valueBpsDataPerIntervalDataModule["StaticValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueBpsDataPerIntervalDataModule["StaticOverseasValue"].isNull()) + bpsDataPerIntervalObject.staticOverseasValue = valueBpsDataPerIntervalDataModule["StaticOverseasValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["DynamicOverseasValue"].isNull()) + bpsDataPerIntervalObject.dynamicOverseasValue = valueBpsDataPerIntervalDataModule["DynamicOverseasValue"].asString(); + bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["IspNameEn"].isNull()) + ispNameEn_ = value["IspNameEn"].asString(); + if(!value["LocationNameEn"].isNull()) + locationNameEn_ = value["LocationNameEn"].asString(); + if(!value["LocationName"].isNull()) + locationName_ = value["LocationName"].asString(); + if(!value["IspName"].isNull()) + ispName_ = value["IspName"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string TestDescribeDomainBpsDataResult::getIspNameEn()const +{ + return ispNameEn_; +} + +std::string TestDescribeDomainBpsDataResult::getIspName()const +{ + return ispName_; +} + +std::string TestDescribeDomainBpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string TestDescribeDomainBpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::string TestDescribeDomainBpsDataResult::getLocationNameEn()const +{ + return locationNameEn_; +} + +std::string TestDescribeDomainBpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string TestDescribeDomainBpsDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector TestDescribeDomainBpsDataResult::getBpsDataPerInterval()const +{ + return bpsDataPerInterval_; +} + +std::string TestDescribeDomainBpsDataResult::getLocationName()const +{ + return locationName_; +} + diff --git a/cdn/src/model/UntagResourcesRequest.cc b/cdn/src/model/UntagResourcesRequest.cc deleted file mode 100644 index 29905b124..000000000 --- a/cdn/src/model/UntagResourcesRequest.cc +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("All", all ? "true" : "false"); -} - -std::vector UntagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void UntagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -long UntagResourcesRequest::getOwnerId()const -{ - return ownerId_; -} - -void UntagResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string UntagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void UntagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::vector UntagResourcesRequest::getTagKey()const -{ - return tagKey_; -} - -void UntagResourcesRequest::setTagKey(const std::vector& tagKey) -{ - tagKey_ = tagKey; - for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { - setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); - } -} - diff --git a/cdn/src/model/UntagResourcesResult.cc b/cdn/src/model/UntagResourcesResult.cc deleted file mode 100644 index 7968f5b7c..000000000 --- a/cdn/src/model/UntagResourcesResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 02bf67b54..000000000 --- a/cdn/src/model/UpdateCdnDeliverTaskRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::UpdateCdnDeliverTaskRequest; - -UpdateCdnDeliverTaskRequest::UpdateCdnDeliverTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnDeliverTask") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateCdnDeliverTaskRequest::~UpdateCdnDeliverTaskRequest() -{} - -std::string UpdateCdnDeliverTaskRequest::getReports()const -{ - return reports_; -} - -void UpdateCdnDeliverTaskRequest::setReports(const std::string& reports) -{ - reports_ = reports; - setBodyParameter("Reports", reports); -} - -std::string UpdateCdnDeliverTaskRequest::getDeliver()const -{ - return deliver_; -} - -void UpdateCdnDeliverTaskRequest::setDeliver(const std::string& deliver) -{ - deliver_ = deliver; - setBodyParameter("Deliver", deliver); -} - -long UpdateCdnDeliverTaskRequest::getDeliverId()const -{ - return deliverId_; -} - -void UpdateCdnDeliverTaskRequest::setDeliverId(long deliverId) -{ - deliverId_ = deliverId; - setBodyParameter("DeliverId", std::to_string(deliverId)); -} - -std::string UpdateCdnDeliverTaskRequest::getDomainName()const -{ - return domainName_; -} - -void UpdateCdnDeliverTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); -} - -long UpdateCdnDeliverTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void UpdateCdnDeliverTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string UpdateCdnDeliverTaskRequest::getSchedule()const -{ - return schedule_; -} - -void UpdateCdnDeliverTaskRequest::setSchedule(const std::string& schedule) -{ - schedule_ = schedule; - setBodyParameter("Schedule", schedule); -} - -std::string UpdateCdnDeliverTaskRequest::getName()const -{ - return name_; -} - -void UpdateCdnDeliverTaskRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - diff --git a/cdn/src/model/UpdateCdnDeliverTaskResult.cc b/cdn/src/model/UpdateCdnDeliverTaskResult.cc deleted file mode 100644 index e55b5f062..000000000 --- a/cdn/src/model/UpdateCdnDeliverTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 3bee32ef3..000000000 --- a/cdn/src/model/UpdateCdnSubTaskRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::UpdateCdnSubTaskRequest; - -UpdateCdnSubTaskRequest::UpdateCdnSubTaskRequest() : - RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnSubTask") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateCdnSubTaskRequest::~UpdateCdnSubTaskRequest() -{} - -std::string UpdateCdnSubTaskRequest::getStartTime()const -{ - return startTime_; -} - -void UpdateCdnSubTaskRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setBodyParameter("StartTime", startTime); -} - -std::string UpdateCdnSubTaskRequest::getDomainName()const -{ - return domainName_; -} - -void UpdateCdnSubTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); -} - -std::string UpdateCdnSubTaskRequest::getEndTime()const -{ - return endTime_; -} - -void UpdateCdnSubTaskRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); -} - -long UpdateCdnSubTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void UpdateCdnSubTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string UpdateCdnSubTaskRequest::getReportIds()const -{ - return reportIds_; -} - -void UpdateCdnSubTaskRequest::setReportIds(const std::string& reportIds) -{ - reportIds_ = reportIds; - setBodyParameter("ReportIds", reportIds); -} - diff --git a/cdn/src/model/UpdateCdnSubTaskResult.cc b/cdn/src/model/UpdateCdnSubTaskResult.cc deleted file mode 100644 index e6e72187b..000000000 --- a/cdn/src/model/UpdateCdnSubTaskResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 7ce61dc17..000000000 --- a/cdn/src/model/UpdateFCTriggerRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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& notes) -{ - notes_ = notes; - setBodyParameter("Notes", notes); -} - -std::string UpdateFCTriggerRequest::getTriggerARN()const -{ - return triggerARN_; -} - -void UpdateFCTriggerRequest::setTriggerARN(const std::string& triggerARN) -{ - triggerARN_ = triggerARN; - setParameter("TriggerARN", triggerARN); -} - -std::string UpdateFCTriggerRequest::getSourceARN()const -{ - return sourceARN_; -} - -void UpdateFCTriggerRequest::setSourceARN(const std::string& sourceARN) -{ - sourceARN_ = sourceARN; - setBodyParameter("SourceARN", sourceARN); -} - -long UpdateFCTriggerRequest::getOwnerId()const -{ - return ownerId_; -} - -void UpdateFCTriggerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string UpdateFCTriggerRequest::getRoleARN()const -{ - return roleARN_; -} - -void UpdateFCTriggerRequest::setRoleARN(const std::string& roleARN) -{ - roleARN_ = roleARN; - setBodyParameter("RoleARN", roleARN); -} - -std::string UpdateFCTriggerRequest::getFunctionARN()const -{ - return functionARN_; -} - -void UpdateFCTriggerRequest::setFunctionARN(const std::string& functionARN) -{ - functionARN_ = functionARN; - setBodyParameter("FunctionARN", functionARN); -} - diff --git a/cdn/src/model/UpdateFCTriggerResult.cc b/cdn/src/model/UpdateFCTriggerResult.cc deleted file mode 100644 index 6a0aab51a..000000000 --- a/cdn/src/model/UpdateFCTriggerResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -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 deleted file mode 100644 index 326aa7edf..000000000 --- a/cdn/src/model/VerifyDomainOwnerRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::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("VerifyType", verifyType); -} - -std::string VerifyDomainOwnerRequest::getDomainName()const -{ - return domainName_; -} - -void VerifyDomainOwnerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long VerifyDomainOwnerRequest::getOwnerId()const -{ - return ownerId_; -} - -void VerifyDomainOwnerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/cdn/src/model/VerifyDomainOwnerResult.cc b/cdn/src/model/VerifyDomainOwnerResult.cc deleted file mode 100644 index 0bd39e7a0..000000000 --- a/cdn/src/model/VerifyDomainOwnerResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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_; -} -